diff options
| author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-26 11:52:37 +0800 |
|---|---|---|
| committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-26 11:52:37 +0800 |
| commit | 8b8fcdd17bf243440f52bd74e447afcface8b107 (patch) | |
| tree | 04ce16ad76f0754bd4ba39246e97268facfda366 /product.c | |
| parent | 737bd34f39e9a3d14d170633e07c555d9e26d026 (diff) | |
Fix prefixes
Diffstat (limited to 'product.c')
| -rw-r--r-- | product.c | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -2,16 +2,18 @@ #include "request.h" #include "icclient/product.h" -void icclient_product_all(struct ic_catalog **catalogptr +typedef struct icclient_catalog icclient_catalog; + +void icclient_product_all(icclient_catalog **catalogptr , size_t (*callback)(void *, size_t, size_t, void *)) { request(NULL, NULL, NULL, "%s", "All-Products"); } -void rtclient_product_freecatalog(struct ic_catalog *catalog) +void icclient_product_freecatalog(icclient_catalog *catalog) { for (size_t i = 0; i < catalog->length; i++) { - struct ic_product *product = catalog->products[i]; + struct icclient_product *product = catalog->products[i]; if (product->image) free(product->image); if (product->comment) |