summaryrefslogtreecommitdiff
path: root/icclient
diff options
context:
space:
mode:
Diffstat (limited to 'icclient')
-rw-r--r--icclient/client.h12
-rw-r--r--icclient/member.h9
2 files changed, 9 insertions, 12 deletions
diff --git a/icclient/client.h b/icclient/client.h
index a58bce1..ee11a2a 100644
--- a/icclient/client.h
+++ b/icclient/client.h
@@ -3,7 +3,6 @@
struct icclient_product;
struct icclient_catalog;
-struct icclient_member;
struct icclient_ord_order;
#ifdef __cplusplus
@@ -54,17 +53,6 @@ extern "C" {
*/
void icclient_order(const char *sku, const struct icclient_catalog *catalog,
struct icclient_ord_order **orderptr);
- void icclient_newaccount(size_t (*handler)(void *, size_t, size_t, void *),
- struct icclient_member *member,
- const char *username, const char *password,
- const char *verify, const char *successpage,
- const char *nextpage, const char *failpage);
- void icclient_login(size_t (*handler)(void *, size_t, size_t, void *),
- struct icclient_member *member,
- const char *username, const char *password,
- const char *successpage, const char *nextpage,
- const char *failpage);
- void icclient_logout();
void icclient_page(const char *path,
size_t (*handler)(void *, size_t, size_t, void *),
void **dataptr);
diff --git a/icclient/member.h b/icclient/member.h
index dd44e78..a91c5d6 100644
--- a/icclient/member.h
+++ b/icclient/member.h
@@ -55,12 +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,
+ 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 *password, const char *successpage,
+ const char *nextpage, const char *failpage);
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();
#ifdef __cplusplus
}