/********************************************************************************************************************************/ /* Created: 15-MAR-2001 23:37:36 by OpenVMS SDL EV1-33 */ /* Source: 15-MAR-2001 23:34:31 _$11$DUA933:[BUILD.SDL]OPCDEF.SDI;1 */ /********************************************************************************************************************************/ /*** MODULE $OPCDEF ***/ #ifndef __OPCDEF_LOADED #define __OPCDEF_LOADED 1 #pragma nostandard #ifdef __cplusplus extern "C" { #define __unknown_params ... #else #define __unknown_params #endif #if !defined(__VAXC) && !defined(VAXC) #define __struct struct #define __union union #else #define __struct variant_struct #define __union variant_union #endif #define OPC$_RQ_TERME 1 /* ENABLE TERMINAL */ #define OPC$_RQ_LOGI 2 /* INITIALIZE THE LOG */ #define OPC$_RQ_RQST 3 /* OPERATOR REQUEST */ #define OPC$_RQ_REPLY 4 /* OPERATOR REPLY */ #define OPC$_RQ_CANCEL 5 /* CANCEL REQUEST */ #define OPC$_RQ_STATUS 6 /* REQUEST OPERATOR STATUS */ #define OPC$_RQ_SECURITY 7 /* MESSAGE TO SECURITY OPERATOR */ #define OPC$_RQ_LICENSE 8 /* MESSAGE TO LICENSE OPERATOR */ #define OPC$M_RQ_NOOCS 128 #define OPC$M_NM_CENTRL 0x1 #define OPC$M_NM_PRINT 0x2 #define OPC$M_NM_TAPES 0x4 #define OPC$M_NM_DISKS 0x8 #define OPC$M_NM_DEVICE 0x10 #define OPC$M_NM_CARDS 0x20 #define OPC$M_NM_NTWORK 0x40 #define OPC$M_NM_CLUSTER 0x80 #define OPC$M_NM_SECURITY 0x100 #define OPC$M_NM_REPLY 0x200 #define OPC$M_NM_SOFTWARE 0x400 #define OPC$M_NM_LICENSE 0x800 #define OPC$M_NM_OPER1 0x1000 #define OPC$M_NM_OPER2 0x2000 #define OPC$M_NM_OPER3 0x4000 #define OPC$M_NM_OPER4 0x8000 #define OPC$M_NM_OPER5 0x10000 #define OPC$M_NM_OPER6 0x20000 #define OPC$M_NM_OPER7 0x40000 #define OPC$M_NM_OPER8 0x80000 #define OPC$M_NM_OPER9 0x100000 #define OPC$M_NM_OPER10 0x200000 #define OPC$M_NM_OPER11 0x400000 #define OPC$M_NM_OPER12 0x800000 struct opcdef { unsigned char opc$b_ms_type; /* MESSAGE TYPE */ __union { /* Class-Target-Status */ __struct { __union { unsigned char opc$b_ms_target; /* MESSAGE TARGET */ unsigned char opc$b_ms_enab; /* MESSAGE ENABLES */ } opc$r_ms_target_overlay; unsigned short int opc$w_ms_status; /* MESSAGE STATUS */ } opc$r_ms_targ_stat_overlay; unsigned char opc$z_ms_target_classes [3]; unsigned char opc$z_ms_enab_terminals [3]; } opc$r_ms_c_t_s_overlay; __union { unsigned int opc$l_ms_rplyid; /* REPLY ID */ __union { unsigned int opc$l_ms_mask; /* MESSAGE MASK */ unsigned int opc$l_ms_rqstid; /* REQUEST ID */ } opc$r_ms_mask_overlay; } opc$r_ms_rplyid_overlay; __union { unsigned int opc$l_ms_text; /* MESSAGE TEXT */ __struct { unsigned short int opc$w_ms_ounit; /* OPERATOR UNIT NUMBER */ char opc$t_ms_oname; /* OPERATOR NAME */ } opc$r_ms_text_fields; } opc$r_ms_text_overlay; short int opcdef$$_fill_1 [7]; /* SPACE FOR NAME */ unsigned int opc$l_ms_otext [32]; /* OPERATOR TEXT */ __union { unsigned int opc$l_ms_maxsz; /* MESSAGE MAX SIZE */ /* OPERATOR MESSAGE TYPES */ __struct { unsigned opc$v_nm_centrl : 1; /* */ unsigned opc$v_nm_print : 1; unsigned opc$v_nm_tapes : 1; unsigned opc$v_nm_disks : 1; unsigned opc$v_nm_device : 1; unsigned opc$v_nm_cards : 1; unsigned opc$v_nm_ntwork : 1; unsigned opc$v_nm_cluster : 1; unsigned opc$v_nm_security : 1; unsigned opc$v_nm_reply : 1; unsigned opc$v_nm_software : 1; unsigned opc$v_nm_license : 1; unsigned opc$v_nm_oper1 : 1; unsigned opc$v_nm_oper2 : 1; unsigned opc$v_nm_oper3 : 1; unsigned opc$v_nm_oper4 : 1; unsigned opc$v_nm_oper5 : 1; unsigned opc$v_nm_oper6 : 1; unsigned opc$v_nm_oper7 : 1; unsigned opc$v_nm_oper8 : 1; unsigned opc$v_nm_oper9 : 1; unsigned opc$v_nm_oper10 : 1; unsigned opc$v_nm_oper11 : 1; unsigned opc$v_nm_oper12 : 1; } opc$r_ms_maxsz_bits; } opc$r_ms_maxsz_overlay; } ; #if !defined(__VAXC) && !defined(VAXC) #define opc$b_ms_target opc$r_ms_c_t_s_overlay.opc$r_ms_targ_stat_overlay.opc$r_ms_target_overlay.opc$b_ms_target #define opc$b_ms_enab opc$r_ms_c_t_s_overlay.opc$r_ms_targ_stat_overlay.opc$r_ms_target_overlay.opc$b_ms_enab #define opc$w_ms_status opc$r_ms_c_t_s_overlay.opc$r_ms_targ_stat_overlay.opc$w_ms_status #define opc$z_ms_target_classes opc$r_ms_c_t_s_overlay.opc$z_ms_target_classes #define opc$z_ms_enab_terminals opc$r_ms_c_t_s_overlay.opc$z_ms_enab_terminals #define opc$l_ms_rplyid opc$r_ms_rplyid_overlay.opc$l_ms_rplyid #define opc$l_ms_mask opc$r_ms_rplyid_overlay.opc$r_ms_mask_overlay.opc$l_ms_mask #define opc$l_ms_rqstid opc$r_ms_rplyid_overlay.opc$r_ms_mask_overlay.opc$l_ms_rqstid #define opc$l_ms_text opc$r_ms_text_overlay.opc$l_ms_text #define opc$w_ms_ounit opc$r_ms_text_overlay.opc$r_ms_text_fields.opc$w_ms_ounit #define opc$t_ms_oname opc$r_ms_text_overlay.opc$r_ms_text_fields.opc$t_ms_oname #define opc$l_ms_maxsz opc$r_ms_maxsz_overlay.opc$l_ms_maxsz #define opc$v_nm_centrl opc$r_ms_maxsz_overlay.opc$r_ms_maxsz_bits.opc$v_nm_centrl #define opc$v_nm_print opc$r_ms_maxsz_overlay.opc$r_ms_maxsz_bits.opc$v_nm_print #define opc$v_nm_tapes opc$r_ms_maxsz_overlay.opc$r_ms_maxsz_bits.opc$v_nm_tapes #define opc$v_nm_disks opc$r_ms_maxsz_overlay.opc$r_ms_maxsz_bits.opc$v_nm_disks #define opc$v_nm_device opc$r_ms_maxsz_overlay.opc$r_ms_maxsz_bits.opc$v_nm_device #define opc$v_nm_cards opc$r_ms_maxsz_overlay.opc$r_ms_maxsz_bits.opc$v_nm_cards #define opc$v_nm_ntwork opc$r_ms_maxsz_overlay.opc$r_ms_maxsz_bits.opc$v_nm_ntwork #define opc$v_nm_cluster opc$r_ms_maxsz_overlay.opc$r_ms_maxsz_bits.opc$v_nm_cluster #define opc$v_nm_security opc$r_ms_maxsz_overlay.opc$r_ms_maxsz_bits.opc$v_nm_security #define opc$v_nm_reply opc$r_ms_maxsz_overlay.opc$r_ms_maxsz_bits.opc$v_nm_reply #define opc$v_nm_software opc$r_ms_maxsz_overlay.opc$r_ms_maxsz_bits.opc$v_nm_software #define opc$v_nm_license opc$r_ms_maxsz_overlay.opc$r_ms_maxsz_bits.opc$v_nm_license #define opc$v_nm_oper1 opc$r_ms_maxsz_overlay.opc$r_ms_maxsz_bits.opc$v_nm_oper1 #define opc$v_nm_oper2 opc$r_ms_maxsz_overlay.opc$r_ms_maxsz_bits.opc$v_nm_oper2 #define opc$v_nm_oper3 opc$r_ms_maxsz_overlay.opc$r_ms_maxsz_bits.opc$v_nm_oper3 #define opc$v_nm_oper4 opc$r_ms_maxsz_overlay.opc$r_ms_maxsz_bits.opc$v_nm_oper4 #define opc$v_nm_oper5 opc$r_ms_maxsz_overlay.opc$r_ms_maxsz_bits.opc$v_nm_oper5 #define opc$v_nm_oper6 opc$r_ms_maxsz_overlay.opc$r_ms_maxsz_bits.opc$v_nm_oper6 #define opc$v_nm_oper7 opc$r_ms_maxsz_overlay.opc$r_ms_maxsz_bits.opc$v_nm_oper7 #define opc$v_nm_oper8 opc$r_ms_maxsz_overlay.opc$r_ms_maxsz_bits.opc$v_nm_oper8 #define opc$v_nm_oper9 opc$r_ms_maxsz_overlay.opc$r_ms_maxsz_bits.opc$v_nm_oper9 #define opc$v_nm_oper10 opc$r_ms_maxsz_overlay.opc$r_ms_maxsz_bits.opc$v_nm_oper10 #define opc$v_nm_oper11 opc$r_ms_maxsz_overlay.opc$r_ms_maxsz_bits.opc$v_nm_oper11 #define opc$v_nm_oper12 opc$r_ms_maxsz_overlay.opc$r_ms_maxsz_bits.opc$v_nm_oper12 #endif /* #if !defined(__VAXC) && !defined(VAXC) */ #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 union opc_oprdef { __struct { unsigned opc$v_opr_central : 1; unsigned opc$v_opr_printer : 1; unsigned opc$v_opr_tapes : 1; unsigned opc$v_opr_disks : 1; unsigned opc$v_opr_devices : 1; unsigned opc$v_opr_cards : 1; unsigned opc$v_opr_network : 1; unsigned opc$v_opr_cluster : 1; unsigned opc$v_opr_security : 1; unsigned opc$v_opr_reply : 1; unsigned opc$v_opr_software : 1; unsigned opc$v_opr_license : 1; unsigned opc$v_opr_user1 : 1; unsigned opc$v_opr_user2 : 1; unsigned opc$v_opr_user3 : 1; unsigned opc$v_opr_user4 : 1; unsigned opc$v_opr_user5 : 1; unsigned opc$v_opr_user6 : 1; unsigned opc$v_opr_user7 : 1; unsigned opc$v_opr_user8 : 1; unsigned opc$v_opr_user9 : 1; unsigned opc$v_opr_user10 : 1; unsigned opc$v_opr_user11 : 1; unsigned opc$v_opr_user12 : 1; } opc$r_oprdef_bits; } ; #if !defined(__VAXC) && !defined(VAXC) #define opc$v_opr_central opc$r_oprdef_bits.opc$v_opr_central #define opc$v_opr_printer opc$r_oprdef_bits.opc$v_opr_printer #define opc$v_opr_tapes opc$r_oprdef_bits.opc$v_opr_tapes #define opc$v_opr_disks opc$r_oprdef_bits.opc$v_opr_disks #define opc$v_opr_devices opc$r_oprdef_bits.opc$v_opr_devices #define opc$v_opr_cards opc$r_oprdef_bits.opc$v_opr_cards #define opc$v_opr_network opc$r_oprdef_bits.opc$v_opr_network #define opc$v_opr_cluster opc$r_oprdef_bits.opc$v_opr_cluster #define opc$v_opr_security opc$r_oprdef_bits.opc$v_opr_security #define opc$v_opr_reply opc$r_oprdef_bits.opc$v_opr_reply #define opc$v_opr_software opc$r_oprdef_bits.opc$v_opr_software #define opc$v_opr_license opc$r_oprdef_bits.opc$v_opr_license #define opc$v_opr_user1 opc$r_oprdef_bits.opc$v_opr_user1 #define opc$v_opr_user2 opc$r_oprdef_bits.opc$v_opr_user2 #define opc$v_opr_user3 opc$r_oprdef_bits.opc$v_opr_user3 #define opc$v_opr_user4 opc$r_oprdef_bits.opc$v_opr_user4 #define opc$v_opr_user5 opc$r_oprdef_bits.opc$v_opr_user5 #define opc$v_opr_user6 opc$r_oprdef_bits.opc$v_opr_user6 #define opc$v_opr_user7 opc$r_oprdef_bits.opc$v_opr_user7 #define opc$v_opr_user8 opc$r_oprdef_bits.opc$v_opr_user8 #define opc$v_opr_user9 opc$r_oprdef_bits.opc$v_opr_user9 #define opc$v_opr_user10 opc$r_oprdef_bits.opc$v_opr_user10 #define opc$v_opr_user11 opc$r_oprdef_bits.opc$v_opr_user11 #define opc$v_opr_user12 opc$r_oprdef_bits.opc$v_opr_user12 #endif /* #if !defined(__VAXC) && !defined(VAXC) */ #define OPC opcdef #define OPC$V_NM_CENTRL OPC$R_MS_MAXSZ_OVERLAY.OPC$R_MS_MAXSZ_BITS.OPC$V_NM_CENTRL #define OPC$V_NM_PRINT OPC$R_MS_MAXSZ_OVERLAY.OPC$R_MS_MAXSZ_BITS.OPC$V_NM_PRINT #define OPC$V_NM_TAPES OPC$R_MS_MAXSZ_OVERLAY.OPC$R_MS_MAXSZ_BITS.OPC$V_NM_TAPES #define OPC$V_NM_DISKS OPC$R_MS_MAXSZ_OVERLAY.OPC$R_MS_MAXSZ_BITS.OPC$V_NM_DISKS #define OPC$V_NM_DEVICE OPC$R_MS_MAXSZ_OVERLAY.OPC$R_MS_MAXSZ_BITS.OPC$V_NM_DEVICE #define OPC$V_NM_CARDS OPC$R_MS_MAXSZ_OVERLAY.OPC$R_MS_MAXSZ_BITS.OPC$V_NM_CARDS #define OPC$V_NM_NTWORK OPC$R_MS_MAXSZ_OVERLAY.OPC$R_MS_MAXSZ_BITS.OPC$V_NM_NTWORK #define OPC$V_NM_CLUSTER OPC$R_MS_MAXSZ_OVERLAY.OPC$R_MS_MAXSZ_BITS.OPC$V_NM_CLUSTER #define OPC$V_NM_SECURITY OPC$R_MS_MAXSZ_OVERLAY.OPC$R_MS_MAXSZ_BITS.OPC$V_NM_SECURITY #define OPC$V_NM_REPLY OPC$R_MS_MAXSZ_OVERLAY.OPC$R_MS_MAXSZ_BITS.OPC$V_NM_REPLY #define OPC$V_NM_SOFTWARE OPC$R_MS_MAXSZ_OVERLAY.OPC$R_MS_MAXSZ_BITS.OPC$V_NM_SOFTWARE #define OPC$V_NM_LICENSE OPC$R_MS_MAXSZ_OVERLAY.OPC$R_MS_MAXSZ_BITS.OPC$V_NM_LICENSE #define OPC$V_NM_OPER1 OPC$R_MS_MAXSZ_OVERLAY.OPC$R_MS_MAXSZ_BITS.OPC$V_NM_OPER1 #define OPC$V_NM_OPER2 OPC$R_MS_MAXSZ_OVERLAY.OPC$R_MS_MAXSZ_BITS.OPC$V_NM_OPER2 #define OPC$V_NM_OPER3 OPC$R_MS_MAXSZ_OVERLAY.OPC$R_MS_MAXSZ_BITS.OPC$V_NM_OPER3 #define OPC$V_NM_OPER4 OPC$R_MS_MAXSZ_OVERLAY.OPC$R_MS_MAXSZ_BITS.OPC$V_NM_OPER4 #define OPC$V_NM_OPER5 OPC$R_MS_MAXSZ_OVERLAY.OPC$R_MS_MAXSZ_BITS.OPC$V_NM_OPER5 #define OPC$V_NM_OPER6 OPC$R_MS_MAXSZ_OVERLAY.OPC$R_MS_MAXSZ_BITS.OPC$V_NM_OPER6 #define OPC$V_NM_OPER7 OPC$R_MS_MAXSZ_OVERLAY.OPC$R_MS_MAXSZ_BITS.OPC$V_NM_OPER7 #define OPC$V_NM_OPER8 OPC$R_MS_MAXSZ_OVERLAY.OPC$R_MS_MAXSZ_BITS.OPC$V_NM_OPER8 #define OPC$V_NM_OPER9 OPC$R_MS_MAXSZ_OVERLAY.OPC$R_MS_MAXSZ_BITS.OPC$V_NM_OPER9 #define OPC$V_NM_OPER10 OPC$R_MS_MAXSZ_OVERLAY.OPC$R_MS_MAXSZ_BITS.OPC$V_NM_OPER10 #define OPC$V_NM_OPER11 OPC$R_MS_MAXSZ_OVERLAY.OPC$R_MS_MAXSZ_BITS.OPC$V_NM_OPER11 #define OPC$V_NM_OPER12 OPC$R_MS_MAXSZ_OVERLAY.OPC$R_MS_MAXSZ_BITS.OPC$V_NM_OPER12 #ifndef __cplusplus #pragma standard #include #pragma member_alignment __save #pragma nomember_alignment #pragma nostandard #endif /* __cplusplus */ #define OPC$K_SYSTEM 1 #define OPC$K_GROUP 2 #define OPC$K_USER 3 #define OPC$K_UNSPEC 4 #define OPC$C_SYSTEM 1 #define OPC$C_GROUP 2 #define OPC$C_USER 3 #define OPC$C_UNSPEC 4 #define OPC$K_SW_VERSION 9 #define OPC$K_MAXREAD 2560 #define OPC$K_MAXMESSAGE 2048 #define OPC$K_COMHDRSIZ 38 #define OPC$_OPCOMERROR 99999 /* New error message */ #define OPC$_X_OPRENABLE 10 #define OPC$_X_LOGFILE 11 #define OPC$_X_REQUEST 12 #define OPC$_X_REPLY 13 #define OPC$_X_CANCEL 14 #define OPC$_X_STATUS 15 #define OPC$_X_SHUTDOWN 16 #define OPC$_X_TIMESTAMP 17 #define OPC$_X_SECURITY 18 #define OPC$_X_CLUSMSG 19 #define OPC$_X_DEBUG 20 #define OPC$_X_CNXMAN 21 #define OPC$_X_REQUEST_END_MARK 22 #define OPC$K_CLM__ACKNOWLEDGEMENT 1 /* Response to acknowledge request */ #define OPC$K_CLM__ACKNOWLEDGE_PLEASE 2 /* Request for remote node to announce itself */ #define OPC$K_CLM__CANCEL 3 /* Explicit cancel of request */ #define OPC$K_CLM__CHECK_OPERATOR 4 /* Make sure this operator is in the database */ #define OPC$K_CLM__CHECK_REQUEST 5 /* Make sure a request is in the database */ #define OPC$K_CLM__CLUMBX 6 /* Cluster mailbox message passed from cnxman */ #define OPC$K_CLM__CLUSTER 7 /* Cluster status change report */ #define OPC$K_CLM__DEVICE 8 /* Device message (on-line, off-line etc) */ #define OPC$K_CLM__IMP_CANCEL 9 /* Implicitly cancel a request */ #define OPC$K_CLM__IMP_DISABLE 10 /* Implicitly disable an operator */ #define OPC$K_CLM__OPRENABLE 11 /* Tell everyone else to enable or disable an operator */ #define OPC$K_CLM__REPLY 12 /* REPLY /PEND etc command */ #define OPC$K_CLM__REPLY_COMPLETE 13 /* Operator request completed by operator */ #define OPC$K_CLM__REQUEST 14 /* Operator request */ #define OPC$K_CLM__RPYBRD 15 /* Message from OPCOM to remotes, info for cluster REPLY /TERM, etc */ #define OPC$K_CLM__RPYBRD_LOCAL 16 /* Broadcast message from REPLY to OPCOM on local node */ #define OPC$K_CLM__RPYNOT 17 /* Reply notifications */ #define OPC$K_CLM__SECURITY 18 /* Security alarm from remote */ #define OPC$K_CLM__SHUTDOWN 19 /* Shut down operations */ #define OPC$K_CLM__LOGFILE 20 /* Enable/disable logfile operator */ #define OPC$K_CLM__REQUEST_END_MARK 21 #define OPC$K_HDR_SIZE 26 /* Size of common header */ struct header_message { unsigned char opc$b_rqstcode; /* Request code */ unsigned char opc$b_scope; /* Request SCOPE */ unsigned int opc$l_options; /* Request independent option bits. */ __union { unsigned int opc$l_rq_options; /* Request dependent options */ __struct { /* Also make it available as */ unsigned char opc$b_rqopt_code; /* a code byte and some fill */ unsigned char opc$b_rqopt_fillb; unsigned short int opc$w_rqopt_fillw; } opc$r_rq_opt_s; } opc$r_rqopt; unsigned int opc$l_attnmask1; /* Attention mask part 1 */ unsigned int opc$l_attnmask2; /* Attention mask part 2 */ unsigned int opc$l_rqstid; /* User specified request id # */ unsigned int opc$l_uic; /* UIC of requestor */ } ; #if !defined(__VAXC) && !defined(VAXC) #define opc$l_rq_options opc$r_rqopt.opc$l_rq_options #define opc$b_rqopt_code opc$r_rqopt.opc$r_rq_opt_s.opc$b_rqopt_code #endif /* #if !defined(__VAXC) && !defined(VAXC) */ #define OPC$M_NOLOG 0x1 #define OPC$M_NOBRD 0x2 #define OPC$M_NOCLUSTER 0x4 union header_options { unsigned int opc$l_header_options; __struct { unsigned opc$v_nolog : 1; /* Do not log the action */ unsigned opc$v_nobrd : 1; /* Do not broadcast */ unsigned opc$v_nocluster : 1; /* Do not send to cluster */ unsigned opc$v_fill_0 : 5; } opc$r_header_options_bits; } ; #if !defined(__VAXC) && !defined(VAXC) #define opc$v_nolog opc$r_header_options_bits.opc$v_nolog #define opc$v_nobrd opc$r_header_options_bits.opc$v_nobrd #define opc$v_nocluster opc$r_header_options_bits.opc$v_nocluster #endif /* #if !defined(__VAXC) && !defined(VAXC) */ #define OPC$K_OPRENABLE_MIN_SIZE 30 /* Min message size header + 4 */ struct oprenable_message { char opc$b_oprenable_fill [26]; #if defined(__VAXC) || defined(VAXC) char opc$t_oprenable_opr[]; #else /* Warning: empty char[] member for opc$t_oprenable_opr at end of structure not created */ #endif /* #if defined(__VAXC) || defined(VAXC) */ } ; #define OPC$M_DISABLE 0x1 #define OPC$M_PERMOPER 0x2 #define OPC$M_NOREMIND 0x4 union oprenable_options { unsigned int opc$l_oprenable_options; __struct { unsigned opc$v_disable : 1; unsigned opc$v_permoper : 1; unsigned opc$v_noremind : 1; unsigned opc$v_fill_1 : 5; } opc$r_oprenable_options_bits; } ; #if !defined(__VAXC) && !defined(VAXC) #define opc$v_disable opc$r_oprenable_options_bits.opc$v_disable #define opc$v_permoper opc$r_oprenable_options_bits.opc$v_permoper #define opc$v_noremind opc$r_oprenable_options_bits.opc$v_noremind #endif /* #if !defined(__VAXC) && !defined(VAXC) */ #define OPC$K_LOGFILE_MIN_SIZE 30 /* Min message size header + 4 */ #define OPC$K_INITLOG 0 /* If one is open, close logfile. Open new logfile. */ #define OPC$K_CLOSELOG 1 /* Close logfile. */ #define OPC$K_ENABLELOG 2 /* If no logfile is open, open a logfile. */ /* Add classes in ATTNMASK to logfile operator mask. */ #define OPC$K_DISABLELOG 3 /* Remove classes in ATTNMASK from logfile operator mask. */ /* If mask goes to 0, close logfile. */ #define OPC$K_MAX_LOGOPT 4 /* One more than maximum allowed */ struct logfile_message { char opc$b_logfile_fill [26]; /* Skip to request dependent options */ #if defined(__VAXC) || defined(VAXC) char opc$t_logfile_opr[]; #else /* Warning: empty char[] member for opc$t_logfile_opr at end of structure not created */ #endif /* #if defined(__VAXC) || defined(VAXC) */ } ; #define OPC$K_REQUEST_MIN_SIZE 28 /* Min message size */ struct request_message { char opc$b_request_fill [26]; unsigned short int opc$w_request_length; /* Length of text */ #if defined(__VAXC) || defined(VAXC) char opc$t_request_text[]; #else /* Warning: empty char[] member for opc$t_request_text at end of structure not created */ #endif /* #if defined(__VAXC) || defined(VAXC) */ } ; #define OPC$K_SECURITY_MIN_SIZE 28 /* Min message size */ struct security_message { char opc$b_security_fill [26]; unsigned short int opc$w_security_length; /* Length of text */ #if defined(__VAXC) || defined(VAXC) char opc$t_security_text[]; #else /* Warning: empty char[] member for opc$t_security_text at end of structure not created */ #endif /* #if defined(__VAXC) || defined(VAXC) */ } ; #define OPC$K_REPLY_MIN_SIZE 32 /* Min message size */ struct reply_message { char opc$b_reply_fill [26]; #if defined(__VAXC) || defined(VAXC) char opc$t_reply_opr[]; #else /* Warning: empty char[] member for opc$t_reply_opr at end of structure not created */ #endif /* #if defined(__VAXC) || defined(VAXC) */ } ; #define OPC$K_STATUS_MIN_SIZE 30 /* Min message size header + 4 */ struct status_message { char opc$b_status_fill [26]; #if defined(__VAXC) || defined(VAXC) char opc$t_status_opr[]; #else /* Warning: empty char[] member for opc$t_status_opr at end of structure not created */ #endif /* #if defined(__VAXC) || defined(VAXC) */ } ; #define OPC$K_TIMESTAMP_MIN_SIZE 26 /* Min message size */ struct timestamp_message { char opc$b_timestamp_fill [26]; } ; #define OPC$K_SHUTDOWN_MIN_SIZE 26 /* Min message size */ struct shutdown_message { char opc$b_shutdown_fill [26]; } ; #define OPC$M_CLUSTER 0x1 union shutdown_options { unsigned int opc$l_shutdown_options; __struct { unsigned opc$v_cluster : 1; unsigned opc$v_fill_2 : 7; } opc$r_shutdown_options_bits; } ; #if !defined(__VAXC) && !defined(VAXC) #define opc$v_cluster opc$r_shutdown_options_bits.opc$v_cluster #endif /* #if !defined(__VAXC) && !defined(VAXC) */ #define OPC$K_CANCEL_MIN_SIZE 26 /* Min message size */ struct cancel_message { char opc$b_cancel_fill [26]; } ; #define OPC$M_RQSTDONE 0x1 union cancel_options { unsigned int opc$l_cancel_options; __struct { unsigned opc$v_rqstdone : 1; unsigned opc$v_fill_3 : 7; } opc$r_cancel_options_bits; } ; #if !defined(__VAXC) && !defined(VAXC) #define opc$v_rqstdone opc$r_cancel_options_bits.opc$v_rqstdone #endif /* #if !defined(__VAXC) && !defined(VAXC) */ #ifdef __cplusplus } #endif #pragma standard #endif /* __OPCDEF_LOADED */