summaryrefslogtreecommitdiff
path: root/interchange
diff options
context:
space:
mode:
Diffstat (limited to 'interchange')
-rw-r--r--interchange/admin.h3
-rw-r--r--interchange/member.h22
2 files changed, 16 insertions, 9 deletions
diff --git a/interchange/admin.h b/interchange/admin.h
index d0e47d7..50a0957 100644
--- a/interchange/admin.h
+++ b/interchange/admin.h
@@ -21,7 +21,8 @@ struct interchange_admin {
extern "C" {
#endif
-void interchange_admin_login(const char *username, const char *password, void (*handler)(interchange_response *),
+void interchange_admin_login(const char *username, const char *password,
+ const char *failpage, void (*handler)(interchange_response *),
void (*callback)(struct interchange_admin *));
void interchange_admin_new_admin(const char *username, const char *password, const char *name, bool super,
enum interchange_admin_group group, void (*handler)(interchange_response *));
diff --git a/interchange/member.h b/interchange/member.h
index 0e9ca91..b44b1f5 100644
--- a/interchange/member.h
+++ b/interchange/member.h
@@ -63,14 +63,20 @@ struct interchange_member {
extern "C" {
#endif
- void interchange_member_newaccount(const char *username, const char *password, const char *verify,
- void (*handler)(interchange_response *), void (*callback)(struct interchange_member *));
- void interchange_member_login(const char *username, const char *password, void (*handler)(interchange_response *),
- void (*callback)(struct interchange_member *));
- void interchange_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 interchange_member_changepassword(const char *password_old, const char *password, const char *verify);
- void interchange_member_logout(struct interchange_member *member);
+void interchange_member_newaccount(const char *username, const char *password,
+ const char *verify, const char *failpage,
+ void (*handler)(interchange_response *),
+ void (*callback)(struct interchange_member *));
+void interchange_member_login(const char *username, const char *password,
+ const char *failpage, void (*handler)(interchange_response *),
+ void (*callback)(struct interchange_member *));
+void interchange_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 interchange_member_changepassword(const char *password_old,
+ const char *password, const char *verify);
+void interchange_member_logout(struct interchange_member *member);
#ifdef __cplusplus
}