summaryrefslogtreecommitdiff
path: root/icclient/ord.h
diff options
context:
space:
mode:
Diffstat (limited to 'icclient/ord.h')
-rw-r--r--icclient/ord.h8
1 files changed, 8 insertions, 0 deletions
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