X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/08d11e34cc17e3045231729d87025a0cfa598f54..015b28a06cf017c43b286728feedcf32281039c2:/include/monitor.h diff --git a/include/monitor.h b/include/monitor.h index f052cb3..102fe7e 100644 --- a/include/monitor.h +++ b/include/monitor.h @@ -10,6 +10,8 @@ #ifndef INCLUDED_monitor_h #define INCLUDED_monitor_h +struct rb_bh; + struct monitor { struct monitor *hnext; @@ -17,10 +19,12 @@ struct monitor 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<