Add license notifications to all source files
[blerg.git] / common / auth.h
index f73701b..d180bfd 100644 (file)
@@ -1,3 +1,6 @@
+/* Blerg is (C) 2011 The Dominion of Awesome, and is distributed under a
+ * BSD-style license.  Please see the COPYING file for details.
+ */
 #ifndef _AUTH_H
 #define _AUTH_H
 
@@ -7,5 +10,6 @@ int auth_check_password(const char *, const char *);
 int auth_login(const char *username, const char *password);
 int auth_logout(const char *username);
 char *auth_get_token(const char *username);
+int auth_check_token(const char *username, const char *given_token);
 
 #endif //_AUTH_H