michael@0: /* michael@0: ******************************************************************************* michael@0: * michael@0: * Copyright (C) 2009-2011, International Business Machines michael@0: * Corporation and others. All Rights Reserved. michael@0: * michael@0: ******************************************************************************* michael@0: * file name: flagparser.h michael@0: * encoding: US-ASCII michael@0: * tab size: 8 (not used) michael@0: * indentation:4 michael@0: * michael@0: * created on: 2009jan08 michael@0: * created by: Michael Ow michael@0: * michael@0: * Tiny flag file parser using ICU and intended for use in ICU tests and in build tools. michael@0: * Not suitable for production use. Not supported. michael@0: * Not conformant. Not efficient. michael@0: * But very small. michael@0: */ michael@0: michael@0: #ifndef __FLAGPARSER_H__ michael@0: #define __FLAGPARSER_H__ michael@0: michael@0: #include "unicode/utypes.h" michael@0: michael@0: U_CAPI int32_t U_EXPORT2 michael@0: parseFlagsFile(const char *fileName, char **flagBuffer, int32_t flagBufferSize, const char ** flagNames, int32_t numOfFlags, UErrorCode *status); michael@0: michael@0: #endif