diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2003-01-26 23:56:19 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2003-01-26 23:56:19 +0000 |
commit | c63086da8768084125f7d5d83ec7f0d0211ea221 (patch) | |
tree | e9278f37eccf63fbced2c3fb24c8dd349aa2b58b /include/servers.h~ | |
parent | f81a2e12b09634cacd4ccf9da584c835ee71bf24 (diff) |
removed crappy temp files
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@152 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/servers.h~')
-rw-r--r-- | include/servers.h~ | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/include/servers.h~ b/include/servers.h~ deleted file mode 100644 index d8d7d6add..000000000 --- a/include/servers.h~ +++ /dev/null @@ -1,54 +0,0 @@ -/* - -$Log$ -Revision 1.1 2003/01/26 23:52:59 brain -Modified documentation for base classes -Added base classes - -Revision 1.1 2003/01/26 20:15:00 brain -Added server classes for linking - - -*/ - -#include "inspircd_config.h" -#include "connection.h" -#include <string> -#include <map.h> - -#ifndef __SERVERS_H__ -#define __SERVERS_H__ - -#define LINK_ACTIVE 1 -#define LINK_INACTIVE 0 - -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 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) - 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(); - void AddLeaf(serverrec *child); - void DelLeaf(string n); -}; - - - -typedef map<string, serverrec*> server_list; - -#endif - |