// IFSSystemInfo.decl - Structure of <System>Info and other special files
// Copyright Xerox Corporation 1981, 1982
// Last modified October 3, 1982  2:20 PM by Taft


manifest
[
// Assignment of pages in <System>Info
biPage = 1		// BI (BackupInfo) structure -- see IFSBackup.decl
spPage = 2		// SysParams structure
msPage = 4		// MS (MailSystem) structure -- see IfsMail.decl
gnPage = 6		// GN (GroupName) structure -- see IfsGroupName.bcpl

// The following don't really belong here.
// They should be moved to a "temporary VMem" file when one is implemented.
mePage = 3		// Memory errors -- see IfsMemoryErrors.bcpl
difPage = 5		// DIF cache -- see IfsCachedDIF.bcpl
dePage = 7		// Disk errors -- see IfsDiskErrors.bcpl
]

//----------------------------------------------------------------------------
structure SysParams:	// format of spPage of <System>Info
//----------------------------------------------------------------------------
[
maxJobs word		// Maximum number of simultaneous IFS jobs
clockCorrection word	// Correction to apply to Alto clock (seconds/day)
enableTimeServ word	// True to enable Time server
enableNameServ word	// True to enable Name server
enableBootServ word	// True to enable Boot server
enablePress word	// True to enable Press printing
enableLeaf word		// True to enable Leaf server
enableCopyDisk word	// True to enable CopyDisk server
noNewBootFiles word	// True to disable boot server's obtaining new files
enablePasswordLog word	// True to enable password logging hack
runFileCreated word 2	// Time at which Ifs.run file was created
ifsStartTime word 2	// Time of most recent restart
enableGrapevineAuth word  // True to enable Grapevine authentication
enableGrapevineGroup word  // True to enable Grapevine group membership
defaultRegistry word 20	// Default registry for Grapevine authentication
enableLookupFileServ word // True to enable LookupFile server
]

//----------------------------------------------------------------------------
structure ErrRec:	// IFS error file record
//----------------------------------------------------------------------------
[
length word		// length in words
ifsEc word		// IFS error code (same as in IFS.errors)
ftpEc word		// FTP error code
errorString word
]
manifest
[
lenErrRecHeader = offset ErrRec.errorString/16
maxLenErrRec = 128 + lenErrRecHeader
]