1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
#ifndef ICCLIENT_CATALOG_H #define ICCLIENT_CATALOG_H 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_CATALOG_H