diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-11-24 17:32:30 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-11-24 17:32:30 +0100 |
commit | d6108a63b016ebe8410049ca1292b0d7fef73291 (patch) | |
tree | bd5fd3b42330af33fe4b1749948bb6acbdcb432d /src/sync/sync-httpd_mhd.h | |
parent | e462042a4d7ce91c0731871f014b78e6906b4171 (diff) | |
download | sync-d6108a63b016ebe8410049ca1292b0d7fef73291.tar.gz sync-d6108a63b016ebe8410049ca1292b0d7fef73291.tar.bz2 sync-d6108a63b016ebe8410049ca1292b0d7fef73291.zip |
use libtalermhd in sync
Diffstat (limited to 'src/sync/sync-httpd_mhd.h')
-rw-r--r-- | src/sync/sync-httpd_mhd.h | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/src/sync/sync-httpd_mhd.h b/src/sync/sync-httpd_mhd.h index 36612ff..40efd2e 100644 --- a/src/sync/sync-httpd_mhd.h +++ b/src/sync/sync-httpd_mhd.h @@ -68,46 +68,4 @@ SH_MHD_handler_agpl_redirect (struct SH_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 -SH_MHD_helper_send_json_pack (struct SH_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 -SH_MHD_handler_send_json_pack_error (struct SH_RequestHandler *rh, - struct MHD_Connection *connection, - void **connection_cls, - const char *upload_data, - size_t *upload_data_size); - - #endif |