diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2022-09-25 10:20:12 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2022-09-25 10:20:12 +0800 |
commit | 7f934ce683df5252fa6350dcc15e187b1c7623cf (patch) | |
tree | f600fc0cdfc9f4397580e44044468858167d0aa9 /member.c | |
parent | a606c79d52d2027afaafd424a25fa6a4598aa8d7 (diff) |
Rename remaining icclient to interchange
Diffstat (limited to 'member.c')
-rw-r--r-- | member.c | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -1,20 +1,20 @@ #include <stdlib.h> #include "login.h" -#include "icclient/member.h" +#include "interchange/member.h" -void icclient_member_newaccount(const char *username, const char *password, const char *verify, - void (*handler)(icclient_response *), void (*callback)(struct icclient_member *)) +void interchange_member_newaccount(const char *username, const char *password, const char *verify, + void (*handler)(interchange_response *), void (*callback)(struct interchange_member *)) { login(username, password, verify, "NewAccount", handler, (void (*)(void *))callback); } -void icclient_member_login(const char *username, const char *password, void (*handler)(icclient_response *), - void (*callback)(struct icclient_member *)) +void interchange_member_login(const char *username, const char *password, void (*handler)(interchange_response *), + void (*callback)(struct interchange_member *)) { login(username, password, NULL, "Login", handler, (void (*)(void *))callback); } -void icclient_member_account(const char *fname, const char *lname, const char *address1, +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) { @@ -35,7 +35,7 @@ void icclient_member_account(const char *fname, const char *lname, const char *a }}, "%s", "process"); } -void icclient_member_changepassword(const char *password_old, const char *password, const char *verify) +void interchange_member_changepassword(const char *password_old, const char *password, const char *verify) { request(NULL, NULL, &(struct body){ 6, { { "mv_action", "return" }, @@ -47,7 +47,7 @@ void icclient_member_changepassword(const char *password_old, const char *passwo }}, "%s", "member/change_password"); } -void icclient_member_logout(struct icclient_member *member) +void interchange_member_logout(struct interchange_member *member) { request(NULL, NULL, NULL, "%s", "logout"); if (member->username) |