summaryrefslogtreecommitdiff
path: root/src/backend/taler-merchant-httpd_helper.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/taler-merchant-httpd_helper.h')
-rw-r--r--src/backend/taler-merchant-httpd_helper.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/backend/taler-merchant-httpd_helper.h b/src/backend/taler-merchant-httpd_helper.h
index 659bddc2..dae9caaf 100644
--- a/src/backend/taler-merchant-httpd_helper.h
+++ b/src/backend/taler-merchant-httpd_helper.h
@@ -88,6 +88,18 @@ TMH_image_data_url_valid (const char *image_data_url);
/**
+ * Check if @a template_contract is a valid template_contract object in the sense of Taler's API
+ * definition.
+ *
+ * @param template_contract object to check
+ * @return true if @a template_location is an object
+ * representing a template_location.
+ */
+bool
+TMH_template_contract_valid (const json_t *template_contract);
+
+
+/**
* Setup new wire method for the given @ payto_uri.
*
* @param payto_uri already validated payto URI