X-Git-Url: http://git.bytex64.net/?a=blobdiff_plain;f=common%2Fauth.h;h=124f014de78d8d1569159a3a50f1854b68f522f9;hb=e2f51ade69169968d9d54d3b601527a51c66f6ba;hp=f73701b7ad59789a9a6d2082ca3bf8c869d092bf;hpb=a65aeec9e6152703de9c770e56e689b1356cddb0;p=blerg.git diff --git a/common/auth.h b/common/auth.h index f73701b..124f014 100644 --- a/common/auth.h +++ b/common/auth.h @@ -7,5 +7,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