--- ray/src/hd/rhdisp.h 1997/10/31 10:23:29 3.1 +++ ray/src/hd/rhdisp.h 1997/11/03 18:33:12 3.2 @@ -8,19 +8,20 @@ */ /* 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 1 /* computed bundle */ +#define DS_ACKNOW 2 /* acknowledge request for attention */ +#define DS_SHUTDOWN 3 /* end process and close connection */ +#define DS_ADDHOLO 4 /* register new holodeck */ +#define DS_STARTIMM 5 /* begin immediate bundle set */ +#define DS_ENDIMM 6 /* end immediate bundle set */ /* * Normally, the server channel has priority, with the display process @@ -39,28 +40,30 @@ typedef struct { /* display request message bodies */ - /* DR_NEWSET */ -/* no body */ /* DR_BUNDLE */ #define BUNDLE_REQ PACKHEAD - /* DR_ENDSET */ + /* DR_ATTEN */ /* no body */ /* DR_SHUTDOWN */ /* no body */ + /* DR_NEWSET */ +/* body is nbytes/sizeof(BUNDLE_REQ) BUNDLE_REQ bodies */ /* DR_ADDSET */ -/* no body */ +/* body is nbytes/sizeof(PACKHEAD) BUNDLE_REQ bodies */ + /* DR_DELSET */ +/* body is nbytes/sizeof(PACKHEAD) BUNDLE_REQ bodies */ /* server response message bodies */ - /* DS_STARTIMM */ -/* no body */ /* DS_BUNDLE */ -#define BUNDLE_RES PACKHEAD /* extendable */ - /* DS_ENDIMM */ +#define BUNDLE_RES PACKHEAD /* followed by nr RAYVAL structs */ + /* DS_ACKNOW */ /* no body */ /* DS_SHUTDOWN */ /* no body */ /* DS_ADDHOLO */ #define HOLO_RES HDGRID - /* DS_ACKNOW */ + /* DS_STARTIMM */ +/* no body */ + /* DS_ENDIMM */ /* no body */