Fri, 16 Jan 2015 04:50:19 +0100
Replace accessor implementation with direct member state manipulation, by
request https://trac.torproject.org/projects/tor/ticket/9701#comment:32
1 /*
2 *******************************************************************************
3 *
4 * Copyright (C) 1998-2011, 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 */
18 #ifndef ERROR_H
19 #define ERROR_H 1
21 U_CDECL_BEGIN
23 extern const char *gCurrentFileName;
25 U_CFUNC void error(uint32_t linenumber, const char *msg, ...);
26 U_CFUNC void warning(uint32_t linenumber, const char *msg, ...);
28 /* Show warnings? */
29 U_CFUNC void setShowWarning(UBool val);
30 U_CFUNC UBool getShowWarning(void);
32 /* strict */
33 U_CFUNC void setStrict(UBool val);
34 U_CFUNC UBool isStrict(void);
36 /* verbosity */
37 U_CFUNC void setVerbose(UBool val);
38 U_CFUNC UBool isVerbose(void);
40 U_CDECL_END
42 #endif