diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-12-01 00:34:04 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-12-01 00:34:04 +0100 |
commit | 65915731a93a3057bb1844187b1aa3b476c4bd42 (patch) | |
tree | bab0eec9509240da65a77ec0ecdc41000cc4e4be /src/exchange/taler-exchange-httpd_management.h | |
parent | 862054f6f2e9a08ccc051343d0dacde992ea1611 (diff) | |
download | exchange-65915731a93a3057bb1844187b1aa3b476c4bd42.tar.gz exchange-65915731a93a3057bb1844187b1aa3b476c4bd42.tar.bz2 exchange-65915731a93a3057bb1844187b1aa3b476c4bd42.zip |
add dispatching logic for (most) of the new endpoints
Diffstat (limited to 'src/exchange/taler-exchange-httpd_management.h')
-rw-r--r-- | src/exchange/taler-exchange-httpd_management.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/exchange/taler-exchange-httpd_management.h b/src/exchange/taler-exchange-httpd_management.h index cd5c5d8af..b5ab8478e 100644 --- a/src/exchange/taler-exchange-httpd_management.h +++ b/src/exchange/taler-exchange-httpd_management.h @@ -29,14 +29,12 @@ * Handle a "/management/auditors" request. * * @param connection the MHD connection to handle - * @param h_denom_pub hash of the public key of the denomination to revoke * @param root uploaded JSON data * @return MHD result code */ MHD_RESULT TEH_handler_management_auditors ( struct MHD_Connection *connection, - const struct GNUNET_HashCode *h_denom_pub, const json_t *root); @@ -44,14 +42,14 @@ TEH_handler_management_auditors ( * Handle a "/management/auditors/$AUDITOR_PUB/disable" request. * * @param connection the MHD connection to handle - * @param h_denom_pub hash of the public key of the denomination to revoke + * @param auditor_pub public key of the auditor to disable * @param root uploaded JSON data * @return MHD result code */ MHD_RESULT TEH_handler_management_auditors_AP_disable ( struct MHD_Connection *connection, - const struct GNUNET_HashCode *h_denom_pub, + const struct TALER_AuditorPublicKeyP *auditor_pub, const json_t *root); @@ -89,16 +87,15 @@ TEH_handler_management_signkeys_EP_revoke ( * Handle a POST "/management/keys" request. * * @param connection the MHD connection to handle - * @param h_denom_pub hash of the public key of the denomination to revoke * @param root uploaded JSON data * @return MHD result code */ MHD_RESULT TEH_handler_management_post_keys ( struct MHD_Connection *connection, - const struct GNUNET_HashCode *h_denom_pub, const json_t *root); + /** * Handle a "/management/wire" request. * @@ -113,7 +110,7 @@ TEH_handler_management_denominations_wire ( /** - * Handle a "/management/wire" request. + * Handle a "/management/wire/disable" request. * * @param connection the MHD connection to handle * @param root uploaded JSON data |