/***************************************************************************/ /** **/ /** 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:39 by OpenVMS SDL V3.7 */ /* Source: 14-NOV-2008 16:48:53 $1$DGA8345:[LIB_H.SRC]F11DEF.SDL;1 */ /********************************************************************************************************************************/ /*** MODULE $PBBDEF ***/ #ifndef __PBBDEF_LOADED #define __PBBDEF_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 /*+ */ /* */ /* Pending bad block file record format. Each record describes a disk block */ /* on which an error has occurred which has not been turned over to the bad */ /* block file. */ /* */ /*- */ #define PBB$M_READERR 0x1 #define PBB$M_WRITERR 0x2 #define PBB$K_LENGTH 16 /* length of entry */ #define PBB$C_LENGTH 16 /* length of entry */ #define PBB$S_PBBDEF 16 /* Old size name - synonym */ typedef struct _pbb { unsigned short int pbb$w_fid [3]; /* File ID of containing file */ __union { unsigned char pbb$b_flags; /* status flags */ __struct { unsigned pbb$v_readerr : 1; /* read error occurred */ unsigned pbb$v_writerr : 1; /* write error occurred */ unsigned pbb$v_fill_12_ : 6; } pbb$r_flags_bits; } pbb$r_flags_overlay; unsigned char pbb$b_count; /* error count */ unsigned int pbb$l_vbn; /* virtual block in file */ unsigned int pbb$l_lbn; /* logical block number */ } PBB; #if !defined(__VAXC) #define pbb$b_flags pbb$r_flags_overlay.pbb$b_flags #define pbb$v_readerr pbb$r_flags_overlay.pbb$r_flags_bits.pbb$v_readerr #define pbb$v_writerr pbb$r_flags_overlay.pbb$r_flags_bits.pbb$v_writerr #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 /* __PBBDEF_LOADED */