summaryrefslogtreecommitdiff
path: root/member.c
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-06-17 22:12:36 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-06-17 22:12:36 +0800
commit4aef78b56e9ee5f51ce80171288242c8881842f0 (patch)
tree9ab4c915bc5bdadd05adfe6693f497bf23c7b299 /member.c
parent71e1c7fc557e68743c4a8028b2d6675639be16cc (diff)
Rename fetch to response
Diffstat (limited to 'member.c')
-rw-r--r--member.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/member.c b/member.c
index 9f53113..74f416c 100644
--- a/member.c
+++ b/member.c
@@ -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);