]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - include/blacklist.h
Update TODO.
[irc/rqf/shadowircd.git] / include / blacklist.h
index ce3aec4d68ff40f6a9c011c447a9edf3463e63f7..0569d5265586f7af1ab16eeb7d9729c49a63cdf2 100644 (file)
@@ -29,7 +29,7 @@
 struct Blacklist {
        unsigned int status;    /* If CONF_ILLEGAL, delete when no clients */
        int refcount;
-       char host[HOSTLEN];
+       char host[IRCD_RES_HOSTLEN + 1];
        char reject_reason[IRCD_BUFSIZE];
        unsigned int hits;
        time_t lastwarning;
@@ -40,7 +40,7 @@ struct BlacklistClient {
        struct Blacklist *blacklist;
        struct Client *client_p;
        struct DNSQuery dns_query;
-       dlink_node node;
+       rb_dlink_node node;
 };
 
 /* public interfaces */
@@ -50,6 +50,6 @@ void abort_blacklist_queries(struct Client *client_p);
 void unref_blacklist(struct Blacklist *blptr);
 void destroy_blacklists(void);
 
-extern dlink_list blacklist_list;
+extern rb_dlink_list blacklist_list;
 
 #endif