summaryrefslogtreecommitdiff
path: root/admin.c
diff options
context:
space:
mode:
Diffstat (limited to 'admin.c')
-rw-r--r--admin.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/admin.c b/admin.c
index 6e40ddd..3b7cd9c 100644
--- a/admin.c
+++ b/admin.c
@@ -1,15 +1,13 @@
#include "login.h"
#include "icclient/admin.h"
-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)
+void icclient_admin_login(size_t (*handler)(void *, size_t, size_t, void *),
+ struct icclient_member *member, const char *username,
+ const char *password, const char *successpage, const char *nextpage,
+ const char *failpage)
{
- login(handler, user, username, password, NULL, "MMLogin", successpage
- , nextpage, failpage);
+ login(handler, member, username, password, NULL, "MMLogin", successpage, nextpage,
+ failpage);
}
void icclient_admin_logout()