summaryrefslogtreecommitdiff
path: root/docs/module-doc/connection_8h-source.html
blob: 9eb394055d5c4fe54f56a892dd9b98d0fc8425b0 (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
53
54
55
56
57
<!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>connection.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3-rc2 -->
<center>
<a class="qindex" href="main.html">Main Page</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>connection.h</h1><a href="connection_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">$Log$
00003 <span class="comment">Revision 1.1  2003/01/26 23:52:48  brain
00003 <span class="comment">Modified documentation for base classes
00003 <span class="comment"></span>
00004 <span class="comment">Revision 1.1  2003/01/26 20:15:00  brain</span>
00005 <span class="comment">Added server classes for linking</span>
00006 <span class="comment"></span>
00007 <span class="comment"></span>
00008 <span class="comment">*/</span>
00009 
00010 <span class="preprocessor">#include "inspircd_config.h"</span> 
00011 <span class="preprocessor">#include "<a class="code" href="base_8h.html">base.h</a>"</span>
00012 <span class="preprocessor">#include &lt;string&gt;</span>
00013 <span class="preprocessor">#include &lt;map.h&gt;</span>
00014  
00015 <span class="preprocessor">#ifndef __CONNECTION_H__ </span>
00016 <span class="preprocessor"></span><span class="preprocessor">#define __CONNECTION_H__ </span>
00017 <span class="preprocessor"></span> 
<a name="l00018"></a><a class="code" href="classconnection.html">00018</a> <span class="keyword">class </span><a class="code" href="classconnection.html">connection</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a>
00019 {
00020  <span class="keyword">public</span>:
<a name="l00021"></a><a class="code" href="classconnection.html#m0">00021</a>         <span class="keywordtype">int</span> <a class="code" href="classconnection.html#m0">fd</a>;                 <span class="comment">// file descriptor</span>
<a name="l00022"></a><a class="code" href="classconnection.html#m1">00022</a>         <span class="keywordtype">char</span> <a class="code" href="classconnection.html#m1">host</a>[256];         <span class="comment">// hostname</span>
<a name="l00023"></a><a class="code" href="classconnection.html#m2">00023</a>         <span class="keywordtype">long</span> <a class="code" href="classconnection.html#m2">ip</a>;                <span class="comment">// ipv4 address</span>
<a name="l00024"></a><a class="code" href="classconnection.html#m3">00024</a>         <span class="keywordtype">char</span> <a class="code" href="classconnection.html#m3">inbuf</a>[MAXBUF];     <span class="comment">// recvQ</span>
<a name="l00025"></a><a class="code" href="classconnection.html#m4">00025</a>         <span class="keywordtype">long</span> <a class="code" href="classconnection.html#m4">bytes_in</a>;
<a name="l00026"></a><a class="code" href="classconnection.html#m5">00026</a>         <span class="keywordtype">long</span> <a class="code" href="classconnection.html#m5">bytes_out</a>;
<a name="l00027"></a><a class="code" href="classconnection.html#m6">00027</a>         <span class="keywordtype">long</span> <a class="code" href="classconnection.html#m6">cmds_in</a>;
<a name="l00028"></a><a class="code" href="classconnection.html#m7">00028</a>         <span class="keywordtype">long</span> <a class="code" href="classconnection.html#m7">cmds_out</a>;
<a name="l00029"></a><a class="code" href="classconnection.html#m8">00029</a>         <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#m8">haspassed</a>;
<a name="l00030"></a><a class="code" href="classconnection.html#m9">00030</a>         <span class="keywordtype">int</span> <a class="code" href="classconnection.html#m9">port</a>;
<a name="l00031"></a><a class="code" href="classconnection.html#m10">00031</a>         <span class="keywordtype">int</span> <a class="code" href="classconnection.html#m10">registered</a>;
<a name="l00032"></a><a class="code" href="classconnection.html#m11">00032</a>         time_t <a class="code" href="classconnection.html#m11">lastping</a>;
<a name="l00033"></a><a class="code" href="classconnection.html#m12">00033</a>         time_t <a class="code" href="classconnection.html#m12">signon</a>;
<a name="l00034"></a><a class="code" href="classconnection.html#m13">00034</a>         time_t <a class="code" href="classconnection.html#m13">idle_lastmsg</a>;
<a name="l00035"></a><a class="code" href="classconnection.html#m14">00035</a>         time_t <a class="code" href="classconnection.html#m14">nping</a>;
00036 };
00037 
00038 
00039 <span class="preprocessor">#endif</span>
00040 <span class="preprocessor"></span>
</pre></div><hr><address style="align: right;"><small>Generated on Sun Jan 26 23:45:47 2003 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-rc2 </small></address>
</body>
</html>