diff options
author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2020-07-11 21:19:23 +0800 |
---|---|---|
committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2020-07-11 21:19:23 +0800 |
commit | f2cdda353b0da0ec19679ac8753fbe2d17471fd9 (patch) | |
tree | 8c5bcc98a1b41481c4d249043b0246d935f24e39 /icclient | |
parent | c0fba9db9290fb30884b9c4f8d847212164e3b50 (diff) |
Revert prodgroup to prod_group
Diffstat (limited to 'icclient')
-rw-r--r-- | icclient/client.h | 4 | ||||
-rw-r--r-- | icclient/product.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/icclient/client.h b/icclient/client.h index 60c60d4..02e0bfa 100644 --- a/icclient/client.h +++ b/icclient/client.h @@ -18,11 +18,11 @@ extern "C" { /*! * \brief For fetching data about products that belong a specific group. - * \param prodgroup The name of the product group. + * \param prod_group The name of the product group. * \param handler A pointer to a cURL write function callback. * \param catalogptr A pointer to pointer to the catalog to store the data. */ - void icclient_results(const char *prodgroup, + void icclient_results(const char *prod_group, size_t (*handler)(void *, size_t, size_t, void *), struct icclient_catalog **catalogptr); diff --git a/icclient/product.h b/icclient/product.h index 0affebc..c3e91bd 100644 --- a/icclient/product.h +++ b/icclient/product.h @@ -13,7 +13,7 @@ struct icclient_product { char *thumb; char *image; double price; - char *prodgroup; + char *prod_group; double weight; char *author; struct icclient_product_crosssell *crosssell; |