/********************************************************************************************************************************/ /* Created: 9-Mar-2021 22:28:05 by OpenVMS SDL EV3-3 */ /* Source: 09-MAR-2021 22:28:01 $1$DGA8085:[STARLET_H.SRC]STARDEFAE.SDI;1 */ /********************************************************************************************************************************/ /*** MODULE $CMBDEF ***/ #ifndef __CMBDEF_LOADED #define __CMBDEF_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 /*+ */ /* $CREMBX FLAGS bit definitions */ /*- */ #define CMB$M_READONLY 0x1 #define CMB$M_WRITEONLY 0x2 #ifdef __NEW_STARLET typedef union _cmbdef { __struct { unsigned cmb$v_readonly : 1; /* Channel to be assigned to mailbox is READ ONLY. */ unsigned cmb$v_writeonly : 1; /* Channel to be assigned to mailbox is WRITE ONLY. */ unsigned cmb$v_fill_0 : 30; } cmb$r_cmbdef_bits; } CMBDEF; #if !defined(__VAXC) #define cmb$v_readonly cmb$r_cmbdef_bits.cmb$v_readonly #define cmb$v_writeonly cmb$r_cmbdef_bits.cmb$v_writeonly #endif /* #if !defined(__VAXC) */ #else /* __OLD_STARLET */ union cmbdef { __struct { unsigned cmb$v_readonly : 1; /* Channel to be assigned to mailbox is READ ONLY. */ unsigned cmb$v_writeonly : 1; /* Channel to be assigned to mailbox is WRITE ONLY. */ unsigned cmb$v_fill_0 : 30; } cmb$r_cmbdef_bits; } ; #if !defined(__VAXC) #define cmb$v_readonly cmb$r_cmbdef_bits.cmb$v_readonly #define cmb$v_writeonly cmb$r_cmbdef_bits.cmb$v_writeonly #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 /* __CMBDEF_LOADED */