2003-01-26 23:52:48 +00:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
< html > < head > < meta http-equiv = "Content-Type" content = "text/html;charset=iso-8859-1" >
< title > servers.cpp Source File< / title >
2004-04-03 15:46:53 +00:00
< link href = "inspircd.css" rel = "stylesheet" type = "text/css" >
2003-01-26 23:52:48 +00:00
< / head > < body >
2003-03-30 12:32:32 +00:00
<!-- Generated by Doxygen 1.3 - rc3 -->
2003-01-26 23:52:48 +00:00
< center >
2004-04-04 22:03:32 +00:00
< a class = "qindex" href = "main.html" > Main Page< / a > < a class = "qindex" href = "namespaces.html" > Namespace List< / a > < a class = "qindex" href = "hierarchy.html" > Class Hierarchy< / a > < a class = "qindex" href = "classes.html" > Alphabetical List< / a > < a class = "qindex" href = "annotated.html" > Compound List< / a > < a class = "qindex" href = "files.html" > File List< / a > < a class = "qindex" href = "functions.html" > Compound Members< / a > < a class = "qindex" href = "globals.html" > File Members< / a > < / center >
2003-01-26 23:52:48 +00:00
< hr > < h1 > servers.cpp< / h1 > < a href = "servers_8cpp.html" > Go to the documentation of this file.< / a > < div class = "fragment" > < pre > 00001 < span class = "comment" > /*< / span >
00002 < span class = "comment" > < / span >
00003 < span class = "comment" > < / span >
2003-02-09 12:49:00 +00:00
00004 < span class = "comment" > */< / span >
00005
00006 < span class = "preprocessor" > #include "inspircd_config.h"< / span >
00007 < span class = "preprocessor" > #include "< a class = "code" href = "servers_8h.html" > servers.h< / a > "< / span >
00008 < span class = "preprocessor" > #include "inspircd.h"< / span >
00009 < span class = "preprocessor" > #include < stdio.h> < / span >
2004-04-02 12:38:41 +00:00
00010 < span class = "preprocessor" > #include < map> < / span >
2003-02-09 12:49:00 +00:00
00011
< a name = "l00012" > < / a > < a class = "code" href = "classserverrec.html#a0" > 00012< / a > < a class = "code" href = "classserverrec.html#a0" > serverrec::serverrec< / a > ()
00013 {
00014 strcpy(name,< span class = "stringliteral" > ""< / span > );
00015 < a class = "code" href = "classserverrec.html#m1" > pingtime< / a > = 0;
00016 < a class = "code" href = "classconnection.html#m12" > lastping< / a > = time(NULL);
00017 < a class = "code" href = "classserverrec.html#m2" > usercount_i< / a > = < a class = "code" href = "classserverrec.html#m3" > usercount< / a > = < a class = "code" href = "classserverrec.html#m4" > opercount< / a > = < a class = "code" href = "classserverrec.html#m6" > version< / a > = 0;
00018 < a class = "code" href = "classserverrec.html#m5" > hops_away< / a > = 1;
00019 < a class = "code" href = "classconnection.html#m13" > signon< / a > = time(NULL);
00020 < a class = "code" href = "classserverrec.html#m7" > jupiter< / a > = < span class = "keyword" > false< / span > ;
2004-04-17 12:33:39 +00:00
00021 < a class = "code" href = "classconnection.html#m0" > fd< / a > = 0;
00022 < a class = "code" href = "classserverrec.html#m9" > sync_soon< / a > = < span class = "keyword" > false< / span > ;
00023 }
00024
00025
< a name = "l00026" > < / a > < a class = "code" href = "classserverrec.html#a2" > 00026< / a > < a class = "code" href = "classserverrec.html#a2" > serverrec::~serverrec< / a > ()
00027 {
00028 }
00029
< a name = "l00030" > < / a > < a class = "code" href = "classserverrec.html#a1" > 00030< / a > < a class = "code" href = "classserverrec.html#a0" > serverrec::serverrec< / a > (< span class = "keywordtype" > char< / span > * n, < span class = "keywordtype" > long< / span > ver, < span class = "keywordtype" > bool< / span > jupe)
00031 {
00032 strcpy(name,n);
00033 < a class = "code" href = "classconnection.html#m12" > lastping< / a > = time(NULL);
00034 < a class = "code" href = "classserverrec.html#m2" > usercount_i< / a > = < a class = "code" href = "classserverrec.html#m3" > usercount< / a > = < a class = "code" href = "classserverrec.html#m4" > opercount< / a > = 0;
00035 < a class = "code" href = "classserverrec.html#m6" > version< / a > = ver;
00036 < a class = "code" href = "classserverrec.html#m5" > hops_away< / a > = 1;
00037 < a class = "code" href = "classconnection.html#m13" > signon< / a > = time(NULL);
00038 < a class = "code" href = "classserverrec.html#m7" > jupiter< / a > = jupe;
00039 < a class = "code" href = "classconnection.html#m0" > fd< / a > = 0;
00040 < a class = "code" href = "classserverrec.html#m9" > sync_soon< / a > = < span class = "keyword" > false< / span > ;
00041 }
00042
2004-05-01 23:10:23 +00:00
< / pre > < / div > < hr > < address style = "align: right;" > < small > Generated on Sun May 2 00:09:18 2004 for InspIRCd by
2003-01-26 23:52:48 +00:00
< a href = "http://www.doxygen.org/index.html" >
< img src = "doxygen.png" alt = "doxygen" align = "middle" border = 0
2003-03-30 12:32:32 +00:00
width=110 height=53>< / a > 1.3-rc3 < / small > < / address >
2003-01-26 23:52:48 +00:00
< / body >
< / html >