From c00762ce8297fbb4ea9590a0fb7e014adb9d8dcf Mon Sep 17 00:00:00 2001 From: priscilla Date: Tue, 22 Nov 2022 08:07:11 -0500 Subject: template post, get, patch and delete --- src/backend/taler-merchant-httpd_helper.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/backend/taler-merchant-httpd_helper.h') 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 @@ -87,6 +87,18 @@ bool 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. * -- cgit v1.2.3