blob: c3e91bd77c1389097e8a9cd6ca646f9668c48a6c (
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
25
26
27
28
29
30
31
32
33
|
#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_init(struct icclient_product *product);
void icclient_product_free(struct icclient_product *product);
#ifdef __cplusplus
}
#endif
#endif // ICCLIENT_PRODUCT_H
|