projects
/
blerg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Check auth for logout
[blerg.git]
/
common
/
auth.h
diff --git
a/common/auth.h
b/common/auth.h
index
f73701b
..
124f014
100644
(file)
--- 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