]> jfr.im git - irc/rqf/shadowircd.git/blame - include/monitor.h
[svn] - the new plan:
[irc/rqf/shadowircd.git] / include / monitor.h
CommitLineData
212380e3 1/*
2 * ircd-ratbox: an advanced Internet Relay Chat Daemon(ircd).
3 * monitor.h: Code for server-side notify lists.
4 *
5 * Copyright (C) 2005 Lee Hardy <lee -at- leeh.co.uk>
6 * Copyright (C) 2005 ircd-ratbox development team
7 *
8 * $Id: monitor.h 6 2005-09-10 01:02:21Z nenolod $
9 */
10#ifndef INCLUDED_monitor_h
11#define INCLUDED_monitor_h
12
13struct monitor
14{
15 struct monitor *hnext;
16 char name[NICKLEN];
17 dlink_list users;
18};
19
20extern BlockHeap *monitor_heap;
21
22#define MONITOR_HASH_SIZE 65536
23#define MONITOR_HASH_BITS 16
24
25void init_monitor(void);
26struct monitor *find_monitor(const char *name, int add);
27void clear_monitor(struct Client *);
28
29void monitor_signon(struct Client *);
30void monitor_signoff(struct Client *);
31
32#endif