Oberon || Library || Module Index || Search Engine || Definition || Module


Ulm's Oberon Library:
NeWSSysTokens


NAME

NeWSSysTokens - list of NeWS system tokens

SYNOPSIS

CONST numberOfTokens = 250;
CONST maxtokenlen = 21;
TYPE TokenName = ARRAY maxtokenlen + 1 OF CHAR;
TYPE SysToken =
   RECORD
      name: TokenName;
      group: SHORTINT;
      code: INTEGER;
   END;
VAR systoken: ARRAY numberOfTokens OF SysToken;

DESCRIPTION

NeWSSysTokens is automatically derived from /usr/openwin/include/NeWS/systokenlist and contains the list of system tokens of the current NeWS protocol version. System codes may be passed in an encoded form to the NeWS server.

systoken contains all system tokens together with their group and code:

group 0
one byte encoding: 0B0H + code
group 1
two byte encoding: 0A6H and code

FILES

/usr/openwin/include/NeWS/systokenlist
original list of system tokens

SEE ALSO

NeWS
interface to the NeWS server

LIBRARY

NeWSSysTokens is part of the NeWS-library, i.e. +lNeWS must be specified for mmo.
Edited by: borchert, last change: 1992/04/22, revision: 1.2, converted to HTML: 1997/04/28

Oberon || Library || Module Index || Search Engine || Definition || Module