ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/include/s_bsd.h
(Generate patch)

Comparing ircd-hybrid-7.2/include/s_bsd.h (file contents):
Revision 34 by lusky, Sun Oct 2 21:05:51 2005 UTC vs.
Revision 999 by michael, Sun Aug 23 15:23:34 2009 UTC

# Line 25 | Line 25
25   #ifndef INCLUDED_s_bsd_h
26   #define INCLUDED_s_bsd_h
27  
28 < #include "setup.h"      
28 > #include "config.h"      
29   #include "fdlist.h"
30   #include "hook.h"
31  
# Line 38 | Line 38
38  
39   struct Client;
40   struct AccessItem;
41 – struct DNSReply;
41   struct Listener;
42  
43   extern struct Callback *setup_socket_cb;
44  
45 < extern void add_connection(struct Listener *, int);
45 > extern void add_connection(struct Listener *, struct irc_ssaddr *, int);
46   extern void close_connection(struct Client *);
47   extern int  connect_server(struct AccessItem *, struct Client *,
48                             struct DNSReply *);
# Line 63 | Line 62 | extern int comm_open(fde_t *F, int famil
62   extern int comm_accept(struct Listener *, struct irc_ssaddr *pn);
63  
64   /* These must be defined in the network IO loop code of your choice */
65 + extern void init_netio(void);
66   extern void comm_setselect(fde_t *, unsigned int, PF *, void *, time_t);
67   extern void init_comm(void);
68   extern int read_message (time_t, unsigned char);

Diff Legend

– Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)