diff options
| author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-10-05 15:06:24 +0800 |
|---|---|---|
| committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-10-05 15:06:24 +0800 |
| commit | c5660800d60921392b66703b30dfc72d5f42d351 (patch) | |
| tree | 065f116230f8dc00cc4105c6d72fc183eb6caa8d /client.c | |
| parent | 7c2232c3af7edf93a6caa71ffc969916b4f88c4a (diff) | |
Generic page function
Diffstat (limited to 'client.c')
| -rw-r--r-- | client.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -59,6 +59,12 @@ void icclient_logout() request(NULL, NULL, NULL, "%s", "logout"); } +void icclient_page(const char *path, size_t (*handler)(void *, size_t, size_t + , void *), void **dataptr) +{ + request(handler, (void *)dataptr, NULL, "%s", path); +} + void icclient_cleanup() { if (curl) { |