X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=include%2FIPcheck.h;h=493ef4367fe0812721d0136ac6bfb68d8e73f106;hb=a36ad5e29241b0c89379947b13887cb6930ef3e0;hp=c5eb32dce32565b6a898ee0abeed45bfc8d4322e;hpb=9b1f5beca29ec78141f19a19d689f0f7cc3fe3ac;p=ircu2.10.12-pk.git diff --git a/include/IPcheck.h b/include/IPcheck.h index c5eb32d..493ef43 100644 --- a/include/IPcheck.h +++ b/include/IPcheck.h @@ -1,7 +1,6 @@ -/* - * IPcheck.h - * - * $Id$ +/** @file IPcheck.h + * @brief Interface to count users connected from particular IP addresses. + * @version $Id$ */ #ifndef INCLUDED_ipcheck_h #define INCLUDED_ipcheck_h @@ -19,7 +18,7 @@ struct irc_in_addr; */ extern void IPcheck_init(void); extern int IPcheck_local_connect(const struct irc_in_addr *ip, time_t *next_target_out); -extern void IPcheck_connect_fail(const struct irc_in_addr *ip); +extern void IPcheck_connect_fail(const struct Client *cptr); extern void IPcheck_connect_succeeded(struct Client *cptr); extern int IPcheck_remote_connect(struct Client *cptr, int is_burst); extern void IPcheck_disconnect(struct Client *cptr);