X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/b12be54a68a7738d948d866eb7b9231f8e55a12e..05438e8999dbc0edc4cc82c3df4cc5efdedb777e:/lib/cookies.h?ds=sidebyside diff --git a/lib/cookies.h b/lib/cookies.h index f7e3a3a..ea6e412 100644 --- a/lib/cookies.h +++ b/lib/cookies.h @@ -24,8 +24,10 @@ #ifndef COOKIES_H #define COOKIES_H +#include "rights.h" + char *make_cookie(const char *user); -char *verify_cookie(const char *cookie); +char *verify_cookie(const char *cookie, rights_type *rights); void revoke_cookie(const char *cookie); #endif /* COOKIES_H */