diff options
Diffstat (limited to 'admin.c')
-rw-r--r-- | admin.c | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -1,11 +1,15 @@ #include "login.h" #include "icclient/admin.h" -void icclient_admin_login(const char *username, const char *password +void icclient_admin_login(size_t (*handler)(void *contents, size_t size + , size_t nmemb, void *userdata) + , struct icclient_user *user + , const char *username, const char *password , const char *successpage, const char *nextpage , const char *failpage) { - login(username, password, NULL, "MMLogin", successpage, nextpage, failpage); + login(handler, user, username, password, NULL, "MMLogin", successpage + , nextpage, failpage); } void icclient_admin_logout() |