/**/ /***************************************************************************/ /** **/ /** © Copyright 2010, Hewlett-Packard Development Company, L.P. **/ /** **/ /** Confidential computer software. Valid license from HP and/or **/ /** its subsidiaries required for possession, use, or copying. **/ /** **/ /** Consistent with FAR 12.211 and 12.212, Commercial Computer Software, **/ /** Computer Software Documentation, and Technical Data for Commercial **/ /** Items are licensed to the U.S. Government under vendor's standard **/ /** commercial license. **/ /** **/ /** Neither HP nor any of its subsidiaries shall be liable for technical **/ /** or editorial errors or omissions contained herein. The information **/ /** in this document is provided "as is" without warranty of any kind and **/ /** is subject to change without notice. The warranties for HP products **/ /** are set forth in the express limited warranty statements accompanying **/ /** such products. Nothing herein should be construed as constituting an **/ /** additional warranty. **/ /** **/ /***************************************************************************/ /********************************************************************************************************************************/ /* Created: 30-Mar-2010 17:26:27 by OpenVMS SDL EV3-3 */ /* Source: 22-APR-1993 10:15:57 $1$DGA7274:[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 */