summaryrefslogtreecommitdiff
path: root/icclient/admin.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/admin.h
parenta0e54cb948c9862936e16eedd2a2015be05408c8 (diff)
Add support for Emscripten
Diffstat (limited to 'icclient/admin.h')
-rw-r--r--icclient/admin.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/icclient/admin.h b/icclient/admin.h
index 1ba73c7..36ec0d6 100644
--- a/icclient/admin.h
+++ b/icclient/admin.h
@@ -15,7 +15,7 @@ extern "C" {
struct icclient_admin *icclient_admin_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 *));
+ icclient_handler handler);
void icclient_admin_newitem(const char *description, const char *comment,
const char *price, const char *image_path);
void icclient_admin_logout(struct icclient_admin *admin);