]> git.saurik.com Git - apple/icu.git/blame - icuSources/tools/genrb/errmsg.h
ICU-57131.0.1.tar.gz
[apple/icu.git] / icuSources / tools / genrb / errmsg.h
CommitLineData
b75a7d8f
A
1/*
2*******************************************************************************
3*
2ca993e8 4* Copyright (C) 1998-2016, 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
2ca993e8
A
21#include "unicode/utypes.h"
22
4388f060 23U_CDECL_BEGIN
b75a7d8f 24
4388f060 25extern const char *gCurrentFileName;
b75a7d8f 26
4388f060
A
27U_CFUNC void error(uint32_t linenumber, const char *msg, ...);
28U_CFUNC void warning(uint32_t linenumber, const char *msg, ...);
b75a7d8f
A
29
30/* Show warnings? */
31U_CFUNC void setShowWarning(UBool val);
32U_CFUNC UBool getShowWarning(void);
33
34/* strict */
35U_CFUNC void setStrict(UBool val);
36U_CFUNC UBool isStrict(void);
37
38/* verbosity */
39U_CFUNC void setVerbose(UBool val);
40U_CFUNC UBool isVerbose(void);
4388f060
A
41
42U_CDECL_END
43
b75a7d8f 44#endif