/********************************************************************************************************************************/ /* Created: 15-MAR-2001 23:38:15 by OpenVMS SDL EV1-33 */ /* Source: 15-MAR-2001 23:34:21 _$11$DUA933:[BUILD.SDL]STARDEFQZ.SDI;1 */ /********************************************************************************************************************************/ /*** MODULE $USGDEF ***/ #ifndef __USGDEF_LOADED #define __USGDEF_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 /*+ */ /* Disk usage accounting file produced by ANALYZE/DISK_STRUCTURE utility. */ /*- */ #define USG$K_IDENT 1 /* Identification record */ #define USG$K_FILE 2 /* File record */ #define USG$K_IDENT_LEN 61 /* Length of IDENT record */ #define USG$C_IDENT_LEN 61 /* Length of IDENT record */ struct usgdef { unsigned char usg$b_type; /* Record type */ unsigned int usg$l_serialnum; /* Pack serial number */ char usg$t_strucname [12]; /* Volume set name */ char usg$t_volname [12]; /* Volume name */ char usg$t_ownername [12]; /* Volume owner name */ char usg$t_format [12]; /* Volume format type */ /* *** Preceding same as home block *** */ unsigned int usg$q_time [2]; /* Time usage file created */ } ; #define USG$K_FILE_LEN 1039 /* Maximum length of FILE record */ #define USG$C_FILE_LEN 1039 /* Maximum length of FILE record */ struct usgdef1 { char usgdef$$_fill_1; __union { unsigned int usg$l_fileowner; /* File owner UIC */ __struct { unsigned short int usg$w_uicmember; /* UIC member number */ unsigned short int usg$w_uicgroup; /* UIC group number */ } usg$r_fileowner_fields; } usg$r_fileowner_overlay; unsigned int usg$l_allocated; /* Blocks allocated, including headers */ unsigned int usg$l_used; /* Blocks used */ unsigned short int usg$w_dir_len; /* Length of directory string */ unsigned short int usg$w_spec_len; /* Length of complete file specification */ char usg$t_filespec [1022]; /* File spec "[dir]nam.typ;ver" */ } ; #if !defined(__VAXC) && !defined(VAXC) #define usg$l_fileowner usg$r_fileowner_overlay.usg$l_fileowner #define usg$w_uicmember usg$r_fileowner_overlay.usg$r_fileowner_fields.usg$w_uicmember #define usg$w_uicgroup usg$r_fileowner_overlay.usg$r_fileowner_fields.usg$w_uicgroup #endif /* #if !defined(__VAXC) && !defined(VAXC) */ #ifdef __cplusplus } #endif #pragma standard #endif /* __USGDEF_LOADED */