summaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-httpd_refreshes_reveal.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-08-21 14:00:29 +0200
committerChristian Grothoff <christian@grothoff.org>2021-08-21 14:00:29 +0200
commitf93a0592b29b66c6bbacbb38f42e8dfd5a3a6aee (patch)
treeb0bc2b8a6a84919980e6b9a844ac773da26cfc5e /src/exchange/taler-exchange-httpd_refreshes_reveal.h
parenta51f39217ec3b659f938687e2146ceb17078733d (diff)
downloadexchange-f93a0592b29b66c6bbacbb38f42e8dfd5a3a6aee.tar.gz
exchange-f93a0592b29b66c6bbacbb38f42e8dfd5a3a6aee.tar.bz2
exchange-f93a0592b29b66c6bbacbb38f42e8dfd5a3a6aee.zip
-change handler signatures to prepare for long polling support
Diffstat (limited to 'src/exchange/taler-exchange-httpd_refreshes_reveal.h')
-rw-r--r--src/exchange/taler-exchange-httpd_refreshes_reveal.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/exchange/taler-exchange-httpd_refreshes_reveal.h b/src/exchange/taler-exchange-httpd_refreshes_reveal.h
index b9806dbd3..30716995a 100644
--- a/src/exchange/taler-exchange-httpd_refreshes_reveal.h
+++ b/src/exchange/taler-exchange-httpd_refreshes_reveal.h
@@ -1,6 +1,6 @@
/*
This file is part of TALER
- Copyright (C) 2014-2017 Taler Systems SA
+ Copyright (C) 2014-2017, 2021 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
@@ -37,15 +37,13 @@
* transaction in refresh_reveal_transaction() and finally returns the signed
* refreshed coins.
*
- * @param rh context of the handler
- * @param connection MHD request handle
+ * @param rc request context
* @param root uploaded JSON data
* @param args array of additional options (length: 2, session hash and the string "reveal")
* @return MHD result code
*/
MHD_RESULT
-TEH_handler_reveal (const struct TEH_RequestHandler *rh,
- struct MHD_Connection *connection,
+TEH_handler_reveal (struct TEH_RequestContext *rc,
const json_t *root,
const char *const args[2]);