summaryrefslogtreecommitdiff
path: root/icclient/member.h
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-06-09 19:51:18 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-06-09 19:51:18 +0800
commitc6e5f421e2738b6005f6c3da6700b1343214f7e5 (patch)
treef4c45010fac52e4c30610ddd4640fb5b36a602a8 /icclient/member.h
parenta0e54cb948c9862936e16eedd2a2015be05408c8 (diff)
Add support for Emscripten
Diffstat (limited to 'icclient/member.h')
-rw-r--r--icclient/member.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/icclient/member.h b/icclient/member.h
index 0f4ac22..1c0943a 100644
--- a/icclient/member.h
+++ b/icclient/member.h
@@ -62,12 +62,10 @@ extern "C" {
struct icclient_member *icclient_member_newaccount(const char *username,
const char *password, const char *verify, const char *successpage,
- const char *nextpage, const char *failpage,
- size_t (*handler)(void *, size_t, size_t, void *));
+ const char *nextpage, const char *failpage, icclient_handler handler);
struct icclient_member *icclient_member_login(const char *username,
const char *password, const char *successpage,
- const char *nextpage, const char *failpage,
- size_t (*handler)(void *, size_t, size_t, void *));
+ const char *nextpage, const char *failpage, icclient_handler handler);
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,