1: /* vmhsbr.h - definitions for the vmh protocol */
   2: 
   3: 
   4: #define RC_VRSN 1
   5: 
   6: struct record {
   7:     struct rcheader {
   8:     char    rh_type;    /* type of record */
   9: #define RC_INI  0x01        /* must be greater than OK */
  10: #define RC_ACK  0x02
  11: #define RC_ERR  0x03
  12: #define RC_CMD  0x04
  13: #define RC_QRY  0x05
  14: #define RC_TTY  0x06
  15: #define RC_WIN  0x07
  16: #define RC_DATA 0x08
  17: #define RC_EOF  0x09
  18: #define RC_FIN  0x0a
  19: #define RC_XXX  0x0b
  20: 
  21:     int     rh_len;     /* length of data */
  22:     }       rc_header;
  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
  27: 
  28:     char    *rc_data;       /* extensible array */
  29: };
  30: #define initrc(rc)  rc -> rc_data = NULL
  31: 
  32: 
  33: int rcinit (), rcdone (), rc2rc (), str2rc (), peer2rc (), rc2peer (),
  34:     str2peer (), fmt2peer (), err2peer ();

Defined struct's

rcheader defined in line 7; never used
record defined in line 6; used 52 times

Defined macros

RC_CMD defined in line 12; used 1 times
RC_DATA defined in line 16; used 3 times
RC_EOF defined in line 17; used 13 times
RC_ERR defined in line 11; used 34 times
RC_FIN defined in line 18; used 5 times
RC_INI defined in line 9; used 1 times
RC_QRY defined in line 13; used 3 times
RC_TTY defined in line 14; used 2 times
RC_WIN defined in line 15; used 3 times
RC_XXX defined in line 19; used 1 times
RHSIZE defined in line 24; used 4 times
rc_head defined in line 23; used 2 times
rc_len defined in line 26; used 24 times
rc_type defined in line 25; used 6 times

Usage of this include

Last modified: 1985-10-23
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 1186
Valid CSS Valid XHTML 1.0 Strict