summaryrefslogtreecommitdiff
path: root/admin.c
blob: 60bf5839fe9d7a39fdb24b7ae1bfd8f17cbfc9eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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");
}