]> git.netwichtig.de Git - user/henk/code/inspircd.git/blob - docs/module-doc/classuserrec.html
Added support for module-defined chanmodes with no parameters
[user/henk/code/inspircd.git] / docs / module-doc / classuserrec.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>userrec class Reference</title>
4 <link href="inspircd.css" rel="stylesheet" type="text/css">
5 </head><body>
6 <!-- Generated by Doxygen 1.3-rc3 -->
7 <center>
8 <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>
9 <hr><h1>userrec Class Reference</h1>Holds all information about a user This class stores all information about a user connected to the irc server. 
10 <a href="#_details">More...</a>
11 <p>
12 <code>#include &lt;<a class="el" href="users_8h-source.html">users.h</a>&gt;</code>
13 <p>
14 Inheritance diagram for userrec:<p><center><img src="classuserrec__inherit__graph.gif" border="0" usemap="#userrec__inherit__map" alt="Inheritance graph"></center>
15 <map name="userrec__inherit__map">
16 <area href="classconnection.html" shape="rect" coords="7,85,76,106" alt="">
17 <area href="classclassbase.html" shape="rect" coords="8,16,75,37" alt="">
18 </map>
19 <center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for userrec:<p><center><img src="classuserrec__coll__graph.gif" border="0" usemap="#userrec__coll__map" alt="Collaboration graph"></center>
20 <map name="userrec__coll__map">
21 <area href="classconnection.html" shape="rect" coords="128,195,197,216" alt="">
22 <area href="classucrec.html" shape="rect" coords="316,195,361,216" alt="">
23 </map>
24 <center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center><a href="classuserrec-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
25 <tr><td></td></tr>
26 <tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
27 <tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classuserrec.html#a0">userrec</a> ()</td></tr>
28 <tr><td nowrap align=right valign=top>virtual&nbsp;</td><td valign=bottom><a class="el" href="classuserrec.html#a1">~userrec</a> ()</td></tr>
29 <tr><td nowrap align=right valign=top>virtual char *&nbsp;</td><td valign=bottom><a class="el" href="classuserrec.html#a2">GetFullHost</a> ()</td></tr>
30 <tr><td>&nbsp;</td><td><font size=-1><em>Returns the full displayed host of the user This member function returns the hostname of the user as seen by other users on the server, in nick!identhost form.</em> <a href="#a2"></a><em></em></font><br><br></td></tr>
31 <tr><td nowrap align=right valign=top>virtual char *&nbsp;</td><td valign=bottom><a class="el" href="classuserrec.html#a3">GetFullRealHost</a> ()</td></tr>
32 <tr><td>&nbsp;</td><td><font size=-1><em>Returns the full real host of the user This member function returns the hostname of the user as seen by other users on the server, in nick!identhost form.</em> <a href="#a3"></a><em></em></font><br><br></td></tr>
33 <tr><td nowrap align=right valign=top>virtual bool&nbsp;</td><td valign=bottom><a class="el" href="classuserrec.html#a4">IsInvited</a> (char *channel)</td></tr>
34 <tr><td>&nbsp;</td><td><font size=-1><em>Returns true if a user is invited to a channel.</em> <a href="#a4"></a><em></em></font><br><br></td></tr>
35 <tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classuserrec.html#a5">InviteTo</a> (char *channel)</td></tr>
36 <tr><td>&nbsp;</td><td><font size=-1><em>Adds a channel to a users invite list (invites them to a channel).</em> <a href="#a5"></a><em></em></font><br><br></td></tr>
37 <tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classuserrec.html#a6">RemoveInvite</a> (char *channel)</td></tr>
38 <tr><td>&nbsp;</td><td><font size=-1><em>Removes a channel from a users invite list.</em> <a href="#a6"></a><em></em></font><br><br></td></tr>
39 <tr><td colspan=2><br><h2>Public Attributes</h2></td></tr>
40 <tr><td nowrap align=right valign=top>char&nbsp;</td><td valign=bottom><a class="el" href="classuserrec.html#m0">nick</a> [NICKMAX]</td></tr>
41 <tr><td>&nbsp;</td><td><font size=-1><em>The users nickname.</em> <a href="#m0"></a><em></em></font><br><br></td></tr>
42 <tr><td nowrap align=right valign=top>char&nbsp;</td><td valign=bottom><a class="el" href="classuserrec.html#m1">ident</a> [64]</td></tr>
43 <tr><td>&nbsp;</td><td><font size=-1><em>The users ident reply.</em> <a href="#m1"></a><em></em></font><br><br></td></tr>
44 <tr><td nowrap align=right valign=top>char&nbsp;</td><td valign=bottom><a class="el" href="classuserrec.html#m2">dhost</a> [256]</td></tr>
45 <tr><td>&nbsp;</td><td><font size=-1><em>The host displayed to non-opers (used for cloaking etc).</em> <a href="#m2"></a><em></em></font><br><br></td></tr>
46 <tr><td nowrap align=right valign=top>char&nbsp;</td><td valign=bottom><a class="el" href="classuserrec.html#m3">fullname</a> [128]</td></tr>
47 <tr><td>&nbsp;</td><td><font size=-1><em>The users full name.</em> <a href="#m3"></a><em></em></font><br><br></td></tr>
48 <tr><td nowrap align=right valign=top>char&nbsp;</td><td valign=bottom><a class="el" href="classuserrec.html#m4">modes</a> [32]</td></tr>
49 <tr><td>&nbsp;</td><td><font size=-1><em>The user's mode string.</em> <a href="#m4"></a><em></em></font><br><br></td></tr>
50 <tr><td nowrap align=right valign=top><a class="el" href="classucrec.html">ucrec</a>&nbsp;</td><td valign=bottom><a class="el" href="classuserrec.html#m5">chans</a> [MAXCHANS]</td></tr>
51 <tr><td nowrap align=right valign=top>char&nbsp;</td><td valign=bottom><a class="el" href="classuserrec.html#m6">server</a> [256]</td></tr>
52 <tr><td>&nbsp;</td><td><font size=-1><em>The server the user is connected to.</em> <a href="#m6"></a><em></em></font><br><br></td></tr>
53 <tr><td nowrap align=right valign=top>char&nbsp;</td><td valign=bottom><a class="el" href="classuserrec.html#m7">awaymsg</a> [512]</td></tr>
54 <tr><td>&nbsp;</td><td><font size=-1><em>The user's away message.</em> <a href="#m7"></a><em></em></font><br><br></td></tr>
55 <tr><td nowrap align=right valign=top>char&nbsp;</td><td valign=bottom><a class="el" href="classuserrec.html#m8">result</a> [256]</td></tr>
56 <tr><td>&nbsp;</td><td><font size=-1><em>Stores the result of the last GetFullHost or GetRealHost call.</em> <a href="#m8"></a><em></em></font><br><br></td></tr>
57 <tr><td colspan=2><br><h2>Private Attributes</h2></td></tr>
58 <tr><td nowrap align=right valign=top><a class="el" href="users_8h.html#a6">InvitedList</a>&nbsp;</td><td valign=bottom><a class="el" href="classuserrec.html#o0">invites</a></td></tr>
59 <tr><td>&nbsp;</td><td><font size=-1><em>A list of channels the user has a pending invite to.</em> <a href="#o0"></a><em></em></font><br><br></td></tr>
60 </table>
61 <hr><a name="_details"></a><h2>Detailed Description</h2>
62 Holds all information about a user This class stores all information about a user connected to the irc server.
63 <p>
64 Everything about a connection is stored here primarily, from the user's socket ID (file descriptor) through to the user's nickname and hostname. Use the Find method of the server class to locate a specific user by nickname. 
65 <p>
66
67 <p>
68 Definition at line <a class="el" href="users_8h-source.html#l00058">58</a> of file <a class="el" href="users_8h-source.html">users.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
69 <a name="a0" doxytag="userrec::userrec"></a><p>
70 <table width="100%" cellpadding="2" cellspacing="0" border="0">
71   <tr>
72     <td class="md">
73       <table cellpadding="0" cellspacing="0" border="0">
74         <tr>
75           <td class="md" nowrap valign="top"> userrec::userrec </td>
76           <td class="md" valign="top">(&nbsp;</td>
77           <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
78           <td class="md" valign="top">)&nbsp;</td>
79           <td class="md" nowrap></td>
80         </tr>
81
82       </table>
83     </td>
84   </tr>
85 </table>
86 <table cellspacing=5 cellpadding=0 border=0>
87   <tr>
88     <td>
89       &nbsp;
90     </td>
91     <td>
92
93 <p>
94
95 <p>
96 Definition at line <a class="el" href="users_8cpp-source.html#l00011">11</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
97 <p>
98 References <a class="el" href="connection_8h-source.html#l00047">connection::bytes_in</a>, <a class="el" href="connection_8h-source.html#l00048">connection::bytes_out</a>, <a class="el" href="channels_8h-source.html#l00176">ucrec::channel</a>, <a class="el" href="users_8h-source.html#l00092">chans</a>, <a class="el" href="connection_8h-source.html#l00049">connection::cmds_in</a>, <a class="el" href="connection_8h-source.html#l00050">connection::cmds_out</a>, <a class="el" href="connection_8h-source.html#l00043">connection::fd</a>, <a class="el" href="connection_8h-source.html#l00051">connection::haspassed</a>, <a class="el" href="connection_8h-source.html#l00056">connection::idle_lastmsg</a>, <a class="el" href="users_8h-source.html#l00064">invites</a>, <a class="el" href="connection_8h-source.html#l00045">connection::ip</a>, <a class="el" href="connection_8h-source.html#l00054">connection::lastping</a>, <a class="el" href="connection_8h-source.html#l00057">connection::nping</a>, <a class="el" href="connection_8h-source.html#l00052">connection::port</a>, <a class="el" href="connection_8h-source.html#l00053">connection::registered</a>, and <a class="el" href="connection_8h-source.html#l00055">connection::signon</a>.
99 <p>
100 <div class="fragment"><pre>00012 {
101 00013         <span class="comment">// the PROPER way to do it, AVOID bzero at *ALL* costs</span>
102 00014         strcpy(nick,<span class="stringliteral">""</span>);
103 00015         <a class="code" href="classconnection.html#m3">ip</a> = 0;
104 00016         strcpy(ident,<span class="stringliteral">""</span>);
105 00017         strcpy(host,<span class="stringliteral">""</span>);
106 00018         strcpy(dhost,<span class="stringliteral">""</span>);
107 00019         strcpy(fullname,<span class="stringliteral">""</span>);
108 00020         strcpy(modes,<span class="stringliteral">""</span>);
109 00021         strcpy(inbuf,<span class="stringliteral">""</span>);
110 00022         strcpy(server,<span class="stringliteral">""</span>);
111 00023         strcpy(awaymsg,<span class="stringliteral">""</span>);
112 00024         <a class="code" href="classconnection.html#m1">fd</a> = <a class="code" href="classconnection.html#m12">lastping</a> = <a class="code" href="classconnection.html#m13">signon</a> = <a class="code" href="classconnection.html#m14">idle_lastmsg</a> = <a class="code" href="classconnection.html#m15">nping</a> = <a class="code" href="classconnection.html#m11">registered</a> = 0;
113 00025         <a class="code" href="classconnection.html#m10">port</a> = <a class="code" href="classconnection.html#m5">bytes_in</a> = <a class="code" href="classconnection.html#m6">bytes_out</a> = <a class="code" href="classconnection.html#m7">cmds_in</a> = <a class="code" href="classconnection.html#m8">cmds_out</a> = 0;
114 00026         <a class="code" href="classconnection.html#m9">haspassed</a> = <span class="keyword">false</span>;
115 00027         strcpy(result,<span class="stringliteral">""</span>);
116 00028         <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; MAXCHANS; i++)
117 00029         {
118 00030                 <a class="code" href="classuserrec.html#m5">chans</a>[i].<a class="code" href="classucrec.html#m1">channel</a> = NULL;
119 00031         }
120 00032         <a class="code" href="classuserrec.html#o0">invites</a>.clear();
121 00033 }
122 </pre></div>    </td>
123   </tr>
124 </table>
125 <a name="a1" doxytag="userrec::~userrec"></a><p>
126 <table width="100%" cellpadding="2" cellspacing="0" border="0">
127   <tr>
128     <td class="md">
129       <table cellpadding="0" cellspacing="0" border="0">
130         <tr>
131           <td class="md" nowrap valign="top"> virtual userrec::~userrec </td>
132           <td class="md" valign="top">(&nbsp;</td>
133           <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
134           <td class="md" valign="top">)&nbsp;</td>
135           <td class="md" nowrap><code> [inline, virtual]</code></td>
136         </tr>
137
138       </table>
139     </td>
140   </tr>
141 </table>
142 <table cellspacing=5 cellpadding=0 border=0>
143   <tr>
144     <td>
145       &nbsp;
146     </td>
147     <td>
148
149 <p>
150
151 <p>
152 Definition at line <a class="el" href="users_8h-source.html#l00110">110</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
153 <p>
154 <div class="fragment"><pre>00110 {  }
155 </pre></div>    </td>
156   </tr>
157 </table>
158 <hr><h2>Member Function Documentation</h2>
159 <a name="a2" doxytag="userrec::GetFullHost"></a><p>
160 <table width="100%" cellpadding="2" cellspacing="0" border="0">
161   <tr>
162     <td class="md">
163       <table cellpadding="0" cellspacing="0" border="0">
164         <tr>
165           <td class="md" nowrap valign="top"> char * userrec::GetFullHost </td>
166           <td class="md" valign="top">(&nbsp;</td>
167           <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
168           <td class="md" valign="top">)&nbsp;</td>
169           <td class="md" nowrap><code> [virtual]</code></td>
170         </tr>
171
172       </table>
173     </td>
174   </tr>
175 </table>
176 <table cellspacing=5 cellpadding=0 border=0>
177   <tr>
178     <td>
179       &nbsp;
180     </td>
181     <td>
182
183 <p>
184 Returns the full displayed host of the user This member function returns the hostname of the user as seen by other users on the server, in nick!identhost form.
185 <p>
186
187 <p>
188 Definition at line <a class="el" href="users_8cpp-source.html#l00036">36</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
189 <p>
190 References <a class="el" href="users_8h-source.html#l00106">result</a>.
191 <p>
192 <div class="fragment"><pre>00037 {
193 00038         sprintf(result,<span class="stringliteral">"%s!%s@%s"</span>,nick,ident,dhost);
194 00039         <span class="keywordflow">return</span> <a class="code" href="classuserrec.html#m8">result</a>;
195 00040 }
196 </pre></div>    </td>
197   </tr>
198 </table>
199 <a name="a3" doxytag="userrec::GetFullRealHost"></a><p>
200 <table width="100%" cellpadding="2" cellspacing="0" border="0">
201   <tr>
202     <td class="md">
203       <table cellpadding="0" cellspacing="0" border="0">
204         <tr>
205           <td class="md" nowrap valign="top"> char * userrec::GetFullRealHost </td>
206           <td class="md" valign="top">(&nbsp;</td>
207           <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
208           <td class="md" valign="top">)&nbsp;</td>
209           <td class="md" nowrap><code> [virtual]</code></td>
210         </tr>
211
212       </table>
213     </td>
214   </tr>
215 </table>
216 <table cellspacing=5 cellpadding=0 border=0>
217   <tr>
218     <td>
219       &nbsp;
220     </td>
221     <td>
222
223 <p>
224 Returns the full real host of the user This member function returns the hostname of the user as seen by other users on the server, in nick!identhost form.
225 <p>
226 If any form of hostname cloaking is in operation, e.g. through a module, then this method will ignore it and return the true hostname.
227 <p>
228 Definition at line <a class="el" href="users_8cpp-source.html#l00043">43</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
229 <p>
230 References <a class="el" href="users_8h-source.html#l00106">result</a>.
231 <p>
232 <div class="fragment"><pre>00044 {
233 00045         sprintf(result,<span class="stringliteral">"%s!%s@%s"</span>,nick,ident,host);
234 00046         <span class="keywordflow">return</span> <a class="code" href="classuserrec.html#m8">result</a>;
235 00047 }
236 </pre></div>    </td>
237   </tr>
238 </table>
239 <a name="a5" doxytag="userrec::InviteTo"></a><p>
240 <table width="100%" cellpadding="2" cellspacing="0" border="0">
241   <tr>
242     <td class="md">
243       <table cellpadding="0" cellspacing="0" border="0">
244         <tr>
245           <td class="md" nowrap valign="top"> void userrec::InviteTo </td>
246           <td class="md" valign="top">(&nbsp;</td>
247           <td class="md" nowrap valign="top">char *&nbsp;</td>
248           <td class="mdname1" valign="top" nowrap>&nbsp; <em>channel</em>          </td>
249           <td class="md" valign="top">)&nbsp;</td>
250           <td class="md" nowrap><code> [virtual]</code></td>
251         </tr>
252
253       </table>
254     </td>
255   </tr>
256 </table>
257 <table cellspacing=5 cellpadding=0 border=0>
258   <tr>
259     <td>
260       &nbsp;
261     </td>
262     <td>
263
264 <p>
265 Adds a channel to a users invite list (invites them to a channel).
266 <p>
267
268 <p>
269 Definition at line <a class="el" href="users_8cpp-source.html#l00063">63</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
270 <p>
271 References <a class="el" href="users_8h-source.html#l00028">Invited::channel</a>, and <a class="el" href="users_8h-source.html#l00064">invites</a>.
272 <p>
273 <div class="fragment"><pre>00064 {
274 00065         <a class="code" href="classInvited.html">Invited</a> i;
275 00066         strcpy(i.<a class="code" href="classInvited.html#m0">channel</a>,channel);
276 00067         <a class="code" href="classuserrec.html#o0">invites</a>.push_back(i);
277 00068 }
278 </pre></div>    </td>
279   </tr>
280 </table>
281 <a name="a4" doxytag="userrec::IsInvited"></a><p>
282 <table width="100%" cellpadding="2" cellspacing="0" border="0">
283   <tr>
284     <td class="md">
285       <table cellpadding="0" cellspacing="0" border="0">
286         <tr>
287           <td class="md" nowrap valign="top"> bool userrec::IsInvited </td>
288           <td class="md" valign="top">(&nbsp;</td>
289           <td class="md" nowrap valign="top">char *&nbsp;</td>
290           <td class="mdname1" valign="top" nowrap>&nbsp; <em>channel</em>          </td>
291           <td class="md" valign="top">)&nbsp;</td>
292           <td class="md" nowrap><code> [virtual]</code></td>
293         </tr>
294
295       </table>
296     </td>
297   </tr>
298 </table>
299 <table cellspacing=5 cellpadding=0 border=0>
300   <tr>
301     <td>
302       &nbsp;
303     </td>
304     <td>
305
306 <p>
307 Returns true if a user is invited to a channel.
308 <p>
309
310 <p>
311 Definition at line <a class="el" href="users_8cpp-source.html#l00049">49</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
312 <p>
313 References <a class="el" href="users_8h-source.html#l00064">invites</a>.
314 <p>
315 <div class="fragment"><pre>00050 {
316 00051         <span class="keywordflow">for</span> (InvitedList::iterator i = <a class="code" href="classuserrec.html#o0">invites</a>.begin(); i != <a class="code" href="classuserrec.html#o0">invites</a>.end(); i++)
317 00052         {
318 00053                 <span class="keywordflow">if</span> (i-&gt;channel) {
319 00054                         <span class="keywordflow">if</span> (!strcasecmp(i-&gt;channel,channel))
320 00055                         {
321 00056                                 <span class="keywordflow">return</span> <span class="keyword">true</span>;
322 00057                         }
323 00058                 }
324 00059         }
325 00060         <span class="keywordflow">return</span> <span class="keyword">false</span>;
326 00061 }
327 </pre></div>    </td>
328   </tr>
329 </table>
330 <a name="a6" doxytag="userrec::RemoveInvite"></a><p>
331 <table width="100%" cellpadding="2" cellspacing="0" border="0">
332   <tr>
333     <td class="md">
334       <table cellpadding="0" cellspacing="0" border="0">
335         <tr>
336           <td class="md" nowrap valign="top"> void userrec::RemoveInvite </td>
337           <td class="md" valign="top">(&nbsp;</td>
338           <td class="md" nowrap valign="top">char *&nbsp;</td>
339           <td class="mdname1" valign="top" nowrap>&nbsp; <em>channel</em>          </td>
340           <td class="md" valign="top">)&nbsp;</td>
341           <td class="md" nowrap><code> [virtual]</code></td>
342         </tr>
343
344       </table>
345     </td>
346   </tr>
347 </table>
348 <table cellspacing=5 cellpadding=0 border=0>
349   <tr>
350     <td>
351       &nbsp;
352     </td>
353     <td>
354
355 <p>
356 Removes a channel from a users invite list.
357 <p>
358 This member function is called on successfully joining an invite only channel to which the user has previously been invited, to clear the invitation.
359 <p>
360 Definition at line <a class="el" href="users_8cpp-source.html#l00070">70</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
361 <p>
362 References <a class="el" href="users_8h-source.html#l00064">invites</a>.
363 <p>
364 <div class="fragment"><pre>00071 {
365 00072         <span class="keywordflow">for</span> (InvitedList::iterator i = <a class="code" href="classuserrec.html#o0">invites</a>.begin(); i != <a class="code" href="classuserrec.html#o0">invites</a>.end(); i++)
366 00073         {
367 00074                 <span class="keywordflow">if</span> (i-&gt;channel) {
368 00075                         <span class="keywordflow">if</span> (!strcasecmp(i-&gt;channel,channel))
369 00076                         {
370 00077                                 <a class="code" href="classuserrec.html#o0">invites</a>.erase(i);
371 00078                                 <span class="keywordflow">return</span>;
372 00079                         }
373 00080                 }
374 00081         }
375 00082 }
376 </pre></div>    </td>
377   </tr>
378 </table>
379 <hr><h2>Member Data Documentation</h2>
380 <a name="m7" doxytag="userrec::awaymsg"></a><p>
381 <table width="100%" cellpadding="2" cellspacing="0" border="0">
382   <tr>
383     <td class="md">
384       <table cellpadding="0" cellspacing="0" border="0">
385         <tr>
386           <td class="md" nowrap valign="top"> char userrec::awaymsg[512]
387       </table>
388     </td>
389   </tr>
390 </table>
391 <table cellspacing=5 cellpadding=0 border=0>
392   <tr>
393     <td>
394       &nbsp;
395     </td>
396     <td>
397
398 <p>
399 The user's away message.
400 <p>
401 If this string is empty, the user is not marked as away.
402 <p>
403 Definition at line <a class="el" href="users_8h-source.html#l00101">101</a> of file <a class="el" href="users_8h-source.html">users.h</a>.    </td>
404   </tr>
405 </table>
406 <a name="m5" doxytag="userrec::chans"></a><p>
407 <table width="100%" cellpadding="2" cellspacing="0" border="0">
408   <tr>
409     <td class="md">
410       <table cellpadding="0" cellspacing="0" border="0">
411         <tr>
412           <td class="md" nowrap valign="top"> <a class="el" href="classucrec.html">ucrec</a> userrec::chans[MAXCHANS]
413       </table>
414     </td>
415   </tr>
416 </table>
417 <table cellspacing=5 cellpadding=0 border=0>
418   <tr>
419     <td>
420       &nbsp;
421     </td>
422     <td>
423
424 <p>
425
426 <p>
427 Definition at line <a class="el" href="users_8h-source.html#l00092">92</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
428 <p>
429 Referenced by <a class="el" href="users_8cpp-source.html#l00011">userrec()</a>.    </td>
430   </tr>
431 </table>
432 <a name="m2" doxytag="userrec::dhost"></a><p>
433 <table width="100%" cellpadding="2" cellspacing="0" border="0">
434   <tr>
435     <td class="md">
436       <table cellpadding="0" cellspacing="0" border="0">
437         <tr>
438           <td class="md" nowrap valign="top"> char userrec::dhost[256]
439       </table>
440     </td>
441   </tr>
442 </table>
443 <table cellspacing=5 cellpadding=0 border=0>
444   <tr>
445     <td>
446       &nbsp;
447     </td>
448     <td>
449
450 <p>
451 The host displayed to non-opers (used for cloaking etc).
452 <p>
453 This usually matches the value of <a class="el" href="classconnection.html#m2">userrec::host</a>.
454 <p>
455 Definition at line <a class="el" href="users_8h-source.html#l00080">80</a> of file <a class="el" href="users_8h-source.html">users.h</a>.    </td>
456   </tr>
457 </table>
458 <a name="m3" doxytag="userrec::fullname"></a><p>
459 <table width="100%" cellpadding="2" cellspacing="0" border="0">
460   <tr>
461     <td class="md">
462       <table cellpadding="0" cellspacing="0" border="0">
463         <tr>
464           <td class="md" nowrap valign="top"> char userrec::fullname[128]
465       </table>
466     </td>
467   </tr>
468 </table>
469 <table cellspacing=5 cellpadding=0 border=0>
470   <tr>
471     <td>
472       &nbsp;
473     </td>
474     <td>
475
476 <p>
477 The users full name.
478 <p>
479
480 <p>
481 Definition at line <a class="el" href="users_8h-source.html#l00084">84</a> of file <a class="el" href="users_8h-source.html">users.h</a>.    </td>
482   </tr>
483 </table>
484 <a name="m1" doxytag="userrec::ident"></a><p>
485 <table width="100%" cellpadding="2" cellspacing="0" border="0">
486   <tr>
487     <td class="md">
488       <table cellpadding="0" cellspacing="0" border="0">
489         <tr>
490           <td class="md" nowrap valign="top"> char userrec::ident[64]
491       </table>
492     </td>
493   </tr>
494 </table>
495 <table cellspacing=5 cellpadding=0 border=0>
496   <tr>
497     <td>
498       &nbsp;
499     </td>
500     <td>
501
502 <p>
503 The users ident reply.
504 <p>
505
506 <p>
507 Definition at line <a class="el" href="users_8h-source.html#l00075">75</a> of file <a class="el" href="users_8h-source.html">users.h</a>.    </td>
508   </tr>
509 </table>
510 <a name="o0" doxytag="userrec::invites"></a><p>
511 <table width="100%" cellpadding="2" cellspacing="0" border="0">
512   <tr>
513     <td class="md">
514       <table cellpadding="0" cellspacing="0" border="0">
515         <tr>
516           <td class="md" nowrap valign="top"> <a class="el" href="users_8h.html#a6">InvitedList</a> userrec::invites<code> [private]</code>
517       </table>
518     </td>
519   </tr>
520 </table>
521 <table cellspacing=5 cellpadding=0 border=0>
522   <tr>
523     <td>
524       &nbsp;
525     </td>
526     <td>
527
528 <p>
529 A list of channels the user has a pending invite to.
530 <p>
531
532 <p>
533 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>.
534 <p>
535 Referenced by <a class="el" href="users_8cpp-source.html#l00063">InviteTo()</a>, <a class="el" href="users_8cpp-source.html#l00049">IsInvited()</a>, <a class="el" href="users_8cpp-source.html#l00070">RemoveInvite()</a>, and <a class="el" href="users_8cpp-source.html#l00011">userrec()</a>.    </td>
536   </tr>
537 </table>
538 <a name="m4" doxytag="userrec::modes"></a><p>
539 <table width="100%" cellpadding="2" cellspacing="0" border="0">
540   <tr>
541     <td class="md">
542       <table cellpadding="0" cellspacing="0" border="0">
543         <tr>
544           <td class="md" nowrap valign="top"> char userrec::modes[32]
545       </table>
546     </td>
547   </tr>
548 </table>
549 <table cellspacing=5 cellpadding=0 border=0>
550   <tr>
551     <td>
552       &nbsp;
553     </td>
554     <td>
555
556 <p>
557 The user's mode string.
558 <p>
559 This may contain any of the following RFC characters: o, w, s, i Your module may define other mode characters as it sees fit.
560 <p>
561 Definition at line <a class="el" href="users_8h-source.html#l00090">90</a> of file <a class="el" href="users_8h-source.html">users.h</a>.    </td>
562   </tr>
563 </table>
564 <a name="m0" doxytag="userrec::nick"></a><p>
565 <table width="100%" cellpadding="2" cellspacing="0" border="0">
566   <tr>
567     <td class="md">
568       <table cellpadding="0" cellspacing="0" border="0">
569         <tr>
570           <td class="md" nowrap valign="top"> char userrec::nick[NICKMAX]
571       </table>
572     </td>
573   </tr>
574 </table>
575 <table cellspacing=5 cellpadding=0 border=0>
576   <tr>
577     <td>
578       &nbsp;
579     </td>
580     <td>
581
582 <p>
583 The users nickname.
584 <p>
585 An invalid nickname indicates an unregistered connection prior to the NICK command.
586 <p>
587 Definition at line <a class="el" href="users_8h-source.html#l00071">71</a> of file <a class="el" href="users_8h-source.html">users.h</a>.    </td>
588   </tr>
589 </table>
590 <a name="m8" doxytag="userrec::result"></a><p>
591 <table width="100%" cellpadding="2" cellspacing="0" border="0">
592   <tr>
593     <td class="md">
594       <table cellpadding="0" cellspacing="0" border="0">
595         <tr>
596           <td class="md" nowrap valign="top"> char userrec::result[256]
597       </table>
598     </td>
599   </tr>
600 </table>
601 <table cellspacing=5 cellpadding=0 border=0>
602   <tr>
603     <td>
604       &nbsp;
605     </td>
606     <td>
607
608 <p>
609 Stores the result of the last GetFullHost or GetRealHost call.
610 <p>
611 You may use this to increase the speed of use of this class.
612 <p>
613 Definition at line <a class="el" href="users_8h-source.html#l00106">106</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
614 <p>
615 Referenced by <a class="el" href="users_8cpp-source.html#l00036">GetFullHost()</a>, and <a class="el" href="users_8cpp-source.html#l00043">GetFullRealHost()</a>.    </td>
616   </tr>
617 </table>
618 <a name="m6" doxytag="userrec::server"></a><p>
619 <table width="100%" cellpadding="2" cellspacing="0" border="0">
620   <tr>
621     <td class="md">
622       <table cellpadding="0" cellspacing="0" border="0">
623         <tr>
624           <td class="md" nowrap valign="top"> char userrec::server[256]
625       </table>
626     </td>
627   </tr>
628 </table>
629 <table cellspacing=5 cellpadding=0 border=0>
630   <tr>
631     <td>
632       &nbsp;
633     </td>
634     <td>
635
636 <p>
637 The server the user is connected to.
638 <p>
639
640 <p>
641 Definition at line <a class="el" href="users_8h-source.html#l00096">96</a> of file <a class="el" href="users_8h-source.html">users.h</a>.    </td>
642   </tr>
643 </table>
644 <hr>The documentation for this class was generated from the following files:<ul>
645 <li><a class="el" href="users_8h-source.html">users.h</a><li><a class="el" href="users_8cpp-source.html">users.cpp</a></ul>
646 <hr><address style="align: right;"><small>Generated on Sat Apr 3 16:36:20 2004 for InspIRCd by
647 <a href="http://www.doxygen.org/index.html">
648 <img src="doxygen.png" alt="doxygen" align="middle" border=0 
649 width=110 height=53></a>1.3-rc3 </small></address>
650 </body>
651 </html>