diff options
Diffstat (limited to 'icclient/product.h')
-rw-r--r-- | icclient/product.h | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/icclient/product.h b/icclient/product.h index 0b0e509..4e879e0 100644 --- a/icclient/product.h +++ b/icclient/product.h @@ -2,23 +2,11 @@ #define ICCLIENT_PRODUCT_H struct icclient_product { - char *sku, *description, *comment, *image; + char *sku; + char *description; + char *comment; + char *image; double price; }; -struct icclient_catalog { - size_t length; - struct icclient_product *products[]; -}; - -#ifdef __cplusplus -extern "C" { -#endif - - void icclient_catalog_free(struct icclient_catalog *catalog); - -#ifdef __cplusplus -} -#endif - #endif // ICCLIENT_PRODUCT_H |