/**/ /***************************************************************************/ /** **/ /** © 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 $FCHDEF ***/ #ifndef __FCHDEF_LOADED #define __FCHDEF_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 /*+ */ /* */ /* File characteristics bit definitions. These are identical to, and must */ /* track, the bits in FILECHAR above, but are defined relative to the file */ /* characteristics longword instead of relative to the file header. */ /* */ /*- */ #define FCH$M_VCC_STATE 0x700 #define FCH$M_ASSOCIATED 0x100000 #define FCH$M_EXISTENCE 0x200000 #define FCH$M_WASCONTIG 0x1 #define FCH$M_NOBACKUP 0x2 #define FCH$M_WRITEBACK 0x4 #define FCH$M_READCHECK 0x8 #define FCH$M_WRITCHECK 0x10 #define FCH$M_CONTIGB 0x20 #define FCH$M_LOCKED 0x40 #define FCH$M_CONTIG 0x80 #define FCH$M_BADACL 0x800 #define FCH$M_SPOOL 0x1000 #define FCH$M_DIRECTORY 0x2000 #define FCH$M_BADBLOCK 0x4000 #define FCH$M_MARKDEL 0x8000 #define FCH$M_NOCHARGE 0x10000 #define FCH$M_ERASE 0x20000 #define FCH$M_SHELVED 0x80000 #define FCH$M_SCRATCH 0x100000 #define FCH$M_NOMOVE 0x200000 #define FCH$M_NOSHELVABLE 0x400000 #define FCH$M_PRESHELVED 0x800000 #define FCH$S_FCHDEF 4 /* Old size name - synonym */ typedef struct _fch { __union { int fch$$_fill_1; __struct { unsigned fch$$_fill_31 : 8; /* reserved */ unsigned fch$v_vcc_state : 3; /* VCC state bits */ unsigned fch$$_fill_32 : 7; /* reserved */ /***********The following line is different from FH2 */ unsigned fch$$_alm_state : 2; /* ALM state bits removed */ unsigned fch$v_associated : 1; /* ISO 9660 Associated file */ unsigned fch$v_existence : 1; /* ISO 9660 Existence file */ unsigned fch$v_fill_6_ : 2; } fch$r_fill_1_chunks; __struct { unsigned fch$v_wascontig : 1; /* file was (and should be) contiguous */ unsigned fch$v_nobackup : 1; /* file is not to be backed up */ unsigned fch$v_writeback : 1; /* file may be write-back cached */ unsigned fch$v_readcheck : 1; /* verify all read operations */ unsigned fch$v_writcheck : 1; /* verify all write operations */ unsigned fch$v_contigb : 1; /* keep file as contiguous as possible */ unsigned fch$v_locked : 1; /* file is deaccess locked */ unsigned fch$v_contig : 1; /* file is contiguous */ unsigned fch$$_fill_3 : 3; /* reserved */ unsigned fch$v_badacl : 1; /* ACL is invalid */ unsigned fch$v_spool : 1; /* intermediate spool file */ unsigned fch$v_directory : 1; /* file is a directory */ unsigned fch$v_badblock : 1; /* file contains bad blocks */ unsigned fch$v_markdel : 1; /* file is marked for delete */ unsigned fch$v_nocharge : 1; /* file space is not to be charged */ unsigned fch$v_erase : 1; /* erase file contents before deletion */ /***********The following line is different from FH2 */ unsigned fch$$_fill_4 : 1; /* Place holder for ALM bit in FH2 */ unsigned fch$v_shelved : 1; /* File shelved */ unsigned fch$v_scratch : 1; /* Scratch Header used by movefile */ unsigned fch$v_nomove : 1; /* Disable movefile on this file */ unsigned fch$v_noshelvable : 1; /* File is not allowed to be shelved */ unsigned fch$v_preshelved : 1; /* File is shelved but also kept online */ /* Note: The high 8 bits of this longword */ /* are reserved for user and CSS use. */ } fch$r_fill_1_bits; } fch$r_fch_union; } FCH; #if !defined(__VAXC) #define fch$v_vcc_state fch$r_fch_union.fch$r_fill_1_chunks.fch$v_vcc_state #define fch$v_associated fch$r_fch_union.fch$r_fill_1_chunks.fch$v_associated #define fch$v_existence fch$r_fch_union.fch$r_fill_1_chunks.fch$v_existence #define fch$v_wascontig fch$r_fch_union.fch$r_fill_1_bits.fch$v_wascontig #define fch$v_nobackup fch$r_fch_union.fch$r_fill_1_bits.fch$v_nobackup #define fch$v_writeback fch$r_fch_union.fch$r_fill_1_bits.fch$v_writeback #define fch$v_readcheck fch$r_fch_union.fch$r_fill_1_bits.fch$v_readcheck #define fch$v_writcheck fch$r_fch_union.fch$r_fill_1_bits.fch$v_writcheck #define fch$v_contigb fch$r_fch_union.fch$r_fill_1_bits.fch$v_contigb #define fch$v_locked fch$r_fch_union.fch$r_fill_1_bits.fch$v_locked #define fch$v_contig fch$r_fch_union.fch$r_fill_1_bits.fch$v_contig #define fch$v_badacl fch$r_fch_union.fch$r_fill_1_bits.fch$v_badacl #define fch$v_spool fch$r_fch_union.fch$r_fill_1_bits.fch$v_spool #define fch$v_directory fch$r_fch_union.fch$r_fill_1_bits.fch$v_directory #define fch$v_badblock fch$r_fch_union.fch$r_fill_1_bits.fch$v_badblock #define fch$v_markdel fch$r_fch_union.fch$r_fill_1_bits.fch$v_markdel #define fch$v_nocharge fch$r_fch_union.fch$r_fill_1_bits.fch$v_nocharge #define fch$v_erase fch$r_fch_union.fch$r_fill_1_bits.fch$v_erase #define fch$v_shelved fch$r_fch_union.fch$r_fill_1_bits.fch$v_shelved #define fch$v_scratch fch$r_fch_union.fch$r_fill_1_bits.fch$v_scratch #define fch$v_nomove fch$r_fch_union.fch$r_fill_1_bits.fch$v_nomove #define fch$v_noshelvable fch$r_fch_union.fch$r_fill_1_bits.fch$v_noshelvable #define fch$v_preshelved fch$r_fch_union.fch$r_fill_1_bits.fch$v_preshelved #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 /* __FCHDEF_LOADED */