#ifndef __HTTP_COOKIE_H__ #define __HTTP_COOKIE_H__ #include #include #include "class.h" CLASS(HttpCookie) { unsigned long hash; char * key; char * value; char * domain; char * path; time_t expires; time_t max_age; size_t nkey; size_t nvalue; }; char * httpCookieToString(HttpCookie); HttpCookie httpStringToCookie(const char *); #endif // __HTTP_COOKIE_H__ // vim: set ts=4 sw=4: