/********************************************************************************************************************************/ /* Created: 9-Mar-2021 22:28:03 by OpenVMS SDL EV3-3 */ /* Source: 09-MAR-2021 22:28:01 $1$DGA8085:[STARLET_H.SRC]OBJFMT.SDI;1 */ /********************************************************************************************************************************/ /*** MODULE $ENVDEF ***/ #ifndef __ENVDEF_LOADED #define __ENVDEF_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 /* */ /* ENV - Define/reference an environment */ /* */ #define ENV$M_DEF 0x1 #define ENV$M_NESTED 0x2 #ifdef __NEW_STARLET typedef struct _envdef { unsigned char env$b_gsdtyp; /*Type field */ __union { unsigned short int env$w_flags; /*Environment flags */ __struct { unsigned env$v_def : 1; /*Definition of environment */ unsigned env$v_nested : 1; /*Nested environment if set */ unsigned env$v_fill_20_ : 6; } env$r_flags_bits; } env$r_flags_overlay; unsigned short int env$w_envindx; /*Index of parent environment */ unsigned char env$b_namlng; /*Length of environment name */ char env$t_name [31]; /*Environment name */ } ENVDEF; #if !defined(__VAXC) #define env$w_flags env$r_flags_overlay.env$w_flags #define env$v_def env$r_flags_overlay.env$r_flags_bits.env$v_def #define env$v_nested env$r_flags_overlay.env$r_flags_bits.env$v_nested #endif /* #if !defined(__VAXC) */ #else /* __OLD_STARLET */ struct envdef { unsigned char env$b_gsdtyp; /*Type field */ __union { unsigned short int env$w_flags; /*Environment flags */ __struct { unsigned env$v_def : 1; /*Definition of environment */ unsigned env$v_nested : 1; /*Nested environment if set */ unsigned env$v_fill_20_ : 6; } env$r_flags_bits; } env$r_flags_overlay; unsigned short int env$w_envindx; /*Index of parent environment */ unsigned char env$b_namlng; /*Length of environment name */ char env$t_name [31]; /*Environment name */ } ; #if !defined(__VAXC) #define env$w_flags env$r_flags_overlay.env$w_flags #define env$v_def env$r_flags_overlay.env$r_flags_bits.env$v_def #define env$v_nested env$r_flags_overlay.env$r_flags_bits.env$v_nested #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 /* __ENVDEF_LOADED */