diff options
author | Christian Grothoff <christian@grothoff.org> | 2024-08-04 22:31:41 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2024-08-04 22:31:41 +0200 |
commit | 347695fa07bf2bb3a0d818fa2381731f2178e0e9 (patch) | |
tree | ede0a33fe01c92fc3909cb89eff16f47633175f7 /src/include/taler_merchantdb_plugin.h | |
parent | 78bdd0933ca0df12ed0caeafb500d703da8e4398 (diff) |
fix select_category implementation
Diffstat (limited to 'src/include/taler_merchantdb_plugin.h')
-rw-r--r-- | src/include/taler_merchantdb_plugin.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/include/taler_merchantdb_plugin.h b/src/include/taler_merchantdb_plugin.h index 7c7f7fbe..7882f789 100644 --- a/src/include/taler_merchantdb_plugin.h +++ b/src/include/taler_merchantdb_plugin.h @@ -3267,8 +3267,7 @@ struct TALER_MERCHANTDB_Plugin * @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. + * @param[out] products set to buffer with @a num_products 0-terminated strings with the product IDs, caller must free() it. * @return database result code */ enum GNUNET_DB_QueryStatus @@ -3277,7 +3276,7 @@ struct TALER_MERCHANTDB_Plugin uint64_t category_id, struct TALER_MERCHANTDB_CategoryDetails *cd, size_t *num_products, - const char* **products); + char **products); /** |