]> git.netwichtig.de Git - user/henk/code/inspircd.git/blob - docs/module-doc/classuserrec.html
Updated docs
[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="doxygen.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="124,179,193,200" alt="">
22 <area href="classucrec.html" shape="rect" coords="312,179,357,200" 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#l00046">connection::bytes_in</a>, <a class="el" href="connection_8h-source.html#l00047">connection::bytes_out</a>, <a class="el" href="channels_8h-source.html#l00177">ucrec::channel</a>, <a class="el" href="users_8h-source.html#l00092">chans</a>, <a class="el" href="connection_8h-source.html#l00048">connection::cmds_in</a>, <a class="el" href="connection_8h-source.html#l00049">connection::cmds_out</a>, <a class="el" href="connection_8h-source.html#l00042">connection::fd</a>, <a class="el" href="connection_8h-source.html#l00050">connection::haspassed</a>, <a class="el" href="connection_8h-source.html#l00055">connection::idle_lastmsg</a>, <a class="el" href="users_8h-source.html#l00064">invites</a>, <a class="el" href="connection_8h-source.html#l00044">connection::ip</a>, <a class="el" href="connection_8h-source.html#l00053">connection::lastping</a>, <a class="el" href="connection_8h-source.html#l00056">connection::nping</a>, <a class="el" href="connection_8h-source.html#l00051">connection::port</a>, <a class="el" href="connection_8h-source.html#l00052">connection::registered</a>, and <a class="el" href="connection_8h-source.html#l00054">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#l00060">60</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>00061 {
274 00062         <a class="code" href="classInvited.html">Invited</a> i;
275 00063         strcpy(i.<a class="code" href="classInvited.html#m0">channel</a>,channel);
276 00064         <a class="code" href="classuserrec.html#o0">invites</a>.push_back(i);
277 00065 }
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> (!strcasecmp(i-&gt;channel,channel))
319 00054                 {
320 00055                         <span class="keywordflow">return</span> <span class="keyword">true</span>;
321 00056                 }
322 00057         }
323 00058 }
324 </pre></div>    </td>
325   </tr>
326 </table>
327 <a name="a6" doxytag="userrec::RemoveInvite"></a><p>
328 <table width="100%" cellpadding="2" cellspacing="0" border="0">
329   <tr>
330     <td class="md">
331       <table cellpadding="0" cellspacing="0" border="0">
332         <tr>
333           <td class="md" nowrap valign="top"> void userrec::RemoveInvite </td>
334           <td class="md" valign="top">(&nbsp;</td>
335           <td class="md" nowrap valign="top">char *&nbsp;</td>
336           <td class="mdname1" valign="top" nowrap>&nbsp; <em>channel</em>          </td>
337           <td class="md" valign="top">)&nbsp;</td>
338           <td class="md" nowrap><code> [virtual]</code></td>
339         </tr>
340
341       </table>
342     </td>
343   </tr>
344 </table>
345 <table cellspacing=5 cellpadding=0 border=0>
346   <tr>
347     <td>
348       &nbsp;
349     </td>
350     <td>
351
352 <p>
353 Removes a channel from a users invite list.
354 <p>
355 This member function is called on successfully joining an invite only channel to which the user has previously been invited, to clear the invitation.
356 <p>
357 Definition at line <a class="el" href="users_8cpp-source.html#l00067">67</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
358 <p>
359 References <a class="el" href="users_8h-source.html#l00064">invites</a>.
360 <p>
361 <div class="fragment"><pre>00068 {
362 00069         <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++)
363 00070         {
364 00071                 <span class="keywordflow">if</span> (!strcasecmp(i-&gt;channel,channel))
365 00072                 {
366 00073                         <a class="code" href="classuserrec.html#o0">invites</a>.erase(i);
367 00074                         <span class="keywordflow">return</span>;
368 00075                 }
369 00076         }
370 00077 }
371 </pre></div>    </td>
372   </tr>
373 </table>
374 <hr><h2>Member Data Documentation</h2>
375 <a name="m7" doxytag="userrec::awaymsg"></a><p>
376 <table width="100%" cellpadding="2" cellspacing="0" border="0">
377   <tr>
378     <td class="md">
379       <table cellpadding="0" cellspacing="0" border="0">
380         <tr>
381           <td class="md" nowrap valign="top"> char userrec::awaymsg[512]
382       </table>
383     </td>
384   </tr>
385 </table>
386 <table cellspacing=5 cellpadding=0 border=0>
387   <tr>
388     <td>
389       &nbsp;
390     </td>
391     <td>
392
393 <p>
394 The user's away message.
395 <p>
396 If this string is empty, the user is not marked as away.
397 <p>
398 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>
399   </tr>
400 </table>
401 <a name="m5" doxytag="userrec::chans"></a><p>
402 <table width="100%" cellpadding="2" cellspacing="0" border="0">
403   <tr>
404     <td class="md">
405       <table cellpadding="0" cellspacing="0" border="0">
406         <tr>
407           <td class="md" nowrap valign="top"> <a class="el" href="classucrec.html">ucrec</a> userrec::chans[MAXCHANS]
408       </table>
409     </td>
410   </tr>
411 </table>
412 <table cellspacing=5 cellpadding=0 border=0>
413   <tr>
414     <td>
415       &nbsp;
416     </td>
417     <td>
418
419 <p>
420
421 <p>
422 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>.
423 <p>
424 Referenced by <a class="el" href="users_8cpp-source.html#l00011">userrec()</a>.    </td>
425   </tr>
426 </table>
427 <a name="m2" doxytag="userrec::dhost"></a><p>
428 <table width="100%" cellpadding="2" cellspacing="0" border="0">
429   <tr>
430     <td class="md">
431       <table cellpadding="0" cellspacing="0" border="0">
432         <tr>
433           <td class="md" nowrap valign="top"> char userrec::dhost[256]
434       </table>
435     </td>
436   </tr>
437 </table>
438 <table cellspacing=5 cellpadding=0 border=0>
439   <tr>
440     <td>
441       &nbsp;
442     </td>
443     <td>
444
445 <p>
446 The host displayed to non-opers (used for cloaking etc).
447 <p>
448 This usually matches the value of <a class="el" href="classconnection.html#m2">userrec::host</a>.
449 <p>
450 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>
451   </tr>
452 </table>
453 <a name="m3" doxytag="userrec::fullname"></a><p>
454 <table width="100%" cellpadding="2" cellspacing="0" border="0">
455   <tr>
456     <td class="md">
457       <table cellpadding="0" cellspacing="0" border="0">
458         <tr>
459           <td class="md" nowrap valign="top"> char userrec::fullname[128]
460       </table>
461     </td>
462   </tr>
463 </table>
464 <table cellspacing=5 cellpadding=0 border=0>
465   <tr>
466     <td>
467       &nbsp;
468     </td>
469     <td>
470
471 <p>
472 The users full name.
473 <p>
474
475 <p>
476 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>
477   </tr>
478 </table>
479 <a name="m1" doxytag="userrec::ident"></a><p>
480 <table width="100%" cellpadding="2" cellspacing="0" border="0">
481   <tr>
482     <td class="md">
483       <table cellpadding="0" cellspacing="0" border="0">
484         <tr>
485           <td class="md" nowrap valign="top"> char userrec::ident[64]
486       </table>
487     </td>
488   </tr>
489 </table>
490 <table cellspacing=5 cellpadding=0 border=0>
491   <tr>
492     <td>
493       &nbsp;
494     </td>
495     <td>
496
497 <p>
498 The users ident reply.
499 <p>
500
501 <p>
502 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>
503   </tr>
504 </table>
505 <a name="o0" doxytag="userrec::invites"></a><p>
506 <table width="100%" cellpadding="2" cellspacing="0" border="0">
507   <tr>
508     <td class="md">
509       <table cellpadding="0" cellspacing="0" border="0">
510         <tr>
511           <td class="md" nowrap valign="top"> <a class="el" href="users_8h.html#a6">InvitedList</a> userrec::invites<code> [private]</code>
512       </table>
513     </td>
514   </tr>
515 </table>
516 <table cellspacing=5 cellpadding=0 border=0>
517   <tr>
518     <td>
519       &nbsp;
520     </td>
521     <td>
522
523 <p>
524 A list of channels the user has a pending invite to.
525 <p>
526
527 <p>
528 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>.
529 <p>
530 Referenced by <a class="el" href="users_8cpp-source.html#l00060">InviteTo()</a>, <a class="el" href="users_8cpp-source.html#l00049">IsInvited()</a>, <a class="el" href="users_8cpp-source.html#l00067">RemoveInvite()</a>, and <a class="el" href="users_8cpp-source.html#l00011">userrec()</a>.    </td>
531   </tr>
532 </table>
533 <a name="m4" doxytag="userrec::modes"></a><p>
534 <table width="100%" cellpadding="2" cellspacing="0" border="0">
535   <tr>
536     <td class="md">
537       <table cellpadding="0" cellspacing="0" border="0">
538         <tr>
539           <td class="md" nowrap valign="top"> char userrec::modes[32]
540       </table>
541     </td>
542   </tr>
543 </table>
544 <table cellspacing=5 cellpadding=0 border=0>
545   <tr>
546     <td>
547       &nbsp;
548     </td>
549     <td>
550
551 <p>
552 The user's mode string.
553 <p>
554 This may contain any of the following RFC characters: o, w, s, i Your module may define other mode characters as it sees fit.
555 <p>
556 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>
557   </tr>
558 </table>
559 <a name="m0" doxytag="userrec::nick"></a><p>
560 <table width="100%" cellpadding="2" cellspacing="0" border="0">
561   <tr>
562     <td class="md">
563       <table cellpadding="0" cellspacing="0" border="0">
564         <tr>
565           <td class="md" nowrap valign="top"> char userrec::nick[NICKMAX]
566       </table>
567     </td>
568   </tr>
569 </table>
570 <table cellspacing=5 cellpadding=0 border=0>
571   <tr>
572     <td>
573       &nbsp;
574     </td>
575     <td>
576
577 <p>
578 The users nickname.
579 <p>
580 An invalid nickname indicates an unregistered connection prior to the NICK command.
581 <p>
582 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>
583   </tr>
584 </table>
585 <a name="m8" doxytag="userrec::result"></a><p>
586 <table width="100%" cellpadding="2" cellspacing="0" border="0">
587   <tr>
588     <td class="md">
589       <table cellpadding="0" cellspacing="0" border="0">
590         <tr>
591           <td class="md" nowrap valign="top"> char userrec::result[256]
592       </table>
593     </td>
594   </tr>
595 </table>
596 <table cellspacing=5 cellpadding=0 border=0>
597   <tr>
598     <td>
599       &nbsp;
600     </td>
601     <td>
602
603 <p>
604 Stores the result of the last GetFullHost or GetRealHost call.
605 <p>
606 You may use this to increase the speed of use of this class.
607 <p>
608 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>.
609 <p>
610 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>
611   </tr>
612 </table>
613 <a name="m6" doxytag="userrec::server"></a><p>
614 <table width="100%" cellpadding="2" cellspacing="0" border="0">
615   <tr>
616     <td class="md">
617       <table cellpadding="0" cellspacing="0" border="0">
618         <tr>
619           <td class="md" nowrap valign="top"> char userrec::server[256]
620       </table>
621     </td>
622   </tr>
623 </table>
624 <table cellspacing=5 cellpadding=0 border=0>
625   <tr>
626     <td>
627       &nbsp;
628     </td>
629     <td>
630
631 <p>
632 The server the user is connected to.
633 <p>
634
635 <p>
636 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>
637   </tr>
638 </table>
639 <hr>The documentation for this class was generated from the following files:<ul>
640 <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>
641 <hr><address style="align: right;"><small>Generated on Sun Mar 30 19:36:35 2003 for InspIRCd by
642 <a href="http://www.doxygen.org/index.html">
643 <img src="doxygen.png" alt="doxygen" align="middle" border=0 
644 width=110 height=53></a>1.3-rc3 </small></address>
645 </body>
646 </html>