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