/********************************************************************************************************************************/ /* 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 $INITDEF ***/ #ifndef __INITDEF_LOADED #define __INITDEF_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 /* */ /* Values for INIT$_DENSITY item code. */ /* */ #define INIT$K_DENSITY_800_BPI 1 /* 800 bpi tape */ #define INIT$K_DENSITY_1600_BPI 2 /* 1600 bpi tape */ #define INIT$K_DENSITY_6250_BPI 3 /* 6250 bpi tape */ #define INIT$K_DENSITY_SINGLE_DISK 4 /* Single-density RX02 */ #define INIT$K_DENSITY_DOUBLE_DISK 5 /* RX33 or double-density RX02 */ #define INIT$K_DENSITY_DD_DISK 6 /* "Double density" (lower than "High Density") */ #define INIT$K_DENSITY_HD_DISK 7 /* High density diskette */ #define INIT$K_DENSITY_COMPACT 8 /* TA90 with data compaction on */ #define INIT$K_DENSITY_ED_DISK 9 /* New density for RX26 */ /* */ /* Values for INIT$_HOMEBLOCKS item code. */ /* */ #define INIT$K_HOMEBLOCKS_GEOMETRY 1 /* geometry dependent */ #define INIT$K_HOMEBLOCKS_FIXED 2 /* fixed position */ #define INIT$K_HOMEBLOCKS_CONTIGUOUS 3 /* contiguous */ /* */ /* Item codes for $INIT_VOL parameters. */ /* */ #ifdef __NEW_STARLET typedef struct _badblocks_lbn_def { unsigned int init$l_badblocks_lbn; /* LBN of first block */ unsigned int init$l_badblocks_lbn_count; /* Count of blocks to be marked */ } BADBLOCKS_LBN_DEF; #else /* __OLD_STARLET */ struct badblocks_lbn_def { unsigned int init$l_badblocks_lbn; /* LBN of first block */ unsigned int init$l_badblocks_lbn_count; /* Count of blocks to be marked */ } ; #endif /* #ifdef __NEW_STARLET */ #ifdef __NEW_STARLET typedef struct _badblocks_sec_def { unsigned int init$l_badblocks_sector; /* Sector of first block */ unsigned int init$l_badblocks_sec_count; /* Count of blocks to be marked */ unsigned int init$l_badblocks_track; /* Track of first block */ unsigned int init$l_badblocks_cylinder; /* Cylinder of first block */ } BADBLOCKS_SEC_DEF; #else /* __OLD_STARLET */ struct badblocks_sec_def { unsigned int init$l_badblocks_sector; /* Sector of first block */ unsigned int init$l_badblocks_sec_count; /* Count of blocks to be marked */ unsigned int init$l_badblocks_track; /* Track of first block */ unsigned int init$l_badblocks_cylinder; /* Cylinder of first block */ } ; #endif /* #ifdef __NEW_STARLET */ /* Define codes as constants */ #define INIT$_ACCESSED 1 /* Number of directories in system space */ #define INIT$_BADBLOCKS_LBN 2 /* Bad block areas by logical block number */ #define INIT$_BADBLOCKS_SEC 3 /* Bad block areas by sector, track, cylinder */ #define INIT$_CLUSTERSIZE 4 /* Minimum allocation unit */ #define INIT$_COMPACTION 5 /* Data compaction for TA90 */ #define INIT$_NO_COMPACTION 6 /* No data compaction */ #define INIT$_DENSITY 7 /* Format */ #define INIT$_DIRECTORIES 8 /* Preallocated entries for directories */ #define INIT$_ERASE 9 /* Destroy data on volume */ #define INIT$_NO_ERASE 10 /* Do not destroy data on volume */ #define INIT$_EXTENSION 11 /* Default extension size for files */ #define INIT$_FPROT 12 /* Default protection for files */ #define INIT$_HEADERS 13 /* Number of file headers for index file */ #define INIT$_HIGHWATER 14 /* Set the file highwater mark attribute */ #define INIT$_NO_HIGHWATER 15 /* Do not set the file highwater mark attribute */ #define INIT$_INDEX_BEGINNING 16 /* Place index file at beginning of volume */ #define INIT$_INDEX_BLOCK 17 /* LBN for index file */ #define INIT$_INDEX_END 18 /* Place index file at end of volume */ #define INIT$_INDEX_MIDDLE 19 /* Place index file at middle of volume */ #define INIT$_INTERCHANGE 20 /* Do not write VMS-specific information */ #define INIT$_NO_INTERCHANGE 21 /* Write VMS-specific information */ #define INIT$_LABEL_ACCESS 22 /* Character for ANSI accessability field */ #define INIT$_LABEL_VOLO 23 /* Text for ANSI owner ID field */ #define INIT$_MAXFILES 24 /* Maximum number of files on volume */ #define INIT$_OVR_ACCESS 25 /* Override ANSI accessability field */ #define INIT$_NO_OVR_ACCESS 26 /* Do not override ANSI accessability field */ #define INIT$_OVR_EXP 27 /* Override expiration date */ #define INIT$_NO_OVR_EXP 28 /* Do not override expiration date */ #define INIT$_OVR_VOLO 29 /* Override ANSI owner ID field */ #define INIT$_NO_OVR_VOLO 30 /* Do not override ANSI owner ID field */ #define INIT$_OWNER 31 /* UIC for volume */ #define INIT$_READCHECK 32 /* Check all read operations */ #define INIT$_NO_READCHECK 33 /* Do not check all read operations */ #define INIT$_SIZE 34 /* Size of RAM disk */ #define INIT$_STRUCTURE_LEVEL_1 35 /* Format in Files-11 level 1 */ #define INIT$_STRUCTURE_LEVEL_2 36 /* Format in Files-11 level 2 */ #define INIT$_STRUCTURE_LEVEL_2_SUB_0 37 /* Format in subset of Files-11 level 2 */ #define INIT$_USER_NAME 38 /* User name for volume */ #define INIT$_VERIFIED 39 /* Use bad block data on volume */ #define INIT$_NO_VERIFIED 40 /* Ignore bad block data on volume */ #define INIT$_VPROT 41 /* Volume protection */ #define INIT$_WINDOW 42 /* Number of mapping pointers for file windows */ #define INIT$_WRITECHECK 43 /* Check all write operations */ #define INIT$_NO_WRITECHECK 44 /* Do not check all write operations */ #define INIT$_MIN_CLASS 45 /* Minimum security classfication */ #define INIT$_MAX_CLASS 46 /* Maximum security classfication */ #define INIT$_NO_PROTECTION 47 /* No default security classification */ #define INIT$_HOMEBLOCKS 48 /* Homeblock placement strategy to use */ #define INIT$_STRUCTURE_LEVEL_5 49 /* Format in Files-11 level 5 */ #define INIT$_SHADOW 50 /* Format disks with Shadowing SCBs */ #define INIT$_HARDLINKS 51 /* Use a linkcount in creating files (ODS-5 only) */ #define INIT$_ACCESS_DATES 52 /* Use access dates for attributes (ODS-5 only) */ #define INIT$_SPARE 53 #define INIT$_VOLUME_LIMIT 54 /* Maximum logical volume size */ #define INIT$_GPT 55 /* Create a GUID Partition Table Structure. */ #define INIT$_NO_GPT 56 /* Do not create a GPT */ #define INIT$_ERASE_ON_DELETE 57 /* Set HM2$V_ERASE bit */ #define INIT$_ERASE_ON_INIT 58 /* Perform DSE erase now */ #define INIT$_STRUCTURE_LEVEL_6 59 /* Format in Files-11 level 6 (CFS container) */ #define INIT$_LOGSIZE 60 /* CFS log file size */ #define INIT$_SPECIAL_FILES 61 /* Volume supports special files (ODS-5 only) */ #define INIT$_NO_SPECIAL_FILES 62 /* Volume does not support special files */ #define INIT$_LAST_INIT_ITEM 63 /* Note add all new INIT items before this one. */ #define INIT$_MAX_ITEM_CODE 62 /* Maximum item code. */ #define INIT$S_USER_NAME 12 /* Max size of user name on volume */ #define INIT$S_DEVICE_NAME 64 /* Max size of device names */ #define INIT$C_MIN_SECURITY_BLKCNT 6 /* Min size of SECURITY.SYS */ #define INIT$C_MIN_GPT_BLKCNT 34 /* Min size of GPT.SYS */ #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 /* __INITDEF_LOADED */