summaryrefslogtreecommitdiff
path: root/icclient/client.h
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-10-06 18:23:44 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-10-06 18:23:44 +0800
commitfc555594c636e87ffe2384e6b5240cfa934c6cf4 (patch)
tree47d75d9b701e1182c5c882628e8349a01416d2a5 /icclient/client.h
parentc2c89d376b0d80299ad0fe8228ecef4279557160 (diff)
Order function
Diffstat (limited to 'icclient/client.h')
-rw-r--r--icclient/client.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/icclient/client.h b/icclient/client.h
index e49af36..db38926 100644
--- a/icclient/client.h
+++ b/icclient/client.h
@@ -3,6 +3,7 @@
struct icclient_product;
struct icclient_catalog;
+struct icclient_ord_order;
#ifdef __cplusplus
extern "C" {
@@ -12,6 +13,8 @@ extern "C" {
void icclient_allproducts(size_t (*handler)(void *contents, size_t size
, size_t nmemb, void *userdata)
, struct icclient_catalog **catalogptr);
+ void icclient_order(struct icclient_ord_order **orderptr, const char *sku
+ , struct icclient_catalog *catalog);
void icclient_newaccount(const char *username, const char *password
, const char *verify, const char *successpage
, const char *nextpage, const char *failpage);