From 4aef78b56e9ee5f51ce80171288242c8881842f0 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: Thu, 17 Jun 2021 22:12:36 +0800 Subject: Rename fetch to response --- member.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'member.c') 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); -- cgit v1.2.3