]> git.netwichtig.de Git - user/henk/code/inspircd.git/blob - docs/module-doc/classuserrec.html
New documentation to document user/channel mode handling
[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="namespaces.html">Namespace List</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> [MAXBUF]</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#l00202">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         log(DEBUG,<span class="stringliteral">"Removing invites"</span>);
366 00073         <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o0">invites</a>.size())
367 00074         {
368 00075                 <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++)
369 00076                 {
370 00077                         <span class="keywordflow">if</span> (i-&gt;channel) {
371 00078                                 <span class="keywordflow">if</span> (!strcasecmp(i-&gt;channel,channel))
372 00079                                 {
373 00080                                         <a class="code" href="classuserrec.html#o0">invites</a>.erase(i);
374 00081                                         <span class="keywordflow">return</span>;
375 00082                                 }
376 00083                         }
377 00084                 }
378 00085         }
379 00086 }
380 </pre></div>    </td>
381   </tr>
382 </table>
383 <hr><h2>Member Data Documentation</h2>
384 <a name="m7" doxytag="userrec::awaymsg"></a><p>
385 <table width="100%" cellpadding="2" cellspacing="0" border="0">
386   <tr>
387     <td class="md">
388       <table cellpadding="0" cellspacing="0" border="0">
389         <tr>
390           <td class="md" nowrap valign="top"> char userrec::awaymsg[512]
391       </table>
392     </td>
393   </tr>
394 </table>
395 <table cellspacing=5 cellpadding=0 border=0>
396   <tr>
397     <td>
398       &nbsp;
399     </td>
400     <td>
401
402 <p>
403 The user's away message.
404 <p>
405 If this string is empty, the user is not marked as away.
406 <p>
407 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>
408   </tr>
409 </table>
410 <a name="m5" doxytag="userrec::chans"></a><p>
411 <table width="100%" cellpadding="2" cellspacing="0" border="0">
412   <tr>
413     <td class="md">
414       <table cellpadding="0" cellspacing="0" border="0">
415         <tr>
416           <td class="md" nowrap valign="top"> <a class="el" href="classucrec.html">ucrec</a> userrec::chans[MAXCHANS]
417       </table>
418     </td>
419   </tr>
420 </table>
421 <table cellspacing=5 cellpadding=0 border=0>
422   <tr>
423     <td>
424       &nbsp;
425     </td>
426     <td>
427
428 <p>
429
430 <p>
431 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>.
432 <p>
433 Referenced by <a class="el" href="users_8cpp-source.html#l00011">userrec()</a>.    </td>
434   </tr>
435 </table>
436 <a name="m2" doxytag="userrec::dhost"></a><p>
437 <table width="100%" cellpadding="2" cellspacing="0" border="0">
438   <tr>
439     <td class="md">
440       <table cellpadding="0" cellspacing="0" border="0">
441         <tr>
442           <td class="md" nowrap valign="top"> char userrec::dhost[256]
443       </table>
444     </td>
445   </tr>
446 </table>
447 <table cellspacing=5 cellpadding=0 border=0>
448   <tr>
449     <td>
450       &nbsp;
451     </td>
452     <td>
453
454 <p>
455 The host displayed to non-opers (used for cloaking etc).
456 <p>
457 This usually matches the value of <a class="el" href="classconnection.html#m2">userrec::host</a>.
458 <p>
459 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>
460   </tr>
461 </table>
462 <a name="m3" doxytag="userrec::fullname"></a><p>
463 <table width="100%" cellpadding="2" cellspacing="0" border="0">
464   <tr>
465     <td class="md">
466       <table cellpadding="0" cellspacing="0" border="0">
467         <tr>
468           <td class="md" nowrap valign="top"> char userrec::fullname[128]
469       </table>
470     </td>
471   </tr>
472 </table>
473 <table cellspacing=5 cellpadding=0 border=0>
474   <tr>
475     <td>
476       &nbsp;
477     </td>
478     <td>
479
480 <p>
481 The users full name.
482 <p>
483
484 <p>
485 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>
486   </tr>
487 </table>
488 <a name="m1" doxytag="userrec::ident"></a><p>
489 <table width="100%" cellpadding="2" cellspacing="0" border="0">
490   <tr>
491     <td class="md">
492       <table cellpadding="0" cellspacing="0" border="0">
493         <tr>
494           <td class="md" nowrap valign="top"> char userrec::ident[64]
495       </table>
496     </td>
497   </tr>
498 </table>
499 <table cellspacing=5 cellpadding=0 border=0>
500   <tr>
501     <td>
502       &nbsp;
503     </td>
504     <td>
505
506 <p>
507 The users ident reply.
508 <p>
509
510 <p>
511 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>
512   </tr>
513 </table>
514 <a name="o0" doxytag="userrec::invites"></a><p>
515 <table width="100%" cellpadding="2" cellspacing="0" border="0">
516   <tr>
517     <td class="md">
518       <table cellpadding="0" cellspacing="0" border="0">
519         <tr>
520           <td class="md" nowrap valign="top"> <a class="el" href="users_8h.html#a6">InvitedList</a> userrec::invites<code> [private]</code>
521       </table>
522     </td>
523   </tr>
524 </table>
525 <table cellspacing=5 cellpadding=0 border=0>
526   <tr>
527     <td>
528       &nbsp;
529     </td>
530     <td>
531
532 <p>
533 A list of channels the user has a pending invite to.
534 <p>
535
536 <p>
537 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>.
538 <p>
539 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>
540   </tr>
541 </table>
542 <a name="m4" doxytag="userrec::modes"></a><p>
543 <table width="100%" cellpadding="2" cellspacing="0" border="0">
544   <tr>
545     <td class="md">
546       <table cellpadding="0" cellspacing="0" border="0">
547         <tr>
548           <td class="md" nowrap valign="top"> char userrec::modes[MAXBUF]
549       </table>
550     </td>
551   </tr>
552 </table>
553 <table cellspacing=5 cellpadding=0 border=0>
554   <tr>
555     <td>
556       &nbsp;
557     </td>
558     <td>
559
560 <p>
561 The user's mode string.
562 <p>
563 This may contain any of the following RFC characters: o, w, s, i Your module may define other mode characters as it sees fit.
564 <p>
565 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>
566   </tr>
567 </table>
568 <a name="m0" doxytag="userrec::nick"></a><p>
569 <table width="100%" cellpadding="2" cellspacing="0" border="0">
570   <tr>
571     <td class="md">
572       <table cellpadding="0" cellspacing="0" border="0">
573         <tr>
574           <td class="md" nowrap valign="top"> char userrec::nick[NICKMAX]
575       </table>
576     </td>
577   </tr>
578 </table>
579 <table cellspacing=5 cellpadding=0 border=0>
580   <tr>
581     <td>
582       &nbsp;
583     </td>
584     <td>
585
586 <p>
587 The users nickname.
588 <p>
589 An invalid nickname indicates an unregistered connection prior to the NICK command.
590 <p>
591 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>
592   </tr>
593 </table>
594 <a name="m8" doxytag="userrec::result"></a><p>
595 <table width="100%" cellpadding="2" cellspacing="0" border="0">
596   <tr>
597     <td class="md">
598       <table cellpadding="0" cellspacing="0" border="0">
599         <tr>
600           <td class="md" nowrap valign="top"> char userrec::result[256]
601       </table>
602     </td>
603   </tr>
604 </table>
605 <table cellspacing=5 cellpadding=0 border=0>
606   <tr>
607     <td>
608       &nbsp;
609     </td>
610     <td>
611
612 <p>
613 Stores the result of the last GetFullHost or GetRealHost call.
614 <p>
615 You may use this to increase the speed of use of this class.
616 <p>
617 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>.
618 <p>
619 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>
620   </tr>
621 </table>
622 <a name="m6" doxytag="userrec::server"></a><p>
623 <table width="100%" cellpadding="2" cellspacing="0" border="0">
624   <tr>
625     <td class="md">
626       <table cellpadding="0" cellspacing="0" border="0">
627         <tr>
628           <td class="md" nowrap valign="top"> char userrec::server[256]
629       </table>
630     </td>
631   </tr>
632 </table>
633 <table cellspacing=5 cellpadding=0 border=0>
634   <tr>
635     <td>
636       &nbsp;
637     </td>
638     <td>
639
640 <p>
641 The server the user is connected to.
642 <p>
643
644 <p>
645 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>
646   </tr>
647 </table>
648 <hr>The documentation for this class was generated from the following files:<ul>
649 <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>
650 <hr><address style="align: right;"><small>Generated on Sun Apr 4 23:02:33 2004 for InspIRCd by
651 <a href="http://www.doxygen.org/index.html">
652 <img src="doxygen.png" alt="doxygen" align="middle" border=0 
653 width=110 height=53></a>1.3-rc3 </small></address>
654 </body>
655 </html>