1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/intl/icu/source/tools/toolutil/flagparser.h Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,30 @@ 1.4 +/* 1.5 +******************************************************************************* 1.6 +* 1.7 +* Copyright (C) 2009-2011, International Business Machines 1.8 +* Corporation and others. All Rights Reserved. 1.9 +* 1.10 +******************************************************************************* 1.11 +* file name: flagparser.h 1.12 +* encoding: US-ASCII 1.13 +* tab size: 8 (not used) 1.14 +* indentation:4 1.15 +* 1.16 +* created on: 2009jan08 1.17 +* created by: Michael Ow 1.18 +* 1.19 +* Tiny flag file parser using ICU and intended for use in ICU tests and in build tools. 1.20 +* Not suitable for production use. Not supported. 1.21 +* Not conformant. Not efficient. 1.22 +* But very small. 1.23 +*/ 1.24 + 1.25 +#ifndef __FLAGPARSER_H__ 1.26 +#define __FLAGPARSER_H__ 1.27 + 1.28 +#include "unicode/utypes.h" 1.29 + 1.30 +U_CAPI int32_t U_EXPORT2 1.31 +parseFlagsFile(const char *fileName, char **flagBuffer, int32_t flagBufferSize, const char ** flagNames, int32_t numOfFlags, UErrorCode *status); 1.32 + 1.33 +#endif