Main Page   Namespace List   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         sync_soon = false;
00023 }
00024 
00025  
00026 serverrec::~serverrec()
00027 {
00028 }
00029 
00030 serverrec::serverrec(char* n, long ver, bool jupe)
00031 {
00032         strcpy(name,n);
00033         lastping = time(NULL);
00034         usercount_i = usercount = opercount = 0;
00035         version = ver;
00036         hops_away = 1;
00037         signon = time(NULL);
00038         jupiter = jupe;
00039         fd = 0;
00040         sync_soon = false;
00041 }
00042 

Generated on Thu Apr 29 16:30:32 2004 for InspIRCd by doxygen1.3-rc3