]> git.netwichtig.de Git - user/henk/code/inspircd.git/blob - docs/module-doc/classConnectClass.html
Added Server::AddGLine
[user/henk/code/inspircd.git] / docs / module-doc / classConnectClass.html
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">
5 </head><body>
6 <!-- Generated by Doxygen 1.3.3 -->
7 <div class="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Compound&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Compound&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a></div>
8 <h1>ConnectClass Class Reference</h1>Holds information relevent to &lt;connect allow&gt; and &lt;connect deny&gt; tags in the config file.  
9 <a href="#_details">More...</a>
10 <p>
11 <code>#include &lt;<a class="el" href="users_8h-source.html">users.h</a>&gt;</code>
12 <p>
13 Inherits <a class="el" href="classclassbase.html">classbase</a>.
14 <p>
15 <a href="classConnectClass-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
16 <tr><td></td></tr>
17 <tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
18 <tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classConnectClass.html#a0">ConnectClass</a> ()</td></tr>
19
20 <tr><td colspan=2><br><h2>Public Attributes</h2></td></tr>
21 <tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classConnectClass.html#o0">type</a></td></tr>
22
23 <tr><td class="mdescLeft">&nbsp;</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&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classConnectClass.html#o1">registration_timeout</a></td></tr>
25
26 <tr><td class="mdescLeft">&nbsp;</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&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classConnectClass.html#o2">flood</a></td></tr>
28
29 <tr><td class="mdescLeft">&nbsp;</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&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classConnectClass.html#o3">host</a> [MAXBUF]</td></tr>
31
32 <tr><td class="mdescLeft">&nbsp;</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&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classConnectClass.html#o4">pingtime</a></td></tr>
34
35 <tr><td class="mdescLeft">&nbsp;</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&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classConnectClass.html#o5">pass</a> [MAXBUF]</td></tr>
37
38 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">(Optional) Password for this line </em> <a href="#o5"></a><em><br><br></td></tr>
39 </table>
40 <hr><a name="_details"></a><h2>Detailed Description</h2>
41 Holds information relevent to &lt;connect allow&gt; and &lt;connect deny&gt; tags in the config file. 
42 <p>
43
44 <p>
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 &amp; Destructor Documentation</h2>
46 <a name="a0" doxytag="ConnectClass::ConnectClass"></a><p>
47 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
48   <tr>
49     <td class="mdRow">
50       <table cellpadding="0" cellspacing="0" border="0">
51         <tr>
52           <td class="md" nowrap valign="top"> ConnectClass::ConnectClass </td>
53           <td class="md" valign="top">(&nbsp;</td>
54           <td class="mdname1" valign="top" nowrap>          </td>
55           <td class="md" valign="top">&nbsp;)&nbsp;</td>
56           <td class="md" nowrap><code> [inline]</code></td>
57         </tr>
58
59       </table>
60     </td>
61   </tr>
62 </table>
63 <table cellspacing=5 cellpadding=0 border=0>
64   <tr>
65     <td>
66       &nbsp;
67     </td>
68     <td>
69
70 <p>
71
72 <p>
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>.
74 <p>
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>.
76 <p>
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);
83 00074         }
84 </pre></div>    </td>
85   </tr>
86 </table>
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">
90   <tr>
91     <td class="mdRow">
92       <table cellpadding="0" cellspacing="0" border="0">
93         <tr>
94           <td class="md" nowrap valign="top"> int <a class="el" href="classConnectClass.html#o2">ConnectClass::flood</a>
95       </table>
96     </td>
97   </tr>
98 </table>
99 <table cellspacing=5 cellpadding=0 border=0>
100   <tr>
101     <td>
102       &nbsp;
103     </td>
104     <td>
105
106 <p>
107 Number of lines in buffer before excess flood is triggered. 
108 <p>
109
110 <p>
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>.
112 <p>
113 Referenced by <a class="el" href="users_8h-source.html#l00067">ConnectClass()</a>.    </td>
114   </tr>
115 </table>
116 <a name="o3" doxytag="ConnectClass::host"></a><p>
117 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
118   <tr>
119     <td class="mdRow">
120       <table cellpadding="0" cellspacing="0" border="0">
121         <tr>
122           <td class="md" nowrap valign="top"> char <a class="el" href="classConnectClass.html#o3">ConnectClass::host</a>[MAXBUF]
123       </table>
124     </td>
125   </tr>
126 </table>
127 <table cellspacing=5 cellpadding=0 border=0>
128   <tr>
129     <td>
130       &nbsp;
131     </td>
132     <td>
133
134 <p>
135 Host mask for this line. 
136 <p>
137
138 <p>
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>.
140 <p>
141 Referenced by <a class="el" href="users_8h-source.html#l00067">ConnectClass()</a>.    </td>
142   </tr>
143 </table>
144 <a name="o5" doxytag="ConnectClass::pass"></a><p>
145 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
146   <tr>
147     <td class="mdRow">
148       <table cellpadding="0" cellspacing="0" border="0">
149         <tr>
150           <td class="md" nowrap valign="top"> char <a class="el" href="classConnectClass.html#o5">ConnectClass::pass</a>[MAXBUF]
151       </table>
152     </td>
153   </tr>
154 </table>
155 <table cellspacing=5 cellpadding=0 border=0>
156   <tr>
157     <td>
158       &nbsp;
159     </td>
160     <td>
161
162 <p>
163 (Optional) Password for this line 
164 <p>
165
166 <p>
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>.
168 <p>
169 Referenced by <a class="el" href="users_8h-source.html#l00067">ConnectClass()</a>.    </td>
170   </tr>
171 </table>
172 <a name="o4" doxytag="ConnectClass::pingtime"></a><p>
173 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
174   <tr>
175     <td class="mdRow">
176       <table cellpadding="0" cellspacing="0" border="0">
177         <tr>
178           <td class="md" nowrap valign="top"> int <a class="el" href="classConnectClass.html#o4">ConnectClass::pingtime</a>
179       </table>
180     </td>
181   </tr>
182 </table>
183 <table cellspacing=5 cellpadding=0 border=0>
184   <tr>
185     <td>
186       &nbsp;
187     </td>
188     <td>
189
190 <p>
191 Number of seconds between pings for this line. 
192 <p>
193
194 <p>
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>.
196 <p>
197 Referenced by <a class="el" href="users_8h-source.html#l00067">ConnectClass()</a>.    </td>
198   </tr>
199 </table>
200 <a name="o1" doxytag="ConnectClass::registration_timeout"></a><p>
201 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
202   <tr>
203     <td class="mdRow">
204       <table cellpadding="0" cellspacing="0" border="0">
205         <tr>
206           <td class="md" nowrap valign="top"> int <a class="el" href="classConnectClass.html#o1">ConnectClass::registration_timeout</a>
207       </table>
208     </td>
209   </tr>
210 </table>
211 <table cellspacing=5 cellpadding=0 border=0>
212   <tr>
213     <td>
214       &nbsp;
215     </td>
216     <td>
217
218 <p>
219 Max time to register the connection in seconds. 
220 <p>
221
222 <p>
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>.
224 <p>
225 Referenced by <a class="el" href="users_8h-source.html#l00067">ConnectClass()</a>.    </td>
226   </tr>
227 </table>
228 <a name="o0" doxytag="ConnectClass::type"></a><p>
229 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
230   <tr>
231     <td class="mdRow">
232       <table cellpadding="0" cellspacing="0" border="0">
233         <tr>
234           <td class="md" nowrap valign="top"> int <a class="el" href="classConnectClass.html#o0">ConnectClass::type</a>
235       </table>
236     </td>
237   </tr>
238 </table>
239 <table cellspacing=5 cellpadding=0 border=0>
240   <tr>
241     <td>
242       &nbsp;
243     </td>
244     <td>
245
246 <p>
247 Type of line, either CC_ALLOW or CC_DENY. 
248 <p>
249
250 <p>
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>
252   </tr>
253 </table>
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 Wed Apr 13 12:32:23 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>
260 </body>
261 </html>