summaryrefslogtreecommitdiff
path: root/docs/module-doc/servers_8h-source.html
blob: 07979a8ec2f43e08a54d2c5c1833c87fab558314 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<!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.h Source File</title>
<link href="inspircd.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3-rc3 -->
<center>
<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>
<hr><h1>servers.h</h1><a href="servers_8h.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>
00004 <span class="comment">*/</span>
00005 
00006 <span class="preprocessor">#include "inspircd_config.h"</span> 
00007 <span class="preprocessor">#include "<a class="code" href="connection_8h.html">connection.h</a>"</span>
00008 <span class="preprocessor">#include &lt;string&gt;</span>
00009 <span class="preprocessor">#include &lt;map&gt;</span>
00010  
00011 <span class="preprocessor">#ifndef __SERVERS_H__ </span>
00012 <span class="preprocessor"></span><span class="preprocessor">#define __SERVERS_H__ </span>
00013 <span class="preprocessor"></span> 
<a name="l00014"></a><a class="code" href="servers_8h.html#a0">00014</a> <span class="preprocessor">#define LINK_ACTIVE     1</span>
<a name="l00015"></a><a class="code" href="servers_8h.html#a1">00015</a> <span class="preprocessor"></span><span class="preprocessor">#define LINK_INACTIVE   0</span>
00016 <span class="preprocessor"></span>
<a name="l00019"></a><a class="code" href="classserverrec.html">00019</a> <span class="keyword">class </span><a class="code" href="classserverrec.html">serverrec</a> : <span class="keyword">public</span> <a class="code" href="classconnection.html">connection</a>
00020 {
00021  <span class="keyword">private</span>:
00022  <span class="keyword">public</span>:
<a name="l00025"></a><a class="code" href="classserverrec.html#m0">00025</a>         <span class="keywordtype">char</span> <a class="code" href="classserverrec.html#m0">name</a>[MAXBUF];
<a name="l00028"></a><a class="code" href="classserverrec.html#m1">00028</a>         <span class="keywordtype">long</span> <a class="code" href="classserverrec.html#m1">pingtime</a>;
<a name="l00031"></a><a class="code" href="classserverrec.html#m2">00031</a>         <span class="keywordtype">long</span> <a class="code" href="classserverrec.html#m2">usercount_i</a>;
<a name="l00034"></a><a class="code" href="classserverrec.html#m3">00034</a>         <span class="keywordtype">long</span> <a class="code" href="classserverrec.html#m3">usercount</a>;
<a name="l00037"></a><a class="code" href="classserverrec.html#m4">00037</a>         <span class="keywordtype">long</span> <a class="code" href="classserverrec.html#m4">opercount</a>;
<a name="l00040"></a><a class="code" href="classserverrec.html#m5">00040</a>         <span class="keywordtype">int</span> <a class="code" href="classserverrec.html#m5">hops_away</a>;
<a name="l00043"></a><a class="code" href="classserverrec.html#m6">00043</a>         <span class="keywordtype">long</span> <a class="code" href="classserverrec.html#m6">version</a>;
<a name="l00046"></a><a class="code" href="classserverrec.html#m7">00046</a>         <span class="keywordtype">bool</span> <a class="code" href="classserverrec.html#m7">jupiter</a>;
00047 
00050         <a class="code" href="classserverrec.html#a0">serverrec</a>();
00053         <a class="code" href="classserverrec.html#a0">serverrec</a>(<span class="keywordtype">char</span>* n, <span class="keywordtype">long</span> ver, <span class="keywordtype">bool</span> jupe);
00056         <a class="code" href="classserverrec.html#a2">~serverrec</a>();
00057 };
00058 
00059 
00060 
00061 <span class="preprocessor">#endif</span>
00062 <span class="preprocessor"></span>
</pre></div><hr><address style="align: right;"><small>Generated on Sun Apr 4 23:02:14 2004 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 
width=110 height=53></a>1.3-rc3 </small></address>
</body>
</html>