X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/212380e3f42f585dc1ea927402252eb943f91f7b..fcda56627d08f75aa3dba0a557dbce38f3bfd42a:/include/monitor.h diff --git a/include/monitor.h b/include/monitor.h index 5e0eb49..102fe7e 100644 --- a/include/monitor.h +++ b/include/monitor.h @@ -10,17 +10,21 @@ #ifndef INCLUDED_monitor_h #define INCLUDED_monitor_h +struct rb_bh; + struct monitor { struct monitor *hnext; char name[NICKLEN]; - dlink_list users; + rb_dlink_list users; }; -extern BlockHeap *monitor_heap; +extern struct monitor *monitorTable[]; -#define MONITOR_HASH_SIZE 65536 #define MONITOR_HASH_BITS 16 +#define MONITOR_HASH_SIZE (1<