From 08e384bb24398224856c44baa51b51977644de9d Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 9 Feb 2003 12:49:00 +0000 Subject: Documentation update, 09/02/03 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@167 e03df62e-2008-0410-955e-edbf42e46eb7 --- docs/module-doc/servers_8h-source.html | 93 ++++++++++++++-------------------- 1 file changed, 38 insertions(+), 55 deletions(-) (limited to 'docs/module-doc/servers_8h-source.html') diff --git a/docs/module-doc/servers_8h-source.html b/docs/module-doc/servers_8h-source.html index ff90f5eac..ef55e9cde 100644 --- a/docs/module-doc/servers_8h-source.html +++ b/docs/module-doc/servers_8h-source.html @@ -8,62 +8,45 @@ 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 $Log$
-00003 Revision 1.3  2003/01/27 00:28:57  brain
-00003 ...
 00003 
-00004 Revision 1.2  2003/01/26 23:52:59  brain
-00005 Modified documentation for base classes
-00006 Added base classes
-00007 
-00008 Revision 1.1  2003/01/26 20:15:00  brain
-00009 Added server classes for linking
-00010 
-00011 
-00012 */
-00013 
-00014 #include "inspircd_config.h" 
-00015 #include "connection.h"
-00016 #include <string>
-00017 #include <map.h>
-00018  
-00019 #ifndef __SERVERS_H__ 
-00020 #define __SERVERS_H__ 
-00021  
-00022 #define LINK_ACTIVE     1
-00023 #define LINK_INACTIVE   0
-00024 
-00025 class serverrec : public connection
-00026 {
-00027  private:
-00028         map<string, serverrec*> leaf; // list of child servers (leaves)
-00029  public:
-00030         char name[MAXBUF];      // server name
-00031         int pingtime;           // last ping response (ms)
-00032         int linktype;           // link type, LINK_ACTIVE or LINK_INACTIVE
-00033         time_t lastping;        // time the link was last pinged
-00034         long usercount_i;       // invisible users on server
-00035         long usercount;         // non-invisible users on server
-00036         long opercount;         // opers on server
-00037         time_t connected_at;    // time server was connected into the network
-00038         time_t hops_away;       // number of hops away (for quick access)
-00039         long version;           // ircd version
-00040         bool jupiter;           // is a JUPE server (faked to enforce a server ban)
-00041 
-00042         serverrec();
-00043         serverrec(char* n, int link_t,  long ver, bool jupe);
-00044         ~serverrec();
-00045         void AddLeaf(serverrec *child);
-00046         void DelLeaf(string n);
-00047 };
-00048 
-00049 
-00050 
-00051 typedef map<string, serverrec*> server_list;
-00052 
-00053 #endif
-00054 
-

Generated on Mon Jan 27 00:23:11 2003 for InspIRCd by +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
-- cgit v1.2.3