--- ray/src/hd/rhdisp.h 2003/02/22 02:07:24 3.13 +++ ray/src/hd/rhdisp.h 2003/07/14 22:24:00 3.15 @@ -1,8 +1,14 @@ -/* RCSid: $Id: rhdisp.h,v 3.13 2003/02/22 02:07:24 greg Exp $ */ +/* RCSid: $Id: rhdisp.h,v 3.15 2003/07/14 22:24:00 schorsch Exp $ */ /* * Header for holodeck display drivers. */ +#ifndef _RAD_RHDISP_H_ +#define _RAD_RHDISP_H_ +#ifdef __cplusplus +extern "C" { +#endif + /* display requests */ #define DR_NOOP 0 /* to release from vain DR_ATTEN */ #define DR_BUNDLE 1 /* lone bundle request */ @@ -42,8 +48,8 @@ #endif typedef struct { - int2 type; /* message type */ - int4 nbytes; /* number of additional bytes */ + int16 type; /* message type */ + int32 nbytes; /* number of additional bytes */ } MSGHEAD; /* message head */ /* @@ -59,3 +65,9 @@ typedef struct { * The standard output will always be available for writing, though it * may go to /dev/null. */ + +#ifdef __cplusplus +} +#endif +#endif /* _RAD_RHDISP_H_ */ +