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

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