/********************************************************************************************************************************/ /* 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 $CRDEF ***/ #ifndef __CRDEF_LOADED #define __CRDEF_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 /*+ */ /* CARD READER STATUS BITS */ /*- */ #define CR$M_TMODE 0xF #define CR$K_T026 0 /*026 PUNCH CODE TRANSLATION */ #define CR$K_T029 1 /*029 PUNCH CODE TRANSLATION */ #ifdef __NEW_STARLET typedef union _crdef { __struct { unsigned cr$v_tmode : 4; /* TRANSLATION MODE */ unsigned cr$v_fill_111_ : 4; } cr$r_crdef_bits; /* */ /* TRANSLATION MODE DEFINITIONS */ /* */ /* */ } CRDEF; #if !defined(__VAXC) #define cr$v_tmode cr$r_crdef_bits.cr$v_tmode #endif /* #if !defined(__VAXC) */ #else /* __OLD_STARLET */ union crdef { __struct { unsigned cr$v_tmode : 4; /* TRANSLATION MODE */ unsigned cr$v_fill_111_ : 4; } cr$r_crdef_bits; /* */ /* TRANSLATION MODE DEFINITIONS */ /* */ /* */ } ; #if !defined(__VAXC) #define cr$v_tmode cr$r_crdef_bits.cr$v_tmode #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 /* __CRDEF_LOADED */