summaryrefslogtreecommitdiff
path: root/icclient
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-06-17 17:09:45 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-06-17 17:09:45 +0800
commit28dd96a0da198e3919b9e874773c57cb56a40157 (patch)
treeb8ad329c5b17893986dbbe5dc6f37e662bc897b2 /icclient
parent54079689a77536bf43a76b851a7a82f3ce884254 (diff)
success, fail, and next page parameters aren't used for now
Diffstat (limited to 'icclient')
-rw-r--r--icclient/admin.h5
-rw-r--r--icclient/member.h10
2 files changed, 5 insertions, 10 deletions
diff --git a/icclient/admin.h b/icclient/admin.h
index b7089a9..9756f40 100644
--- a/icclient/admin.h
+++ b/icclient/admin.h
@@ -19,10 +19,7 @@ struct icclient_admin {
extern "C" {
#endif
- struct icclient_admin *icclient_admin_login(const char *username,
- const char *password, const char *successpage,
- const char *nextpage, const char *failpage,
- void (*handler)(icclient_fetch_t *));
+ struct icclient_admin *icclient_admin_login(const char *username, const char *password, void (*handler)(icclient_fetch_t *));
void icclient_admin_new_admin(const char *username, const char *password, const char *name, bool super,
enum icclient_admin_group group, void (*handler)(icclient_fetch_t *));
void icclient_admin_new_item(const char *description, const char *comment, const char *price, const char *image_path,
diff --git a/icclient/member.h b/icclient/member.h
index feee6c3..3c6a41d 100644
--- a/icclient/member.h
+++ b/icclient/member.h
@@ -60,12 +60,10 @@ struct icclient_member {
extern "C" {
#endif
- struct icclient_member *icclient_member_newaccount(const char *username,
- const char *password, const char *verify, const char *successpage,
- const char *nextpage, const char *failpage, void (*handler)(icclient_fetch_t *));
- struct icclient_member *icclient_member_login(const char *username,
- const char *password, const char *successpage,
- const char *nextpage, const char *failpage, void (*handler)(icclient_fetch_t *));
+ struct icclient_member *icclient_member_newaccount(const char *username, const char *password, const char *verify,
+ void (*handler)(icclient_fetch_t *));
+ struct icclient_member *icclient_member_login(const char *username, const char *password,
+ void (*handler)(icclient_fetch_t *));
void icclient_member_account(const char *fname, const char *lname,
const char *address1, const char *address2, const char *city,
const char *state, const char *zip, const char *email,