diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/protocol.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/protocol.h b/include/protocol.h index 16e347ad2..44013a1ca 100644 --- a/include/protocol.h +++ b/include/protocol.h @@ -20,6 +20,18 @@ class InspIRCd; typedef std::deque<std::string> parameterlist; +class ProtoServer +{ + public: + std::string servername; + std::string parentname; + unsigned int usercount; + unsigned int opercount; + unsigned int latencyms; +}; + +typedef std::list<ProtoServer> ProtoServerList; + class ProtocolInterface : public Extensible { protected: @@ -60,6 +72,8 @@ class ProtocolInterface : public Extensible virtual void SendUserPrivmsg(User* target, const std::string &text) { } virtual void SendUserNotice(User* target, const std::string &text) { } + + virtual void GetServerList(ProtoServerList &sl) { } }; #endif |