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.

20 lines
632 B

  1. // cookie.h - header for external cookie funcs code.
  2. class CCookieJar;
  3. CCookieJar * CreateCookieJar();
  4. void CloseCookieJar(CCookieJar * CookieJar);
  5. #ifndef WININET_SERVER_CORE
  6. void PurgeCookieJar();
  7. #endif
  8. #define COOKIE_SECURE INTERNET_COOKIE_IS_SECURE
  9. #define COOKIE_SESSION INTERNET_COOKIE_IS_SESSION // never saved to disk
  10. #define COOKIE_NOUI 4
  11. BOOL WriteString(HANDLE hFile, const char *pch);
  12. BOOL WriteStringLF(HANDLE hFile, const char *pch);
  13. void ReverseString(char *pchFront);
  14. BOOL PathAndRDomainFromURL(const char *pchURL, char **ppchRDomain, char **ppchPath, BOOL *pfSecure, BOOL bStrip);