/********************************************************************************************************************************/ /* Created: 9-Mar-2021 22:28:06 by OpenVMS SDL EV3-3 */ /* Source: 09-MAR-2021 22:28:01 $1$DGA8085:[STARLET_H.SRC]STARDEFMP.SDI;1 */ /********************************************************************************************************************************/ /*** MODULE $OPRDEF ***/ #ifndef __OPRDEF_LOADED #define __OPRDEF_LOADED 1 #pragma __nostandard /* This file uses non-ANSI-Standard features */ #pragma __member_alignment __save #pragma __nomember_alignment #ifdef __INITIAL_POINTER_SIZE /* Defined whenever ptr size pragmas supported */ #pragma __required_pointer_size __save /* Save the previously-defined required ptr size */ #pragma __required_pointer_size __short /* And set ptr size default to 32-bit pointers */ #endif #ifdef __cplusplus extern "C" { #define __unknown_params ... #define __optional_params ... #else #define __unknown_params #define __optional_params ... #endif #ifndef __struct #if !defined(__VAXC) #define __struct struct #else #define __struct variant_struct #endif #endif #ifndef __union #if !defined(__VAXC) #define __union union #else #define __union variant_union #endif #endif /*+ */ /* OPERATOR COMMUNICATIONS MESSAGE TYPES AND VALUES These are now obsolete. */ /*- */ /* OPERATOR MESSAGE TYPES */ #define OPR$_TERMENABL 1 /* ENABLE TERMINAL */ #define OPR$_LOGINIT 2 /* INITIALIZE THE LOG */ #define OPR$_OPRQST 3 /* OPERATOR REQUEST */ #define OPR$_OPREPLY 4 /* OPERATOR REPLY */ #define OPR$M_CENTRAL 0x1 #define OPR$M_PRINTER 0x2 #define OPR$M_TAPES 0x4 #define OPR$M_DISKS 0x8 #define OPR$M_DEVICES 0x10 #define OPR$M_USER1 0x1FFE0 #define OPR$M_USER2 0x20000 #define OPR$M_USER3 0x40000 #define OPR$M_USER4 0x80000 #define OPR$M_USER5 0x100000 #define OPR$M_USER6 0x200000 #define OPR$M_USER7 0x400000 #define OPR$M_USER8 0x800000 #define OPR$M_USER9 0x1000000 #define OPR$M_USER10 0x2000000 #define OPR$M_USER11 0x4000000 #define OPR$M_USER12 0x8000000 #ifdef __NEW_STARLET typedef union _oprdef { /* Obsolete. */ __struct { /* Obsolete. */ unsigned opr$v_central : 1; /* Obsolete. */ unsigned opr$v_printer : 1; /* Obsolete. */ unsigned opr$v_tapes : 1; /* Obsolete. */ unsigned opr$v_disks : 1; /* Obsolete. */ unsigned opr$v_devices : 1; /* Obsolete. */ unsigned opr$v_user1 : 12; /* Obsolete. */ unsigned opr$v_user2 : 1; /* Obsolete. */ unsigned opr$v_user3 : 1; /* Obsolete. */ unsigned opr$v_user4 : 1; /* Obsolete. */ unsigned opr$v_user5 : 1; /* Obsolete. */ unsigned opr$v_user6 : 1; /* Obsolete. */ unsigned opr$v_user7 : 1; /* Obsolete. */ unsigned opr$v_user8 : 1; /* Obsolete. */ unsigned opr$v_user9 : 1; /* Obsolete. */ unsigned opr$v_user10 : 1; /* Obsolete. */ unsigned opr$v_user11 : 1; /* Obsolete. */ unsigned opr$v_user12 : 1; /* Obsolete. */ unsigned opr$v_fill_47_ : 4; } opr$r_oprdef_bits; } OPRDEF; #if !defined(__VAXC) #define opr$v_central opr$r_oprdef_bits.opr$v_central #define opr$v_printer opr$r_oprdef_bits.opr$v_printer #define opr$v_tapes opr$r_oprdef_bits.opr$v_tapes #define opr$v_disks opr$r_oprdef_bits.opr$v_disks #define opr$v_devices opr$r_oprdef_bits.opr$v_devices #define opr$v_user1 opr$r_oprdef_bits.opr$v_user1 #define opr$v_user2 opr$r_oprdef_bits.opr$v_user2 #define opr$v_user3 opr$r_oprdef_bits.opr$v_user3 #define opr$v_user4 opr$r_oprdef_bits.opr$v_user4 #define opr$v_user5 opr$r_oprdef_bits.opr$v_user5 #define opr$v_user6 opr$r_oprdef_bits.opr$v_user6 #define opr$v_user7 opr$r_oprdef_bits.opr$v_user7 #define opr$v_user8 opr$r_oprdef_bits.opr$v_user8 #define opr$v_user9 opr$r_oprdef_bits.opr$v_user9 #define opr$v_user10 opr$r_oprdef_bits.opr$v_user10 #define opr$v_user11 opr$r_oprdef_bits.opr$v_user11 #define opr$v_user12 opr$r_oprdef_bits.opr$v_user12 #endif /* #if !defined(__VAXC) */ #else /* __OLD_STARLET */ union oprdef { /* Obsolete. */ __struct { /* Obsolete. */ unsigned opr$v_central : 1; /* Obsolete. */ unsigned opr$v_printer : 1; /* Obsolete. */ unsigned opr$v_tapes : 1; /* Obsolete. */ unsigned opr$v_disks : 1; /* Obsolete. */ unsigned opr$v_devices : 1; /* Obsolete. */ unsigned opr$v_user1 : 12; /* Obsolete. */ unsigned opr$v_user2 : 1; /* Obsolete. */ unsigned opr$v_user3 : 1; /* Obsolete. */ unsigned opr$v_user4 : 1; /* Obsolete. */ unsigned opr$v_user5 : 1; /* Obsolete. */ unsigned opr$v_user6 : 1; /* Obsolete. */ unsigned opr$v_user7 : 1; /* Obsolete. */ unsigned opr$v_user8 : 1; /* Obsolete. */ unsigned opr$v_user9 : 1; /* Obsolete. */ unsigned opr$v_user10 : 1; /* Obsolete. */ unsigned opr$v_user11 : 1; /* Obsolete. */ unsigned opr$v_user12 : 1; /* Obsolete. */ unsigned opr$v_fill_47_ : 4; } opr$r_oprdef_bits; } ; #if !defined(__VAXC) #define opr$v_central opr$r_oprdef_bits.opr$v_central #define opr$v_printer opr$r_oprdef_bits.opr$v_printer #define opr$v_tapes opr$r_oprdef_bits.opr$v_tapes #define opr$v_disks opr$r_oprdef_bits.opr$v_disks #define opr$v_devices opr$r_oprdef_bits.opr$v_devices #define opr$v_user1 opr$r_oprdef_bits.opr$v_user1 #define opr$v_user2 opr$r_oprdef_bits.opr$v_user2 #define opr$v_user3 opr$r_oprdef_bits.opr$v_user3 #define opr$v_user4 opr$r_oprdef_bits.opr$v_user4 #define opr$v_user5 opr$r_oprdef_bits.opr$v_user5 #define opr$v_user6 opr$r_oprdef_bits.opr$v_user6 #define opr$v_user7 opr$r_oprdef_bits.opr$v_user7 #define opr$v_user8 opr$r_oprdef_bits.opr$v_user8 #define opr$v_user9 opr$r_oprdef_bits.opr$v_user9 #define opr$v_user10 opr$r_oprdef_bits.opr$v_user10 #define opr$v_user11 opr$r_oprdef_bits.opr$v_user11 #define opr$v_user12 opr$r_oprdef_bits.opr$v_user12 #endif /* #if !defined(__VAXC) */ #endif /* #ifdef __NEW_STARLET */ #pragma __member_alignment __restore #ifdef __INITIAL_POINTER_SIZE /* Defined whenever ptr size pragmas supported */ #pragma __required_pointer_size __restore /* Restore the previously-defined required ptr size */ #endif #ifdef __cplusplus } #endif #pragma __standard #endif /* __OPRDEF_LOADED */