From 33c65bbbd3cfeb82b41a05458aadb597900b9164 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: Thu, 9 Jan 2020 22:31:37 +0800 Subject: Documentation for the order function --- icclient/client.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/icclient/client.h b/icclient/client.h index f88c4cd..1354009 100644 --- a/icclient/client.h +++ b/icclient/client.h @@ -26,6 +26,13 @@ extern "C" { void icclient_allproducts(size_t (*handler)(void *contents, size_t size , size_t nmemb, void *userdata) , struct icclient_catalog **catalogptr); + + /*! + * \brief For fetching data about all active products. + * \param orderptr A pointer to pointer to the order. + * \param sku The SKU of the item to order. + * \param catalog A pointer to the catalog from which the item is. + */ void icclient_order(struct icclient_ord_order **orderptr, const char *sku , struct icclient_catalog *catalog); void icclient_newaccount(size_t (*handler)(void *contents, size_t size -- cgit v1.2.3