/*****************************************************************************/ /* (wu)report.h VERSION HISTORY --------------- 14-DEC-2019 MGD initial */ /*****************************************************************************/ #ifndef REPORT_H_LOADED #define REPORT_H_LOADED 1 #define MAIL_PERSONAL "wuCME" #define DEFAULT_MAIL "SYSTEM" #define DEFAULT_OPCOM (OPC$M_OPR_CENTRAL | OPC$M_OPR_CLUSTER) #define EXIT_FI_LI(status) \ { printf ("Status:500\r\n\r\n[%s:%d]\r\n", FI_LI); exit(status); } /* these make it easier to have both VAX and Alpha declarations */ #define OPC$_RQ_RQST 3 #define OPC$M_OPR_CENTRAL 0x1 #define OPC$M_OPR_PRINTER 0x2 #define OPC$M_OPR_TAPES 0x4 #define OPC$M_OPR_DISKS 0x8 #define OPC$M_OPR_DEVICES 0x10 #define OPC$M_OPR_CARDS 0x20 #define OPC$M_OPR_NETWORK 0x40 #define OPC$M_OPR_CLUSTER 0x80 #define OPC$M_OPR_SECURITY 0x100 #define OPC$M_OPR_REPLY 0x200 #define OPC$M_OPR_SOFTWARE 0x400 #define OPC$M_OPR_LICENSE 0x800 #define OPC$M_OPR_USER1 0x1000 #define OPC$M_OPR_USER2 0x2000 #define OPC$M_OPR_USER3 0x4000 #define OPC$M_OPR_USER4 0x8000 #define OPC$M_OPR_USER5 0x10000 #define OPC$M_OPR_USER6 0x20000 #define OPC$M_OPR_USER7 0x40000 #define OPC$M_OPR_USER8 0x80000 #define OPC$M_OPR_USER9 0x100000 #define OPC$M_OPR_USER10 0x200000 #define OPC$M_OPR_USER11 0x400000 #define OPC$M_OPR_USER12 0x800000 /* function prototypes */ int ReportMail (char*, char*, char*, char*); int ReportOpcomTargetOf (char*); void ReportThis (char*); int ReportOpcom (int, char*); #endif /* REPORT_H_LOADED */ /****************************************************************************/