summaryrefslogtreecommitdiff
path: root/icclient/client.h
diff options
context:
space:
mode:
Diffstat (limited to 'icclient/client.h')
-rw-r--r--icclient/client.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/icclient/client.h b/icclient/client.h
index 02804bb..f81f567 100644
--- a/icclient/client.h
+++ b/icclient/client.h
@@ -50,12 +50,12 @@ extern "C" {
/*!
* \brief For putting an item to a cart.
- * \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.
+ * \param orderptr A pointer to pointer to the order.
*/
- void icclient_order(struct icclient_ord_order **orderptr, const char *sku,
- struct icclient_catalog *catalog);
+ void icclient_order(const char *sku, const struct icclient_catalog *catalog,
+ struct icclient_ord_order **orderptr);
void icclient_newaccount(size_t (*handler)(void *contents, size_t size,
size_t nmemb, void *userdata),
struct icclient_user *user,