]> git.netwichtig.de Git - user/henk/code/inspircd.git/blob - src/modules/m_spanningtree/link.h
Add <autoconnect> blocks [jackmcbarn]
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / link.h
1 /*       +------------------------------------+
2  *       | Inspire Internet Relay Chat Daemon |
3  *       +------------------------------------+
4  *
5  *  InspIRCd: (C) 2002-2009 InspIRCd Development Team
6  * See: http://wiki.inspircd.org/Credits
7  *
8  * This program is free but copyrighted software; see
9  *            the file COPYING for details.
10  *
11  * ---------------------------------------------------
12  */
13
14 #ifndef __LINK_H__
15 #define __LINK_H__
16
17 /** The Link class might as well be a struct,
18  * but this is C++ and we don't believe in structs (!).
19  * It holds the entire information of one <link>
20  * tag from the main config file. We maintain a list
21  * of them, and populate the list on rehash/load.
22  */
23 class Link : public classbase
24 {
25  public:
26         irc::string Name;
27         std::string IPAddr;
28         int Port;
29         std::string SendPass;
30         std::string RecvPass;
31         std::string Fingerprint;
32         std::string AllowMask;
33         bool HiddenFromStats;
34         std::string Hook;
35         int Timeout;
36         std::string Bind;
37         bool Hidden;
38 };
39
40 #endif