aboutsummaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-httpd_management.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-07-29 11:00:59 +0200
committerChristian Grothoff <christian@grothoff.org>2022-07-29 11:00:59 +0200
commitba0ab58cdd4bd767f3944dcde1dc16676220d136 (patch)
treec0ce20026af47e28bd4e1e65b289904762ca83bb /src/exchange/taler-exchange-httpd_management.h
parent2056bc82f9aac337a9c7683cdb0aa43debd4d50c (diff)
add /management/drain handler
Diffstat (limited to 'src/exchange/taler-exchange-httpd_management.h')
-rw-r--r--src/exchange/taler-exchange-httpd_management.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/exchange/taler-exchange-httpd_management.h b/src/exchange/taler-exchange-httpd_management.h
index 1bae4901..a5a8b0e7 100644
--- a/src/exchange/taler-exchange-httpd_management.h
+++ b/src/exchange/taler-exchange-httpd_management.h
@@ -162,6 +162,19 @@ TEH_handler_management_post_extensions (
/**
+ * Handle a POST "/management/drain" request.
+ *
+ * @param connection the MHD connection to handle
+ * @param root uploaded JSON data
+ * @return MHD result code
+ */
+MHD_RESULT
+TEH_handler_management_post_drain (
+ struct MHD_Connection *connection,
+ const json_t *root);
+
+
+/**
* Initialize extension configuration handling.
*
* @return #GNUNET_OK on success