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 Inherits <a class="el" href="classclassbase.html">classbase</a>.
15 <a href="classConnectClass-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
17 <tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
18 <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>
20 <tr><td colspan=2><br><h2>Public Attributes</h2></td></tr>
21 <tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="classConnectClass.html#o0">type</a></td></tr>
23 <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>
24 <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>
26 <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>
27 <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>
29 <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>
30 <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>
32 <tr><td class="mdescLeft"> </td><td class="mdescRight">Host mask for this line. </em> <a href="#o3"></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#o4">pingtime</a></td></tr>
35 <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>
36 <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>
38 <tr><td class="mdescLeft"> </td><td class="mdescRight">(Optional) Password for this line </em> <a href="#o5"></a><em><br><br></td></tr>
40 <hr><a name="_details"></a><h2>Detailed Description</h2>
41 Holds information relevent to <connect allow> and <connect deny> tags in the config file.
45 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>
46 <a name="a0" doxytag="ConnectClass::ConnectClass"></a><p>
47 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
50 <table cellpadding="0" cellspacing="0" border="0">
52 <td class="md" nowrap valign="top"> ConnectClass::ConnectClass </td>
53 <td class="md" valign="top">( </td>
54 <td class="mdname1" valign="top" nowrap> </td>
55 <td class="md" valign="top"> ) </td>
56 <td class="md" nowrap><code> [inline]</code></td>
63 <table cellspacing=5 cellpadding=0 border=0>
73 Definition at line <a class="el" href="users_8h-source.html#l00067">67</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
75 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>, and <a class="el" href="users_8h-source.html#l00053">registration_timeout</a>.
77 <div class="fragment"><pre>00068 {
78 00069 <a class="code" href="classConnectClass.html#o1">registration_timeout</a> = 0;
79 00070 <a class="code" href="classConnectClass.html#o2">flood</a> = 0;
80 00071 <a class="code" href="classConnectClass.html#o4">pingtime</a> = 0;
81 00072 strlcpy(host,<span class="stringliteral">""</span>,MAXBUF);
82 00073 strlcpy(pass,<span class="stringliteral">""</span>,MAXBUF);
87 <hr><h2>Member Data Documentation</h2>
88 <a name="o2" doxytag="ConnectClass::flood"></a><p>
89 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
92 <table cellpadding="0" cellspacing="0" border="0">
94 <td class="md" nowrap valign="top"> int <a class="el" href="classConnectClass.html#o2">ConnectClass::flood</a>
99 <table cellspacing=5 cellpadding=0 border=0>
107 Number of lines in buffer before excess flood is triggered.
111 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>.
113 Referenced by <a class="el" href="users_8h-source.html#l00067">ConnectClass()</a>. </td>
116 <a name="o3" doxytag="ConnectClass::host"></a><p>
117 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
120 <table cellpadding="0" cellspacing="0" border="0">
122 <td class="md" nowrap valign="top"> char <a class="el" href="classConnectClass.html#o3">ConnectClass::host</a>[MAXBUF]
127 <table cellspacing=5 cellpadding=0 border=0>
135 Host mask for this line.
139 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>.
141 Referenced by <a class="el" href="users_8h-source.html#l00067">ConnectClass()</a>. </td>
144 <a name="o5" doxytag="ConnectClass::pass"></a><p>
145 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
148 <table cellpadding="0" cellspacing="0" border="0">
150 <td class="md" nowrap valign="top"> char <a class="el" href="classConnectClass.html#o5">ConnectClass::pass</a>[MAXBUF]
155 <table cellspacing=5 cellpadding=0 border=0>
163 (Optional) Password for this line
167 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>.
169 Referenced by <a class="el" href="users_8h-source.html#l00067">ConnectClass()</a>. </td>
172 <a name="o4" doxytag="ConnectClass::pingtime"></a><p>
173 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
176 <table cellpadding="0" cellspacing="0" border="0">
178 <td class="md" nowrap valign="top"> int <a class="el" href="classConnectClass.html#o4">ConnectClass::pingtime</a>
183 <table cellspacing=5 cellpadding=0 border=0>
191 Number of seconds between pings for this line.
195 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>.
197 Referenced by <a class="el" href="users_8h-source.html#l00067">ConnectClass()</a>. </td>
200 <a name="o1" doxytag="ConnectClass::registration_timeout"></a><p>
201 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
204 <table cellpadding="0" cellspacing="0" border="0">
206 <td class="md" nowrap valign="top"> int <a class="el" href="classConnectClass.html#o1">ConnectClass::registration_timeout</a>
211 <table cellspacing=5 cellpadding=0 border=0>
219 Max time to register the connection in seconds.
223 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>.
225 Referenced by <a class="el" href="users_8h-source.html#l00067">ConnectClass()</a>. </td>
228 <a name="o0" doxytag="ConnectClass::type"></a><p>
229 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
232 <table cellpadding="0" cellspacing="0" border="0">
234 <td class="md" nowrap valign="top"> int <a class="el" href="classConnectClass.html#o0">ConnectClass::type</a>
239 <table cellspacing=5 cellpadding=0 border=0>
247 Type of line, either CC_ALLOW or CC_DENY.
251 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>
254 <hr>The documentation for this class was generated from the following file:<ul>
255 <li><a class="el" href="users_8h-source.html">users.h</a></ul>
256 <hr size="1"><address style="align: right;"><small>Generated on Sat Apr 16 14:49:51 2005 for InspIRCd by
257 <a href="http://www.doxygen.org/index.html">
258 <img src="doxygen.png" alt="doxygen" align="middle" border=0 >
259 </a>1.3.3 </small></address>