// PupMiscServ.decl

// Last modified March 5, 1979  5:47 PM by Boggs

manifest
[
// registered, well-known socket
psMiscServ = 4

// unused types: 262-377
// 204 & 205 are old Alto time protocol - Dont reuse until 1980.
// 245 & 246 are old boot directory protocol - dont reuse until 1980

// Time protocol
ptStringTimeRequest = 200b
ptStringTimeReply = 201b
ptTenexTimeRequest = 202b
ptTenexTimeReply = 203b
ptAltoTimeRequest = 206b
ptAltoTimeReply = 207b
ptTimeStatsRequest = 215b
ptTimeStatsReply = 216b
ptResetTimeRequest = 255b
ptResetTimeReply = 256b
ptLockTimeRequest = 217b
ptLockTimeReply = 227b

// Mail check protocol
ptMSGMailCheck = 210b
ptLaurelMailCheck = 214b
ptNewMailExists = 211b
ptNoNewMail = 212b
ptNoSuchMailBox = 213b

// Network Directory protocol
ptNetDirLookup = 220b
ptNetDirReply = 221b
ptNetDirError = 222b
ptNetDirVersion = 240b
ptSendNetDir = 241b
ptNetDirLookup1 = 223b
ptNetDirReply1 = 224b
ptNetDirStatsRequest = 225b
ptNetDirStatsReply = 226b
ptNetDirLockRequest = 235b
ptNetDirLockReply = 236b
ptNetDirUnlockRequest = 237b
ptNetDirUnlockReply = 261b

// Where Is User protocol
ptUserRequest = 230b
ptUserReply = 231b
ptUserError = 232b

// Boot protocol
ptBootFileRequest = 244b
ptBootDirRequest = 257b
ptBootDirReply = 260b
ptKissOfDeath = 247b
ptBootStatsRequest = 253b
ptBootStatsReply = 254b
ptBootLockRequest = 242b
ptBootLockReply = 243b
ptBootUnlockRequest = 233b
ptBootUnlockReply = 234b

// User Authentication protocol
ptAuthRequest = 250b
ptAuthPositive = 251b
ptAuthNegative = 252b
]

//----------------------------------------------------------------------------
structure MS:		// 'global frame' for the Miscellaneous Server
//----------------------------------------------------------------------------
[
zone word		// -> zone
ctxQ word		// -> ctxQ
soc word		// -> PupSoc
ctx word		// -> ctx
]
manifest lenMS = size MS/16