toolkit/crashreporter/google-breakpad/src/third_party/curl/stdcheaders.h

Sat, 03 Jan 2015 20:18:00 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 03 Jan 2015 20:18:00 +0100
branch
TOR_BUG_3246
changeset 7
129ffea94266
permissions
-rw-r--r--

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.

     1 #ifndef __STDC_HEADERS_H
     2 #define __STDC_HEADERS_H
     3 /***************************************************************************
     4  *                                  _   _ ____  _     
     5  *  Project                     ___| | | |  _ \| |    
     6  *                             / __| | | | |_) | |    
     7  *                            | (__| |_| |  _ <| |___ 
     8  *                             \___|\___/|_| \_\_____|
     9  *
    10  * Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al.
    11  *
    12  * This software is licensed as described in the file COPYING, which
    13  * you should have received as part of this distribution. The terms
    14  * are also available at http://curl.haxx.se/docs/copyright.html.
    15  * 
    16  * You may opt to use, copy, modify, merge, publish, distribute and/or sell
    17  * copies of the Software, and permit persons to whom the Software is
    18  * furnished to do so, under the terms of the COPYING file.
    19  *
    20  * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
    21  * KIND, either express or implied.
    22  *
    23  * $Id: stdcheaders.h,v 1.9 2009-05-18 12:25:45 yangtse Exp $
    24  ***************************************************************************/
    26 #include <sys/types.h>
    28 size_t fread (void *, size_t, size_t, FILE *);
    29 size_t fwrite (const void *, size_t, size_t, FILE *);
    31 int strcasecmp(const char *, const char *);
    32 int strncasecmp(const char *, const char *, size_t);
    34 #endif

mercurial