diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-06-17 22:12:36 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-06-17 22:12:36 +0800 |
commit | 4aef78b56e9ee5f51ce80171288242c8881842f0 (patch) | |
tree | 9ab4c915bc5bdadd05adfe6693f497bf23c7b299 /member.c | |
parent | 71e1c7fc557e68743c4a8028b2d6675639be16cc (diff) |
Rename fetch to response
Diffstat (limited to 'member.c')
-rw-r--r-- | member.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4,12 +4,12 @@ #include "icclient/member.h" void icclient_member_newaccount(const char *username, const char *password, const char *verify, - void (*handler)(icclient_fetch_t *), void (*callback)(struct icclient_member *)) + void (*handler)(icclient_response *), void (*callback)(struct icclient_member *)) { login(username, password, verify, "NewAccount", handler, (void (*)(void *))callback); } -void icclient_member_login(const char *username, const char *password, void (*handler)(icclient_fetch_t *), +void icclient_member_login(const char *username, const char *password, void (*handler)(icclient_response *), void (*callback)(struct icclient_member *)) { login(username, password, NULL, "Login", handler, (void (*)(void *))callback); |