summaryrefslogtreecommitdiff
path: root/docs/module-doc/connection_8h-source.html
blob: a71a501965d2e7ccf49e82914969469dcb143b09 (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
58
59
60
61
<!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.2  2003/01/27 00:22:39  brain
00003 <span class="comment">Modified documentation
00003 <span class="comment"></span>
00004 <span class="comment">Revision 1.1  2003/01/26 23:52:59  brain</span>
00005 <span class="comment">Modified documentation for base classes</span>
00006 <span class="comment">Added base classes</span>
00007 <span class="comment"></span>
00008 <span class="comment">Revision 1.1  2003/01/26 20:15:00  brain</span>
00009 <span class="comment">Added server classes for linking</span>
00010 <span class="comment"></span>
00011 <span class="comment"></span>
00012 <span class="comment">*/</span>
00013 
00014 <span class="preprocessor">#include "inspircd_config.h"</span> 
00015 <span class="preprocessor">#include "<a class="code" href="base_8h.html">base.h</a>"</span>
00016 <span class="preprocessor">#include &lt;string&gt;</span>
00017 <span class="preprocessor">#include &lt;map.h&gt;</span>
00018  
00019 <span class="preprocessor">#ifndef __CONNECTION_H__ </span>
00020 <span class="preprocessor"></span><span class="preprocessor">#define __CONNECTION_H__ </span>
00021 <span class="preprocessor"></span> 
<a name="l00022"></a><a class="code" href="classconnection.html">00022</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>
00023 {
00024  <span class="keyword">public</span>:
<a name="l00025"></a><a class="code" href="classconnection.html#m0">00025</a>         <span class="keywordtype">int</span> <a class="code" href="classconnection.html#m0">fd</a>;                 <span class="comment">// file descriptor</span>
<a name="l00026"></a><a class="code" href="classconnection.html#m1">00026</a>         <span class="keywordtype">char</span> <a class="code" href="classconnection.html#m1">host</a>[256];         <span class="comment">// hostname</span>
<a name="l00027"></a><a class="code" href="classconnection.html#m2">00027</a>         <span class="keywordtype">long</span> <a class="code" href="classconnection.html#m2">ip</a>;                <span class="comment">// ipv4 address</span>
<a name="l00028"></a><a class="code" href="classconnection.html#m3">00028</a>         <span class="keywordtype">char</span> <a class="code" href="classconnection.html#m3">inbuf</a>[MAXBUF];     <span class="comment">// recvQ</span>
<a name="l00029"></a><a class="code" href="classconnection.html#m4">00029</a>         <span class="keywordtype">long</span> <a class="code" href="classconnection.html#m4">bytes_in</a>;
<a name="l00030"></a><a class="code" href="classconnection.html#m5">00030</a>         <span class="keywordtype">long</span> <a class="code" href="classconnection.html#m5">bytes_out</a>;
<a name="l00031"></a><a class="code" href="classconnection.html#m6">00031</a>         <span class="keywordtype">long</span> <a class="code" href="classconnection.html#m6">cmds_in</a>;
<a name="l00032"></a><a class="code" href="classconnection.html#m7">00032</a>         <span class="keywordtype">long</span> <a class="code" href="classconnection.html#m7">cmds_out</a>;
<a name="l00033"></a><a class="code" href="classconnection.html#m8">00033</a>         <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#m8">haspassed</a>;
<a name="l00034"></a><a class="code" href="classconnection.html#m9">00034</a>         <span class="keywordtype">int</span> <a class="code" href="classconnection.html#m9">port</a>;
<a name="l00035"></a><a class="code" href="classconnection.html#m10">00035</a>         <span class="keywordtype">int</span> <a class="code" href="classconnection.html#m10">registered</a>;
<a name="l00036"></a><a class="code" href="classconnection.html#m11">00036</a>         time_t <a class="code" href="classconnection.html#m11">lastping</a>;
<a name="l00037"></a><a class="code" href="classconnection.html#m12">00037</a>         time_t <a class="code" href="classconnection.html#m12">signon</a>;
<a name="l00038"></a><a class="code" href="classconnection.html#m13">00038</a>         time_t <a class="code" href="classconnection.html#m13">idle_lastmsg</a>;
<a name="l00039"></a><a class="code" href="classconnection.html#m14">00039</a>         time_t <a class="code" href="classconnection.html#m14">nping</a>;
00040 };
00041 
00042 
00043 <span class="preprocessor">#endif</span>
00044 <span class="preprocessor"></span>
</pre></div><hr><address style="align: right;"><small>Generated on Mon Jan 27 00:16:40 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>