1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/intl/icu/source/extra/uconv/unicode/uwmsg.h Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,29 @@ 1.4 +/* 1.5 +********************************************************************** 1.6 +* Copyright (C) 2000-2004, International Business Machines Corporation 1.7 +* and others. All Rights Reserved. 1.8 +********************************************************************** 1.9 + 1.10 +Get a message out of the default resource bundle, messageformat it, 1.11 +and print it to stderr 1.12 +*/ 1.13 + 1.14 +#ifndef _UWMSG 1.15 +#define _UWMSG 1.16 + 1.17 +#include <stdio.h> 1.18 + 1.19 +#include "unicode/ures.h" 1.20 + 1.21 +/* Set the path to wmsg's bundle. 1.22 + Caller owns storage. 1.23 +*/ 1.24 +U_CFUNC UResourceBundle *u_wmsg_setPath(const char *path, UErrorCode *err); 1.25 + 1.26 +/* Format a message and print it's output to a given file stream */ 1.27 +U_CFUNC int u_wmsg(FILE *fp, const char *tag, ... ); 1.28 + 1.29 +/* format an error message */ 1.30 +U_CFUNC const UChar* u_wmsg_errorName(UErrorCode err); 1.31 + 1.32 +#endif