/**/ /***************************************************************************/ /** **/ /** © 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:04 by OpenVMS SDL EV3-3 */ /* Source: 09-JUN-1993 15:42:57 $1$DGA7274:[LIB_H.SRC]RMSFILSTR.SDL;1 */ /********************************************************************************************************************************/ /*** MODULE $AREADEF ***/ #ifndef __AREADEF_LOADED #define __AREADEF_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 /* */ /* */ /* definitions for the area descriptor in the prologue */ /* */ /* */ #define AREA$C_CYL 1 /* cylinded alignment */ #define AREA$C_LBN 2 /* logical block alignment */ #define AREA$C_VBN 3 /* virtual block alignment */ #define AREA$C_RFI 4 /* allocate close to related file by fid */ #define AREA$M_HARD 0x1 #define AREA$M_ONC 0x2 #define AREA$M_CBT 0x20 #define AREA$M_CTG 0x80 #define AREA$K_BLN 64 /* length of area descriptor in the prologue */ #define AREA$C_BLN 64 /* length of area descriptor in the prologue */ #define AREA$S_AREADEF 64 /* Old size name - synonym */ typedef struct _prologue_area { char area$$_fill_1; /* spare */ unsigned char area$b_flags; /* not currently used */ unsigned char area$b_areaid; /* area id */ unsigned char area$b_arbktsz; /* bucket size for area */ unsigned short int area$w_volume; /* relative volume number */ unsigned char area$b_aln; /* extend allocation alignment */ __union { unsigned char area$b_aop; /* alignment options */ __struct { unsigned area$v_hard : 1; /* absolute alignment or nothing */ unsigned area$v_onc : 1; /* locate on cylinder */ unsigned area$$_fill_2 : 3; unsigned area$v_cbt : 1; /* contiguous best try */ unsigned area$$_fill_3 : 1; unsigned area$v_ctg : 1; /* contiguous */ } area$r_aop_bits; } area$r_aop_overlay; unsigned int area$l_avail; /* available (returned) buckets */ unsigned int area$l_cvbn; /* start vbn for current extent */ unsigned int area$l_cnblk; /* number of blocks in current extent */ unsigned int area$l_used; /* number of blocks used */ unsigned int area$l_nxtvbn; /* next vbn to use */ unsigned int area$l_nxt; /* start vbn for next extent */ unsigned int area$l_nxblk; /* number of blocks in next extent */ unsigned short int area$w_deq; /* default extend quantity */ char area$$_fill_4 [2]; /* spare */ unsigned int area$l_loc; /* start lbn on volume */ unsigned short int area$w_rfi [3]; /* related file id */ unsigned int area$l_total_alloc; /* total block allocation */ char area$$_fill_5 [8]; /* spare */ unsigned short int area$w_check; /* checksum */ } PROLOGUE_AREA; #if !defined(__VAXC) #define area$b_aop area$r_aop_overlay.area$b_aop #define area$r_aop_bits area$r_aop_overlay.area$r_aop_bits #define area$v_hard area$r_aop_bits.area$v_hard #define area$v_onc area$r_aop_bits.area$v_onc #define area$v_cbt area$r_aop_bits.area$v_cbt #define area$v_ctg area$r_aop_bits.area$v_ctg #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 /* __AREADEF_LOADED */