/* +------------------------------------+ * | Inspire Internet Relay Chat Daemon | * +------------------------------------+ * * InspIRCd: (C) 2002-2010 InspIRCd Development Team * See: http://wiki.inspircd.org/Credits * * This program is free but copyrighted software; see * the file COPYING for details. * * --------------------------------------------------- */ #ifndef M_SPANNINGTREE_LINK_H #define M_SPANNINGTREE_LINK_H class Link : public refcountbase { public: reference tag; irc::string Name; std::string IPAddr; int Port; std::string SendPass; std::string RecvPass; std::string Fingerprint; std::string AllowMask; bool HiddenFromStats; std::string Hook; int Timeout; std::string Bind; bool Hidden; Link(ConfigTag* Tag) : tag(Tag) {} }; class Autoconnect : public refcountbase { public: reference tag; std::vector servers; unsigned long Period; time_t NextConnectTime; /** Negative == inactive */ int position; Autoconnect(ConfigTag* Tag) : tag(Tag) {} }; #endif