1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
|
/* header file for report errors module
* 12/16/1990 TMS
*/
#ifndef __XREPORTERRORS__
#define __XREPORTERRORS__
#define MAXERRORFILENAME 256 /* maximum number of characters to use for error file name */
void SetErrorFile(char *theString);
void GetErrorFile(char *theString,int theStringSize);
void SetErrorLine(ULONG theLine);
ULONG GetErrorLine();
void SetNumErrors(ULONG theNumber);
ULONG GetNumErrors();
void SetNumWarnings(ULONG theNumber);
ULONG GetNumWarnings();
void SetNumMessages(ULONG theNumber);
ULONG GetNumMessages();
void SetNumDiagnostics(ULONG theNumber);
ULONG GetNumDiagnostics();
void SetNumDisplayedErrors(ULONG theNumber);
ULONG GetNumDisplayedErrors();
void SetNumDisplayedWarnings(ULONG theNumber);
ULONG GetNumDisplayedWarnings();
void SetNumDisplayedMessages(ULONG theNumber);
ULONG GetNumDisplayedMessages();
void SetNumDisplayedDiagnostics(ULONG theNumber);
ULONG GetNumDisplayedDiagnostics();
void SetErrorDisplay(bool doDisplay);
bool GetErrorDisplay();
void SetWarningDisplay(bool doDisplay);
bool GetWarningDisplay();
void SetMessageDisplay(bool doDisplay);
bool GetMessageDisplay();
void SetDiagnosticDisplay(bool doDisplay);
bool GetDiagnosticDisplay();
void vReportError(char *format,va_list args);
void vReportWarning(char *format,va_list args);
void vReportMessage(char *format,va_list args);
void vReportDiagnostic(char *format,va_list args);
void ReportError(char *format,...);
void ReportWarning(char *format,...);
void ReportMessage(char *format,...);
void ReportDiagnostic(char *format,...);
bool InitReportErrors();
void UnInitReportErrors();
#endif
|