summaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-httpd_mhd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/exchange/taler-exchange-httpd_mhd.h')
-rw-r--r--src/exchange/taler-exchange-httpd_mhd.h20
1 files changed, 8 insertions, 12 deletions
diff --git a/src/exchange/taler-exchange-httpd_mhd.h b/src/exchange/taler-exchange-httpd_mhd.h
index 1605032a1..563975beb 100644
--- a/src/exchange/taler-exchange-httpd_mhd.h
+++ b/src/exchange/taler-exchange-httpd_mhd.h
@@ -1,6 +1,6 @@
/*
This file is part of TALER
- Copyright (C) 2014-2020 Taler Systems SA
+ Copyright (C) 2014-2022 Taler Systems SA
TALER is free software; you can redistribute it and/or modify it under the
terms of the GNU Affero General Public License as published by the Free Software
@@ -30,16 +30,14 @@
/**
* Function to call to handle the request by sending
- * back static data from the @a rh.
+ * back static data from the request handler.
*
- * @param rh context of the handler
- * @param connection the MHD connection to handle
+ * @param rc request context
* @param args array of additional options (must be empty for this function)
* @return MHD result code
*/
-int
-TEH_handler_static_response (const struct TEH_RequestHandler *rh,
- struct MHD_Connection *connection,
+MHD_RESULT
+TEH_handler_static_response (struct TEH_RequestContext *rc,
const char *const args[]);
@@ -47,14 +45,12 @@ TEH_handler_static_response (const struct TEH_RequestHandler *rh,
* Function to call to handle the request by sending
* back a redirect to the AGPL source code.
*
- * @param rh context of the handler
- * @param connection the MHD connection to handle
+ * @param rc request context
* @param args array of additional options (must be empty for this function)
* @return MHD result code
*/
-int
-TEH_handler_agpl_redirect (const struct TEH_RequestHandler *rh,
- struct MHD_Connection *connection,
+MHD_RESULT
+TEH_handler_agpl_redirect (struct TEH_RequestContext *rc,
const char *const args[]);