summaryrefslogtreecommitdiff
path: root/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'client.c')
-rw-r--r--client.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/client.c b/client.c
index c64dc0b..56dbf79 100644
--- a/client.c
+++ b/client.c
@@ -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) {