diff options
Diffstat (limited to 'src/exchange/taler-exchange-httpd_withdraw.h')
-rw-r--r-- | src/exchange/taler-exchange-httpd_withdraw.h | 10 |
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 8d2d8c18..b754e64f 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 |