-- File:  [Indigo]<Grapevine>ItemRegistry.txt
-- Last edited by Levin:  March 2, 1981 6:07 pm PST
-- Last edited by Andrew Birrell:  29 June 1983 3:39 pm PDT (Wednesday)
-- Willie-Sue, February 13, 1985 1:06:07 pm PST

-- This file is the registry of item types used by the Grapevine system and
-- its clients, including Laurel.  The comments that accompany each item type
-- are for the convenience of the maintainer and are not intended to represent
-- documentation.  (Someday, this may become a Mesa definitions file.  However,
-- that would put it at the compilation base of the Grapevine world, which we
-- would rather not do at present.)

-- Grapevine/Client communication.

PostMark	=	10B		-- the item contains a timestamp giving the
					-- originating host and approximate time at
					-- which the message was given to the
					-- transport mechanism.

Sender	=	20B		-- the item contains precisely one R-Name,
					-- being that of the sender of this message.

ReturnTo	=	30B		-- the item contains precisely one R-Name,
					-- being that of the client to whom
					-- non-delivery of the message should be
					-- notified.

Recipients	=	40B		-- the item contains a sequence of R-Names,
					-- being the intended recipients of this
					-- message, as provided by the sender.

-- Client/Client communication.

Text		=	1010B		-- the item contains a sequence of characters
					-- forming a textual message.
Tioga1	=	1013B		-- Tioga1 formatting information
Tioga2	=	1014B		-- Tioga2 formatting information

WalnutLog	=	1015B		-- Walnut log entries

Capability	=	1020B		-- the item contains a capability.

Audio	=	1030B		-- the item is an audio message.

Smalltalk	=	1040B		-- Smalltalk-80:
-- 1040B		Smalltalk text formatting runs
-- 1041B		Smalltalk ID (client generated Postmark)
-- 1044B		Compressed bitmap image (CAIS format)
   -- We have specified, but not yet implemented the following codes:
-- 1042B		Letter reference
-- 1043B		File reference
-- 1045B		Smalltalk code
-- Item types 1046B - 1057B are reserved for future use

lastSmallTalk	=	1057B		-- They have [1040B .. 1060B)

Interlisp	=	1060B		-- Interlisp: ask Bill van Melle
lastInterlisp	=	1077B		-- They have [1060B .. 1100B)

GGW = 1100B		-- GV/NS Mail Gateway
lastGGW = 1117B		-- They have [1100B .. 1120B)

Cedar = 1120B		-- Cedar: unused as yet
lastCedar = 1137B	--  Cedar has [1120B .. 1140B)

Voice = 1140B		-- Voice: ask Dan Swinehart
lastVoice = 1147B		-- Voice has [1140B .. 1150B)

-- Grapevine internal communication.

updateItem	=	2000B		-- the item contains a registration server entry.

reMail	=	2100B		-- the item is internal mail to a mail server,
					-- containing precisely one R-Name,
					-- indicating that the corresponding mailbox
					-- should be re-mailed.


-- Client internal use.

msgAttributes =	3000B		-- the item is followed by 32 't or 'f,
					-- indicating that some possible attribute
					-- for a message is on or off.  The current
					-- attributes include:
					--	bit 0:  deleted
					--	bit 1:  examined
					--	bit 2:  this message has no body
					--	bit 3:  message has been answered
					--	bit 4..7: reserved
					--	bit 8..bit31: 't indicates that message is a
					--	  member of Class (bit-8).

msgClasses	=	3001B		-- the item is followed by a sequence of
					-- (class number: class name) pairs.
-- Special.

LastItem	=	177777B	-- the item contains no data, and always
					-- occurs as the last item in a message body.