/********************************************************************************************************************************/ /* Created: 9-Mar-2021 22:28:05 by OpenVMS SDL EV3-3 */ /* Source: 09-MAR-2021 22:28:01 $1$DGA8085:[STARLET_H.SRC]STARDEFFL.SDI;1 */ /********************************************************************************************************************************/ /*** MODULE $FIDDEF ***/ #ifndef __FIDDEF_LOADED #define __FIDDEF_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 /* */ /* 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_SECURITY 10 /* SECURITY FILE */ #define FID$C_GPT 11 /* GPT FILE */ #define FID$C_FREFIL 10 /* FREE SPACE FILE */ #ifdef __NEW_STARLET typedef 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 */ /* FILE ID'S OF THE RESERVED FILES */ } 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; } FIDDEF; #if !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) */ #else /* __OLD_STARLET */ 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 */ /* FILE ID'S OF THE RESERVED FILES */ } 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) #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) */ #endif /* #ifdef __NEW_STARLET */ #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 /* __FIDDEF_LOADED */