1 /* 2 ******************************************************************************* 3 * 4 * Copyright (C) 2009-2010, 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 */ 21 22 #ifndef __FLAGPARSER_H__ 23 #define __FLAGPARSER_H__ 24 25 #include "unicode/utypes.h" 26 27 U_CAPI int32_t U_EXPORT2 28 parseFlagsFile(const char *fileName, char **flagBuffer, int32_t flagBufferSize, int32_t numOfFlags, UErrorCode *status); 29 30 #endif 31