summaryrefslogtreecommitdiff
path: root/icclient
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-10-05 15:06:24 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-10-05 15:06:24 +0800
commitc5660800d60921392b66703b30dfc72d5f42d351 (patch)
tree065f116230f8dc00cc4105c6d72fc183eb6caa8d /icclient
parent7c2232c3af7edf93a6caa71ffc969916b4f88c4a (diff)
Generic page function
Diffstat (limited to 'icclient')
-rw-r--r--icclient/client.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/icclient/client.h b/icclient/client.h
index 9527300..053eee5 100644
--- a/icclient/client.h
+++ b/icclient/client.h
@@ -18,6 +18,10 @@ extern "C" {
, const char *successpage, const char *nextpage
, const char *failpage);
void icclient_logout();
+ void icclient_page(const char *path
+ , size_t (*handler)(void *contents, size_t size
+ , size_t nmemb, void *userdata)
+ , void **dataptr);
void icclient_cleanup();
#ifdef __cplusplus