summaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-httpd_terms.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-12-11 14:30:55 +0100
committerChristian Grothoff <christian@grothoff.org>2019-12-11 14:30:55 +0100
commit631bc65253e25fa6a3c6b4a11cb06245cee58293 (patch)
treea792f7f45211d157e5859aaecb9e8fa60e7192f1 /src/exchange/taler-exchange-httpd_terms.h
parent75240345d025ce448b7248a4ec693261ecf8a203 (diff)
downloadexchange-631bc65253e25fa6a3c6b4a11cb06245cee58293.tar.gz
exchange-631bc65253e25fa6a3c6b4a11cb06245cee58293.tar.bz2
exchange-631bc65253e25fa6a3c6b4a11cb06245cee58293.zip
add logic for privacy policy
Diffstat (limited to 'src/exchange/taler-exchange-httpd_terms.h')
-rw-r--r--src/exchange/taler-exchange-httpd_terms.h18
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 18a42809d..75909df9a 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