* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA
*
- * $Id: blacklist.h 2023 2006-09-02 23:47:27Z jilles $
*/
#ifndef _BLACKLIST_H_
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 */
struct Blacklist *blacklist;
struct Client *client_p;
struct DNSQuery dns_query;
- dlink_node node;
+ rb_dlink_node node;
};
/* public interfaces */
void unref_blacklist(struct Blacklist *blptr);
void destroy_blacklists(void);
-extern dlink_list blacklist_list;
+extern rb_dlink_list blacklist_list;
#endif