summaryrefslogtreecommitdiff
path: root/icclient
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2020-01-09 22:31:37 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2020-01-09 22:31:37 +0800
commit33c65bbbd3cfeb82b41a05458aadb597900b9164 (patch)
treea404b65884afee6b31d08d763aca72c86463eb9c /icclient
parent69fa1dd702b28c95b7e0460600f4e1150b94da89 (diff)
Documentation for the order function
Diffstat (limited to 'icclient')
-rw-r--r--icclient/client.h7
1 files changed, 7 insertions, 0 deletions
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