]> git.netwichtig.de Git - user/henk/code/inspircd.git/blob - src/modules/m_spanningtree/link.h
9941939eb0f54f6b0db0e1c1c7321a7c0e886f92
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / link.h
1 #ifndef __LINK_H__
2 #define __LINK_H__
3
4 /** The Link class might as well be a struct,
5  * but this is C++ and we don't believe in structs (!).
6  * It holds the entire information of one <link>
7  * tag from the main config file. We maintain a list
8  * of them, and populate the list on rehash/load.
9  */
10 class Link : public classbase
11 {
12  public:
13         irc::string Name;
14         std::string IPAddr;
15         int Port;
16         std::string SendPass;
17         std::string RecvPass;
18         unsigned long AutoConnect;
19         time_t NextConnectTime;
20         bool HiddenFromStats;
21         std::string FailOver;
22         std::string Hook;
23         int Timeout;
24         std::string Bind;
25 };
26
27 #endif