comparison rvinterf/lowlevel/client.h @ 176:7f727aaf5cd4

rvinterf: beginning of server implementation
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sat, 23 Nov 2013 07:40:13 +0000
parents
children fef035264dd4
comparison
equal deleted inserted replaced
175:2f214bd03119 176:7f727aaf5cd4
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 struct client **backptr;
13 int fd;
14 int rx_state;
15 u_char rx_buf[LOCALSOCK_MAX_MSG];
16 int rx_msglen;
17 u_char *rx_ptr;
18 int rx_left;
19 int int_rvt_count;
20 u32 int_rvt_mask[MAX_RVT_INTEREST];
21 u32 int_rvt_match[MAX_RVT_INTEREST];
22 char int_proto[8];
23 };