diff options
Diffstat (limited to 'src/exchange/taler-exchange-httpd_terms.h')
-rw-r--r-- | src/exchange/taler-exchange-httpd_terms.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/exchange/taler-exchange-httpd_terms.h b/src/exchange/taler-exchange-httpd_terms.h index 18a42809..75909df9 100644 --- a/src/exchange/taler-exchange-httpd_terms.h +++ b/src/exchange/taler-exchange-httpd_terms.h @@ -47,6 +47,24 @@ TEH_handler_terms (struct TEH_RequestHandler *rh, size_t *upload_data_size); /** + * Handle a "/privacy" 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 + */ +int +TEH_handler_privacy (struct TEH_RequestHandler *rh, + struct MHD_Connection *connection, + void **connection_cls, + const char *upload_data, + size_t *upload_data_size); + + +/** * Load our terms of service as per configuration. * * @param cfg configuration to process |