1 // © 2016 and later: Unicode, Inc. and others.
2 // License & terms of use: http://www.unicode.org/copyright.html
3 /*
4 **********************************************************************
5 * Copyright (C) 2000-2004, International Business Machines Corporation
6 * and others.  All Rights Reserved.
7 **********************************************************************
8 
9 Get a message out of the default resource bundle, messageformat it,
10 and print it to stderr
11 */
12 
13 #ifndef _UWMSG
14 #define _UWMSG
15 
16 #include <stdio.h>
17 
18 #include "unicode/ures.h"
19 
20 /* Set the path to wmsg's bundle.
21    Caller owns storage.
22 */
23 U_CFUNC UResourceBundle *u_wmsg_setPath(const char *path, UErrorCode *err);
24 
25 /* Format a message and print it's output to a given file stream */
26 U_CFUNC int u_wmsg(FILE *fp, const char *tag, ... );
27 
28 /* format an error message */
29 U_CFUNC const UChar* u_wmsg_errorName(UErrorCode err);
30 
31 #endif
32