X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/212380e3f42f585dc1ea927402252eb943f91f7b..dbb537badf9b08dadf6e842412cb54ba15249025:/include/reject.h diff --git a/include/reject.h b/include/reject.h index 4e1bc41..2a36f9a 100644 --- a/include/reject.h +++ b/include/reject.h @@ -21,7 +21,7 @@ * USA * * - * $Id: reject.h 6 2005-09-10 01:02:21Z nenolod $ + * $Id: reject.h 3446 2007-05-14 22:21:16Z jilles $ */ #ifndef INCLUDED_reject_h #define INCLUDED_reject_h @@ -29,12 +29,17 @@ /* amount of time to delay a rejected clients exit */ #define DELAYED_EXIT_TIME 10 -extern dlink_list delay_exit; +extern rb_dlink_list delay_exit; void init_reject(void); int check_reject(struct Client *); -void add_reject(struct Client *); +void add_reject(struct Client *, const char *mask1, const char *mask2); void flush_reject(void); -int remove_reject(const char *ip); +int remove_reject_ip(const char *ip); +int remove_reject_mask(const char *mask1, const char *mask2); + +int add_unknown_ip(struct Client *client_p); +void del_unknown_ip(struct Client *client_p); + #endif