summaryrefslogtreecommitdiff
path: root/src/backend/taler-merchant-httpd_private-patch-instances-ID.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-04-19 22:02:31 +0200
committerChristian Grothoff <christian@grothoff.org>2020-04-19 22:02:31 +0200
commit3817d2e6cccdcee6021eccb6a1adcff4f0dce2ef (patch)
treed546f9679358c307f40cacf645809e6712bf4c0e /src/backend/taler-merchant-httpd_private-patch-instances-ID.h
parent7a464be6baa1425795fd354aac3671b0573a28b6 (diff)
downloadmerchant-3817d2e6cccdcee6021eccb6a1adcff4f0dce2ef.tar.gz
merchant-3817d2e6cccdcee6021eccb6a1adcff4f0dce2ef.tar.bz2
merchant-3817d2e6cccdcee6021eccb6a1adcff4f0dce2ef.zip
implement PATCH handlers
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.h43
1 files changed, 43 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
new file mode 100644
index 00000000..dde86a9b
--- /dev/null
+++ b/src/backend/taler-merchant-httpd_private-patch-instances-ID.h
@@ -0,0 +1,43 @@
+/*
+ This file is part of TALER
+ (C) 2020 Taler Systems SA
+
+ TALER is free software; you can redistribute it and/or modify
+ it under the terms of the GNU Affero General Public License as
+ published by the Free Software Foundation; either version 3,
+ or (at your option) any later version.
+
+ TALER is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public
+ License along with TALER; see the file COPYING. If not,
+ see <http://www.gnu.org/licenses/>
+*/
+
+/**
+ * @file backend/taler-merchant-httpd_private-patch-instances-ID.h
+ * @brief implementing POST /instances request handling
+ * @author Christian Grothoff
+ */
+#ifndef TALER_MERCHANT_HTTPD_PRIVATE_PATCH_INSTANCES_ID_H
+#define TALER_MERCHANT_HTTPD_PRIVATE_PATCH_INSTANCES_ID_H
+#include "taler-merchant-httpd.h"
+
+
+/**
+ * PATCH configuration of an existing instance, given its configuration.
+ *
+ * @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_ID (const struct TMH_RequestHandler *rh,
+ struct MHD_Connection *connection,
+ struct TMH_HandlerContext *hc);
+
+#endif