blob: 6b2b8900be0e063c1c4b969e89bcb8d527838704 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#ifndef ICCLIENT_PRODUCT_H
#define ICCLIENT_PRODUCT_H
struct icclient_product {
char *sku, *description, *comment, *image;
double price;
};
struct icclient_catalog {
size_t length;
struct icclient_product *products[];
};
#ifdef __cplusplus
extern "C" {
#endif
void icclient_product_freecatalog(struct icclient_catalog *catalog);
#ifdef __cplusplus
}
#endif
#endif // ICCLIENT_PRODUCT_H
|