flagparser.h revision c73f511526464f8e56c242df80552e9b0d94ae3d
1/*
2*******************************************************************************
3*
4*   Copyright (C) 2009-2011, 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
27U_CAPI int32_t U_EXPORT2
28parseFlagsFile(const char *fileName, char **flagBuffer, int32_t flagBufferSize, const char ** flagNames, int32_t numOfFlags, UErrorCode *status);
29
30#endif
31