]> git.saurik.com Git - apple/icu.git/blame - icuSources/extra/uconv/unicode/uwmsg.h
ICU-66108.tar.gz
[apple/icu.git] / icuSources / extra / uconv / unicode / uwmsg.h
CommitLineData
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
9Get a message out of the default resource bundle, messageformat it,
10and 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 23U_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 26U_CFUNC int u_wmsg(FILE *fp, const char *tag, ... );
b75a7d8f
A
27
28/* format an error message */
374ca955 29U_CFUNC const UChar* u_wmsg_errorName(UErrorCode err);
b75a7d8f
A
30
31#endif