]> git.saurik.com Git - apple/icu.git/blob - icuSources/tools/toolutil/flagparser.h
ICU-66108.tar.gz
[apple/icu.git] / icuSources / tools / toolutil / flagparser.h
1 // © 2016 and later: Unicode, Inc. and others.
2 // License & terms of use: http://www.unicode.org/copyright.html
3 /*
4 *******************************************************************************
5 *
6 * Copyright (C) 2009-2011, International Business Machines
7 * Corporation and others. All Rights Reserved.
8 *
9 *******************************************************************************
10 * file name: flagparser.h
11 * encoding: UTF-8
12 * tab size: 8 (not used)
13 * indentation:4
14 *
15 * created on: 2009jan08
16 * created by: Michael Ow
17 *
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.
21 * But very small.
22 */
23
24 #ifndef __FLAGPARSER_H__
25 #define __FLAGPARSER_H__
26
27 #include "unicode/utypes.h"
28
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);
31
32 #endif