comparison rvinterf/lowlevel/client.h @ 0:e7502631a0f9

initial import from freecalypso-sw rev 1033:5ab737ac3ad7
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 11 Jun 2016 00:13:35 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:e7502631a0f9
1 /*
2 * The structure defined in this header file is malloced in rvinterf
3 * for every client program connection.
4 */
5
6 #define MAX_RVT_INTEREST 4
7
8 typedef unsigned u32;
9
10 struct client {
11 struct client *next;
12 int fd;
13 int rx_state;
14 u_char rx_buf[LOCALSOCK_MAX_MSG];
15 int rx_msglen;
16 u_char *rx_ptr;
17 int rx_left;
18 int int_rvt_count;
19 u32 int_rvt_mask[MAX_RVT_INTEREST];
20 u32 int_rvt_match[MAX_RVT_INTEREST];
21 char int_proto[12];
22 };