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>message.h File 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>message.h File Reference</h1><code>#include <typeinfo></code><br>
10 <code>#include <iostream></code><br>
11 <code>#include <string></code><br>
12 <code>#include <deque></code><br>
13 <code>#include <sstream></code><br>
14 <code>#include <vector></code><br>
15 <code>#include "<a class="el" href="users_8h-source.html">users.h</a>"</code><br>
16 <code>#include "<a class="el" href="channels_8h-source.html">channels.h</a>"</code><br>
19 Include dependency graph for message.h:<p><center><img src="message_8h__incl.gif" border="0" usemap="#message.h_map" alt="Include dependency graph"></center>
20 <map name="message.h_map">
21 <area href="users_8h.html" shape="rect" coords="351,155,401,176" alt="">
22 <area href="channels_8h.html" shape="rect" coords="476,86,548,107" alt="">
23 <area href="connection_8h.html" shape="rect" coords="321,86,401,107" alt="">
27 This graph shows which files directly or indirectly include this file:<p><center><img src="message_8h__dep__incl.gif" border="0" usemap="#message.hdep_map" alt="Included by dependency graph"></center>
28 <map name="message.hdep_map">
29 <area href="channels_8cpp.html" shape="rect" coords="7,16,95,37" alt="">
30 <area href="modules_8cpp.html" shape="rect" coords="119,16,201,37" alt="">
34 <a href="message_8h-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0>
36 <tr><td colspan=2><br><h2>Functions</h2></td></tr>
37 <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="message_8h.html#a0">common_channels</a> (<a class="el" href="classuserrec.html">userrec</a> *u, <a class="el" href="classuserrec.html">userrec</a> *u2)</td></tr>
38 <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="message_8h.html#a1">chop</a> (char *str)</td></tr>
39 <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="message_8h.html#a2">tidystring</a> (char *str)</td></tr>
40 <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="message_8h.html#a3">safedelete</a> (<a class="el" href="classchanrec.html">chanrec</a> *p)</td></tr>
41 <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="message_8h.html#a4">safedelete</a> (<a class="el" href="classuserrec.html">userrec</a> *p)</td></tr>
42 <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="message_8h.html#a5">Blocking</a> (int s)</td></tr>
43 <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="message_8h.html#a6">NonBlocking</a> (int s)</td></tr>
44 <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="message_8h.html#a7">CleanAndResolve</a> (char *resolvedHost, const char *unresolvedHost)</td></tr>
45 <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="message_8h.html#a8">c_count</a> (<a class="el" href="classuserrec.html">userrec</a> *u)</td></tr>
46 <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="message_8h.html#a9">hasumode</a> (<a class="el" href="classuserrec.html">userrec</a> *user, char mode)</td></tr>
47 <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="message_8h.html#a10">ChangeName</a> (<a class="el" href="classuserrec.html">userrec</a> *user, const char *gecos)</td></tr>
48 <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="message_8h.html#a11">ChangeDisplayedHost</a> (<a class="el" href="classuserrec.html">userrec</a> *user, const char *host)</td></tr>
49 <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="message_8h.html#a12">isident</a> (const char *n)</td></tr>
50 <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="message_8h.html#a13">isnick</a> (const char *n)</td></tr>
51 <tr><td nowrap align=right valign=top>char * </td><td valign=bottom><a class="el" href="message_8h.html#a14">cmode</a> (<a class="el" href="classuserrec.html">userrec</a> *user, <a class="el" href="classchanrec.html">chanrec</a> *chan)</td></tr>
52 <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="message_8h.html#a15">cstatus</a> (<a class="el" href="classuserrec.html">userrec</a> *user, <a class="el" href="classchanrec.html">chanrec</a> *chan)</td></tr>
53 <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="message_8h.html#a16">has_channel</a> (<a class="el" href="classuserrec.html">userrec</a> *u, <a class="el" href="classchanrec.html">chanrec</a> *c)</td></tr>
54 <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="message_8h.html#a17">TidyBan</a> (char *ban)</td></tr>
55 <tr><td nowrap align=right valign=top>char * </td><td valign=bottom><a class="el" href="message_8h.html#a18">chlist</a> (<a class="el" href="classuserrec.html">userrec</a> *user)</td></tr>
56 <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="message_8h.html#a19">send_network_quit</a> (const char *nick, const char *reason)</td></tr>
58 <hr><h2>Function Documentation</h2>
59 <a name="a5" doxytag="message.h::Blocking"></a><p>
60 <table width="100%" cellpadding="2" cellspacing="0" border="0">
63 <table cellpadding="0" cellspacing="0" border="0">
65 <td class="md" nowrap valign="top"> void Blocking </td>
66 <td class="md" valign="top">( </td>
67 <td class="md" nowrap valign="top">int </td>
68 <td class="mdname1" valign="top" nowrap> <em>s</em> </td>
69 <td class="md" valign="top">) </td>
70 <td class="md" nowrap></td>
77 <table cellspacing=5 cellpadding=0 border=0>
88 <a name="a8" doxytag="message.h::c_count"></a><p>
89 <table width="100%" cellpadding="2" cellspacing="0" border="0">
92 <table cellpadding="0" cellspacing="0" border="0">
94 <td class="md" nowrap valign="top"> int c_count </td>
95 <td class="md" valign="top">( </td>
96 <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td>
97 <td class="mdname1" valign="top" nowrap> <em>u</em> </td>
98 <td class="md" valign="top">) </td>
99 <td class="md" nowrap></td>
106 <table cellspacing=5 cellpadding=0 border=0>
117 <a name="a11" doxytag="message.h::ChangeDisplayedHost"></a><p>
118 <table width="100%" cellpadding="2" cellspacing="0" border="0">
121 <table cellpadding="0" cellspacing="0" border="0">
123 <td class="md" nowrap valign="top"> void ChangeDisplayedHost </td>
124 <td class="md" valign="top">( </td>
125 <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td>
126 <td class="mdname" nowrap> <em>user</em>, </td>
131 <td class="md" nowrap>const char * </td>
132 <td class="mdname" nowrap> <em>host</em></td>
136 <td class="md">) </td>
137 <td class="md" colspan="2"></td>
144 <table cellspacing=5 cellpadding=0 border=0>
154 Referenced by <a class="el" href="modules_8cpp-source.html#l00467">Server::ChangeHost()</a>. </td>
157 <a name="a10" doxytag="message.h::ChangeName"></a><p>
158 <table width="100%" cellpadding="2" cellspacing="0" border="0">
161 <table cellpadding="0" cellspacing="0" border="0">
163 <td class="md" nowrap valign="top"> void ChangeName </td>
164 <td class="md" valign="top">( </td>
165 <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td>
166 <td class="mdname" nowrap> <em>user</em>, </td>
171 <td class="md" nowrap>const char * </td>
172 <td class="mdname" nowrap> <em>gecos</em></td>
176 <td class="md">) </td>
177 <td class="md" colspan="2"></td>
184 <table cellspacing=5 cellpadding=0 border=0>
194 Referenced by <a class="el" href="modules_8cpp-source.html#l00472">Server::ChangeGECOS()</a>. </td>
197 <a name="a18" doxytag="message.h::chlist"></a><p>
198 <table width="100%" cellpadding="2" cellspacing="0" border="0">
201 <table cellpadding="0" cellspacing="0" border="0">
203 <td class="md" nowrap valign="top"> char* chlist </td>
204 <td class="md" valign="top">( </td>
205 <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td>
206 <td class="mdname1" valign="top" nowrap> <em>user</em> </td>
207 <td class="md" valign="top">) </td>
208 <td class="md" nowrap></td>
215 <table cellspacing=5 cellpadding=0 border=0>
226 <a name="a1" doxytag="message.h::chop"></a><p>
227 <table width="100%" cellpadding="2" cellspacing="0" border="0">
230 <table cellpadding="0" cellspacing="0" border="0">
232 <td class="md" nowrap valign="top"> void chop </td>
233 <td class="md" valign="top">( </td>
234 <td class="md" nowrap valign="top">char * </td>
235 <td class="mdname1" valign="top" nowrap> <em>str</em> </td>
236 <td class="md" valign="top">) </td>
237 <td class="md" nowrap></td>
244 <table cellspacing=5 cellpadding=0 border=0>
255 <a name="a7" doxytag="message.h::CleanAndResolve"></a><p>
256 <table width="100%" cellpadding="2" cellspacing="0" border="0">
259 <table cellpadding="0" cellspacing="0" border="0">
261 <td class="md" nowrap valign="top"> int CleanAndResolve </td>
262 <td class="md" valign="top">( </td>
263 <td class="md" nowrap valign="top">char * </td>
264 <td class="mdname" nowrap> <em>resolvedHost</em>, </td>
269 <td class="md" nowrap>const char * </td>
270 <td class="mdname" nowrap> <em>unresolvedHost</em></td>
274 <td class="md">) </td>
275 <td class="md" colspan="2"></td>
282 <table cellspacing=5 cellpadding=0 border=0>
293 <a name="a14" doxytag="message.h::cmode"></a><p>
294 <table width="100%" cellpadding="2" cellspacing="0" border="0">
297 <table cellpadding="0" cellspacing="0" border="0">
299 <td class="md" nowrap valign="top"> char* cmode </td>
300 <td class="md" valign="top">( </td>
301 <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td>
302 <td class="mdname" nowrap> <em>user</em>, </td>
307 <td class="md" nowrap><a class="el" href="classchanrec.html">chanrec</a> * </td>
308 <td class="mdname" nowrap> <em>chan</em></td>
312 <td class="md">) </td>
313 <td class="md" colspan="2"></td>
320 <table cellspacing=5 cellpadding=0 border=0>
330 Referenced by <a class="el" href="modules_8cpp-source.html#l00492">Server::ChanMode()</a>. </td>
333 <a name="a0" doxytag="message.h::common_channels"></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"> int common_channels </td>
340 <td class="md" valign="top">( </td>
341 <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td>
342 <td class="mdname" nowrap> <em>u</em>, </td>
347 <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td>
348 <td class="mdname" nowrap> <em>u2</em></td>
352 <td class="md">) </td>
353 <td class="md" colspan="2"></td>
360 <table cellspacing=5 cellpadding=0 border=0>
370 Referenced by <a class="el" href="modules_8cpp-source.html#l00445">Server::CommonChannels()</a>. </td>
373 <a name="a15" doxytag="message.h::cstatus"></a><p>
374 <table width="100%" cellpadding="2" cellspacing="0" border="0">
377 <table cellpadding="0" cellspacing="0" border="0">
379 <td class="md" nowrap valign="top"> int cstatus </td>
380 <td class="md" valign="top">( </td>
381 <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td>
382 <td class="mdname" nowrap> <em>user</em>, </td>
387 <td class="md" nowrap><a class="el" href="classchanrec.html">chanrec</a> * </td>
388 <td class="mdname" nowrap> <em>chan</em></td>
392 <td class="md">) </td>
393 <td class="md" colspan="2"></td>
400 <table cellspacing=5 cellpadding=0 border=0>
411 <a name="a16" doxytag="message.h::has_channel"></a><p>
412 <table width="100%" cellpadding="2" cellspacing="0" border="0">
415 <table cellpadding="0" cellspacing="0" border="0">
417 <td class="md" nowrap valign="top"> int has_channel </td>
418 <td class="md" valign="top">( </td>
419 <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td>
420 <td class="mdname" nowrap> <em>u</em>, </td>
425 <td class="md" nowrap><a class="el" href="classchanrec.html">chanrec</a> * </td>
426 <td class="mdname" nowrap> <em>c</em></td>
430 <td class="md">) </td>
431 <td class="md" colspan="2"></td>
438 <table cellspacing=5 cellpadding=0 border=0>
448 Referenced by <a class="el" href="modules_8cpp-source.html#l00349">Server::GetUsers()</a>, and <a class="el" href="modules_8cpp-source.html#l00497">Server::IsOnChannel()</a>. </td>
451 <a name="a9" doxytag="message.h::hasumode"></a><p>
452 <table width="100%" cellpadding="2" cellspacing="0" border="0">
455 <table cellpadding="0" cellspacing="0" border="0">
457 <td class="md" nowrap valign="top"> bool hasumode </td>
458 <td class="md" valign="top">( </td>
459 <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td>
460 <td class="mdname" nowrap> <em>user</em>, </td>
465 <td class="md" nowrap>char </td>
466 <td class="mdname" nowrap> <em>mode</em></td>
470 <td class="md">) </td>
471 <td class="md" colspan="2"></td>
478 <table cellspacing=5 cellpadding=0 border=0>
489 <a name="a12" doxytag="message.h::isident"></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"> int isident </td>
496 <td class="md" valign="top">( </td>
497 <td class="md" nowrap valign="top">const char * </td>
498 <td class="mdname1" valign="top" nowrap> <em>n</em> </td>
499 <td class="md" valign="top">) </td>
500 <td class="md" nowrap></td>
507 <table cellspacing=5 cellpadding=0 border=0>
518 <a name="a13" doxytag="message.h::isnick"></a><p>
519 <table width="100%" cellpadding="2" cellspacing="0" border="0">
522 <table cellpadding="0" cellspacing="0" border="0">
524 <td class="md" nowrap valign="top"> int isnick </td>
525 <td class="md" valign="top">( </td>
526 <td class="md" nowrap valign="top">const char * </td>
527 <td class="mdname1" valign="top" nowrap> <em>n</em> </td>
528 <td class="md" valign="top">) </td>
529 <td class="md" nowrap></td>
536 <table cellspacing=5 cellpadding=0 border=0>
546 Referenced by <a class="el" href="modules_8cpp-source.html#l00349">Server::GetUsers()</a>, and <a class="el" href="modules_8cpp-source.html#l00477">Server::IsNick()</a>. </td>
549 <a name="a6" doxytag="message.h::NonBlocking"></a><p>
550 <table width="100%" cellpadding="2" cellspacing="0" border="0">
553 <table cellpadding="0" cellspacing="0" border="0">
555 <td class="md" nowrap valign="top"> void NonBlocking </td>
556 <td class="md" valign="top">( </td>
557 <td class="md" nowrap valign="top">int </td>
558 <td class="mdname1" valign="top" nowrap> <em>s</em> </td>
559 <td class="md" valign="top">) </td>
560 <td class="md" nowrap></td>
567 <table cellspacing=5 cellpadding=0 border=0>
578 <a name="a4" doxytag="message.h::safedelete"></a><p>
579 <table width="100%" cellpadding="2" cellspacing="0" border="0">
582 <table cellpadding="0" cellspacing="0" border="0">
584 <td class="md" nowrap valign="top"> void safedelete </td>
585 <td class="md" valign="top">( </td>
586 <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td>
587 <td class="mdname1" valign="top" nowrap> <em>p</em> </td>
588 <td class="md" valign="top">) </td>
589 <td class="md" nowrap></td>
596 <table cellspacing=5 cellpadding=0 border=0>
607 <a name="a3" doxytag="message.h::safedelete"></a><p>
608 <table width="100%" cellpadding="2" cellspacing="0" border="0">
611 <table cellpadding="0" cellspacing="0" border="0">
613 <td class="md" nowrap valign="top"> void safedelete </td>
614 <td class="md" valign="top">( </td>
615 <td class="md" nowrap valign="top"><a class="el" href="classchanrec.html">chanrec</a> * </td>
616 <td class="mdname1" valign="top" nowrap> <em>p</em> </td>
617 <td class="md" valign="top">) </td>
618 <td class="md" nowrap></td>
625 <table cellspacing=5 cellpadding=0 border=0>
636 <a name="a19" doxytag="message.h::send_network_quit"></a><p>
637 <table width="100%" cellpadding="2" cellspacing="0" border="0">
640 <table cellpadding="0" cellspacing="0" border="0">
642 <td class="md" nowrap valign="top"> void send_network_quit </td>
643 <td class="md" valign="top">( </td>
644 <td class="md" nowrap valign="top">const char * </td>
645 <td class="mdname" nowrap> <em>nick</em>, </td>
650 <td class="md" nowrap>const char * </td>
651 <td class="mdname" nowrap> <em>reason</em></td>
655 <td class="md">) </td>
656 <td class="md" colspan="2"></td>
663 <table cellspacing=5 cellpadding=0 border=0>
673 Referenced by <a class="el" href="modules_8cpp-source.html#l00373">Server::QuitUser()</a>. </td>
676 <a name="a17" doxytag="message.h::TidyBan"></a><p>
677 <table width="100%" cellpadding="2" cellspacing="0" border="0">
680 <table cellpadding="0" cellspacing="0" border="0">
682 <td class="md" nowrap valign="top"> void TidyBan </td>
683 <td class="md" valign="top">( </td>
684 <td class="md" nowrap valign="top">char * </td>
685 <td class="mdname1" valign="top" nowrap> <em>ban</em> </td>
686 <td class="md" valign="top">) </td>
687 <td class="md" nowrap></td>
694 <table cellspacing=5 cellpadding=0 border=0>
705 <a name="a2" doxytag="message.h::tidystring"></a><p>
706 <table width="100%" cellpadding="2" cellspacing="0" border="0">
709 <table cellpadding="0" cellspacing="0" border="0">
711 <td class="md" nowrap valign="top"> void tidystring </td>
712 <td class="md" valign="top">( </td>
713 <td class="md" nowrap valign="top">char * </td>
714 <td class="mdname1" valign="top" nowrap> <em>str</em> </td>
715 <td class="md" valign="top">) </td>
716 <td class="md" nowrap></td>
723 <table cellspacing=5 cellpadding=0 border=0>
734 <hr><address style="align: right;"><small>Generated on Sun May 2 00:09:23 2004 for InspIRCd by
735 <a href="http://www.doxygen.org/index.html">
736 <img src="doxygen.png" alt="doxygen" align="middle" border=0
737 width=110 height=53></a>1.3-rc3 </small></address>