/********************************************************************************************************************************/ /* Created: 9-Mar-2021 22:28:03 by OpenVMS SDL EV3-3 */ /* Source: 09-MAR-2021 22:28:01 $1$DGA8085:[STARLET_H.SRC]OPCDEF.SDI;1 */ /********************************************************************************************************************************/ /*** MODULE $OPCDEF ***/ #ifndef __OPCDEF_LOADED #define __OPCDEF_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 #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 #ifdef __NEW_STARLET typedef 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; } OPCDEF; #if !defined(__VAXC) #define opc$r_ms_targ_stat_overlay opc$r_ms_c_t_s_overlay.opc$r_ms_targ_stat_overlay #define opc$r_ms_target_overlay opc$r_ms_targ_stat_overlay.opc$r_ms_target_overlay #define opc$b_ms_target opc$r_ms_target_overlay.opc$b_ms_target #define opc$b_ms_enab opc$r_ms_target_overlay.opc$b_ms_enab #define opc$w_ms_status 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$r_ms_mask_overlay opc$r_ms_rplyid_overlay.opc$r_ms_mask_overlay #define opc$l_ms_mask opc$r_ms_mask_overlay.opc$l_ms_mask #define opc$l_ms_rqstid 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$r_ms_text_fields opc$r_ms_text_overlay.opc$r_ms_text_fields #define opc$w_ms_ounit opc$r_ms_text_fields.opc$w_ms_ounit #define opc$t_ms_oname 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$r_ms_maxsz_bits opc$r_ms_maxsz_overlay.opc$r_ms_maxsz_bits #define opc$v_nm_centrl opc$r_ms_maxsz_bits.opc$v_nm_centrl #define opc$v_nm_print opc$r_ms_maxsz_bits.opc$v_nm_print #define opc$v_nm_tapes opc$r_ms_maxsz_bits.opc$v_nm_tapes #define opc$v_nm_disks opc$r_ms_maxsz_bits.opc$v_nm_disks #define opc$v_nm_device opc$r_ms_maxsz_bits.opc$v_nm_device #define opc$v_nm_cards opc$r_ms_maxsz_bits.opc$v_nm_cards #define opc$v_nm_ntwork opc$r_ms_maxsz_bits.opc$v_nm_ntwork #define opc$v_nm_cluster opc$r_ms_maxsz_bits.opc$v_nm_cluster #define opc$v_nm_security opc$r_ms_maxsz_bits.opc$v_nm_security #define opc$v_nm_reply opc$r_ms_maxsz_bits.opc$v_nm_reply #define opc$v_nm_software opc$r_ms_maxsz_bits.opc$v_nm_software #define opc$v_nm_license opc$r_ms_maxsz_bits.opc$v_nm_license #define opc$v_nm_oper1 opc$r_ms_maxsz_bits.opc$v_nm_oper1 #define opc$v_nm_oper2 opc$r_ms_maxsz_bits.opc$v_nm_oper2 #define opc$v_nm_oper3 opc$r_ms_maxsz_bits.opc$v_nm_oper3 #define opc$v_nm_oper4 opc$r_ms_maxsz_bits.opc$v_nm_oper4 #define opc$v_nm_oper5 opc$r_ms_maxsz_bits.opc$v_nm_oper5 #define opc$v_nm_oper6 opc$r_ms_maxsz_bits.opc$v_nm_oper6 #define opc$v_nm_oper7 opc$r_ms_maxsz_bits.opc$v_nm_oper7 #define opc$v_nm_oper8 opc$r_ms_maxsz_bits.opc$v_nm_oper8 #define opc$v_nm_oper9 opc$r_ms_maxsz_bits.opc$v_nm_oper9 #define opc$v_nm_oper10 opc$r_ms_maxsz_bits.opc$v_nm_oper10 #define opc$v_nm_oper11 opc$r_ms_maxsz_bits.opc$v_nm_oper11 #define opc$v_nm_oper12 opc$r_ms_maxsz_bits.opc$v_nm_oper12 #endif /* #if !defined(__VAXC) */ #else /* __OLD_STARLET */ 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) #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) */ #endif /* #ifdef __NEW_STARLET */ #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 #ifdef __NEW_STARLET typedef 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; } OPC_OPRDEF; #if !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) */ #else /* __OLD_STARLET */ 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) #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) */ #endif /* #ifdef __NEW_STARLET */ #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 member_alignment __restore #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 */ #ifdef __NEW_STARLET typedef 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 */ } HEADER_MESSAGE; #if !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) */ #else /* __OLD_STARLET */ 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) #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) */ #endif /* #ifdef __NEW_STARLET */ #define OPC$M_NOLOG 0x1 #define OPC$M_NOBRD 0x2 #define OPC$M_NOCLUSTER 0x4 #ifdef __NEW_STARLET typedef union _fill_0_ { 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_2_ : 5; } opc$r_fill_1_; } FILL_0_; #if !defined(__VAXC) #define opc$v_nolog opc$r_fill_1_.opc$v_nolog #define opc$v_nobrd opc$r_fill_1_.opc$v_nobrd #define opc$v_nocluster opc$r_fill_1_.opc$v_nocluster #endif /* #if !defined(__VAXC) */ #else /* __OLD_STARLET */ union fill_0_ { 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_2_ : 5; } opc$r_fill_1_; } ; #if !defined(__VAXC) #define opc$v_nolog opc$r_fill_1_.opc$v_nolog #define opc$v_nobrd opc$r_fill_1_.opc$v_nobrd #define opc$v_nocluster opc$r_fill_1_.opc$v_nocluster #endif /* #if !defined(__VAXC) */ #endif /* #ifdef __NEW_STARLET */ #define OPC$K_OPRENABLE_MIN_SIZE 30 /* Min message size header + 4 */ #ifdef __NEW_STARLET typedef struct _oprenable_message { char opc$b_oprenable_fill [26]; #if 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) */ } OPRENABLE_MESSAGE; #else /* __OLD_STARLET */ struct oprenable_message { char opc$b_oprenable_fill [26]; #if 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) */ } ; #endif /* #ifdef __NEW_STARLET */ #define OPC$M_DISABLE 0x1 #define OPC$M_PERMOPER 0x2 #define OPC$M_NOREMIND 0x4 #ifdef __NEW_STARLET typedef union _fill_3_ { 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_5_ : 5; } opc$r_fill_4_; } FILL_3_; #if !defined(__VAXC) #define opc$v_disable opc$r_fill_4_.opc$v_disable #define opc$v_permoper opc$r_fill_4_.opc$v_permoper #define opc$v_noremind opc$r_fill_4_.opc$v_noremind #endif /* #if !defined(__VAXC) */ #else /* __OLD_STARLET */ union fill_3_ { 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_5_ : 5; } opc$r_fill_4_; } ; #if !defined(__VAXC) #define opc$v_disable opc$r_fill_4_.opc$v_disable #define opc$v_permoper opc$r_fill_4_.opc$v_permoper #define opc$v_noremind opc$r_fill_4_.opc$v_noremind #endif /* #if !defined(__VAXC) */ #endif /* #ifdef __NEW_STARLET */ #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 */ #ifdef __NEW_STARLET typedef struct _logfile_message { char opc$b_logfile_fill [26]; /* Skip to request dependent options */ #if 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) */ } LOGFILE_MESSAGE; #else /* __OLD_STARLET */ struct logfile_message { char opc$b_logfile_fill [26]; /* Skip to request dependent options */ #if 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) */ } ; #endif /* #ifdef __NEW_STARLET */ #define OPC$K_REQUEST_MIN_SIZE 28 /* Min message size */ #ifdef __NEW_STARLET typedef struct _request_message { char opc$b_request_fill [26]; unsigned short int opc$w_request_length; /* Length of text */ #if 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) */ } REQUEST_MESSAGE; #else /* __OLD_STARLET */ struct request_message { char opc$b_request_fill [26]; unsigned short int opc$w_request_length; /* Length of text */ #if 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) */ } ; #endif /* #ifdef __NEW_STARLET */ #define OPC$K_SECURITY_MIN_SIZE 28 /* Min message size */ #ifdef __NEW_STARLET typedef struct _security_message { char opc$b_security_fill [26]; unsigned short int opc$w_security_length; /* Length of text */ #if 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) */ } SECURITY_MESSAGE; #else /* __OLD_STARLET */ struct security_message { char opc$b_security_fill [26]; unsigned short int opc$w_security_length; /* Length of text */ #if 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) */ } ; #endif /* #ifdef __NEW_STARLET */ #define OPC$K_REPLY_MIN_SIZE 32 #ifdef __NEW_STARLET typedef struct _reply_message { char opc$b_reply_fill [26]; #if 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) */ } REPLY_MESSAGE; #else /* __OLD_STARLET */ struct reply_message { char opc$b_reply_fill [26]; #if 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) */ } ; #endif /* #ifdef __NEW_STARLET */ #define OPC$K_STATUS_MIN_SIZE 30 /* Min message size header + 4 */ #ifdef __NEW_STARLET typedef struct _status_message { char opc$b_status_fill [26]; #if 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) */ } STATUS_MESSAGE; #else /* __OLD_STARLET */ struct status_message { char opc$b_status_fill [26]; #if 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) */ } ; #endif /* #ifdef __NEW_STARLET */ #define OPC$K_TIMESTAMP_MIN_SIZE 26 /* Min message size */ #ifdef __NEW_STARLET typedef struct _timestamp_message { char opc$b_timestamp_fill [26]; } TIMESTAMP_MESSAGE; #else /* __OLD_STARLET */ struct timestamp_message { char opc$b_timestamp_fill [26]; } ; #endif /* #ifdef __NEW_STARLET */ #define OPC$K_SHUTDOWN_MIN_SIZE 26 /* Min message size */ #ifdef __NEW_STARLET typedef struct _shutdown_message { char opc$b_shutdown_fill [26]; } SHUTDOWN_MESSAGE; #else /* __OLD_STARLET */ struct shutdown_message { char opc$b_shutdown_fill [26]; } ; #endif /* #ifdef __NEW_STARLET */ #define OPC$M_CLUSTER 0x1 #ifdef __NEW_STARLET typedef union _fill_6_ { unsigned int opc$l_shutdown_options; __struct { unsigned opc$v_cluster : 1; unsigned opc$v_fill_8_ : 7; } opc$r_fill_7_; } FILL_6_; #if !defined(__VAXC) #define opc$v_cluster opc$r_fill_7_.opc$v_cluster #endif /* #if !defined(__VAXC) */ #else /* __OLD_STARLET */ union fill_6_ { unsigned int opc$l_shutdown_options; __struct { unsigned opc$v_cluster : 1; unsigned opc$v_fill_8_ : 7; } opc$r_fill_7_; } ; #if !defined(__VAXC) #define opc$v_cluster opc$r_fill_7_.opc$v_cluster #endif /* #if !defined(__VAXC) */ #endif /* #ifdef __NEW_STARLET */ #define OPC$K_CANCEL_MIN_SIZE 26 /* Min message size */ #ifdef __NEW_STARLET typedef struct _cancel_message { char opc$b_cancel_fill [26]; } CANCEL_MESSAGE; #else /* __OLD_STARLET */ struct cancel_message { char opc$b_cancel_fill [26]; } ; #endif /* #ifdef __NEW_STARLET */ #define OPC$M_RQSTDONE 0x1 #ifdef __NEW_STARLET typedef union _fill_9_ { unsigned int opc$l_cancel_options; __struct { unsigned opc$v_rqstdone : 1; unsigned opc$v_fill_11_ : 7; } opc$r_fill_10_; } FILL_9_; #if !defined(__VAXC) #define opc$v_rqstdone opc$r_fill_10_.opc$v_rqstdone #endif /* #if !defined(__VAXC) */ #else /* __OLD_STARLET */ union fill_9_ { unsigned int opc$l_cancel_options; __struct { unsigned opc$v_rqstdone : 1; unsigned opc$v_fill_11_ : 7; } opc$r_fill_10_; } ; #if !defined(__VAXC) #define opc$v_rqstdone opc$r_fill_10_.opc$v_rqstdone #endif /* #if !defined(__VAXC) */ #endif /* #ifdef __NEW_STARLET */ #ifdef __NEW_STARLET typedef union _opcf_arg { int opcf_arg$l_arg_data; /* argument data */ __struct { unsigned short int opcf_arg$w_arg_offset; /* The offset to the argument data */ unsigned short int opcf_arg$w_arg_cntrl; /* A control code for argument handling */ } opcf_arg$r_arg_desc; } OPCF_ARG; #if !defined(__VAXC) #define opcf_arg$w_arg_offset opcf_arg$r_arg_desc.opcf_arg$w_arg_offset #define opcf_arg$w_arg_cntrl opcf_arg$r_arg_desc.opcf_arg$w_arg_cntrl #endif /* #if !defined(__VAXC) */ #else /* __OLD_STARLET */ typedef union _opcf_arg { int opcf_arg$l_arg_data; /* argument data */ __struct { unsigned short int opcf_arg$w_arg_offset; /* The offset to the argument data */ unsigned short int opcf_arg$w_arg_cntrl; /* A control code for argument handling */ } opcf_arg$r_arg_desc; } opcf_arg; #if !defined(__VAXC) #define opcf_arg$w_arg_offset opcf_arg$r_arg_desc.opcf_arg$w_arg_offset #define opcf_arg$w_arg_cntrl opcf_arg$r_arg_desc.opcf_arg$w_arg_cntrl #endif /* #if !defined(__VAXC) */ #endif /* #ifdef __NEW_STARLET */ /* This structure defines a message sent to OPCOM using the MSG$_OPCFAO message type. */ #ifdef __NEW_STARLET typedef struct _opcfao { unsigned short int opcf$w_msgtype; /* Dispatch message type code */ unsigned short int opcf$w_spare_1; /* Unused word - alignment */ unsigned int opcf$l_opc_msg; /* The message file code for msg text */ unsigned int opcf$l_opc_class_msk; /* The operator class mask */ unsigned int opcf$l_arg_count; /* The number of arguments */ __union { OPCF_ARG opcf$r_item_arg [60]; /* Argument items */ char opcf$t_item_cd [240]; /* Argument data - character */ unsigned int opcf$l_item_ld [60]; /* Argument data - long */ } opcf$r_variable_data; } OPCFAO; #if !defined(__VAXC) #define opcf$r_item_arg opcf$r_variable_data.opcf$r_item_arg #define opcf$t_item_cd opcf$r_variable_data.opcf$t_item_cd #define opcf$l_item_ld opcf$r_variable_data.opcf$l_item_ld #endif /* #if !defined(__VAXC) */ #else /* __OLD_STARLET */ typedef struct _opcfao { unsigned short int opcf$w_msgtype; /* Dispatch message type code */ unsigned short int opcf$w_spare_1; /* Unused word - alignment */ unsigned int opcf$l_opc_msg; /* The message file code for msg text */ unsigned int opcf$l_opc_class_msk; /* The operator class mask */ unsigned int opcf$l_arg_count; /* The number of arguments */ __union { opcf_arg opcf$r_item_arg [60]; /* Argument items */ char opcf$t_item_cd [240]; /* Argument data - character */ unsigned int opcf$l_item_ld [60]; /* Argument data - long */ } opcf$r_variable_data; } opcfao; #if !defined(__VAXC) #define opcf$r_item_arg opcf$r_variable_data.opcf$r_item_arg #define opcf$t_item_cd opcf$r_variable_data.opcf$t_item_cd #define opcf$l_item_ld opcf$r_variable_data.opcf$l_item_ld #endif /* #if !defined(__VAXC) */ #endif /* #ifdef __NEW_STARLET */ /* OPCFAO option codes. Unless commented otherwise, these codes correspond to */ /* the equivalent FAO op code (e.g. !AC --> AC, !%T --> T). These codes are */ /* used as input arguments to exe_std$sndopcfao as controls. */ #define OPCF$K_AC 1 #define OPCF$K_AD 2 #define OPCF$K_AF 3 #define OPCF$K_AS 4 #define OPCF$K_AS_DEVICE_NAME 5 /* Pass UCB for conversion to device name string with descriptor */ #define OPCF$K_AZ 6 #define OPCF$K_D 7 #define OPCF$K_I 8 #define OPCF$K_OA 9 #define OPCF$K_OB 10 #define OPCF$K_OH 11 #define OPCF$K_OI 12 #define OPCF$K_OJ 13 #define OPCF$K_OL 14 #define OPCF$K_OQ 15 #define OPCF$K_OW 16 #define OPCF$K_SA 17 #define OPCF$K_SB 18 #define OPCF$K_SH 19 #define OPCF$K_SI 20 #define OPCF$K_SJ 21 #define OPCF$K_SL 22 #define OPCF$K_SQ 23 #define OPCF$K_SW 24 #define OPCF$K_T 25 #define OPCF$K_U 26 #define OPCF$K_UA 27 #define OPCF$K_UB 28 #define OPCF$K_UH 29 #define OPCF$K_UI 30 #define OPCF$K_UJ 31 #define OPCF$K_UL 32 #define OPCF$K_UQ 33 #define OPCF$K_UW 34 #define OPCF$K_XA 35 #define OPCF$K_XB 36 #define OPCF$K_XH 37 #define OPCF$K_XI 38 #define OPCF$K_XJ 39 #define OPCF$K_XL 40 #define OPCF$K_XQ 41 #define OPCF$K_XW 42 #define OPCF$K_ZA 43 #define OPCF$K_ZB 44 #define OPCF$K_ZH 45 #define OPCF$K_ZI 46 #define OPCF$K_ZJ 47 #define OPCF$K_ZL 48 #define OPCF$K_ZQ 49 #define OPCF$K_ZW 50 #define OPCF$K_MIN_OPCFAO_CNTRL 1 #define OPCF$K_MAX_OPCFAO_CNTRL 50 #define OPCF$K_BY_REF 1 /* Pass argument by reference */ #define OPCF$K_BY_VAL 2 /* Pass argument by value */ #define OPCF$K_BY_DESC 3 /* Pass argument by descriptor */ #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 /* __OPCDEF_LOADED */