summaryrefslogtreecommitdiff
path: root/icclient
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-06-23 07:26:46 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-06-23 07:26:46 +0800
commita5ce38a2273d6f11414376e8ca3e1d7e41accd9e (patch)
tree1ab7f06920c715c287f4c4ad74ef1737c78247b3 /icclient
parenta433adb8eacc0883a4757970362417ab15193e83 (diff)
New transaction function
Diffstat (limited to 'icclient')
-rw-r--r--icclient/admin.h17
1 files changed, 10 insertions, 7 deletions
diff --git a/icclient/admin.h b/icclient/admin.h
index 64d5b0a..08e4751 100644
--- a/icclient/admin.h
+++ b/icclient/admin.h
@@ -21,13 +21,16 @@ struct icclient_admin {
extern "C" {
#endif
- void icclient_admin_login(const char *username, const char *password, void (*handler)(icclient_response *),
- void (*callback)(struct icclient_admin *));
- void icclient_admin_new_admin(const char *username, const char *password, const char *name, bool super,
- enum icclient_admin_group group, void (*handler)(icclient_response *));
- void icclient_admin_new_item(const char *description, const char *comment, const char *price, const char *image_path,
- void (*handler)(icclient_response *));
- void icclient_admin_logout(struct icclient_admin *admin, void (*handler)(icclient_response *));
+void icclient_admin_login(const char *username, const char *password, void (*handler)(icclient_response *),
+ void (*callback)(struct icclient_admin *));
+void icclient_admin_new_admin(const char *username, const char *password, const char *name, bool super,
+ enum icclient_admin_group group, void (*handler)(icclient_response *));
+void icclient_admin_new_item(const char *description, const char *comment, const char *price,
+ const char *image_path, void (*handler)(icclient_response *));
+void icclient_admin_new_transaction(const struct icclient_ord_order *order,
+ const struct icclient_member *member, bool new_customer_id,
+ void (*handler)(icclient_response *));
+void icclient_admin_logout(struct icclient_admin *admin, void (*handler)(icclient_response *));
#ifdef __cplusplus
}