summaryrefslogtreecommitdiff
path: root/src/backend/taler-merchant-httpd_private-patch-instances-ID.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-03-04 16:02:07 +0100
committerChristian Grothoff <christian@grothoff.org>2021-03-04 16:02:07 +0100
commit2cb59820a8715a0fc7d57e9f321d0917aeb0ec03 (patch)
tree0ce75086b4bb24419032762442e27cca82ea944f /src/backend/taler-merchant-httpd_private-patch-instances-ID.h
parent1ca25d6db21187dd82d83edbda11a507c16ec9f3 (diff)
downloadmerchant-2cb59820a8715a0fc7d57e9f321d0917aeb0ec03.tar.gz
merchant-2cb59820a8715a0fc7d57e9f321d0917aeb0ec03.tar.bz2
merchant-2cb59820a8715a0fc7d57e9f321d0917aeb0ec03.zip
fix #6785
Diffstat (limited to 'src/backend/taler-merchant-httpd_private-patch-instances-ID.h')
-rw-r--r--src/backend/taler-merchant-httpd_private-patch-instances-ID.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/backend/taler-merchant-httpd_private-patch-instances-ID.h b/src/backend/taler-merchant-httpd_private-patch-instances-ID.h
index 5fe29645..d96bb7b3 100644
--- a/src/backend/taler-merchant-httpd_private-patch-instances-ID.h
+++ b/src/backend/taler-merchant-httpd_private-patch-instances-ID.h
@@ -29,6 +29,7 @@
/**
* PATCH configuration of an existing instance, given its configuration.
+ * This is the handler called using the instance's own authentication.
*
* @param rh context of the handler
* @param connection the MHD connection to handle
@@ -40,4 +41,19 @@ TMH_private_patch_instances_ID (const struct TMH_RequestHandler *rh,
struct MHD_Connection *connection,
struct TMH_HandlerContext *hc);
+
+/**
+ * PATCH configuration of an existing instance, given its configuration.
+ * This is the handler called using the default instance's authentication.
+ *
+ * @param rh context of the handler
+ * @param connection the MHD connection to handle
+ * @param[in,out] hc context with further information about the request
+ * @return MHD result code
+ */
+MHD_RESULT
+TMH_private_patch_instances_default_ID (const struct TMH_RequestHandler *rh,
+ struct MHD_Connection *connection,
+ struct TMH_HandlerContext *hc);
+
#endif