michael@0: /* michael@0: ********************************************************************** michael@0: * Copyright (C) 2000-2004, International Business Machines Corporation michael@0: * and others. All Rights Reserved. michael@0: ********************************************************************** michael@0: michael@0: Get a message out of the default resource bundle, messageformat it, michael@0: and print it to stderr michael@0: */ michael@0: michael@0: #ifndef _UWMSG michael@0: #define _UWMSG michael@0: michael@0: #include michael@0: michael@0: #include "unicode/ures.h" michael@0: michael@0: /* Set the path to wmsg's bundle. michael@0: Caller owns storage. michael@0: */ michael@0: U_CFUNC UResourceBundle *u_wmsg_setPath(const char *path, UErrorCode *err); michael@0: michael@0: /* Format a message and print it's output to a given file stream */ michael@0: U_CFUNC int u_wmsg(FILE *fp, const char *tag, ... ); michael@0: michael@0: /* format an error message */ michael@0: U_CFUNC const UChar* u_wmsg_errorName(UErrorCode err); michael@0: michael@0: #endif