]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree/link.h
Include explicit routing information in Command, will replace CMD_LOCALONLY return...
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / link.h
index 9636d565f1ed11b9592375228d2cf3e14e1973b3..4805f978ca01c3da25f9e80584a84c71292276f8 100644 (file)
@@ -1 +1,43 @@
-/*       +------------------------------------+\r *       | Inspire Internet Relay Chat Daemon |\r *       +------------------------------------+\r *\r *  InspIRCd: (C) 2002-2007 InspIRCd Development Team\r * See: http://www.inspircd.org/wiki/index.php/Credits\r *\r * This program is free but copyrighted software; see\r *            the file COPYING for details.\r *\r * ---------------------------------------------------\r */\r\r#ifndef __LINK_H__\r#define __LINK_H__\r\r/** The Link class might as well be a struct,\r * but this is C++ and we don't believe in structs (!).\r * It holds the entire information of one <link>\r * tag from the main config file. We maintain a list\r * of them, and populate the list on rehash/load.\r */\rclass Link : public classbase\r{\r public:\r irc::string Name;\r      std::string IPAddr;\r    int Port;\r      std::string SendPass;\r  std::string RecvPass;\r  std::string AllowMask;\r unsigned long AutoConnect;\r     time_t NextConnectTime;\r        bool HiddenFromStats;\r  std::string FailOver;\r  std::string Hook;\r      int Timeout;\r   std::string Bind;\r      bool Hidden;\r};\r\r#endif\r
\ No newline at end of file
+/*       +------------------------------------+
+ *       | Inspire Internet Relay Chat Daemon |
+ *       +------------------------------------+
+ *
+ *  InspIRCd: (C) 2002-2009 InspIRCd Development Team
+ * See: http://wiki.inspircd.org/Credits
+ *
+ * This program is free but copyrighted software; see
+ *            the file COPYING for details.
+ *
+ * ---------------------------------------------------
+ */
+
+#ifndef __LINK_H__
+#define __LINK_H__
+
+/** The Link class might as well be a struct,
+ * but this is C++ and we don't believe in structs (!).
+ * It holds the entire information of one <link>
+ * tag from the main config file. We maintain a list
+ * of them, and populate the list on rehash/load.
+ */
+class Link : public classbase
+{
+ public:
+       irc::string Name;
+       std::string IPAddr;
+       int Port;
+       std::string SendPass;
+       std::string RecvPass;
+       std::string Fingerprint;
+       std::string AllowMask;
+       unsigned long AutoConnect;
+       time_t NextConnectTime;
+       bool HiddenFromStats;
+       std::string FailOver;
+       std::string Hook;
+       int Timeout;
+       std::string Bind;
+       bool Hidden;
+};
+
+#endif