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 
00004 */
00005 
00006 #include "inspircd_config.h" 
00007 #include "servers.h"
00008 #include "inspircd.h"
00009 #include <stdio.h>
00010 #include <map>
00011 
00012 serverrec::serverrec()
00013 {
00014         strcpy(name,"");
00015         pingtime = 0;
00016         lastping = time(NULL);
00017         usercount_i = usercount = opercount = version = 0;
00018         hops_away = 1;
00019         signon = time(NULL);
00020         jupiter = false;
00021         fd = 0;
00022 }
00023 
00024  
00025 serverrec::~serverrec()
00026 {
00027 }
00028 
00029 serverrec::serverrec(char* n, long ver, bool jupe)
00030 {
00031         strcpy(name,n);
00032         lastping = time(NULL);
00033         usercount_i = usercount = opercount = 0;
00034         version = ver;
00035         hops_away = 1;
00036         signon = time(NULL);
00037         jupiter = jupe;
00038         fd = 0;
00039 }
00040 

Generated on Fri Apr 2 13:37:27 2004 for InspIRCd by doxygen1.3-rc3