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>InspIRCd: ConnectClass class Reference</title>
4 <link href="inspircd.css" rel="stylesheet" type="text/css">
6 <!-- Generated by Doxygen 1.3.3 -->
7 <div class="qindex"><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></div>
8 <h1>ConnectClass Class Reference</h1>Holds information relevent to <connect allow> and <connect deny> tags in the config file.
9 <a href="#_details">More...</a>
11 <code>#include <<a class="el" href="users_8h-source.html">users.h</a>></code>
13 Inheritance diagram for ConnectClass:<p><center><img src="classConnectClass__inherit__graph.gif" border="0" usemap="#ConnectClass__inherit__map" alt="Inheritance graph"></center>
14 <map name="ConnectClass__inherit__map">
15 <area href="classclassbase.html" shape="rect" coords="20,7,100,34" alt="">
17 <center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for ConnectClass:<p><center><img src="classConnectClass__coll__graph.gif" border="0" usemap="#ConnectClass__coll__map" alt="Collaboration graph"></center>
18 <map name="ConnectClass__coll__map">
19 <area href="classclassbase.html" shape="rect" coords="8,98,88,125" alt="">
21 <center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center><a href="classConnectClass-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
23 <tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
24 <tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="classConnectClass.html#a0">ConnectClass</a> ()</td></tr>
26 <tr><td colspan=2><br><h2>Public Attributes</h2></td></tr>
27 <tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="classConnectClass.html#o0">type</a></td></tr>
29 <tr><td class="mdescLeft"> </td><td class="mdescRight">Type of line, either CC_ALLOW or CC_DENY. </em> <a href="#o0"></a><em><br><br></td></tr>
30 <tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="classConnectClass.html#o1">registration_timeout</a></td></tr>
32 <tr><td class="mdescLeft"> </td><td class="mdescRight">Max time to register the connection in seconds. </em> <a href="#o1"></a><em><br><br></td></tr>
33 <tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="classConnectClass.html#o2">flood</a></td></tr>
35 <tr><td class="mdescLeft"> </td><td class="mdescRight">Number of lines in buffer before excess flood is triggered. </em> <a href="#o2"></a><em><br><br></td></tr>
36 <tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="classConnectClass.html#o3">host</a> [MAXBUF]</td></tr>
38 <tr><td class="mdescLeft"> </td><td class="mdescRight">Host mask for this line. </em> <a href="#o3"></a><em><br><br></td></tr>
39 <tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="classConnectClass.html#o4">pingtime</a></td></tr>
41 <tr><td class="mdescLeft"> </td><td class="mdescRight">Number of seconds between pings for this line. </em> <a href="#o4"></a><em><br><br></td></tr>
42 <tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="classConnectClass.html#o5">pass</a> [MAXBUF]</td></tr>
44 <tr><td class="mdescLeft"> </td><td class="mdescRight">(Optional) Password for this line </em> <a href="#o5"></a><em><br><br></td></tr>
45 <tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="classConnectClass.html#o6">threshold</a></td></tr>
47 <tr><td class="mdescLeft"> </td><td class="mdescRight">Threshold value for flood disconnect. </em> <a href="#o6"></a><em><br><br></td></tr>
48 <tr><td class="memItemLeft" nowrap align=right valign=top>long </td><td class="memItemRight" valign=bottom><a class="el" href="classConnectClass.html#o7">sendqmax</a></td></tr>
50 <tr><td class="mdescLeft"> </td><td class="mdescRight">Maximum size of sendq for users in this class (bytes). </em> <a href="#o7"></a><em><br><br></td></tr>
51 <tr><td class="memItemLeft" nowrap align=right valign=top>long </td><td class="memItemRight" valign=bottom><a class="el" href="classConnectClass.html#o8">recvqmax</a></td></tr>
53 <tr><td class="mdescLeft"> </td><td class="mdescRight">Maximum size of recvq for users in this class (bytes). </em> <a href="#o8"></a><em><br><br></td></tr>
55 <hr><a name="_details"></a><h2>Detailed Description</h2>
56 Holds information relevent to <connect allow> and <connect deny> tags in the config file.
60 Definition at line <a class="el" href="users_8h-source.html#l00045">45</a> of file <a class="el" href="users_8h-source.html">users.h</a>.<hr><h2>Constructor & Destructor Documentation</h2>
61 <a name="a0" doxytag="ConnectClass::ConnectClass"></a><p>
62 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
65 <table cellpadding="0" cellspacing="0" border="0">
67 <td class="md" nowrap valign="top"> ConnectClass::ConnectClass </td>
68 <td class="md" valign="top">( </td>
69 <td class="mdname1" valign="top" nowrap> </td>
70 <td class="md" valign="top"> ) </td>
71 <td class="md" nowrap><code> [inline]</code></td>
78 <table cellspacing=5 cellpadding=0 border=0>
88 Definition at line <a class="el" href="users_8h-source.html#l00079">79</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
90 References <a class="el" href="users_8h-source.html#l00056">flood</a>, <a class="el" href="users_8h-source.html#l00059">host</a>, <a class="el" href="users_8h-source.html#l00065">pass</a>, <a class="el" href="users_8h-source.html#l00062">pingtime</a>, <a class="el" href="users_8h-source.html#l00077">recvqmax</a>, <a class="el" href="users_8h-source.html#l00053">registration_timeout</a>, <a class="el" href="users_8h-source.html#l00073">sendqmax</a>, and <a class="el" href="users_8h-source.html#l00069">threshold</a>.
92 <div class="fragment"><pre>00080 {
93 00081 <a class="code" href="classConnectClass.html#o1">registration_timeout</a> = 0;
94 00082 <a class="code" href="classConnectClass.html#o2">flood</a> = 0;
95 00083 <a class="code" href="classConnectClass.html#o4">pingtime</a> = 0;
96 00084 <a class="code" href="classConnectClass.html#o6">threshold</a> = 0;
97 00085 <a class="code" href="classConnectClass.html#o7">sendqmax</a> = 0;
98 00086 <a class="code" href="classConnectClass.html#o8">recvqmax</a> = 0;
99 00087 strlcpy(host,<span class="stringliteral">""</span>,MAXBUF);
100 00088 strlcpy(pass,<span class="stringliteral">""</span>,MAXBUF);
105 <hr><h2>Member Data Documentation</h2>
106 <a name="o2" doxytag="ConnectClass::flood"></a><p>
107 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
110 <table cellpadding="0" cellspacing="0" border="0">
112 <td class="md" nowrap valign="top"> int <a class="el" href="classConnectClass.html#o2">ConnectClass::flood</a>
117 <table cellspacing=5 cellpadding=0 border=0>
125 Number of lines in buffer before excess flood is triggered.
129 Definition at line <a class="el" href="users_8h-source.html#l00056">56</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
131 Referenced by <a class="el" href="users_8h-source.html#l00079">ConnectClass()</a>. </td>
134 <a name="o3" doxytag="ConnectClass::host"></a><p>
135 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
138 <table cellpadding="0" cellspacing="0" border="0">
140 <td class="md" nowrap valign="top"> char <a class="el" href="classConnectClass.html#o3">ConnectClass::host</a>[MAXBUF]
145 <table cellspacing=5 cellpadding=0 border=0>
153 Host mask for this line.
157 Definition at line <a class="el" href="users_8h-source.html#l00059">59</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
159 Referenced by <a class="el" href="users_8h-source.html#l00079">ConnectClass()</a>. </td>
162 <a name="o5" doxytag="ConnectClass::pass"></a><p>
163 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
166 <table cellpadding="0" cellspacing="0" border="0">
168 <td class="md" nowrap valign="top"> char <a class="el" href="classConnectClass.html#o5">ConnectClass::pass</a>[MAXBUF]
173 <table cellspacing=5 cellpadding=0 border=0>
181 (Optional) Password for this line
185 Definition at line <a class="el" href="users_8h-source.html#l00065">65</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
187 Referenced by <a class="el" href="users_8h-source.html#l00079">ConnectClass()</a>. </td>
190 <a name="o4" doxytag="ConnectClass::pingtime"></a><p>
191 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
194 <table cellpadding="0" cellspacing="0" border="0">
196 <td class="md" nowrap valign="top"> int <a class="el" href="classConnectClass.html#o4">ConnectClass::pingtime</a>
201 <table cellspacing=5 cellpadding=0 border=0>
209 Number of seconds between pings for this line.
213 Definition at line <a class="el" href="users_8h-source.html#l00062">62</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
215 Referenced by <a class="el" href="users_8h-source.html#l00079">ConnectClass()</a>. </td>
218 <a name="o8" doxytag="ConnectClass::recvqmax"></a><p>
219 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
222 <table cellpadding="0" cellspacing="0" border="0">
224 <td class="md" nowrap valign="top"> long <a class="el" href="classConnectClass.html#o8">ConnectClass::recvqmax</a>
229 <table cellspacing=5 cellpadding=0 border=0>
237 Maximum size of recvq for users in this class (bytes).
241 Definition at line <a class="el" href="users_8h-source.html#l00077">77</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
243 Referenced by <a class="el" href="users_8h-source.html#l00079">ConnectClass()</a>. </td>
246 <a name="o1" doxytag="ConnectClass::registration_timeout"></a><p>
247 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
250 <table cellpadding="0" cellspacing="0" border="0">
252 <td class="md" nowrap valign="top"> int <a class="el" href="classConnectClass.html#o1">ConnectClass::registration_timeout</a>
257 <table cellspacing=5 cellpadding=0 border=0>
265 Max time to register the connection in seconds.
269 Definition at line <a class="el" href="users_8h-source.html#l00053">53</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
271 Referenced by <a class="el" href="users_8h-source.html#l00079">ConnectClass()</a>. </td>
274 <a name="o7" doxytag="ConnectClass::sendqmax"></a><p>
275 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
278 <table cellpadding="0" cellspacing="0" border="0">
280 <td class="md" nowrap valign="top"> long <a class="el" href="classConnectClass.html#o7">ConnectClass::sendqmax</a>
285 <table cellspacing=5 cellpadding=0 border=0>
293 Maximum size of sendq for users in this class (bytes).
297 Definition at line <a class="el" href="users_8h-source.html#l00073">73</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
299 Referenced by <a class="el" href="users_8h-source.html#l00079">ConnectClass()</a>. </td>
302 <a name="o6" doxytag="ConnectClass::threshold"></a><p>
303 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
306 <table cellpadding="0" cellspacing="0" border="0">
308 <td class="md" nowrap valign="top"> int <a class="el" href="classConnectClass.html#o6">ConnectClass::threshold</a>
313 <table cellspacing=5 cellpadding=0 border=0>
321 Threshold value for flood disconnect.
325 Definition at line <a class="el" href="users_8h-source.html#l00069">69</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
327 Referenced by <a class="el" href="users_8h-source.html#l00079">ConnectClass()</a>. </td>
330 <a name="o0" doxytag="ConnectClass::type"></a><p>
331 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
334 <table cellpadding="0" cellspacing="0" border="0">
336 <td class="md" nowrap valign="top"> char <a class="el" href="classConnectClass.html#o0">ConnectClass::type</a>
341 <table cellspacing=5 cellpadding=0 border=0>
349 Type of line, either CC_ALLOW or CC_DENY.
353 Definition at line <a class="el" href="users_8h-source.html#l00050">50</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
356 <hr>The documentation for this class was generated from the following file:<ul>
357 <li><a class="el" href="users_8h-source.html">users.h</a></ul>
358 <hr size="1"><address style="align: right;"><small>Generated on Fri May 13 01:59:33 2005 for InspIRCd by
359 <a href="http://www.doxygen.org/index.html">
360 <img src="doxygen.png" alt="doxygen" align="middle" border=0 >
361 </a>1.3.3 </small></address>