// cookie.h - header for external cookie funcs code. BOOL OpenTheCookieJar(); void CloseTheCookieJar(); VOID PurgeCookieJarOfStaleCookies(); #define COOKIE_SECURE INTERNET_COOKIE_IS_SECURE #define COOKIE_SESSION INTERNET_COOKIE_IS_SESSION // never saved to disk #define COOKIE_RESTRICT INTERNET_COOKIE_IS_RESTRICTED // only used for 1st party context #define COOKIE_P3PPOLICY 0x10000 // the cookie has associated P3P policy #define COOKIE_NOUI 4 BOOL InternetGetCookieEx( LPCSTR pchURL, LPCSTR pchCookieName, LPSTR pchCookieData OPTIONAL, LPDWORD pcchCookieData, DWORD dwFlags, LPVOID lpReserved); BOOL InternalInternetSetCookie( LPCSTR pchURL, LPCSTR pchCookieName, LPCSTR pchCookieData, DWORD dwFlags, LPVOID lpReserved);