diff options
author | Sebastian <sebasjm@gmail.com> | 2024-08-01 12:16:03 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2024-08-01 12:16:03 -0300 |
commit | 13885d5a8d3d759b9183819a5d8138253c18cb20 (patch) | |
tree | a1734a20880715de65b0f6162db747337fdfcd37 /src/include | |
parent | 873b48b5aabe28acbf0aeb274cd946fc1207b894 (diff) |
fix get category details
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/taler_merchantdb_plugin.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/include/taler_merchantdb_plugin.h b/src/include/taler_merchantdb_plugin.h index 96a3d001..7b380537 100644 --- a/src/include/taler_merchantdb_plugin.h +++ b/src/include/taler_merchantdb_plugin.h @@ -3266,13 +3266,18 @@ struct TALER_MERCHANTDB_Plugin * @param category_id category to update * @param[out] cd set to the category details on success, can be NULL * (in that case we only want to check if the category exists) + * @param[out] num_products set to length of @a products array + * @param[out] products set to array of products the + * category is in, caller must free() it. * @return database result code */ enum GNUNET_DB_QueryStatus (*select_category)(void *cls, const char *instance_id, uint64_t category_id, - struct TALER_MERCHANTDB_CategoryDetails *cd); + struct TALER_MERCHANTDB_CategoryDetails *cd, + size_t *num_products, + const char* **products); /** |