/***************************************************************************/ /** **/ /** HPE CONFIDENTIAL. This software is confidential proprietary software **/ /** licensed by Hewlett-Packard Enterprise Development, LP, and is not **/ /** authorized to be used, duplicated OR disclosed to anyone without the **/ /** prior written permission of HPE. **/ /** © 2023 Copyright Hewlett-Packard Enterprise Development, LP **/ /** **/ /** VMS SOFTWARE, INC. CONFIDENTIAL. This software is confidential **/ /** proprietary software licensed by VMS Software, Inc., and is not **/ /** authorized to be used, duplicated or disclosed to anyone without **/ /** the prior written permission of VMS Software, Inc. **/ /** © 2023 Copyright VMS Software, Inc. **/ /** **/ /***************************************************************************/ /********************************************************************************************************************************/ /* Created: 9-Nov-2023 12:06:43 by OpenVMS SDL V3.7 */ /* Source: 22-APR-1993 10:15:57 $1$DGA8345:[LIB_H.SRC]BNAMDEF.SDL;1 */ /********************************************************************************************************************************/ /*** MODULE $BNAMDEF ***/ #ifndef __BNAMDEF_LOADED #define __BNAMDEF_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 /*+ */ /* BNAM - NPORT Buffer Name Descriptor */ /* */ /*- */ #define BNAM$C_LENGTH 4 /* Length of structure */ #define BNAM$M_BDLT_MASK -1048321 /* Mask to use extract BDLT index */ #define BNAM$M_BDL_MASK -256 /* Mask to use extract BDL index */ #define BNAM$M_KEY_MASK 1048575 /* Mask to use extract KEY */ #define BNAM$S_BNAMDEF 4 typedef struct _bnam { __union { void *bnam$l_bname; /* Buffer NAME */ __struct { unsigned bnam$v_bdl_index : 8; /* BDL Index */ unsigned bnam$v_bdlt_index : 12; /* BDLT Index */ unsigned bnam$v_key : 12; /* Sequence Number */ } bnam$r_bname_bit_fld; } bnam$r_bname_overlay; } BNAM; #if !defined(__VAXC) #define bnam$l_bname bnam$r_bname_overlay.bnam$l_bname #define bnam$v_bdl_index bnam$r_bname_overlay.bnam$r_bname_bit_fld.bnam$v_bdl_index #define bnam$v_bdlt_index bnam$r_bname_overlay.bnam$r_bname_bit_fld.bnam$v_bdlt_index #define bnam$v_key bnam$r_bname_overlay.bnam$r_bname_bit_fld.bnam$v_key #endif /* #if !defined(__VAXC) */ #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 /* __BNAMDEF_LOADED */