summaryrefslogtreecommitdiff
path: root/member.c
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-02-12 18:16:43 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-02-12 18:16:43 +0800
commitb678fc08133def937a5273f0f962939ab82537d4 (patch)
treea6ce857d970db65041ab78f69a780e445d1e5371 /member.c
parent39dc6ee3492e0a69ef19fb3e7f9c5a95af4941a0 (diff)
Account information getter
This function assumes the default member/account path. When custom, the page function should be able to be used.
Diffstat (limited to 'member.c')
-rw-r--r--member.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/member.c b/member.c
index a896d95..8ac2618 100644
--- a/member.c
+++ b/member.c
@@ -19,6 +19,11 @@ void interchange_member_login(const char *username, const char *password,
(void (*)(void *))callback);
}
+void interchange_member_account(void (*handler)(interchange_response *))
+{
+ request(handler, NULL, NULL, "%s", "member/account");
+}
+
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,