diff options
author | priscilla <priscilla.huang@efrei.net> | 2022-11-22 08:07:11 -0500 |
---|---|---|
committer | priscilla <priscilla.huang@efrei.net> | 2022-11-22 08:14:50 -0500 |
commit | c00762ce8297fbb4ea9590a0fb7e014adb9d8dcf (patch) | |
tree | 850a6e56ff658e0fd6c861219af73067eaca2e22 /src/backend/taler-merchant-httpd_helper.h | |
parent | ae6d2de1610ceb06e58b945a04a3d184b95d3e44 (diff) |
template post, get, patch and delete
Diffstat (limited to 'src/backend/taler-merchant-httpd_helper.h')
-rw-r--r-- | src/backend/taler-merchant-httpd_helper.h | 12 |
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 |