intl/icu/source/tools/genrb/genrb.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 /*
     2 *******************************************************************************
     3 *
     4 *   Copyright (C) 2002-2011, International Business Machines
     5 *   Corporation and others.  All Rights Reserved.
     6 *
     7 *******************************************************************************
     8 *
     9 * File genrb.h
    10 *
    11 * Modification History:
    12 *******************************************************************************
    13 */
    15 #ifndef GENRB_H
    16 #define GENRB_H
    18 #include <stdio.h>
    19 #include "unicode/utypes.h"
    20 #include "unicode/putil.h"
    21 #include "cmemory.h"
    22 #include "cstring.h"
    23 #include "filestrm.h"
    26 #include "ucbuf.h"
    27 #include "errmsg.h"
    28 #include "parse.h"
    29 #include "rbutil.h"
    30 #include "reslist.h"
    33 #include "toolutil.h"
    34 #include "uoptions.h"
    36 #include "unicode/ucol.h"
    37 #include "unicode/uloc.h"
    39 /* The version of genrb */
    40 #define GENRB_VERSION "3.3"
    42 U_CDECL_BEGIN
    44 extern UBool gIncludeUnihanColl;
    46 U_CAPI void processFile(
    47     const char *filename,
    48     const char* cp,
    49     const char *inputDir,
    50     const char *outputDir,
    51     const char *packageName,
    52     UBool omitBinaryCollation,
    53     UErrorCode *status);
    55 U_CDECL_END
    57 #endif

mercurial