]> git.saurik.com Git - apple/icu.git/blame_incremental - icuSources/tools/genrb/errmsg.h
ICU-57166.0.1.tar.gz
[apple/icu.git] / icuSources / tools / genrb / errmsg.h
... / ...
CommitLineData
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
23U_CDECL_BEGIN
24
25extern const char *gCurrentFileName;
26
27U_CFUNC void error(uint32_t linenumber, const char *msg, ...);
28U_CFUNC void warning(uint32_t linenumber, const char *msg, ...);
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);
41
42U_CDECL_END
43
44#endif