From d9b89849e032c9b114136274bdcb8be698e9a71c Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 27 Jan 2003 00:22:39 +0000 Subject: Modified documentation git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@155 e03df62e-2008-0410-955e-edbf42e46eb7 --- docs/module-doc/servers_8cpp-source.html | 118 ++++++++++++++++--------------- 1 file changed, 61 insertions(+), 57 deletions(-) (limited to 'docs/module-doc/servers_8cpp-source.html') diff --git a/docs/module-doc/servers_8cpp-source.html b/docs/module-doc/servers_8cpp-source.html index 8200748b3..9439d9aca 100644 --- a/docs/module-doc/servers_8cpp-source.html +++ b/docs/module-doc/servers_8cpp-source.html @@ -9,68 +9,72 @@

servers.cpp

Go to the documentation of this file.
00001 /*
 00002 
 00003 $Log$
-00003 Revision 1.1  2003/01/26 23:52:48  brain
-00003 Modified documentation for base classes
+00003 Revision 1.2  2003/01/27 00:22:39  brain
+00003 Modified documentation
 00003 
-00004 Revision 1.1  2003/01/26 20:15:03  brain
-00005 Added server classes for linking
-00006 
+00004 Revision 1.2  2003/01/26 23:53:03  brain
+00005 Modified documentation for base classes
+00006 Added base classes
 00007 
-00008 */
-00009 
-00010 #include "inspircd_config.h" 
-00011 #include "servers.h"
-00012 #include "inspircd.h"
-00013 #include <stdio.h>
-00014 #include <map.h>
-00015 
-00016 serverrec::serverrec()
-00017 {
-00018         leaf.clear();
-00019         strcpy(name,"");
-00020         pingtime = 0;
-00021         linktype = LINK_ACTIVE;
-00022         lastping = time(NULL);
-00023         usercount_i = usercount = opercount = version = 0;
-00024         hops_away = 1;
-00025         connected_at = time(NULL);
-00026         jupiter = false;
-00027         fd = 0;
-00028 }
-00029 
-00030  
-00031 serverrec::~serverrec()
-00032 {
-00033 }
-00034 
-00035 serverrec::serverrec(char* n, int link_t,  long ver, bool jupe)
+00008 Revision 1.1  2003/01/26 20:15:03  brain
+00009 Added server classes for linking
+00010 
+00011 
+00012 */
+00013 
+00014 #include "inspircd_config.h" 
+00015 #include "servers.h"
+00016 #include "inspircd.h"
+00017 #include <stdio.h>
+00018 #include <map.h>
+00019 
+00020 serverrec::serverrec()
+00021 {
+00022         leaf.clear();
+00023         strcpy(name,"");
+00024         pingtime = 0;
+00025         linktype = LINK_ACTIVE;
+00026         lastping = time(NULL);
+00027         usercount_i = usercount = opercount = version = 0;
+00028         hops_away = 1;
+00029         connected_at = time(NULL);
+00030         jupiter = false;
+00031         fd = 0;
+00032 }
+00033 
+00034  
+00035 serverrec::~serverrec()
 00036 {
-00037         leaf.clear();
-00038         strcpy(name,n);
-00039         linktype = link_t;
-00040         lastping = time(NULL);
-00041         usercount_i = usercount = opercount = 0;
-00042         version = ver;
-00043         hops_away = 1;
-00044         connected_at = time(NULL);
-00045         jupiter = jupe;
-00046         fd = 0;
-00047 }
-00048 
-00049 void serverrec::AddLeaf(serverrec *child)
-00050 {
-00051         leaf[child->name] = child;
-00052 }
-00053 
-00054 void serverrec::DelLeaf(string n)
-00055 {
-00056         server_list::iterator i = leaf.find(n);
+00037 }
+00038 
+00039 serverrec::serverrec(char* n, int link_t,  long ver, bool jupe)
+00040 {
+00041         leaf.clear();
+00042         strcpy(name,n);
+00043         linktype = link_t;
+00044         lastping = time(NULL);
+00045         usercount_i = usercount = opercount = 0;
+00046         version = ver;
+00047         hops_away = 1;
+00048         connected_at = time(NULL);
+00049         jupiter = jupe;
+00050         fd = 0;
+00051 }
+00052 
+00053 void serverrec::AddLeaf(serverrec *child)
+00054 {
+00055         leaf[child->name] = child;
+00056 }
 00057 
-00058         if (i != leaf.end())
-00059                 leaf.erase(i);
-00060 }
+00058 void serverrec::DelLeaf(string n)
+00059 {
+00060         server_list::iterator i = leaf.find(n);
 00061 
-

Generated on Sun Jan 26 23:45:47 2003 for InspIRCd by +00062 if (i != leaf.end()) +00063 leaf.erase(i); +00064 } +00065 +
Generated on Mon Jan 27 00:16:41 2003 for InspIRCd by doxygen1.3-rc2
-- cgit v1.2.3