[0001] [0002] [0003] [0004] [0005] [0006] [0007] [0008] [0009] [0010] [0011] [0012] [0013] [0014] [0015] [0016] [0017] [0018] [0019] [0020] [0021] [0022] [0023] [0024] [0025] [0026] [0027] [0028] [0029] [0030] [0031] [0032] [0033] [0034] [0035] [0036] [0037] [0038] [0039] [0040] [0041] [0042] [0043] [0044]
/*****************************************************************************/ /* Error.h */ /*****************************************************************************/ #ifndef ERROR_H_LOADED #define ERROR_H_LOADED 1 #include "wasd.h" #define ERROR_REPORT_BASIC 1 #define ERROR_REPORT_DETAILED 2 #define ERROR_REPORT_TUNNEL 3 #define ERROR_REPORTED(rqptr) (rqptr->rqResponse.ErrorReportPtr) #define ERROR_REPORTED_BY_SCRIPT(rqptr) (rqptr->rqCgi.ScriptControlErrorTextPtr) /***********************/ /* function prototypes */ /***********************/ void ErrorHeapAlloc (REQUEST_STRUCT*, char*, int); void ErrorExitVmsStatus (int, char*, char*, int); void ErrorGeneral (REQUEST_STRUCT*, char*, ...); void ErrorGeneralOverflow (REQUEST_STRUCT*, char*, int); void ErrorInternal (REQUEST_STRUCT*, int, char*, char*, int); void ErrorMessageDividerAst (REQUEST_STRUCT*); void ErrorNoticed (REQUEST_STRUCT*, int, char*, char*, int, ...); #define ReportSuccess ErrorReportSuccess void ErrorRedirectQueryString (REQUEST_STRUCT*, int, char*, char*, char*, int); void ErrorReportSuccess (REQUEST_STRUCT*, char*, ...); void ErrorReportHeader (REQUEST_STRUCT*, ulong**); void ErrorReportEndHeader (REQUEST_STRUCT*, ulong**); void ErrorReportFooter (REQUEST_STRUCT*, ulong**); void ErrorSendToClient (REQUEST_STRUCT*); void ErrorServerShutdown (ushort); char* ErrorSourceInfo (char*, int); void ErrorVmsStatus (REQUEST_STRUCT*, int, char*, int); #endif /* ERROR_H_LOADED */ /*****************************************************************************/