diff options
Diffstat (limited to 'admin.c')
-rw-r--r-- | admin.c | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -0,0 +1,14 @@ +#include "login.h" +#include "icclient/admin.h" + +void icclient_admin_login(const char *username, const char *password + , const char *successpage, const char *nextpage + , const char *failpage) +{ + login(username, password, NULL, "MMLogin", successpage, nextpage, failpage); +} + +void icclient_admin_logout() +{ + request(NULL, NULL, NULL, "%s", "admin/login"); +} |