summaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-httpd_withdraw.h
diff options
context:
space:
mode:
authorChristian Grothoff <grothoff@gnunet.org>2022-03-21 02:39:36 +0100
committerChristian Grothoff <grothoff@gnunet.org>2022-03-21 02:39:36 +0100
commitf5f15e6531bb7072a02cb976771a43803bd044f6 (patch)
tree80cc93a627533fe4768bd5aded76c77c3d37660d /src/exchange/taler-exchange-httpd_withdraw.h
parentb560527ee3d5605310f3793dbcbf86a9b4844c91 (diff)
downloadexchange-f5f15e6531bb7072a02cb976771a43803bd044f6.tar.gz
exchange-f5f15e6531bb7072a02cb976771a43803bd044f6.tar.bz2
exchange-f5f15e6531bb7072a02cb976771a43803bd044f6.zip
first rough-cut implementation of POST /reserves//status
Diffstat (limited to 'src/exchange/taler-exchange-httpd_withdraw.h')
-rw-r--r--src/exchange/taler-exchange-httpd_withdraw.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/exchange/taler-exchange-httpd_withdraw.h b/src/exchange/taler-exchange-httpd_withdraw.h
index 8d2d8c182..b754e64fd 100644
--- a/src/exchange/taler-exchange-httpd_withdraw.h
+++ b/src/exchange/taler-exchange-httpd_withdraw.h
@@ -28,8 +28,7 @@
/**
- * Handle a "/reserves/$RESERVE_PUB/withdraw" request. Parses the
- * "reserve_pub" EdDSA key of the reserve and the requested "denom_pub" which
+ * Handle a "/reserves/$RESERVE_PUB/withdraw" request. Parses the the requested "denom_pub" which
* specifies the key/value of the coin to be withdrawn, and checks that the
* signature "reserve_sig" makes this a valid withdrawal request from the
* specified reserve. If so, the envelope with the blinded coin "coin_ev" is
@@ -37,13 +36,12 @@
*
* @param rc request context
* @param root uploaded JSON data
- * @param args array of additional options (first must be the
- * reserve public key, the second one should be "withdraw")
+ * @param reserve_pub public key of the reserve
* @return MHD result code
*/
MHD_RESULT
TEH_handler_withdraw (struct TEH_RequestContext *rc,
- const json_t *root,
- const char *const args[2]);
+ const struct TALER_ReservePublicKeyP *reserve_pub,
+ const json_t *root);
#endif