X-Git-Url: http://git.bytex64.net/?a=blobdiff_plain;f=common%2Fauth.h;h=124f014de78d8d1569159a3a50f1854b68f522f9;hb=6ce5fb7ab6e31f76e57639e4d04e32af33e77ee6;hp=da024c9c1e0e7308815c334d042e9b2b45bd3cc2;hpb=3d27274b36b44816c736ea8a411341b5a36556f9;p=blerg.git diff --git a/common/auth.h b/common/auth.h index da024c9..124f014 100644 --- a/common/auth.h +++ b/common/auth.h @@ -4,5 +4,9 @@ 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); +int auth_check_token(const char *username, const char *given_token); #endif //_AUTH_H