/[svn]/ircd-hybrid/branches/8.2.x/include/monitor.h
ViewVC logotype

Contents of /ircd-hybrid/branches/8.2.x/include/monitor.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 9771 - (show annotations)
Wed Dec 2 20:00:01 2020 UTC (6 weeks, 4 days ago) by michael
File MIME type: text/x-csrc
File size: 1895 byte(s)
- monitor.h: update comment

1 /*
2 * ircd-hybrid: an advanced, lightweight Internet Relay Chat Daemon (ircd)
3 *
4 * Copyright (c) 1997 Jukka Santala (Donwulff)
5 * Copyright (c) 2005-2020 ircd-hybrid development team
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
20 * USA
21 */
22
23 /*! \file monitor.h
24 * \brief Header including structures and prototypes for MONITOR support
25 * \version $Id$
26 */
27
28 #ifndef INCLUDED_monitor_h
29 #define INCLUDED_monitor_h
30
31
32 /*! \brief Monitor structure */
33 struct Monitor
34 {
35 dlink_node node; /**< List node; linked into monitor_hash */
36 dlink_list monitored_by; /**< List of clients that have this entry on their monitor list */
37 unsigned int hash_value; /**< Cached hash value derived from Monitor::name */
38 char *name; /**< Name of the client to monitor */
39 };
40
41 extern void monitor_signon(const struct Client *);
42 extern void monitor_signoff(const struct Client *);
43 extern bool monitor_add_to_hash_table(const char *, struct Client *);
44 extern void monitor_del_from_hash_table(const char *, struct Client *);
45 extern void monitor_clear_list(struct Client *);
46 extern void monitor_count_memory(unsigned int *const, size_t *const);
47 extern struct Monitor *monitor_find_hash(const char *);
48 #endif /* INCLUDED_monitor_h */

Properties

Name Value
svn:eol-style native
svn:keywords Id

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.28