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