summaryrefslogtreecommitdiff
path: root/icclient/product.h
diff options
context:
space:
mode:
Diffstat (limited to 'icclient/product.h')
-rw-r--r--icclient/product.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/icclient/product.h b/icclient/product.h
index 2ea1f53..12da846 100644
--- a/icclient/product.h
+++ b/icclient/product.h
@@ -1,24 +1,24 @@
#ifndef ICCLIENT_PRODUCT_H
#define ICCLIENT_PRODUCT_H
-struct ic_product {
+struct icclient_product {
char *sku, *description, *comment, *image;
double price;
};
-struct ic_catalog {
+struct icclient_catalog {
size_t length;
- struct ic_product *products[];
+ struct icclient_product *products[];
};
#ifdef __cplusplus
extern "C" {
#endif
- void icclient_product_all(struct ic_catalog **catalogptr
+ void icclient_product_all(struct icclient_catalog **catalogptr
, size_t (*callback)(void *contents, size_t size
, size_t nmemb, void *userdata));
- void rtclient_product_freecatalog(struct ic_catalog *catalog);
+ void icclient_product_freecatalog(struct icclient_catalog *catalog);
#ifdef __cplusplus
}