|
|
1 # define INBUF_SIZE 2048
2 # define OUTBUF_SIZE 8192
3 # define BINBUF_SIZE 8192
4
5 typedef struct _connection_ connection;
6
7 extern bool conn_init P((int, unsigned int, unsigned int));
8 extern void conn_finish P((void));
9 extern void conn_listen P((void));
10 extern connection *conn_tnew P((void));
11 extern connection *conn_bnew P((void));
12 extern void conn_udp P((connection*));
13 extern void conn_del P((connection*));
14 extern void conn_block P((connection*, int));
15 extern int conn_select P((Uint, unsigned int));
16 extern int conn_read P((connection*, char*, unsigned int));
17 extern int conn_udpread P((connection*, char*, unsigned int));
18 extern int conn_write P((connection*, char*, unsigned int));
19 extern int conn_udpwrite P((connection*, char*, unsigned int));
20 extern bool conn_wrdone P((connection*));
21 extern char *conn_ipnum P((connection*));
22 extern char *conn_ipname P((connection*));
23
24 extern bool comm_init P((int, unsigned int, unsigned int));
25 extern void comm_finish P((void));
26 extern void comm_listen P((void));
27 extern int comm_send P((object*, string*));
28 extern int comm_udpsend P((object*, string*));
29 extern bool comm_echo P((object*, int));
30 extern void comm_flush P((void));
31 extern void comm_block P((object*, int));
32 extern void comm_receive P((frame*, Uint, unsigned int));
33 extern string *comm_ip_number P((object*));
34 extern string *comm_ip_name P((object*));
35 extern void comm_close P((frame*, object*));
36 extern object *comm_user P((void));
37 extern array *comm_users P((dataspace*));
38
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more
information.