6 #ifndef INCLUDED_ipcheck_h
7 #define INCLUDED_ipcheck_h
9 #ifndef INCLUDED_sys_types_h
10 #include <sys/types.h> /* time_t, size_t */
11 #define INCLUDED_sys_types_h
13 #ifndef INCLUDED_netinet_in_h
14 #include <netinet/in.h> /* in_addr */
15 #define INCLUDED_netinet_in_h
23 extern void IPcheck_init(void);
24 extern int IPcheck_local_connect(struct in_addr ip, time_t* next_target_out);
25 extern void IPcheck_connect_fail(struct in_addr ip);
26 extern void IPcheck_connect_succeeded(struct Client *cptr);
27 extern int IPcheck_remote_connect(struct Client *cptr, int is_burst);
28 extern void IPcheck_disconnect(struct Client *cptr);
29 extern unsigned short IPcheck_nr(struct Client* cptr);
31 #endif /* INCLUDED_ipcheck_h */