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.

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

mercurial