X-Git-Url: https://jfr.im/git/solanum.git/blobdiff_plain/a1f535de14fc041a8ee1a9cc8002a30e1ec2cef8..272af6a505831a25601a07b93b0cec98846e2749:/include/monitor.h?ds=sidebyside diff --git a/include/monitor.h b/include/monitor.h index ea4590a7..0e70653c 100644 --- a/include/monitor.h +++ b/include/monitor.h @@ -1,27 +1,24 @@ -/* +/* * 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<