/**/ /***************************************************************************/ /** **/ /** © 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:25:02 by OpenVMS SDL EV3-3 */ /* Source: 14-NOV-2008 16:48:53 $1$DGA7274:[LIB_H.SRC]F11DEF.SDL;1 */ /********************************************************************************************************************************/ /*** MODULE $HM1DEF ***/ #ifndef __HM1DEF_LOADED #define __HM1DEF_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 /*+ */ /* */ /* Home block definitions for Files-11 Structure Level 1 */ /* */ /*- */ #define HM1$C_LEVEL1 257 /* 401 octal = structure level 1 */ #define HM1$C_LEVEL2 258 /* 402 octal = structure level 1, version 2 */ #define HM1$S_HM1DEF 512 /* Old size name - synonym */ typedef struct _hm1 { unsigned short int hm1$w_ibmapsize; /* index file bitmap size, blocks */ unsigned int hm1$l_ibmaplbn; /* index file bitmap starting LBN */ unsigned short int hm1$w_maxfiles; /* maximum ! files on volume */ unsigned short int hm1$w_cluster; /* storage bitmap cluster factor */ unsigned short int hm1$w_devtype; /* disk device type */ unsigned short int hm1$w_struclev; /* volume structure level */ char hm1$t_volname [12]; /* volume name (ASCII) */ char hm1$$_fill_1 [4]; /* spare */ unsigned short int hm1$w_volowner; /* volume owner UIC */ __union { unsigned short int hm1$w_protect; /* volume protection */ __struct { unsigned hm1$v_syspro : 4; /* system protection */ unsigned hm1$v_ownpro : 4; /* owner protection */ unsigned hm1$v_grouppro : 4; /* group protection */ unsigned hm1$v_worldpro : 4; /* world protection */ } hm1$r_protect_bits; } hm1$r_protect_overlay; unsigned short int hm1$w_volchar; /* volume characteristics */ unsigned short int hm1$w_fileprot; /* default file protection */ char hm1$$_fill_2 [6]; /* spare */ unsigned char hm1$b_window; /* default window size */ unsigned char hm1$b_extend; /* default file extend */ unsigned char hm1$b_lru_lim; /* default LRU limit */ char hm1$$_fill_3 [11]; /* spare */ unsigned short int hm1$w_checksum1; /* first checksum */ char hm1$t_credate [14]; /* volume creation date */ char hm1$$_fill_4 [382]; /* spare */ unsigned int hm1$l_serialnum; /* pack serial number */ char hm1$$_fill_5 [12]; /* reserved */ char hm1$t_volname2 [12]; /* 2nd copy of volume name */ char hm1$t_ownername [12]; /* volume owner name */ char hm1$t_format [12]; /* volume format type */ char hm1$$_fill_6 [2]; /* spare */ unsigned short int hm1$w_checksum2; /* second checksum */ } HM1; #if !defined(__VAXC) #define hm1$w_protect hm1$r_protect_overlay.hm1$w_protect #define hm1$v_syspro hm1$r_protect_overlay.hm1$r_protect_bits.hm1$v_syspro #define hm1$v_ownpro hm1$r_protect_overlay.hm1$r_protect_bits.hm1$v_ownpro #define hm1$v_grouppro hm1$r_protect_overlay.hm1$r_protect_bits.hm1$v_grouppro #define hm1$v_worldpro hm1$r_protect_overlay.hm1$r_protect_bits.hm1$v_worldpro #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 /* __HM1DEF_LOADED */