intl/icu/source/tools/toolutil/pkg_icu.h

Thu, 15 Jan 2015 15:59:08 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:59:08 +0100
branch
TOR_BUG_9701
changeset 10
ac0c01689b40
permissions
-rw-r--r--

Implement a real Private Browsing Mode condition by changing the API/ABI;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

     1 /******************************************************************************
     2  *   Copyright (C) 2008-2012, International Business Machines
     3  *   Corporation and others.  All Rights Reserved.
     4  *******************************************************************************
     5  */
     7 #ifndef __PKG_ICU_H__
     8 #define __PKG_ICU_H__
    10 #include "unicode/utypes.h"
    12 #define U_PKG_RESERVED_CHARS "\"%&'()*+,-./:;<=>?_"
    14 U_CAPI int U_EXPORT2
    15 writePackageDatFile(const char *outFilename, const char *outComment,
    16                     const char *sourcePath, const char *addList, icu::Package *pkg,
    17                     char outType);
    19 U_CAPI icu::Package * U_EXPORT2
    20 readList(const char *filesPath, const char *listname, UBool readContents, icu::Package *listPkgIn);
    22 #endif

mercurial