summaryrefslogtreecommitdiff
path: root/icclient/member.h
diff options
context:
space:
mode:
Diffstat (limited to 'icclient/member.h')
-rw-r--r--icclient/member.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/icclient/member.h b/icclient/member.h
index a91c5d6..d68f814 100644
--- a/icclient/member.h
+++ b/icclient/member.h
@@ -55,21 +55,21 @@ struct icclient_member {
extern "C" {
#endif
- void icclient_member_newaccount(size_t (*handler)(void *, size_t, size_t, void *),
- struct icclient_member *member, const char *username,
+ 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 icclient_member_login(size_t (*handler)(void *, size_t, size_t, void *),
- struct icclient_member *member, const char *username,
+ const char *nextpage, const char *failpage,
+ size_t (*handler)(void *, size_t, size_t, void *));
+ struct icclient_member *icclient_member_login(const char *username,
const char *password, const char *successpage,
- const char *nextpage, const char *failpage);
+ const char *nextpage, const char *failpage,
+ size_t (*handler)(void *, size_t, size_t, void *));
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,
const char *phone_day);
void icclient_member_changepassword(const char *password_old, const char *password,
const char *verify);
- void icclient_member_logout();
+ void icclient_member_logout(struct icclient_member *member);
#ifdef __cplusplus
}