]>
git.saurik.com Git - apple/icu.git/blob - icuSources/tools/toolutil/flagparser.h
1 // © 2016 and later: Unicode, Inc. and others.
2 // License & terms of use: http://www.unicode.org/copyright.html
4 *******************************************************************************
6 * Copyright (C) 2009-2011, International Business Machines
7 * Corporation and others. All Rights Reserved.
9 *******************************************************************************
10 * file name: flagparser.h
12 * tab size: 8 (not used)
15 * created on: 2009jan08
16 * created by: Michael Ow
18 * Tiny flag file parser using ICU and intended for use in ICU tests and in build tools.
19 * Not suitable for production use. Not supported.
20 * Not conformant. Not efficient.
24 #ifndef __FLAGPARSER_H__
25 #define __FLAGPARSER_H__
27 #include "unicode/utypes.h"
29 U_CAPI
int32_t U_EXPORT2
30 parseFlagsFile(const char *fileName
, char **flagBuffer
, int32_t flagBufferSize
, const char ** flagNames
, int32_t numOfFlags
, UErrorCode
*status
);