From c0fba9db9290fb30884b9c4f8d847212164e3b50 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: Sat, 11 Jul 2020 11:48:19 +0800 Subject: Move order function to ord namespace --- icclient/ord.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'icclient/ord.h') diff --git a/icclient/ord.h b/icclient/ord.h index 638880a..5195e81 100644 --- a/icclient/ord.h +++ b/icclient/ord.h @@ -19,6 +19,14 @@ extern "C" { #endif void icclient_ord_init(struct icclient_ord_order *order); + /*! + * \brief For putting an item to a cart. + * \param sku The SKU of the item to order. + * \param catalog A pointer to the catalog from which the item is. + * \param orderptr A pointer to pointer to the order. + */ + void icclient_ord_order(const char *sku, const struct icclient_catalog *catalog, + struct icclient_ord_order **orderptr); void icclient_ord_free(struct icclient_ord_order *order); #ifdef __cplusplus -- cgit v1.2.3