aboutsummaryrefslogtreecommitdiff
path: root/restapi/auth.h
blob: ce5ea10732a56eb3799c49ade51ae73346a6c447 (plain)
1
2
3
4
5
6
7
8
9
10
11
#ifndef RESTAPI_AUTH_H_
#define RESTAPI_AUTH_H_

extern char * userId;
extern char * authToken;

char // returns 0 if ok, greater than 0 otherwise
restapi_login(const char* username, const char* password);
void restapi_logout(void);

#endif