Add license notifications to all source files
[blerg.git] / common / auth.h
1 /* Blerg is (C) 2011 The Dominion of Awesome, and is distributed under a
2  * BSD-style license.  Please see the COPYING file for details.
3  */
4 #ifndef _AUTH_H
5 #define _AUTH_H
6
7 int auth_set_password(const char *, const char *);
8 int auth_get_password(const char *, char *);
9 int auth_check_password(const char *, const char *);
10 int auth_login(const char *username, const char *password);
11 int auth_logout(const char *username);
12 char *auth_get_token(const char *username);
13 int auth_check_token(const char *username, const char *given_token);
14
15 #endif //_AUTH_H