X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/b12be54a68a7738d948d866eb7b9231f8e55a12e..b0b15b7ced28b3c6ddfcd4b0a7e46ee6432a243c:/lib/cookies.h 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 */