Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | /* |
michael@0 | 2 | ********************************************************************** |
michael@0 | 3 | * Copyright (C) 2000-2004, International Business Machines Corporation |
michael@0 | 4 | * and others. All Rights Reserved. |
michael@0 | 5 | ********************************************************************** |
michael@0 | 6 | |
michael@0 | 7 | Get a message out of the default resource bundle, messageformat it, |
michael@0 | 8 | and print it to stderr |
michael@0 | 9 | */ |
michael@0 | 10 | |
michael@0 | 11 | #ifndef _UWMSG |
michael@0 | 12 | #define _UWMSG |
michael@0 | 13 | |
michael@0 | 14 | #include <stdio.h> |
michael@0 | 15 | |
michael@0 | 16 | #include "unicode/ures.h" |
michael@0 | 17 | |
michael@0 | 18 | /* Set the path to wmsg's bundle. |
michael@0 | 19 | Caller owns storage. |
michael@0 | 20 | */ |
michael@0 | 21 | U_CFUNC UResourceBundle *u_wmsg_setPath(const char *path, UErrorCode *err); |
michael@0 | 22 | |
michael@0 | 23 | /* Format a message and print it's output to a given file stream */ |
michael@0 | 24 | U_CFUNC int u_wmsg(FILE *fp, const char *tag, ... ); |
michael@0 | 25 | |
michael@0 | 26 | /* format an error message */ |
michael@0 | 27 | U_CFUNC const UChar* u_wmsg_errorName(UErrorCode err); |
michael@0 | 28 | |
michael@0 | 29 | #endif |