]> git.saurik.com Git - apple/icu.git/blame - icuSources/tools/genrb/errmsg.h
ICU-551.24.tar.gz
[apple/icu.git] / icuSources / tools / genrb / errmsg.h
CommitLineData
b75a7d8f
A
1/*
2*******************************************************************************
3*
4388f060 4* Copyright (C) 1998-2011, International Business Machines
b75a7d8f
A
5* Corporation and others. All Rights Reserved.
6*
7*******************************************************************************
8*
9* File error.h
10*
11* Modification History:
12*
13* Date Name Description
14* 05/28/99 stephen Creation.
15*******************************************************************************
16*/
17
18#ifndef ERROR_H
19#define ERROR_H 1
20
4388f060 21U_CDECL_BEGIN
b75a7d8f 22
4388f060 23extern const char *gCurrentFileName;
b75a7d8f 24
4388f060
A
25U_CFUNC void error(uint32_t linenumber, const char *msg, ...);
26U_CFUNC void warning(uint32_t linenumber, const char *msg, ...);
b75a7d8f
A
27
28/* Show warnings? */
29U_CFUNC void setShowWarning(UBool val);
30U_CFUNC UBool getShowWarning(void);
31
32/* strict */
33U_CFUNC void setStrict(UBool val);
34U_CFUNC UBool isStrict(void);
35
36/* verbosity */
37U_CFUNC void setVerbose(UBool val);
38U_CFUNC UBool isVerbose(void);
4388f060
A
39
40U_CDECL_END
41
b75a7d8f 42#endif