]>
Commit | Line | Data |
---|---|---|
f3c0d7a5 A |
1 | // © 2016 and later: Unicode, Inc. and others. |
2 | // License & terms of use: http://www.unicode.org/copyright.html | |
b75a7d8f A |
3 | /* |
4 | ********************************************************************** | |
374ca955 | 5 | * Copyright (C) 2000-2004, International Business Machines Corporation |
b75a7d8f A |
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 | */ | |
374ca955 | 23 | U_CFUNC UResourceBundle *u_wmsg_setPath(const char *path, UErrorCode *err); |
b75a7d8f A |
24 | |
25 | /* Format a message and print it's output to a given file stream */ | |
374ca955 | 26 | U_CFUNC int u_wmsg(FILE *fp, const char *tag, ... ); |
b75a7d8f A |
27 | |
28 | /* format an error message */ | |
374ca955 | 29 | U_CFUNC const UChar* u_wmsg_errorName(UErrorCode err); |
b75a7d8f A |
30 | |
31 | #endif |