From 2ba0fedd391988610d6d18d9e5b61ac00c9f663e Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 5 May 2020 22:17:07 +0200 Subject: updates --- .../taler-merchant-httpd_private-post-transfers.h | 26 +++++++++------------- 1 file changed, 10 insertions(+), 16 deletions(-) (limited to 'src/backend/taler-merchant-httpd_private-post-transfers.h') diff --git a/src/backend/taler-merchant-httpd_private-post-transfers.h b/src/backend/taler-merchant-httpd_private-post-transfers.h index 0463295e..2c548f77 100644 --- a/src/backend/taler-merchant-httpd_private-post-transfers.h +++ b/src/backend/taler-merchant-httpd_private-post-transfers.h @@ -14,36 +14,30 @@ TALER; see the file COPYING. If not, see */ /** - * @file backend/taler-merchant-httpd_track-transfer.h + * @file backend/taler-merchant-httpd_private-post-transfers.h * @brief headers for /track/transfer handler * @author Christian Grothoff * @author Marcello Stanisci */ -#ifndef TALER_MERCHANT_HTTPD_TRACK_TRANSFER_H -#define TALER_MERCHANT_HTTPD_TRACK_TRANSFER_H +#ifndef TALER_MERCHANT_HTTPD_PRIVATE_POST_TRANSFERS_H +#define TALER_MERCHANT_HTTPD_PRIVATE_POST_TRANSFERS_H #include #include "taler-merchant-httpd.h" /** - * Manages a /track/transfer call, thus it calls the /wire/transfer - * offered by the exchange in order to return the set of transfers - * (of coins) associated with a given wire transfer + * Manages a POST /private/transfers call. It calls the GET /transfers/$WTID + * offered by the exchange in order to obtain the set of transfers + * (of coins) associated with a given wire transfer. * * @param rh context of the handler * @param connection the MHD connection to handle - * @param[in,out] connection_cls the connection's closure (can be updated) - * @param upload_data upload data - * @param[in,out] upload_data_size number of bytes (left) in @a upload_data - * @param mi merchant backend instance, never NULL + * @param[in,out] hc context with further information about the request * @return MHD result code */ MHD_RESULT -MH_handler_track_transfer (struct TMH_RequestHandler *rh, - struct MHD_Connection *connection, - void **connection_cls, - const char *upload_data, - size_t *upload_data_size, - struct MerchantInstance *mi); +TMH_private_post_transfers (const struct TMH_RequestHandler *rh, + struct MHD_Connection *connection, + struct TMH_HandlerContext *hc); #endif -- cgit v1.2.3