summaryrefslogtreecommitdiff
path: root/src/backend/taler-merchant-httpd_private-get-reserves-ID.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-05-31 20:34:39 +0200
committerChristian Grothoff <christian@grothoff.org>2020-05-31 20:34:39 +0200
commit915480618b84f281aaa9bac3f711cf6e5fd555c1 (patch)
treec04efcf79ffcaf3fbda4b8f81a56fc3361d4316f /src/backend/taler-merchant-httpd_private-get-reserves-ID.h
parent990f4d4d5192506aa4a5f6510449e0aa79a2e61f (diff)
downloadmerchant-915480618b84f281aaa9bac3f711cf6e5fd555c1.tar.gz
merchant-915480618b84f281aaa9bac3f711cf6e5fd555c1.tar.bz2
merchant-915480618b84f281aaa9bac3f711cf6e5fd555c1.zip
implement GET /reserves/RPUB
Diffstat (limited to 'src/backend/taler-merchant-httpd_private-get-reserves-ID.h')
-rw-r--r--src/backend/taler-merchant-httpd_private-get-reserves-ID.h22
1 files changed, 8 insertions, 14 deletions
diff --git a/src/backend/taler-merchant-httpd_private-get-reserves-ID.h b/src/backend/taler-merchant-httpd_private-get-reserves-ID.h
index 3123486c..4b9fa067 100644
--- a/src/backend/taler-merchant-httpd_private-get-reserves-ID.h
+++ b/src/backend/taler-merchant-httpd_private-get-reserves-ID.h
@@ -14,32 +14,26 @@
TALER; see the file COPYING. If not, see <http://www.gnu.org/licenses/>
*/
/**
- * @file backend/taler-merchant-httpd_tip-query.h
+ * @file backend/taler-merchant-httpd_private-get-reserves-ID.h
* @brief headers for /tip-query handler
* @author Florian Dold
*/
-#ifndef TALER_MERCHANT_HTTPD_TIP_QUERY_H
-#define TALER_MERCHANT_HTTPD_TIP_QUERY_H
+#ifndef TALER_MERCHANT_HTTPD_GET_RESERVES_ID_H
+#define TALER_MERCHANT_HTTPD_GET_RESERVES_ID_H
#include <microhttpd.h>
#include "taler-merchant-httpd.h"
/**
- * Manages a /tip-query call.
+ * Manages a GET /reserves/$RESERVE_PUB call.
*
* @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_tip_query (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_get_reserves_ID (const struct TMH_RequestHandler *rh,
+ struct MHD_Connection *connection,
+ struct TMH_HandlerContext *hc);
#endif