diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2003-02-02 16:43:53 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2003-02-02 16:43:53 +0000 |
commit | 8cc90ca14d84ef8ec83989de45854a2c7855ee4f (patch) | |
tree | 771a440c41b57f043119decee41e4fcaac3ba12a /include/servers.h | |
parent | 6e442fdbe3e2bebea9049399163698f4a892f685 (diff) |
Added first part of server linking code
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@160 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/servers.h')
-rw-r--r-- | include/servers.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/include/servers.h b/include/servers.h index 876b54566..fc271b37e 100644 --- a/include/servers.h +++ b/include/servers.h @@ -17,25 +17,19 @@ class serverrec : public connection { private: - map<string, serverrec*> leaf; // list of child servers (leaves) public: char name[MAXBUF]; // server name - int pingtime; // last ping response (ms) - int linktype; // link type, LINK_ACTIVE or LINK_INACTIVE - time_t lastping; // time the link was last pinged + long pingtime; // last ping response (ms) long usercount_i; // invisible users on server long usercount; // non-invisible users on server long opercount; // opers on server - time_t connected_at; // time server was connected into the network - time_t hops_away; // number of hops away (for quick access) + int hops_away; // number of hops away (for quick access) long version; // ircd version bool jupiter; // is a JUPE server (faked to enforce a server ban) serverrec(); - serverrec(char* n, int link_t, long ver, bool jupe); + serverrec(char* n, long ver, bool jupe); ~serverrec(); - void AddLeaf(serverrec *child); - void DelLeaf(string n); }; |