summaryrefslogtreecommitdiff
path: root/icclient/ord.h
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-06-23 07:26:02 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-06-23 07:26:02 +0800
commita433adb8eacc0883a4757970362417ab15193e83 (patch)
tree8010efec2f3648569c4b2a8618d20ac705fa2007 /icclient/ord.h
parentf892936d0ec85df5e88abff37842b47f0f912255 (diff)
Tidy up a bit
Diffstat (limited to 'icclient/ord.h')
-rw-r--r--icclient/ord.h24
1 files changed, 11 insertions, 13 deletions
diff --git a/icclient/ord.h b/icclient/ord.h
index a1dd4ea..eccc822 100644
--- a/icclient/ord.h
+++ b/icclient/ord.h
@@ -19,21 +19,19 @@ struct icclient_ord_order {
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_checkout(struct icclient_ord_order *order,
- struct icclient_member *member);
- void icclient_ord_free(struct icclient_ord_order *order);
+/*!
+ * \brief For putting an item to a cart.
+ * \param sku The SKU of the item to order.
+ * \param catalog The catalog from which the item is.
+ * \param order The address of an order instance.
+ */
+void icclient_ord_order(const char *sku, const struct icclient_catalog *catalog,
+ struct icclient_ord_order **order);
+void icclient_ord_checkout(const struct icclient_ord_order *order, const struct icclient_member *member);
+void icclient_ord_free(struct icclient_ord_order *order);
#ifdef __cplusplus
}
#endif
-#endif // ICCLIENT_ORD_H
+#endif