# $XConsortium: PredefinedAtoms /main/9 1996/12/30 09:41:41 swick $
#
# Copyright (c) 1996  X Consortium
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, publish,
# distribute, sublicense, and sell copies of the Software, and to
# permit persons to whom the Software is furnished to do so, subject to
# the following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
# IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR
# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
# OTHER DEALINGS IN THE SOFTWARE.
#
# Except as contained in this notice, the name of the X Consortium shall
# not be used in advertising or otherwise to promote the sale, use or
# other dealings in this Software without prior written authorization
# from the X Consortium.
#
# Copyright (c) 1996 Digital Equipment Corporation
# 
# Digital Equipment Corporation makes no representations about
# the suitability of this Software for any purpose.  The Software
# is provided "as is" without express or implied warranty.
# 
# 
# @SUN_COPYRIGHT@
# 
# 
# Predefined Atoms
#
# CHANGES TO THIS FILE IMPLY A PROTOCOL CHANGE.
#
# Atoms are defined here in one of two "partitions":
# Protocol Parse constants are designated "Parse",
# Server constants are designated "Server".
#
# To start or change to a partition start the line
# with one of the partition designations.
#
# Atom definitions follow a partition designation,
# and are defined with three strings separated 
# by white space - [ \n\t].
#
# The first string is used to define the String symbol 
# name. By convention this is prefaced with an XaN
#
# The second string is the Symbol used to define the
# Atom, by convention prefixed with an Xa{P,T,A}
#	 Depending on the purpose.
#
# The third string is the string associated
# with the atom.
#
# Thus:
#	XaNarray XaParray   array
# implies that XaParray is an atom associated with
# the string "array", and a program can use XaNarray
# to refer to the string "array".
#
# Partition designations can be intermixed.
#
# The Imakefile is set up so that this gets chewed on
# during the "includes" target. So if you make changes
# to this you'll have to do a "make includes" to have
# the changes propogated.


#
# Parse Atoms
#
Parse

XaParray 		XaAarray			XaParray
XaParrayPart		XaAarrayPart			XaParrayPart
XaPtype			XaAtype				XaPtype
XaPcollectionReplace	XaAcollectionReplace		XaPcollectionReplace
XaPcollectionAdd	XaAcollectionAdd		XaPcollectionAdd
XaPcollectionSubtract	XaAcollectionSubtract		XaPcollectionSubtract
XaPargList		XaAargList			XaPargList

#
# Server Atoms
#
Server

# Types
XaNtag			XaTtag				tag
XaNatom			XaTatom				atom

XaNbool			XaTbool				bool
XaNcard8		XaTcard8			card8
XaNint8			XaTint8				int8
XaNcard16		XaTcard16			card16
XaNint16		XaTint16			int16
XaNcard32		XaTcard32			card32
XaNint32		XaTint32			int32
XaNpointer		XaTpointer			pointer
XaNdefault		XaTdefault			default

# Classes
XaNobject		XaAobject			object
XaNattribute		XaAattribute			attribute
XaNformat		XaAformat			format
XaNbuffer		XaAbuffer			buffer
XaNdevice		XaAdevice			device
XaNport			XaAport				port
XaNmonitor		XaAmonitor			monitor
XaNkey			XaAkey				key
XaNaccess		XaAaccess			access
XaNextension		XaAextension			extension
XaNconnection		XaAconnection			connection
XaNcondition		XaAcondition			condition
XaNfile			XaAfile				file
XaNtagRange		XaAtagRange			tagRange
XaNclass		XaAclass			class

# Object
XaNclassID              XaAclassID                      classID
XaNname                 XaAname                         name
XaNmonitors             XaAmonitors                     monitors

# Format 
XaNencoding             XaAencoding                     encoding
XaNbigEndian            XaAbigEndian                    bigEndian
XaNbitsPerSample        XaAbitsPerSample  		bitsPerSample
XaNsampleRate           XaAsampleRate                   sampleRate
XaNnumChannels          XaAnumChannels                  numChannels

# Device 
XaNavailableFormats     XaAavailableFormats             availFormats
XaNgain                 XaAgain                         gain
XaNvolatileTime         XaAvolatileTime                 volatileTime
XaNvolatileSize         XaAvolatileSize                 volatileSize

# Key 
XaNauthName             XaAauthName                     authName
XaNauthData             XaAauthData                     authData
XaNactive               XaAactive                       active
XaNtrusted              XaAtrusted                      trusted

# Buffer 
XaNsupportedFormats     XaAsupportedFormats             supportedFormats
XaNlatestTime           XaAlatestTime                   latestTime
XaNearliestTime         XaAearliestTime                 earliestTime
XaNbufferSize           XaAbufferSize                   bufferSize
XaNdirection		XaAdirection			direction
XaNinputBuffers		XaAinputBuffers			inputBuffers
XaNoutputBuffers	XaAoutputBuffers		outputBuffers
XaNwallTime		XaAwallTime			wallTime
XaNdeviceTime		XaAdeviceTime			deviceTime
XaNlastAccessTime	XaAlastAccessTime		lastAccessTime
XaNoutput		XaAoutput			output
XaNinput		XaAinput			input

# Connection 
XaNdestroyOnClose       XaAdestroyOnClose               destroyOnClose
XaNclosed               XaAclosed                       closed
XaNsuspended            XaAsuspended                    suspended
XaNobjects              XaAobjects                      objects
XaNextensionsInUse      XaAextensionsInUse              extensionsInUse

# Encodings
XaNencodeLinear		XaAencodeLinear			encodeLinear
XaNencodeUlaw		XaAencodeUlaw			encodeUlaw
XaNencodeAlaw		XaAencodeAlaw			encodeAlaw
XaNencodefloat		XaAencodeFloat			encodeFloat
XaNencodeG721		XaAencodeG721 			encodeG721
XaNencodeG722		XaAencodeG722 			encodeG722
XaNencodeG723		XaAencodeG723 			encodeG723
XaNencodeDVI		XaAencodeDVI  			encodeDVI
XANencodeLinear8	XaAencodeLinear8 		encodeLinear8
XANencodeIMAADPCM	XaAencodeIMAADPCM 		encodeIMAADPCM
XANencodeMPEG		XaAencodeMPEG	 		encodeMPEG

# Endian
XaNendianBig	        XaAendianBig			endianBig
XaNendianSmall          XaAendianSmall			endianSmall

# Port
XaNcontinuity           XaAcontinuity                   continuity
XaNordered              XaAordered                      ordered
XaNsyncPolicy           XaAsyncPolicy                   syncPolicy
XaNoverflownAction      XaAoverflownAction              overflownAction
XaNunderflownAction     XaAunderflownAction             underflownAction
XaNrun	        	XaArun				run
XaNinputTimestamp	XaAinputTimestamp		inputTimestamp
XaNinputBufferTimestamp	XaAinputBufferTimestamp		inputBufferTimestamp
XaNoutputTimestamp	XaAoutputTimestamp		outputTimestamp
XaNoutputBufferTimestamp XaAoutputBufferTimestamp	outputBufferTimestamp

# Monitor
XaNeventType            XaAeventType                    eventType
XaNchanges              XaAchanges                      changes
XaNconditions           XaAconditions                   conditions
XaNfilters              XaAfilters                      filters
XaNretAttributes        XaAretAttributes                retAttributes

# Condition
XaNmonAttribute         XaAmonAttribute                 monAttribute
XaNcomparison           XaAcomparison                   comparison
XaNonTransition         XaAonTransition                 onTransition
XaNreference            XaAreference                    reference
XaNdelta                XaAdelta                        delta

# Event Types
XaNeventChange		XaAeventChange			eventChange
XaNeventCreate		XaAeventCreate			eventCreate
XaNeventDestroy		XaAeventDestroy			eventDestroy

# Condition Comparisons
XaNpositive             XaApositive                     positive
XaNnegative             XaAnegative                     negative
XaNequal                XaAequal                        equal
XaNnotEqual             XaAnotEqual                     notEqual

# File
XaNpathName	        XaApathName			pathName
XaNfileMode	        XaAfileMode			fileMode
XaNsamplesPerUnit       XaAsamplesPerUnit 		samplesPerUnit
XaNheaderSize           XaAheaderSize 		        headerSize
XaNdataSize             XaAdataSize 		        dataSize
XaNcurrentSample        XaAcurrentSample	        currentSample
XaNendian               XaAendian                       endian

# File Modes
XaNopenForRead          XaAopenForRead			openForRead
XaNopenForWrite         XaAopenForWrite			openForWrite

# TagRange
XaNempty		XaAempty			empty

# Class
XaNsuperClass		XaAsuperClass			superClass
XaNattributes		XaAattributes			attributes

