--- ray/src/hd/rhdisp.h 1997/10/31 10:23:29 3.1 +++ ray/src/hd/rhdisp.h 1997/11/10 18:04:20 3.3 @@ -4,23 +4,23 @@ /* * Header for holodeck display drivers. - * Include after "rholo.h". */ /* display requests */ -#define DR_NEWSET 1 /* new bundle set */ -#define DR_BUNDLE 2 /* bundle request */ -#define DR_ATTEN 3 /* request for attention */ -#define DR_SHUTDOWN 4 /* shutdown request */ +#define DR_BUNDLE 1 /* bundle request */ +#define DR_ATTEN 2 /* request for attention */ +#define DR_SHUTDOWN 3 /* shutdown request */ +#define DR_NEWSET 4 /* new bundle set */ #define DR_ADDSET 5 /* add to current set */ #define DR_DELSET 6 /* delete from current set */ /* server responses */ -#define DS_IMMSET 1 /* immediate bundle set */ -#define DS_BUNDLE 2 /* computed bundle */ -#define DS_ACKNOW 3 /* acknowledge request for attention */ -#define DS_SHUTDOWN 4 /* end process and close connection */ -#define DS_ADDHOLO 5 /* register new holodeck */ +#define DS_BUNDLE 7 /* computed bundle */ +#define DS_ACKNOW 8 /* acknowledge request for attention */ +#define DS_SHUTDOWN 9 /* end process and close connection */ +#define DS_ADDHOLO 10 /* register new holodeck */ +#define DS_STARTIMM 11 /* begin immediate bundle set */ +#define DS_ENDIMM 12 /* end immediate bundle set */ /* * Normally, the server channel has priority, with the display process @@ -32,35 +32,11 @@ * Priority returns to normal after the following request. */ +#ifndef BIGREQSIZ +#define BIGREQSIZ 512 /* big request size (bytes) */ +#endif + typedef struct { int2 type; /* message type */ int4 nbytes; /* number of additional bytes */ } MSGHEAD; /* message head */ - - /* display request message bodies */ - - /* DR_NEWSET */ -/* no body */ - /* DR_BUNDLE */ -#define BUNDLE_REQ PACKHEAD - /* DR_ENDSET */ -/* no body */ - /* DR_SHUTDOWN */ -/* no body */ - /* DR_ADDSET */ -/* no body */ - - /* server response message bodies */ - - /* DS_STARTIMM */ -/* no body */ - /* DS_BUNDLE */ -#define BUNDLE_RES PACKHEAD /* extendable */ - /* DS_ENDIMM */ -/* no body */ - /* DS_SHUTDOWN */ -/* no body */ - /* DS_ADDHOLO */ -#define HOLO_RES HDGRID - /* DS_ACKNOW */ -/* no body */