Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

servers.h

Go to the documentation of this file.
00001 /*
00002 
00003 
00004 */
00005 
00006 #include "inspircd_config.h" 
00007 #include "connection.h"
00008 #include <string>
00009 #include <map.h>
00010  
00011 #ifndef __SERVERS_H__ 
00012 #define __SERVERS_H__ 
00013  
00014 #define LINK_ACTIVE     1
00015 #define LINK_INACTIVE   0
00016 
00019 class serverrec : public connection
00020 {
00021  private:
00022  public:
00025         char name[MAXBUF];
00028         long pingtime;
00031         long usercount_i;
00034         long usercount;
00037         long opercount;
00040         int hops_away;
00043         long version;
00046         bool jupiter;
00047 
00050         serverrec();
00053         serverrec(char* n, long ver, bool jupe);
00056         ~serverrec();
00057 };
00058 
00059 
00060 
00061 typedef map<string, serverrec*> server_list;
00062 
00063 #endif
00064 

Generated on Sun Feb 9 12:48:16 2003 for InspIRCd by doxygen1.3-rc2