From b678fc08133def937a5273f0f962939ab82537d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Sun, 12 Feb 2023 18:16:43 +0800 Subject: Account information getter This function assumes the default member/account path. When custom, the page function should be able to be used. --- interchange/member.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'interchange/member.h') diff --git a/interchange/member.h b/interchange/member.h index 3aa4f7b..3b33e6b 100644 --- a/interchange/member.h +++ b/interchange/member.h @@ -70,6 +70,14 @@ 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 *)); + +/*! + * \brief For getting member account information. + * \param handler A pointer to the function when a custom handler is needed to + * arrange the data into the member instance. +*/ +void interchange_member_account(void (*handler)(interchange_response *)); + 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, -- cgit v1.2.3