diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-03-21 19:25:53 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-03-21 19:25:53 +0100 |
commit | f1d3364313e41eb82165e758717ed86b5b8261fb (patch) | |
tree | b1e99fe11d9790c80dbf4c6ae1e8c9e9ac59fff2 /src/auditor/taler-auditor-httpd_mhd.h | |
parent | ca943e8c3fcc8eeebabb1dd6a0c4571652c38870 (diff) | |
download | exchange-f1d3364313e41eb82165e758717ed86b5b8261fb.tar.gz exchange-f1d3364313e41eb82165e758717ed86b5b8261fb.tar.bz2 exchange-f1d3364313e41eb82165e758717ed86b5b8261fb.zip |
code cleanup, deduplication, DCE
Diffstat (limited to 'src/auditor/taler-auditor-httpd_mhd.h')
-rw-r--r-- | src/auditor/taler-auditor-httpd_mhd.h | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/src/auditor/taler-auditor-httpd_mhd.h b/src/auditor/taler-auditor-httpd_mhd.h index f92c53572..1096ee346 100644 --- a/src/auditor/taler-auditor-httpd_mhd.h +++ b/src/auditor/taler-auditor-httpd_mhd.h @@ -66,46 +66,4 @@ TAH_MHD_handler_agpl_redirect (struct TAH_RequestHandler *rh, size_t *upload_data_size); -/** - * Function to call to handle the request by building a JSON - * reply from varargs. - * - * @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 response_code HTTP response code to use - * @param do_cache can the response be cached? (0: no, 1: yes) - * @param fmt format string for pack - * @param ... varargs - * @return MHD result code - */ -int -TAH_MHD_helper_send_json_pack (struct TAH_RequestHandler *rh, - struct MHD_Connection *connection, - void *connection_cls, - int response_code, - int do_cache, - const char *fmt, - ...); - - -/** - * Function to call to handle the request by building a JSON - * reply with an error message from @a rh. - * - * @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 - */ -int -TAH_MHD_handler_send_json_pack_error (struct TAH_RequestHandler *rh, - struct MHD_Connection *connection, - void **connection_cls, - const char *upload_data, - size_t *upload_data_size); - - #endif |