summaryrefslogtreecommitdiff
path: root/icclient/product.h
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2020-06-16 09:40:10 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2020-06-16 09:40:10 +0800
commit2ed1fce21c24a54bf09da8b39efd7d889a0b74e3 (patch)
treef1ef809ceddd42b210d6c85c0b9019d17694c3fd /icclient/product.h
parentfbad60cda7587ccb8acd53e8bbef12a485f62862 (diff)
Product cross-sell flexible array member
Diffstat (limited to 'icclient/product.h')
-rw-r--r--icclient/product.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/icclient/product.h b/icclient/product.h
index e95404f..a324eef 100644
--- a/icclient/product.h
+++ b/icclient/product.h
@@ -1,6 +1,11 @@
#ifndef ICCLIENT_PRODUCT_H
#define ICCLIENT_PRODUCT_H
+struct icclient_product_cross_sell {
+ size_t length;
+ char *skus[];
+};
+
struct icclient_product {
char *sku;
char *description;
@@ -10,6 +15,7 @@ struct icclient_product {
char *prod_group;
double weight;
char *author;
+ struct icclient_product_cross_sell *cross_sell;
};
#endif // ICCLIENT_PRODUCT_H