diff options
author | Nic <nic@eigel.ch> | 2024-01-09 01:26:00 +0100 |
---|---|---|
committer | Nic <nic@eigel.ch> | 2024-01-09 01:26:00 +0100 |
commit | a7b6db8c59061ab386c2b14949eb871477a7b7fb (patch) | |
tree | b52591d4ee5df2902c45943b1ca91f3172b9138e /src/auditor/taler-auditor-httpd_deposit-confirmation.h | |
parent | 342f119263130001803d5847fbe72a259647a4df (diff) | |
download | exchange-a7b6db8c59061ab386c2b14949eb871477a7b7fb.tar.xz |
adding auditor resp endpoints, trigger for helper deposit_confirmations
Diffstat (limited to 'src/auditor/taler-auditor-httpd_deposit-confirmation.h')
-rw-r--r-- | src/auditor/taler-auditor-httpd_deposit-confirmation.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/auditor/taler-auditor-httpd_deposit-confirmation.h b/src/auditor/taler-auditor-httpd_deposit-confirmation.h index a7c331916..ff42e4aa3 100644 --- a/src/auditor/taler-auditor-httpd_deposit-confirmation.h +++ b/src/auditor/taler-auditor-httpd_deposit-confirmation.h @@ -56,4 +56,34 @@ TAH_DEPOSIT_CONFIRMATION_handler (struct TAH_RequestHandler *rh, const char *upload_data, size_t *upload_data_size); +/** + * Handle a "/deposit-confirmation" request. + * + * @param rh context of the handler + * @param connection the MHD connection to handle + * @param[in,out] connection_cls the connection's closure (can be updated) + * @param upload_data upload data + * @param[in,out] upload_data_size number of bytes (left) in @a upload_data + * @return MHD result code + */ +MHD_RESULT +TAH_DEPOSIT_CONFIRMATION_get (struct TAH_RequestHandler *rh, + struct MHD_Connection *connection, + void **connection_cls, + const char *upload_data, + size_t *upload_data_size); + +/** + * Handle a DELETE "/deposit-confirmation/$dc" request. + * + * @param rc request details about the request to handle + * @param args argument with the dc primary key + * @return MHD result code + */ +/*MHD_RESULT +TAH_DEPOSIT_CONFIRMATION_delete ( + struct TEH_RequestContext *rc, + const char *const args[1]);*/ + + #endif |