X-Git-Url: https://jfr.im/git/solanum.git/blobdiff_plain/423f18a07367928b7d7b64afc157b67d88b1e6b5..64c9f5093f62dc051922a5adc06ffc9229503aab:/include/monitor.h diff --git a/include/monitor.h b/include/monitor.h index 56974e07..0e70653c 100644 --- a/include/monitor.h +++ b/include/monitor.h @@ -1,33 +1,31 @@ -/* +/* * ircd-ratbox: an advanced Internet Relay Chat Daemon(ircd). * monitor.h: Code for server-side notify lists. * * Copyright (C) 2005 Lee Hardy * Copyright (C) 2005 ircd-ratbox development team - * - * $Id: monitor.h 6 2005-09-10 01:02:21Z nenolod $ */ #ifndef INCLUDED_monitor_h #define INCLUDED_monitor_h -struct BlockHeap; +struct rb_bh; struct monitor { - struct monitor *hnext; char name[NICKLEN]; rb_dlink_list users; + rb_dlink_node node; + unsigned int hashv; }; -extern struct monitor *monitorTable[]; - -#define MONITOR_HASH_BITS 16 +#define MONITOR_HASH_BITS 16 #define MONITOR_HASH_SIZE (1<