summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-02-12 17:50:48 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-02-12 17:50:48 +0800
commit39dc6ee3492e0a69ef19fb3e7f9c5a95af4941a0 (patch)
tree8398f65136bb14f74134c4b2d9ee7b3d31159687
parentf45b56aca72cdb288abd7afe95ee696976901b92 (diff)
Rename account function to setaccount
-rw-r--r--interchange/member.h8
-rw-r--r--member.c7
2 files changed, 8 insertions, 7 deletions
diff --git a/interchange/member.h b/interchange/member.h
index 569055e..3aa4f7b 100644
--- a/interchange/member.h
+++ b/interchange/member.h
@@ -70,10 +70,10 @@ void interchange_member_newaccount(const char *username, const char *password,
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_setaccount(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);
diff --git a/member.c b/member.c
index d2d6301..a896d95 100644
--- a/member.c
+++ b/member.c
@@ -19,9 +19,10 @@ void interchange_member_login(const char *username, const char *password,
(void (*)(void *))callback);
}
-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_setaccount(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)
{
request(NULL, NULL, &(struct body){ 13, {
{ "mv_form_profile", "account_change" },