blob: 8fa6bc350812b93abce5b28d268b1807f942258b (
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
|
#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
|