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>char </td><td class="memItemRight" valign=bottom><a class="el" href="classConnectClass.html#o4">pass</a> [MAXBUF]</td></tr>
35 <tr><td class="mdescLeft"> </td><td class="mdescRight">(Optional) Password for this line </em> <a href="#o4"></a><em><br><br></td></tr>
37 <hr><a name="_details"></a><h2>Detailed Description</h2>
38 Holds information relevent to <connect allow> and <connect deny> tags in the config file.
42 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>
43 <a name="a0" doxytag="ConnectClass::ConnectClass"></a><p>
44 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
47 <table cellpadding="0" cellspacing="0" border="0">
49 <td class="md" nowrap valign="top"> ConnectClass::ConnectClass </td>
50 <td class="md" valign="top">( </td>
51 <td class="mdname1" valign="top" nowrap> </td>
52 <td class="md" valign="top"> ) </td>
53 <td class="md" nowrap><code> [inline]</code></td>
60 <table cellspacing=5 cellpadding=0 border=0>
70 Definition at line <a class="el" href="users_8h-source.html#l00064">64</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
72 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#l00062">pass</a>, and <a class="el" href="users_8h-source.html#l00053">registration_timeout</a>.
74 <div class="fragment"><pre>00065 {
75 00066 <a class="code" href="classConnectClass.html#o1">registration_timeout</a> = 0;
76 00067 <a class="code" href="classConnectClass.html#o2">flood</a> = 0;
77 00068 strlcpy(host,<span class="stringliteral">""</span>,MAXBUF);
78 00069 strlcpy(pass,<span class="stringliteral">""</span>,MAXBUF);
83 <hr><h2>Member Data Documentation</h2>
84 <a name="o2" doxytag="ConnectClass::flood"></a><p>
85 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
88 <table cellpadding="0" cellspacing="0" border="0">
90 <td class="md" nowrap valign="top"> int <a class="el" href="classConnectClass.html#o2">ConnectClass::flood</a>
95 <table cellspacing=5 cellpadding=0 border=0>
103 Number of lines in buffer before excess flood is triggered.
107 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>.
109 Referenced by <a class="el" href="users_8h-source.html#l00064">ConnectClass()</a>. </td>
112 <a name="o3" doxytag="ConnectClass::host"></a><p>
113 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
116 <table cellpadding="0" cellspacing="0" border="0">
118 <td class="md" nowrap valign="top"> char <a class="el" href="classConnectClass.html#o3">ConnectClass::host</a>[MAXBUF]
123 <table cellspacing=5 cellpadding=0 border=0>
131 Host mask for this line.
135 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>.
137 Referenced by <a class="el" href="users_8h-source.html#l00064">ConnectClass()</a>. </td>
140 <a name="o4" doxytag="ConnectClass::pass"></a><p>
141 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
144 <table cellpadding="0" cellspacing="0" border="0">
146 <td class="md" nowrap valign="top"> char <a class="el" href="classConnectClass.html#o4">ConnectClass::pass</a>[MAXBUF]
151 <table cellspacing=5 cellpadding=0 border=0>
159 (Optional) Password for this line
163 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>.
165 Referenced by <a class="el" href="users_8h-source.html#l00064">ConnectClass()</a>. </td>
168 <a name="o1" doxytag="ConnectClass::registration_timeout"></a><p>
169 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
172 <table cellpadding="0" cellspacing="0" border="0">
174 <td class="md" nowrap valign="top"> int <a class="el" href="classConnectClass.html#o1">ConnectClass::registration_timeout</a>
179 <table cellspacing=5 cellpadding=0 border=0>
187 Max time to register the connection in seconds.
191 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>.
193 Referenced by <a class="el" href="users_8h-source.html#l00064">ConnectClass()</a>. </td>
196 <a name="o0" doxytag="ConnectClass::type"></a><p>
197 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
200 <table cellpadding="0" cellspacing="0" border="0">
202 <td class="md" nowrap valign="top"> int <a class="el" href="classConnectClass.html#o0">ConnectClass::type</a>
207 <table cellspacing=5 cellpadding=0 border=0>
215 Type of line, either CC_ALLOW or CC_DENY.
219 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>
222 <hr>The documentation for this class was generated from the following file:<ul>
223 <li><a class="el" href="users_8h-source.html">users.h</a></ul>
224 <hr size="1"><address style="align: right;"><small>Generated on Mon Mar 28 21:09:31 2005 for InspIRCd by
225 <a href="http://www.doxygen.org/index.html">
226 <img src="doxygen.png" alt="doxygen" align="middle" border=0 >
227 </a>1.3.3 </small></address>