From 28dd96a0da198e3919b9e874773c57cb56a40157 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Thu, 17 Jun 2021 17:09:45 +0800 Subject: success, fail, and next page parameters aren't used for now --- icclient/admin.h | 5 +---- icclient/member.h | 10 ++++------ 2 files changed, 5 insertions(+), 10 deletions(-) (limited to 'icclient') 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, -- cgit v1.2.3