]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - include/reject.h
'lip' added in LocalUser struct
[irc/rqf/shadowircd.git] / include / reject.h
index 4e1bc41405f910daef89947cb551e0e334d12089..2a36f9a36b6e1f83ca58194f127268119dfe01d2 100644 (file)
@@ -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
 /* 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