/**/ /***************************************************************************/ /** **/ /** © 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:24:52 by OpenVMS SDL EV3-3 */ /* Source: 14-NOV-2008 16:48:53 $1$DGA7274:[LIB_H.SRC]F11DEF.SDL;1 */ /********************************************************************************************************************************/ /*** MODULE $FH1DEF ***/ #ifndef __FH1DEF_LOADED #define __FH1DEF_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 #define FH1$C_LEVEL1 257 /* 401 octal = structure level 1 */ #define FH1$K_LENGTH 46 /* length of header area */ #define FH1$C_LENGTH 46 /* length of header area */ #define FH1$S_FH1DEF 512 /* Old size name - synonym */ typedef struct _fh1 { unsigned char fh1$b_idoffset; /* ident area offset in words */ unsigned char fh1$b_mpoffset; /* map area offset in words */ __union { unsigned short int fh1$w_fid [2]; /* file ID */ __struct { unsigned short int fh1$w_fid_num; /* file number */ unsigned short int fh1$w_fid_seq; /* file sequence number */ } fh1$r_fid_fields; } fh1$r_fid_overlay; unsigned short int fh1$w_struclev; /* file structure level */ __union { unsigned short int fh1$w_fileowner; /* file owner UIC */ __struct { unsigned char fh1$b_uicmember; /* UIC member number */ unsigned char fh1$b_uicgroup; /* UIC group number */ } fh1$r_fileowner_fields; } fh1$r_fileowner_overlay; __union { unsigned short int fh1$w_fileprot; /* file protection */ __struct { unsigned fh1$v_syspro : 4; /* system protection */ unsigned fh1$v_ownpro : 4; /* owner protection */ unsigned fh1$v_grouppro : 4; /* group protection */ unsigned fh1$v_worldpro : 4; /* world protection */ } fh1$r_fileprot_bits; } fh1$r_fileprot_overlay; __union { unsigned short int fh1$w_filechar; /* file characteristics */ __struct { __union { unsigned char fh1$b_userchar; /* user controlled characteristics */ __struct { unsigned fh1$v_wascontig : 1; /* file was (and should be) contiguous */ unsigned fh1$v_nobackup : 1; /* file is not to be backed up */ unsigned fh1$$_fill_2 : 1; /* reserved */ unsigned fh1$v_readcheck : 1; /* verify all read operations */ unsigned fh1$v_writcheck : 1; /* verify all write operations */ unsigned fh1$v_contigb : 1; /* keep file as contiguous as possible */ unsigned fh1$v_locked : 1; /* file is deaccess locked */ unsigned fh1$v_contig : 1; /* file is contiguous */ } fh1$r_userchar_bits; } fh1$r_userchar_overlay; __union { unsigned char fh1$b_syschar; /* system controlled characteristics */ __struct { unsigned fh1$$_fill_3 : 4; /* reserved */ unsigned fh1$v_spool : 1; /* intermediate spool file */ unsigned fh1$$_fill_4 : 1; /* reserved */ unsigned fh1$v_badblock : 1; /* file contains bad blocks */ unsigned fh1$v_markdel : 1; /* file is marked for delete */ } fh1$r_syschar_bits; } fh1$r_syschar_overlay; } fh1$r_filechar_fields; } fh1$r_filechar_overlay; unsigned short int fh1$w_recattr [16]; /* file record attributes */ short int fh1$$_fill_5 [232]; /* rest of file header */ unsigned short int fh1$w_checksum; /* file header checksum */ } FH1; #if !defined(__VAXC) #define fh1$w_fid fh1$r_fid_overlay.fh1$w_fid #define fh1$w_fid_num fh1$r_fid_overlay.fh1$r_fid_fields.fh1$w_fid_num #define fh1$w_fid_seq fh1$r_fid_overlay.fh1$r_fid_fields.fh1$w_fid_seq #define fh1$w_fileowner fh1$r_fileowner_overlay.fh1$w_fileowner #define fh1$b_uicmember fh1$r_fileowner_overlay.fh1$r_fileowner_fields.fh1$b_uicmember #define fh1$b_uicgroup fh1$r_fileowner_overlay.fh1$r_fileowner_fields.fh1$b_uicgroup #define fh1$w_fileprot fh1$r_fileprot_overlay.fh1$w_fileprot #define fh1$v_syspro fh1$r_fileprot_overlay.fh1$r_fileprot_bits.fh1$v_syspro #define fh1$v_ownpro fh1$r_fileprot_overlay.fh1$r_fileprot_bits.fh1$v_ownpro #define fh1$v_grouppro fh1$r_fileprot_overlay.fh1$r_fileprot_bits.fh1$v_grouppro #define fh1$v_worldpro fh1$r_fileprot_overlay.fh1$r_fileprot_bits.fh1$v_worldpro #define fh1$w_filechar fh1$r_filechar_overlay.fh1$w_filechar #define fh1$b_userchar fh1$r_filechar_overlay.fh1$r_filechar_fields.fh1$r_userchar_overlay.fh1$b_userchar #define fh1$v_wascontig fh1$r_filechar_overlay.fh1$r_filechar_fields.fh1$r_userchar_overlay.fh1$r_userchar_bits.fh1$v_wascontig #define fh1$v_nobackup fh1$r_filechar_overlay.fh1$r_filechar_fields.fh1$r_userchar_overlay.fh1$r_userchar_bits.fh1$v_nobackup #define fh1$v_readcheck fh1$r_filechar_overlay.fh1$r_filechar_fields.fh1$r_userchar_overlay.fh1$r_userchar_bits.fh1$v_readcheck #define fh1$v_writcheck fh1$r_filechar_overlay.fh1$r_filechar_fields.fh1$r_userchar_overlay.fh1$r_userchar_bits.fh1$v_writcheck #define fh1$v_contigb fh1$r_filechar_overlay.fh1$r_filechar_fields.fh1$r_userchar_overlay.fh1$r_userchar_bits.fh1$v_contigb #define fh1$v_locked fh1$r_filechar_overlay.fh1$r_filechar_fields.fh1$r_userchar_overlay.fh1$r_userchar_bits.fh1$v_locked #define fh1$v_contig fh1$r_filechar_overlay.fh1$r_filechar_fields.fh1$r_userchar_overlay.fh1$r_userchar_bits.fh1$v_contig #define fh1$b_syschar fh1$r_filechar_overlay.fh1$r_filechar_fields.fh1$r_syschar_overlay.fh1$b_syschar #define fh1$v_spool fh1$r_filechar_overlay.fh1$r_filechar_fields.fh1$r_syschar_overlay.fh1$r_syschar_bits.fh1$v_spool #define fh1$v_badblock fh1$r_filechar_overlay.fh1$r_filechar_fields.fh1$r_syschar_overlay.fh1$r_syschar_bits.fh1$v_badblock #define fh1$v_markdel fh1$r_filechar_overlay.fh1$r_filechar_fields.fh1$r_syschar_overlay.fh1$r_syschar_bits.fh1$v_markdel #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 /* __FH1DEF_LOADED */