X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=docs%2Fmodule-doc%2Fservers_8cpp-source.html;h=ab7e7491ad89a8e1787028c9dd27ce357d5e1eec;hb=3d7312f8af1becdbe458392e14ea64c904ee7b92;hp=a00781100b8e6386e5612153a61b5fe1e77ae5dc;hpb=80acf05785484ea822472b1c3ea678e82dfb5cfe;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/docs/module-doc/servers_8cpp-source.html b/docs/module-doc/servers_8cpp-source.html index a00781100..ab7e7491a 100644 --- a/docs/module-doc/servers_8cpp-source.html +++ b/docs/module-doc/servers_8cpp-source.html @@ -1,82 +1,71 @@ -servers.cpp Source File - +InspIRCd: servers.cpp Source File + - -
-Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  
-

servers.cpp

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:53:03  brain
-00005 Modified documentation for base classes
-00006 Added base classes
-00007 
-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 }
-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 void serverrec::DelLeaf(string n)
-00059 {
-00060         server_list::iterator i = leaf.find(n);
-00061 
-00062         if (i != leaf.end())
-00063                 leaf.erase(i);
-00064 }
-00065 
-

Generated on Mon Jan 27 00:23:11 2003 for InspIRCd by + + +

servers.cpp

Go to the documentation of this file.
00001 /*       +------------------------------------+
+00002  *       | Inspire Internet Relay Chat Daemon |
+00003  *       +------------------------------------+
+00004  *
+00005  *  Inspire is copyright (C) 2002-2004 ChatSpike-Dev.
+00006  *                       E-mail:
+00007  *                <brain@chatspike.net>
+00008  *                <Craig@chatspike.net>
+00009  *     
+00010  * Written by Craig Edwards, Craig McLure, and others.
+00011  * This program is free but copyrighted software; see
+00012  *            the file COPYING for details.
+00013  *
+00014  * ---------------------------------------------------
+00015  */
+00016 
+00017 #include "inspircd_config.h" 
+00018 #include "servers.h"
+00019 #include "inspircd.h"
+00020 #include <stdio.h>
+00021 #include <map>
+00022 #include "inspstring.h"
+00023 
+00024 extern time_t TIME;
+00025 
+00026 serverrec::serverrec()
+00027 {
+00028         strlcpy(name,"",256);
+00029         pingtime = 0;
+00030         lastping = TIME;
+00031         usercount_i = usercount = opercount = version = 0;
+00032         hops_away = 1;
+00033         signon = TIME;
+00034         jupiter = false;
+00035         fd = 0;
+00036         sync_soon = false;
+00037         strlcpy(nickserv,"",NICKMAX);
+00038 }
+00039 
+00040  
+00041 serverrec::~serverrec()
+00042 {
+00043 }
+00044 
+00045 serverrec::serverrec(char* n, long ver, bool jupe)
+00046 {
+00047         strlcpy(name,n,256);
+00048         lastping = TIME;
+00049         usercount_i = usercount = opercount = 0;
+00050         version = ver;
+00051         hops_away = 1;
+00052         signon = TIME;
+00053         jupiter = jupe;
+00054         fd = 0;
+00055         sync_soon = false;
+00056         strlcpy(nickserv,"",NICKMAX);
+00057 }
+00058 
+

Generated on Sat Apr 9 14:38:25 2005 for InspIRCd by -doxygen1.3-rc2
+doxygen +1.3.3