flagparser.h 998 B

1234567891011121314151617181920212223242526272829303132
  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. #ifndef __FLAGPARSER_H__
  24. #define __FLAGPARSER_H__
  25. #include "unicode/utypes.h"
  26. U_CAPI int32_t U_EXPORT2
  27. parseFlagsFile(const char *fileName, char **flagBuffer, int32_t flagBufferSize, const char ** flagNames, int32_t numOfFlags, UErrorCode *status);
  28. #endif