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

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

     1 /*
     2 *******************************************************************************
     3 *
     4 *   Copyright (C) 2009-2011, International Business Machines
     5 *   Corporation and others.  All Rights Reserved.
     6 *
     7 *******************************************************************************
     8 *   file name:  flagparser.h
     9 *   encoding:   US-ASCII
    10 *   tab size:   8 (not used)
    11 *   indentation:4
    12 *
    13 *   created on: 2009jan08
    14 *   created by: Michael Ow
    15 *
    16 * Tiny flag file parser using ICU and intended for use in ICU tests and in build tools.
    17 * Not suitable for production use. Not supported.
    18 * Not conformant. Not efficient.
    19 * But very small.
    20 */
    22 #ifndef __FLAGPARSER_H__
    23 #define __FLAGPARSER_H__
    25 #include "unicode/utypes.h"
    27 U_CAPI int32_t U_EXPORT2
    28 parseFlagsFile(const char *fileName, char **flagBuffer, int32_t flagBufferSize, const char ** flagNames, int32_t numOfFlags, UErrorCode *status);
    30 #endif

mercurial