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