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