diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-08-21 14:00:29 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-08-21 14:00:29 +0200 |
commit | f93a0592b29b66c6bbacbb38f42e8dfd5a3a6aee (patch) | |
tree | b0bc2b8a6a84919980e6b9a844ac773da26cfc5e /src/exchange/taler-exchange-httpd_mhd.h | |
parent | a51f39217ec3b659f938687e2146ceb17078733d (diff) |
-change handler signatures to prepare for long polling support
Diffstat (limited to 'src/exchange/taler-exchange-httpd_mhd.h')
-rw-r--r-- | src/exchange/taler-exchange-httpd_mhd.h | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/src/exchange/taler-exchange-httpd_mhd.h b/src/exchange/taler-exchange-httpd_mhd.h index 7547780d..270b0539 100644 --- a/src/exchange/taler-exchange-httpd_mhd.h +++ b/src/exchange/taler-exchange-httpd_mhd.h @@ -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 */ MHD_RESULT -TEH_handler_static_response (const struct TEH_RequestHandler *rh, - struct MHD_Connection *connection, +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 */ MHD_RESULT -TEH_handler_agpl_redirect (const struct TEH_RequestHandler *rh, - struct MHD_Connection *connection, +TEH_handler_agpl_redirect (struct TEH_RequestContext *rc, const char *const args[]); |