/* Copyright 1989, 1990, 1992 Digital Equipment Corporation All rights reserved. This software is furnished under a license and may be used and copied only in accordance with the terms of such license and with the inclusion of the above copyright notice. This software and any copies shall not be provided to any other person. No title to or ownership of the software is hereby transferred. The information in this software is subject to change without notice. DIGITAL assumes no responsibility for the use, functionality or reliability of its software on equipment which is not supplied by DIGITAL. fcsfhb.h PDP-11 C FCS File Header Block definitions */ #ifndef __PDP11C$FCSFHB_H #define __PDP11C$FCSFHB_H #define FCS$FP$DEL (000010) #define FCS$FP$EXT (000004) #define FCS$FP$RDV (000001) #define FCS$FP$WRV (000002) #define FCS$H$CKSM (000776) #define FCS$H$FCHA (000014) #define FCS$H$FLEV (000006) #define FCS$H$FNUM (000002) #define FCS$H$FOWN (000010) #define FCS$H$FPRO (000012) #define FCS$H$FSEQ (000004) #define FCS$H$IDOF (000000) #define FCS$H$MPOF (000001) #define FCS$H$PROG (000010) #define FCS$H$PROJ (000011) #define FCS$H$SCHA (000015) #define FCS$H$UCHA (000014) #define FCS$H$UFAT (000016) #define FCS$I$CRDT (000031) #define FCS$I$CRTI (000040) #define FCS$I$DASZ (000007) #define FCS$I$EXDT (000046) #define FCS$I$FNAM (000000) #define FCS$I$FTYP (000006) #define FCS$I$FVER (000010) #define FCS$I$RVDT (000014) #define FCS$I$RVNO (000012) #define FCS$I$RVTI (000023) #define FCS$I$TISZ (000006) #define FCS$M$CTSZ (000006) #define FCS$M$EFNU (000002) #define FCS$M$EFSQ (000004) #define FCS$M$ERVN (000001) #define FCS$M$ESQN (000000) #define FCS$M$LBSZ (000007) #define FCS$M$MAX (000011) #define FCS$M$RTRV (000012) #define FCS$M$USE (000010) #define FCS$S$HDHD (000056) #define FCS$S$IDHD (000056) #define FCS$S$MPHD (000012) #define FCS$SC$BAD (000100) #define FCS$SC$DIR (000040) #define FCS$SC$MDL (000200) #define FCS$SC$SPL (000020) #define FCS$UC$CNB (000040) #define FCS$UC$CON (000200) #define FCS$UC$DLK (000100) #define FCS$UC$NIB (000002) #define FCS$UC$RCK (000010) #define FCS$UC$WBC (000004) #define FCS$UC$WCK (000020) typedef struct { unsigned char fcs$h$idof; /* Identification area offset in words */ unsigned char fcs$h$mpof; /* Map area offset in words */ short fcs$h$fnum; /* File number */ short fcs$h$fseq; /* File sequence number */ short fcs$h$flev; /* Structure level and system number */ unsigned char fcs$h$prog; /* Member number */ unsigned char fcs$h$proj; /* Group number */ short fcs$h$fpro; /* File protection code */ unsigned char fcs$h$ucha; /* User-controlled file characteristics */ unsigned char fcs$h$scha; /* System-controlled file characteristics */ unsigned char fcs$h$ufat[32]; /* User file attributes */ short fcs$i$fnam[3]; /* File name (Radix-50 */ short fcs$i$ftyp; /* File type (Radix-50 */ short fcs$i$fver; /* File version number (binary) */ short fcs$i$rvno; /* Revision number */ unsigned char fcs$i$rvdt[7]; /* Revision time */ unsigned char fcs$i$rvti[6]; /* Revision date */ unsigned char fcs$i$crdt[7]; /* Creation date */ unsigned char fcs$i$crti[6]; /* Creation time */ unsigned char fcs$i$exdt[7]; /* Expiration date */ unsigned char fcs$i$; /* To round up to word boundry */ unsigned char fcs$m$esqn; /* Extension segment number */ unsigned char fcs$m$ervn; /* Extension relative volume number */ short fcs$m$efnu; /* Extension file number */ short fcs$m$efsq; /* extension file sequence number */ unsigned char fcs$m$ctsz; /* Size (in bytes) of the block count field of a retrieval pointer (1 or 2) */ unsigned char fcs$m$lbsz; /* Size (in bytes) of the logical block number field of a retrieval pointer (2,3, or 4) */ unsigned char fcs$m$use; /* Words of retrieval pointers in use in the map area */ unsigned char fcs$m$max; /* Maximum number of words of retrieval pointers available in the map area */ void *fcs$m$rtrv[204];/* Retrieval pointers */ short fcs$h$cksm; /* Checksum of words 0-255 */ } fcs$fhb; #endif