]> git.netwichtig.de Git - user/henk/code/inspircd.git/blob - docs/module-doc/servers_8cpp-source.html
Added new documentation for XLine etc
[user/henk/code/inspircd.git] / docs / module-doc / servers_8cpp-source.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3 <title>servers.cpp Source File</title>
4 <link href="inspircd.css" rel="stylesheet" type="text/css">
5 </head><body>
6 <!-- Generated by Doxygen 1.3-rc3 -->
7 <center>
8 <a class="qindex" href="main.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
9 <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>
10 00002 <span class="comment"></span>
11 00003 <span class="comment"></span>
12 00004 <span class="comment">*/</span>
13 00005 
14 00006 <span class="preprocessor">#include "inspircd_config.h"</span> 
15 00007 <span class="preprocessor">#include "<a class="code" href="servers_8h.html">servers.h</a>"</span>
16 00008 <span class="preprocessor">#include "inspircd.h"</span>
17 00009 <span class="preprocessor">#include &lt;stdio.h&gt;</span>
18 00010 <span class="preprocessor">#include &lt;map&gt;</span>
19 00011 
20 <a name="l00012"></a><a class="code" href="classserverrec.html#a0">00012</a> <a class="code" href="classserverrec.html#a0">serverrec::serverrec</a>()
21 00013 {
22 00014         strcpy(name,<span class="stringliteral">""</span>);
23 00015         <a class="code" href="classserverrec.html#m1">pingtime</a> = 0;
24 00016         <a class="code" href="classconnection.html#m12">lastping</a> = time(NULL);
25 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;
26 00018         <a class="code" href="classserverrec.html#m5">hops_away</a> = 1;
27 00019         <a class="code" href="classconnection.html#m13">signon</a> = time(NULL);
28 00020         <a class="code" href="classserverrec.html#m7">jupiter</a> = <span class="keyword">false</span>;
29 00021         <a class="code" href="classconnection.html#m0">fd</a> = 0;
30 00022         <a class="code" href="classserverrec.html#m9">sync_soon</a> = <span class="keyword">false</span>;
31 00023 }
32 00024 
33 00025  
34 <a name="l00026"></a><a class="code" href="classserverrec.html#a2">00026</a> <a class="code" href="classserverrec.html#a2">serverrec::~serverrec</a>()
35 00027 {
36 00028 }
37 00029 
38 <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)
39 00031 {
40 00032         strcpy(name,n);
41 00033         <a class="code" href="classconnection.html#m12">lastping</a> = time(NULL);
42 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;
43 00035         <a class="code" href="classserverrec.html#m6">version</a> = ver;
44 00036         <a class="code" href="classserverrec.html#m5">hops_away</a> = 1;
45 00037         <a class="code" href="classconnection.html#m13">signon</a> = time(NULL);
46 00038         <a class="code" href="classserverrec.html#m7">jupiter</a> = jupe;
47 00039         <a class="code" href="classconnection.html#m0">fd</a> = 0;
48 00040         <a class="code" href="classserverrec.html#m9">sync_soon</a> = <span class="keyword">false</span>;
49 00041 }
50 00042 
51 </pre></div><hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:05 2004 for InspIRCd by
52 <a href="http://www.doxygen.org/index.html">
53 <img src="doxygen.png" alt="doxygen" align="middle" border=0 
54 width=110 height=53></a>1.3-rc3 </small></address>
55 </body>
56 </html>