/********************************************************************************************************************************/ /* Created: 9-Mar-2021 22:28:06 by OpenVMS SDL EV3-3 */ /* Source: 09-MAR-2021 22:28:01 $1$DGA8085:[STARLET_H.SRC]STARDEFMP.SDI;1 */ /********************************************************************************************************************************/ /*** MODULE $NETDEF ***/ #ifndef __NETDEF_LOADED #define __NETDEF_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 /*+ */ /* DECnet-VAX definitions */ /*- */ #ifdef __NEW_STARLET typedef struct _netdef { unsigned char net$b_user_eco; /* User ECO of DECnet */ unsigned char net$b_dec_eco; /* Digital ECO of DECnet */ unsigned char net$b_dec_version; /* DECnet Version */ unsigned char net$b_reserved; /* Reserved to Digital */ } NETDEF; #else /* __OLD_STARLET */ struct netdef { unsigned char net$b_user_eco; /* User ECO of DECnet */ unsigned char net$b_dec_eco; /* Digital ECO of DECnet */ unsigned char net$b_dec_version; /* DECnet Version */ unsigned char net$b_reserved; /* Reserved to Digital */ } ; #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 /* __NETDEF_LOADED */