#ifndef ICCLIENT_PRODUCT_H #define ICCLIENT_PRODUCT_H struct icclient_product_crosssell { size_t length; char *skus[]; }; struct icclient_product { char *sku; char *description; char *comment; char *thumb; char *image; double price; char *prod_group; double weight; char *author; struct icclient_product_crosssell *crosssell; }; #ifdef __cplusplus extern "C" { #endif void icclient_product_free(struct icclient_product *product); #ifdef __cplusplus } #endif #endif