comparison listener.h @ 13:db2c8e6fb284

Fixed stupid agentfwd error (using the listening FD, not the accepted on. gah)
author Matt Johnston <matt@ucc.asn.au>
date Thu, 03 Jun 2004 18:08:34 +0000
parents 7f77962de998
children 20563735e8b5
comparison
equal deleted inserted replaced
12:7a37cff27258 13:db2c8e6fb284
19 19
20 void *typedata; 20 void *typedata;
21 21
22 }; 22 };
23 23
24 void listener_initialise(); 24 void listeners_initialise();
25 void handle_listeners(fd_set * readfds); 25 void handle_listeners(fd_set * readfds);
26 void set_listener_fds(fd_set * readfds); 26 void set_listener_fds(fd_set * readfds);
27 27
28 struct Listener* new_listener(int sock, int type, void* typedata, 28 struct Listener* new_listener(int sock, int type, void* typedata,
29 void (*accepter)(struct Listener*), 29 void (*accepter)(struct Listener*),