diff -r 000000000000 -r 6474c204b198 intl/icu/source/extra/uconv/unicode/uwmsg.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/intl/icu/source/extra/uconv/unicode/uwmsg.h Wed Dec 31 06:09:35 2014 +0100 @@ -0,0 +1,29 @@ +/* +********************************************************************** +* Copyright (C) 2000-2004, International Business Machines Corporation +* and others. All Rights Reserved. +********************************************************************** + +Get a message out of the default resource bundle, messageformat it, +and print it to stderr +*/ + +#ifndef _UWMSG +#define _UWMSG + +#include + +#include "unicode/ures.h" + +/* Set the path to wmsg's bundle. + Caller owns storage. +*/ +U_CFUNC UResourceBundle *u_wmsg_setPath(const char *path, UErrorCode *err); + +/* Format a message and print it's output to a given file stream */ +U_CFUNC int u_wmsg(FILE *fp, const char *tag, ... ); + +/* format an error message */ +U_CFUNC const UChar* u_wmsg_errorName(UErrorCode err); + +#endif