summaryrefslogtreecommitdiff
path: root/login.h
diff options
context:
space:
mode:
Diffstat (limited to 'login.h')
-rw-r--r--login.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/login.h b/login.h
index 903adf8..1501993 100644
--- a/login.h
+++ b/login.h
@@ -3,10 +3,8 @@
#include "request.h"
-inline void login(const char *username, const char *password, const char *verify,
- const char *click, const char *successpage, const char *nextpage,
- const char *failpage, size_t (*handler)(void *, size_t, size_t, void *),
- void *user)
+inline void login(const char *username, const char *password, const char *verify, const char *click,
+ const char *successpage, const char *nextpage, const char *failpage, icclient_handler handler, void *user)
{
struct curl_httppost *post, *last = NULL;
curl_formadd(&post, &last,