From 2ed1fce21c24a54bf09da8b39efd7d889a0b74e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=20=EA=A6=AB=EA=A6=B6=20=EA=A6=8F=EA=A7=80?= =?UTF-8?q?=EA=A6=A6=EA=A6=BF=20=EA=A6=A7=20=EA=A6=AE=20=EA=A6=91=20?= =?UTF-8?q?=EA=A6=A9=20=EA=A6=AD=EA=A7=80?= Date: Tue, 16 Jun 2020 09:40:10 +0800 Subject: Product cross-sell flexible array member --- icclient/product.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'icclient/product.h') 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 -- cgit v1.2.3