summaryrefslogtreecommitdiff
path: root/icclient/member.h
diff options
context:
space:
mode:
Diffstat (limited to 'icclient/member.h')
-rw-r--r--icclient/member.h19
1 files changed, 8 insertions, 11 deletions
diff --git a/icclient/member.h b/icclient/member.h
index 3c6a41d..a1943a0 100644
--- a/icclient/member.h
+++ b/icclient/member.h
@@ -60,20 +60,17 @@ struct icclient_member {
extern "C" {
#endif
- 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,
- const char *phone_day);
- void icclient_member_changepassword(const char *password_old, const char *password,
- const char *verify);
+ void icclient_member_newaccount(const char *username, const char *password, const char *verify,
+ void (*handler)(icclient_fetch_t *), void (*callback)(struct icclient_member *));
+ void icclient_member_login(const char *username, const char *password, void (*handler)(icclient_fetch_t *),
+ void (*callback)(struct icclient_member *));
+ 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(struct icclient_member *member);
#ifdef __cplusplus
}
#endif
-#endif // ICCLIENT_MEMBER_H
+#endif