Change auth to allow multiple logins
[blerg.git] / common / auth.h
index d180bfd..647bd6f 100644 (file)
@@ -7,9 +7,8 @@
 int auth_set_password(const char *, const char *);
 int auth_get_password(const char *, char *);
 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);
+char * auth_login(const char *username, const char *password);
+int auth_logout(const char *username, const char *token);
 int auth_check_token(const char *username, const char *given_token);
 
 #endif //_AUTH_H