From c5660800d60921392b66703b30dfc72d5f42d351 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=20=EA=A6=AB=EA=A6=B6=20=EA=A6=8F=EA=A7=80?= =?UTF-8?q?=EA=A6=A6=EA=A6=BF=20=EA=A6=A7=20=EA=A6=AE=20=EA=A6=91=20?= =?UTF-8?q?=EA=A6=A9=20=EA=A6=AD=EA=A7=80?= Date: Sat, 5 Oct 2019 15:06:24 +0800 Subject: Generic page function --- icclient/client.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'icclient') 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 -- cgit v1.2.3