]>
git.saurik.com Git - apple/icu.git/blob - icuSources/tools/toolutil/flagparser.h
2 *******************************************************************************
4 * Copyright (C) 2009-2011, International Business Machines
5 * Corporation and others. All Rights Reserved.
7 *******************************************************************************
8 * file name: flagparser.h
10 * tab size: 8 (not used)
13 * created on: 2009jan08
14 * created by: Michael Ow
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.
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
);