]> jfr.im git - irc/quakenet/newserv.git/blobdiff - patricia/patricia.h
CHANSERV: tell user when they can't attempts to auth any more, and drop max attempts...
[irc/quakenet/newserv.git] / patricia / patricia.h
index ab7093625b95783da32ef92488bd533fcd2d9b5b..b67408d06d0ddcc6d256a578ca6ca122576d84e9 100644 (file)
@@ -42,7 +42,7 @@ typedef void (*void_fn_t)();
 
 /* { from mrt.h */
 
-#define PATRICIA_MAXSLOTS 5
+#define PATRICIA_MAXSLOTS 
 
 
 typedef struct _prefix_t {
@@ -98,6 +98,7 @@ void releasenodeext(int index);
 
 void node_increment_usercount( patricia_node_t *node);
 void node_decrement_usercount( patricia_node_t *node);
+int is_normalized_ipmask( struct irc_in_addr *sin, unsigned char bitlen );
 
 /* alloc */
 void freeprefix (prefix_t *prefix);