]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - include/blacklist.h
Fix a typo in configure (glad it was only a minor typo in the help text)
[irc/rqf/shadowircd.git] / include / blacklist.h
index 2fde255e905b94a7d28a6a733d84550e86b5efa4..0569d5265586f7af1ab16eeb7d9729c49a63cdf2 100644 (file)
 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;
 };
 
 /* A lookup in progress for a particular DNSBL for a particular client */
@@ -39,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 */
@@ -49,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