diff options
author | Christian Grothoff <christian@grothoff.org> | 2024-05-25 23:02:19 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2024-05-25 23:02:19 +0200 |
commit | 8d13ea6b82c39f9c68b9abf2ec70d221eef4ab74 (patch) | |
tree | 627d2a0059a1c7e28d6bf956d502ae9267ca6afa /src/include/taler_merchantdb_plugin.h | |
parent | 3da8f0416e8a3f449db34d54dd4c3f359471bb7e (diff) |
-more work on categories
Diffstat (limited to 'src/include/taler_merchantdb_plugin.h')
-rw-r--r-- | src/include/taler_merchantdb_plugin.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/include/taler_merchantdb_plugin.h b/src/include/taler_merchantdb_plugin.h index d06ab76c..7c009b89 100644 --- a/src/include/taler_merchantdb_plugin.h +++ b/src/include/taler_merchantdb_plugin.h @@ -3141,6 +3141,24 @@ struct TALER_MERCHANTDB_Plugin /** + * Lookup details about product category by name. + * + * @param cls closure + * @param instance_id instance to lookup template for + * @param category_name category name to look for + * @param[out] name_i18n category name translation + * @param[out] category_id category ID + * @return database result code + */ + enum GNUNET_DB_QueryStatus + (*select_category_by_name)(void *cls, + const char *instance_id, + const char *category_name, + json_t **name_i18n, + uint64_t *category_id); + + + /** * Lookup all of the webhooks the given instance has configured. * * @param cls closure |