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">
6 <!-- Generated by Doxygen 1.3-rc3 -->
8 <a class="qindex" href="main.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </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>
12 <code>#include <<a class="el" href="users_8h-source.html">users.h</a>></code>
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="">
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="136,203,205,224" alt="">
22 <area href="classucrec.html" shape="rect" coords="447,203,492,224" alt="">
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>
26 <tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
27 <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classuserrec.html#a0">userrec</a> ()</td></tr>
28 <tr><td nowrap align=right valign=top>virtual </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 * </td><td valign=bottom><a class="el" href="classuserrec.html#a2">GetFullHost</a> ()</td></tr>
30 <tr><td> </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 * </td><td valign=bottom><a class="el" href="classuserrec.html#a3">GetFullRealHost</a> ()</td></tr>
32 <tr><td> </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 </td><td valign=bottom><a class="el" href="classuserrec.html#a4">IsInvited</a> (char *channel)</td></tr>
34 <tr><td> </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 </td><td valign=bottom><a class="el" href="classuserrec.html#a5">InviteTo</a> (char *channel)</td></tr>
36 <tr><td> </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 </td><td valign=bottom><a class="el" href="classuserrec.html#a6">RemoveInvite</a> (char *channel)</td></tr>
38 <tr><td> </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 </td><td valign=bottom><a class="el" href="classuserrec.html#m0">nick</a> [NICKMAX]</td></tr>
41 <tr><td> </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 </td><td valign=bottom><a class="el" href="classuserrec.html#m1">ident</a> [64]</td></tr>
43 <tr><td> </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 </td><td valign=bottom><a class="el" href="classuserrec.html#m2">dhost</a> [256]</td></tr>
45 <tr><td> </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 </td><td valign=bottom><a class="el" href="classuserrec.html#m3">fullname</a> [128]</td></tr>
47 <tr><td> </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 </td><td valign=bottom><a class="el" href="classuserrec.html#m4">modes</a> [MAXBUF]</td></tr>
49 <tr><td> </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> </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 </td><td valign=bottom><a class="el" href="classuserrec.html#m6">server</a> [256]</td></tr>
52 <tr><td> </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 </td><td valign=bottom><a class="el" href="classuserrec.html#m7">awaymsg</a> [512]</td></tr>
54 <tr><td> </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 </td><td valign=bottom><a class="el" href="classuserrec.html#m8">result</a> [256]</td></tr>
56 <tr><td> </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>char </td><td valign=bottom><a class="el" href="classuserrec.html#m9">carryover</a> [MAXBUF]</td></tr>
58 <tr><td nowrap align=right valign=top>unsigned long </td><td valign=bottom><a class="el" href="classuserrec.html#m10">timeout</a></td></tr>
59 <tr><td colspan=2><br><h2>Private Attributes</h2></td></tr>
60 <tr><td nowrap align=right valign=top><a class="el" href="users_8h.html#a6">InvitedList</a> </td><td valign=bottom><a class="el" href="classuserrec.html#o0">invites</a></td></tr>
61 <tr><td> </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>
63 <hr><a name="_details"></a><h2>Detailed Description</h2>
64 Holds all information about a user This class stores all information about a user connected to the irc server.
66 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.
70 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 & Destructor Documentation</h2>
71 <a name="a0" doxytag="userrec::userrec"></a><p>
72 <table width="100%" cellpadding="2" cellspacing="0" border="0">
75 <table cellpadding="0" cellspacing="0" border="0">
77 <td class="md" nowrap valign="top"> userrec::userrec </td>
78 <td class="md" valign="top">( </td>
79 <td class="mdname1" valign="top" nowrap> </td>
80 <td class="md" valign="top">) </td>
81 <td class="md" nowrap></td>
88 <table cellspacing=5 cellpadding=0 border=0>
98 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>.
100 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#l00118">timeout</a>.
102 <div class="fragment"><pre>00012 {
103 00013 <span class="comment">// the PROPER way to do it, AVOID bzero at *ALL* costs</span>
104 00014 strcpy(nick,<span class="stringliteral">""</span>);
105 00015 <a class="code" href="classconnection.html#m3">ip</a> = 0;
106 00016 <a class="code" href="classuserrec.html#m10">timeout</a> = 0;
107 00017 strcpy(ident,<span class="stringliteral">""</span>);
108 00018 strcpy(host,<span class="stringliteral">""</span>);
109 00019 strcpy(dhost,<span class="stringliteral">""</span>);
110 00020 strcpy(fullname,<span class="stringliteral">""</span>);
111 00021 strcpy(modes,<span class="stringliteral">""</span>);
112 00022 strcpy(inbuf,<span class="stringliteral">""</span>);
113 00023 strcpy(server,<span class="stringliteral">""</span>);
114 00024 strcpy(awaymsg,<span class="stringliteral">""</span>);
115 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;
116 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;
117 00027 <a class="code" href="classconnection.html#m9">haspassed</a> = <span class="keyword">false</span>;
118 00028 strcpy(result,<span class="stringliteral">""</span>);
119 00029 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < MAXCHANS; i++)
121 00031 <a class="code" href="classuserrec.html#m5">chans</a>[i].<a class="code" href="classucrec.html#m1">channel</a> = NULL;
123 00033 <a class="code" href="classuserrec.html#o0">invites</a>.clear();
128 <a name="a1" doxytag="userrec::~userrec"></a><p>
129 <table width="100%" cellpadding="2" cellspacing="0" border="0">
132 <table cellpadding="0" cellspacing="0" border="0">
134 <td class="md" nowrap valign="top"> virtual userrec::~userrec </td>
135 <td class="md" valign="top">( </td>
136 <td class="mdname1" valign="top" nowrap> </td>
137 <td class="md" valign="top">) </td>
138 <td class="md" nowrap><code> [inline, virtual]</code></td>
145 <table cellspacing=5 cellpadding=0 border=0>
155 Definition at line <a class="el" href="users_8h-source.html#l00122">122</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
157 <div class="fragment"><pre>00122 { }
161 <hr><h2>Member Function Documentation</h2>
162 <a name="a2" doxytag="userrec::GetFullHost"></a><p>
163 <table width="100%" cellpadding="2" cellspacing="0" border="0">
166 <table cellpadding="0" cellspacing="0" border="0">
168 <td class="md" nowrap valign="top"> char * userrec::GetFullHost </td>
169 <td class="md" valign="top">( </td>
170 <td class="mdname1" valign="top" nowrap> </td>
171 <td class="md" valign="top">) </td>
172 <td class="md" nowrap><code> [virtual]</code></td>
179 <table cellspacing=5 cellpadding=0 border=0>
187 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.
191 Definition at line <a class="el" href="users_8cpp-source.html#l00038">38</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
193 References <a class="el" href="users_8h-source.html#l00114">result</a>.
195 <div class="fragment"><pre>00039 {
196 00040 sprintf(result,<span class="stringliteral">"%s!%s@%s"</span>,nick,ident,dhost);
197 00041 <span class="keywordflow">return</span> <a class="code" href="classuserrec.html#m8">result</a>;
202 <a name="a3" doxytag="userrec::GetFullRealHost"></a><p>
203 <table width="100%" cellpadding="2" cellspacing="0" border="0">
206 <table cellpadding="0" cellspacing="0" border="0">
208 <td class="md" nowrap valign="top"> char * userrec::GetFullRealHost </td>
209 <td class="md" valign="top">( </td>
210 <td class="mdname1" valign="top" nowrap> </td>
211 <td class="md" valign="top">) </td>
212 <td class="md" nowrap><code> [virtual]</code></td>
219 <table cellspacing=5 cellpadding=0 border=0>
227 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.
229 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.
231 Definition at line <a class="el" href="users_8cpp-source.html#l00045">45</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
233 References <a class="el" href="users_8h-source.html#l00114">result</a>.
235 <div class="fragment"><pre>00046 {
236 00047 sprintf(result,<span class="stringliteral">"%s!%s@%s"</span>,nick,ident,host);
237 00048 <span class="keywordflow">return</span> <a class="code" href="classuserrec.html#m8">result</a>;
242 <a name="a5" doxytag="userrec::InviteTo"></a><p>
243 <table width="100%" cellpadding="2" cellspacing="0" border="0">
246 <table cellpadding="0" cellspacing="0" border="0">
248 <td class="md" nowrap valign="top"> void userrec::InviteTo </td>
249 <td class="md" valign="top">( </td>
250 <td class="md" nowrap valign="top">char * </td>
251 <td class="mdname1" valign="top" nowrap> <em>channel</em> </td>
252 <td class="md" valign="top">) </td>
253 <td class="md" nowrap><code> [virtual]</code></td>
260 <table cellspacing=5 cellpadding=0 border=0>
268 Adds a channel to a users invite list (invites them to a channel).
272 Definition at line <a class="el" href="users_8cpp-source.html#l00065">65</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
274 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>.
276 <div class="fragment"><pre>00066 {
277 00067 <a class="code" href="classInvited.html">Invited</a> i;
278 00068 strcpy(i.<a class="code" href="classInvited.html#m0">channel</a>,channel);
279 00069 <a class="code" href="classuserrec.html#o0">invites</a>.push_back(i);
284 <a name="a4" doxytag="userrec::IsInvited"></a><p>
285 <table width="100%" cellpadding="2" cellspacing="0" border="0">
288 <table cellpadding="0" cellspacing="0" border="0">
290 <td class="md" nowrap valign="top"> bool userrec::IsInvited </td>
291 <td class="md" valign="top">( </td>
292 <td class="md" nowrap valign="top">char * </td>
293 <td class="mdname1" valign="top" nowrap> <em>channel</em> </td>
294 <td class="md" valign="top">) </td>
295 <td class="md" nowrap><code> [virtual]</code></td>
302 <table cellspacing=5 cellpadding=0 border=0>
310 Returns true if a user is invited to a channel.
314 Definition at line <a class="el" href="users_8cpp-source.html#l00051">51</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
316 References <a class="el" href="users_8h-source.html#l00072">invites</a>.
318 <div class="fragment"><pre>00052 {
319 00053 <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++)
321 00055 <span class="keywordflow">if</span> (i->channel) {
322 00056 <span class="keywordflow">if</span> (!strcasecmp(i->channel,channel))
324 00058 <span class="keywordflow">return</span> <span class="keyword">true</span>;
328 00062 <span class="keywordflow">return</span> <span class="keyword">false</span>;
333 <a name="a6" doxytag="userrec::RemoveInvite"></a><p>
334 <table width="100%" cellpadding="2" cellspacing="0" border="0">
337 <table cellpadding="0" cellspacing="0" border="0">
339 <td class="md" nowrap valign="top"> void userrec::RemoveInvite </td>
340 <td class="md" valign="top">( </td>
341 <td class="md" nowrap valign="top">char * </td>
342 <td class="mdname1" valign="top" nowrap> <em>channel</em> </td>
343 <td class="md" valign="top">) </td>
344 <td class="md" nowrap><code> [virtual]</code></td>
351 <table cellspacing=5 cellpadding=0 border=0>
359 Removes a channel from a users invite list.
361 This member function is called on successfully joining an invite only channel to which the user has previously been invited, to clear the invitation.
363 Definition at line <a class="el" href="users_8cpp-source.html#l00072">72</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
365 References <a class="el" href="users_8h-source.html#l00072">invites</a>.
367 <div class="fragment"><pre>00073 {
368 00074 log(DEBUG,<span class="stringliteral">"Removing invites"</span>);
369 00075 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o0">invites</a>.size())
371 00077 <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++)
373 00079 <span class="keywordflow">if</span> (i->channel) {
374 00080 <span class="keywordflow">if</span> (!strcasecmp(i->channel,channel))
376 00082 <a class="code" href="classuserrec.html#o0">invites</a>.erase(i);
377 00083 <span class="keywordflow">return</span>;
386 <hr><h2>Member Data Documentation</h2>
387 <a name="m7" doxytag="userrec::awaymsg"></a><p>
388 <table width="100%" cellpadding="2" cellspacing="0" border="0">
391 <table cellpadding="0" cellspacing="0" border="0">
393 <td class="md" nowrap valign="top"> char userrec::awaymsg[512]
398 <table cellspacing=5 cellpadding=0 border=0>
406 The user's away message.
408 If this string is empty, the user is not marked as away.
410 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>
413 <a name="m9" doxytag="userrec::carryover"></a><p>
414 <table width="100%" cellpadding="2" cellspacing="0" border="0">
417 <table cellpadding="0" cellspacing="0" border="0">
419 <td class="md" nowrap valign="top"> char userrec::carryover[MAXBUF]
424 <table cellspacing=5 cellpadding=0 border=0>
434 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>. </td>
437 <a name="m5" doxytag="userrec::chans"></a><p>
438 <table width="100%" cellpadding="2" cellspacing="0" border="0">
441 <table cellpadding="0" cellspacing="0" border="0">
443 <td class="md" nowrap valign="top"> <a class="el" href="classucrec.html">ucrec</a> userrec::chans[MAXCHANS]
448 <table cellspacing=5 cellpadding=0 border=0>
458 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>.
460 Referenced by <a class="el" href="users_8cpp-source.html#l00011">userrec()</a>. </td>
463 <a name="m2" doxytag="userrec::dhost"></a><p>
464 <table width="100%" cellpadding="2" cellspacing="0" border="0">
467 <table cellpadding="0" cellspacing="0" border="0">
469 <td class="md" nowrap valign="top"> char userrec::dhost[256]
474 <table cellspacing=5 cellpadding=0 border=0>
482 The host displayed to non-opers (used for cloaking etc).
484 This usually matches the value of <a class="el" href="classconnection.html#m2">userrec::host</a>.
486 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>
489 <a name="m3" doxytag="userrec::fullname"></a><p>
490 <table width="100%" cellpadding="2" cellspacing="0" border="0">
493 <table cellpadding="0" cellspacing="0" border="0">
495 <td class="md" nowrap valign="top"> char userrec::fullname[128]
500 <table cellspacing=5 cellpadding=0 border=0>
512 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>
515 <a name="m1" doxytag="userrec::ident"></a><p>
516 <table width="100%" cellpadding="2" cellspacing="0" border="0">
519 <table cellpadding="0" cellspacing="0" border="0">
521 <td class="md" nowrap valign="top"> char userrec::ident[64]
526 <table cellspacing=5 cellpadding=0 border=0>
534 The users ident reply.
538 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>
541 <a name="o0" doxytag="userrec::invites"></a><p>
542 <table width="100%" cellpadding="2" cellspacing="0" border="0">
545 <table cellpadding="0" cellspacing="0" border="0">
547 <td class="md" nowrap valign="top"> <a class="el" href="users_8h.html#a6">InvitedList</a> userrec::invites<code> [private]</code>
552 <table cellspacing=5 cellpadding=0 border=0>
560 A list of channels the user has a pending invite to.
564 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>.
566 Referenced by <a class="el" href="users_8cpp-source.html#l00065">InviteTo()</a>, <a class="el" href="users_8cpp-source.html#l00051">IsInvited()</a>, <a class="el" href="users_8cpp-source.html#l00072">RemoveInvite()</a>, and <a class="el" href="users_8cpp-source.html#l00011">userrec()</a>. </td>
569 <a name="m4" doxytag="userrec::modes"></a><p>
570 <table width="100%" cellpadding="2" cellspacing="0" border="0">
573 <table cellpadding="0" cellspacing="0" border="0">
575 <td class="md" nowrap valign="top"> char userrec::modes[MAXBUF]
580 <table cellspacing=5 cellpadding=0 border=0>
588 The user's mode string.
590 This may contain any of the following RFC characters: o, w, s, i Your module may define other mode characters as it sees fit.
592 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>
595 <a name="m0" doxytag="userrec::nick"></a><p>
596 <table width="100%" cellpadding="2" cellspacing="0" border="0">
599 <table cellpadding="0" cellspacing="0" border="0">
601 <td class="md" nowrap valign="top"> char userrec::nick[NICKMAX]
606 <table cellspacing=5 cellpadding=0 border=0>
616 An invalid nickname indicates an unregistered connection prior to the NICK command.
618 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>
621 <a name="m8" doxytag="userrec::result"></a><p>
622 <table width="100%" cellpadding="2" cellspacing="0" border="0">
625 <table cellpadding="0" cellspacing="0" border="0">
627 <td class="md" nowrap valign="top"> char userrec::result[256]
632 <table cellspacing=5 cellpadding=0 border=0>
640 Stores the result of the last GetFullHost or GetRealHost call.
642 You may use this to increase the speed of use of this class.
644 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>.
646 Referenced by <a class="el" href="users_8cpp-source.html#l00038">GetFullHost()</a>, and <a class="el" href="users_8cpp-source.html#l00045">GetFullRealHost()</a>. </td>
649 <a name="m6" doxytag="userrec::server"></a><p>
650 <table width="100%" cellpadding="2" cellspacing="0" border="0">
653 <table cellpadding="0" cellspacing="0" border="0">
655 <td class="md" nowrap valign="top"> char userrec::server[256]
660 <table cellspacing=5 cellpadding=0 border=0>
668 The server the user is connected to.
672 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>
675 <a name="m10" doxytag="userrec::timeout"></a><p>
676 <table width="100%" cellpadding="2" cellspacing="0" border="0">
679 <table cellpadding="0" cellspacing="0" border="0">
681 <td class="md" nowrap valign="top"> unsigned long userrec::timeout
686 <table cellspacing=5 cellpadding=0 border=0>
696 Definition at line <a class="el" href="users_8h-source.html#l00118">118</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
698 Referenced by <a class="el" href="users_8cpp-source.html#l00011">userrec()</a>. </td>
701 <hr>The documentation for this class was generated from the following files:<ul>
702 <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>
703 <hr><address style="align: right;"><small>Generated on Thu Apr 8 19:13:23 2004 for InspIRCd by
704 <a href="http://www.doxygen.org/index.html">
705 <img src="doxygen.png" alt="doxygen" align="middle" border=0
706 width=110 height=53></a>1.3-rc3 </small></address>