1 /* vmhsbr.h - definitions for the vmh protocol */
8 char rh_type; /* type of record */
9 #define RC_INI 0x01 /* must be greater than OK */
21 int rh_len; /* length of data */
23 #define rc_head(rc) (&rc -> rc_header)
24 #define RHSIZE(rc) (sizeof rc -> rc_header)
25 #define rc_type rc_header.rh_type
26 #define rc_len rc_header.rh_len
28 char *rc_data; /* extensible array */
30 #define initrc(rc) rc -> rc_data = NULL
33 int rcinit (), rcdone (), rc2rc (), str2rc (), peer2rc (), rc2peer (),
34 str2peer (), fmt2peer (), err2peer ();