/********************************************************************************************************************************/ /* Created: 15-MAR-2001 23:37:56 by OpenVMS SDL EV1-33 */ /* Source: 15-MAR-2001 23:34:06 _$11$DUA933:[BUILD.SDL]STARDEFAE.SDI;1 */ /********************************************************************************************************************************/ /*** MODULE $DIBDEF ***/ #ifndef __DIBDEF_LOADED #define __DIBDEF_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 /*+ */ /* DEVICE INFORMATION BLOCK DEFINITIONS */ /*- */ #define DIB$K_LENGTH 116 /*LENGTH OF TOTAL BUFFER */ #define DIB$C_LENGTH 116 /*LENGTH OF TOTAL BUFFER */ struct dibdef { unsigned int dib$l_devchar; /*DEVICE CHARACTERISTICS */ unsigned char dib$b_devclass; /*DEVICE CLASS */ unsigned char dib$b_devtype; /*DEVICE TYPE */ unsigned short int dib$w_devbufsiz; /*DEVICE BUFFER SIZE */ __union { unsigned int dib$l_devdepend; /*DEVICE DEPENDENT INFORMATION */ __struct { unsigned char dib$b_sectors; /*(DISK ONLY) SECTORS PER TRACK */ unsigned char dib$b_tracks; /* " TRACKS PER CYLINDER */ unsigned short int dib$w_cylinders; /* " NUMBER OF CYLINDERS */ } dib$r_devdepend_fields; } dib$r_devdepend_overlay; unsigned short int dib$w_unit; /*DEVICE UNIT NUMBER */ unsigned short int dib$w_devnamoff; /*OFFSET TO DEVICE NAME COUNTED STRING */ unsigned int dib$l_pid; /*DEVICE OWNER PROCESS IDENTIFICATION */ unsigned int dib$l_ownuic; /*DEVICE OWNER USER IDENTIFICATION CODE */ unsigned short int dib$w_vprot; /*DEVICE PROTECTION MASK */ unsigned short int dib$w_errcnt; /*DEVICE ERROR COUNT */ unsigned int dib$l_opcnt; /*DEVICE OPERATIONS COUNT */ unsigned short int dib$w_volnamoff; /*OFFSET TO VOLUME LABEL COUNTED STRING */ unsigned short int dib$w_recsiz; /*BLOCKED RECORD SIZE */ char dib$t_devname [76]; /*SPACE FOR DEVNAME AND LABEL (64+12) */ unsigned int dib$l_maxblock; /*DISK VOLUME SIZE IN BLOCKS */ } ; #if !defined(__VAXC) && !defined(VAXC) #define dib$l_devdepend dib$r_devdepend_overlay.dib$l_devdepend #define dib$b_sectors dib$r_devdepend_overlay.dib$r_devdepend_fields.dib$b_sectors #define dib$b_tracks dib$r_devdepend_overlay.dib$r_devdepend_fields.dib$b_tracks #define dib$w_cylinders dib$r_devdepend_overlay.dib$r_devdepend_fields.dib$w_cylinders #endif /* #if !defined(__VAXC) && !defined(VAXC) */ #ifdef __cplusplus } #endif #pragma standard #endif /* __DIBDEF_LOADED */