/********************************************************************************************************************************/ /* Created: 15-MAR-2001 23:37:58 by OpenVMS SDL EV1-33 */ /* Source: 15-MAR-2001 23:34:09 _$11$DUA933:[BUILD.SDL]STARDEFFL.SDI;1 */ /********************************************************************************************************************************/ /*** MODULE $FIDDEF ***/ #ifndef __FIDDEF_LOADED #define __FIDDEF_LOADED 1 #pragma nostandard #ifdef __cplusplus extern "C" { #define __unknown_params ... #else #define __unknown_params #endif #if !defined(__VAXC) && !defined(VAXC) #define __struct struct #define __union union #else #define __struct variant_struct #define __union variant_union #endif /* */ /* STRUCTURE OF A FILE ID (FID) */ /* */ #define FID$K_LENGTH 6 #define FID$C_LENGTH 6 #define FID$C_INDEXF 1 /* INDEX FILE */ #define FID$C_BITMAP 2 /* STORAGE MAP FILE */ #define FID$C_BADBLK 3 /* BAD BLOCK FILE */ #define FID$C_MFD 4 /* MASTER FILE DIRECTORY */ #define FID$C_CORIMG 5 /* CORE IMAGE FILE */ #define FID$C_VOLSET 6 /* VOLUME SET LIST FILE */ #define FID$C_CONTIN 7 /* STANRARD CONTINUATION FILE */ #define FID$C_BACKUP 8 /* BACKUP LOG FILE */ #define FID$C_BADLOG 9 /* BAD BLOCK LOG FILE */ #define FID$C_FREFIL 10 /* FREE SPACE FILE */ struct fiddef { __union { unsigned short int fid$w_fid [3]; /* File Identification Number */ __struct { unsigned short int fid$w_num; /* FILE NUMBER */ unsigned short int fid$w_seq; /* FILE SEQUENCE NUMBER */ __union { unsigned short int fid$w_rvn; /* RELATIVE VOLUME NUMBER */ __struct { unsigned char fid$b_rvn; /* BYTE FORM OF RVN */ unsigned char fid$b_nmx; /* FILE NUMBER EXTENSION */ } fid$r_rvn_fields; } fid$r_rvn_overlay; } fid$r_fid_fields; __struct { /* File ID fields for ISO 9660 */ unsigned short int fid$w_dirnum; /* Directory number of File-Id */ unsigned int fid$l_recnum; /* Record number of File-ID */ } fid$r_iso_9660_fields; } fid$r_fid_overlay; } ; #if !defined(__VAXC) && !defined(VAXC) #define fid$w_fid fid$r_fid_overlay.fid$w_fid #define fid$w_num fid$r_fid_overlay.fid$r_fid_fields.fid$w_num #define fid$w_seq fid$r_fid_overlay.fid$r_fid_fields.fid$w_seq #define fid$w_rvn fid$r_fid_overlay.fid$r_fid_fields.fid$r_rvn_overlay.fid$w_rvn #define fid$b_rvn fid$r_fid_overlay.fid$r_fid_fields.fid$r_rvn_overlay.fid$r_rvn_fields.fid$b_rvn #define fid$b_nmx fid$r_fid_overlay.fid$r_fid_fields.fid$r_rvn_overlay.fid$r_rvn_fields.fid$b_nmx #define fid$w_dirnum fid$r_fid_overlay.fid$r_iso_9660_fields.fid$w_dirnum #define fid$l_recnum fid$r_fid_overlay.fid$r_iso_9660_fields.fid$l_recnum #endif /* #if !defined(__VAXC) && !defined(VAXC) */ #ifdef __cplusplus } #endif #pragma standard #endif /* __FIDDEF_LOADED */