Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

22 lines
860 B

// 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);