]>
Commit | Line | Data |
---|---|---|
b75a7d8f A |
1 | /* |
2 | ********************************************************************** | |
374ca955 | 3 | * Copyright (C) 2000-2004, International Business Machines Corporation |
b75a7d8f A |
4 | * and others. All Rights Reserved. |
5 | ********************************************************************** | |
6 | ||
7 | Get a message out of the default resource bundle, messageformat it, | |
8 | and print it to stderr | |
9 | */ | |
10 | ||
11 | #ifndef _UWMSG | |
12 | #define _UWMSG | |
13 | ||
14 | #include <stdio.h> | |
15 | ||
16 | #include "unicode/ures.h" | |
17 | ||
18 | /* Set the path to wmsg's bundle. | |
19 | Caller owns storage. | |
20 | */ | |
374ca955 | 21 | U_CFUNC UResourceBundle *u_wmsg_setPath(const char *path, UErrorCode *err); |
b75a7d8f A |
22 | |
23 | /* Format a message and print it's output to a given file stream */ | |
374ca955 | 24 | U_CFUNC int u_wmsg(FILE *fp, const char *tag, ... ); |
b75a7d8f A |
25 | |
26 | /* format an error message */ | |
374ca955 | 27 | U_CFUNC const UChar* u_wmsg_errorName(UErrorCode err); |
b75a7d8f A |
28 | |
29 | #endif |