diff options
author | priscilla <priscilla.huang@efrei.net> | 2022-11-22 08:14:31 -0500 |
---|---|---|
committer | priscilla <priscilla.huang@efrei.net> | 2022-11-22 08:14:51 -0500 |
commit | 3f6330059b2c60f83a37994a991d70d8f38ce314 (patch) | |
tree | d3ce233b3bb63d577d5b9d58bb4419c2265d60db /src/include | |
parent | c00762ce8297fbb4ea9590a0fb7e014adb9d8dcf (diff) |
update
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/taler_merchantdb_lib.h | 9 | ||||
-rw-r--r-- | src/include/taler_merchantdb_plugin.h | 6 |
2 files changed, 12 insertions, 3 deletions
diff --git a/src/include/taler_merchantdb_lib.h b/src/include/taler_merchantdb_lib.h index 9cce9aac..8d84db79 100644 --- a/src/include/taler_merchantdb_lib.h +++ b/src/include/taler_merchantdb_lib.h @@ -59,6 +59,15 @@ TALER_MERCHANTDB_product_details_free ( struct TALER_MERCHANTDB_ProductDetails *pd); +/** + * Free members of @a tp, but not @a tp itself. + * + * @param[in] tp template details to clean up + */ +void +TALER_MERCHANTDB_template_details_free ( + struct TALER_MERCHANTDB_TemplateDetails *tp); + #endif /* MERCHANT_DB_H */ /* end of taler_merchantdb_lib.h */ diff --git a/src/include/taler_merchantdb_plugin.h b/src/include/taler_merchantdb_plugin.h index 51c5ec02..bfc2d51a 100644 --- a/src/include/taler_merchantdb_plugin.h +++ b/src/include/taler_merchantdb_plugin.h @@ -321,17 +321,17 @@ struct TALER_MERCHANTDB_TemplateDetails /** * Description of the template. */ - const char *template_description; + char *template_description; /** * Base64-encoded product image, or NULL. */ - const char *image; + char *image; /** * In this template contract, we can have additional information. */ - const json_t *template_contract; + json_t *template_contract; }; |