Sat, 03 Jan 2015 20:18:00 +0100
Conditionally enable double key logic according to:
private browsing mode or privacy.thirdparty.isolate preference and
implement in GetCookieStringCommon and FindCookie where it counts...
With some reservations of how to convince FindCookie users to test
condition and pass a nullptr when disabling double key logic.
michael@0 | 1 | #ifndef __STDC_HEADERS_H |
michael@0 | 2 | #define __STDC_HEADERS_H |
michael@0 | 3 | /*************************************************************************** |
michael@0 | 4 | * _ _ ____ _ |
michael@0 | 5 | * Project ___| | | | _ \| | |
michael@0 | 6 | * / __| | | | |_) | | |
michael@0 | 7 | * | (__| |_| | _ <| |___ |
michael@0 | 8 | * \___|\___/|_| \_\_____| |
michael@0 | 9 | * |
michael@0 | 10 | * Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al. |
michael@0 | 11 | * |
michael@0 | 12 | * This software is licensed as described in the file COPYING, which |
michael@0 | 13 | * you should have received as part of this distribution. The terms |
michael@0 | 14 | * are also available at http://curl.haxx.se/docs/copyright.html. |
michael@0 | 15 | * |
michael@0 | 16 | * You may opt to use, copy, modify, merge, publish, distribute and/or sell |
michael@0 | 17 | * copies of the Software, and permit persons to whom the Software is |
michael@0 | 18 | * furnished to do so, under the terms of the COPYING file. |
michael@0 | 19 | * |
michael@0 | 20 | * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY |
michael@0 | 21 | * KIND, either express or implied. |
michael@0 | 22 | * |
michael@0 | 23 | * $Id: stdcheaders.h,v 1.9 2009-05-18 12:25:45 yangtse Exp $ |
michael@0 | 24 | ***************************************************************************/ |
michael@0 | 25 | |
michael@0 | 26 | #include <sys/types.h> |
michael@0 | 27 | |
michael@0 | 28 | size_t fread (void *, size_t, size_t, FILE *); |
michael@0 | 29 | size_t fwrite (const void *, size_t, size_t, FILE *); |
michael@0 | 30 | |
michael@0 | 31 | int strcasecmp(const char *, const char *); |
michael@0 | 32 | int strncasecmp(const char *, const char *, size_t); |
michael@0 | 33 | |
michael@0 | 34 | #endif |