diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-24 23:26:47 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-24 23:26:47 +0000 |
commit | b25c31de6b8dd839429cb168f5731a5605e17366 (patch) | |
tree | ed0a23e40dfbae235f292cedafd399cc472be46a | |
parent | 8a0825e03af56b5be0d150845fedafd83ee01636 (diff) |
Added new documentation for XLine etc
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@718 e03df62e-2008-0410-955e-edbf42e46eb7
127 files changed, 8345 insertions, 1232 deletions
diff --git a/docs/module-doc/annotated.html b/docs/module-doc/annotated.html index cc703930d..8b7e4846e 100644 --- a/docs/module-doc/annotated.html +++ b/docs/module-doc/annotated.html @@ -18,21 +18,26 @@ <tr><td class="indexkey"><a class="el" href="classExemptItem.html">ExemptItem</a></td><td class="indexvalue">A subclass of <a class="el" href="classHostItem.html">HostItem</a> designed to hold channel exempts (+e)</td></tr> <tr><td class="indexkey"><a class="el" href="classExtMode.html">ExtMode</a></td><td class="indexvalue"></td></tr> <tr><td class="indexkey"><a class="el" href="classFileReader.html">FileReader</a></td><td class="indexvalue">Caches a text file into memory and can be used to retrieve lines from it</td></tr> + <tr><td class="indexkey"><a class="el" href="classGLine.html">GLine</a></td><td class="indexvalue">GLine class</td></tr> <tr><td class="indexkey"><a class="el" href="classHostItem.html">HostItem</a></td><td class="indexvalue">Holds an entry for a ban list, exemption list, or invite list</td></tr> <tr><td class="indexkey"><a class="el" href="classInvited.html">Invited</a></td><td class="indexvalue">Holds a channel name to which a user has been invited</td></tr> <tr><td class="indexkey"><a class="el" href="classInviteItem.html">InviteItem</a></td><td class="indexvalue">A subclass of <a class="el" href="classHostItem.html">HostItem</a> designed to hold channel invites (+I)</td></tr> <tr><td class="indexkey"><a class="el" href="classircd__connector.html">ircd_connector</a></td><td class="indexvalue">Each connection has one or more of these each represents ONE outbound connection to another ircd so each inbound has multiple outbounds</td></tr> + <tr><td class="indexkey"><a class="el" href="classKLine.html">KLine</a></td><td class="indexvalue">KLine class</td></tr> <tr><td class="indexkey"><a class="el" href="classModeParameter.html">ModeParameter</a></td><td class="indexvalue">Holds a custom parameter to a module-defined channel mode e.g</td></tr> <tr><td class="indexkey"><a class="el" href="classModule.html">Module</a></td><td class="indexvalue">Base class for all InspIRCd modules This class is the base class for InspIRCd modules</td></tr> <tr><td class="indexkey"><a class="el" href="classModuleFactory.html">ModuleFactory</a></td><td class="indexvalue">Instantiates classes inherited from <a class="el" href="classModule.html">Module</a> This class creates a class inherited from type <a class="el" href="classModule.html">Module</a>, using new</td></tr> <tr><td class="indexkey"><a class="el" href="classpacket.html">packet</a></td><td class="indexvalue">Class packet is deprecated</td></tr> + <tr><td class="indexkey"><a class="el" href="classQLine.html">QLine</a></td><td class="indexvalue">QLine class</td></tr> <tr><td class="indexkey"><a class="el" href="classServer.html">Server</a></td><td class="indexvalue">Allows server output and query functions This class contains methods which allow a module to query the state of the irc server, and produce output to users and other servers</td></tr> <tr><td class="indexkey"><a class="el" href="classserverrec.html">serverrec</a></td><td class="indexvalue">A class that defines the local server or a remote server</td></tr> <tr><td class="indexkey"><a class="el" href="classucrec.html">ucrec</a></td><td class="indexvalue">Holds a user's modes on a channel This class associates a users privilages with a channel by creating a pointer link between a userrec and chanrec class</td></tr> <tr><td class="indexkey"><a class="el" href="classuserrec.html">userrec</a></td><td class="indexvalue">Holds all information about a user This class stores all information about a user connected to the irc server</td></tr> <tr><td class="indexkey"><a class="el" href="classVersion.html">Version</a></td><td class="indexvalue">Holds a module's Version information The four members (set by the constructor only) indicate details as to the version number of a module</td></tr> + <tr><td class="indexkey"><a class="el" href="classXLine.html">XLine</a></td><td class="indexvalue">XLine is the base class for ban lines such as G lines and K lines</td></tr> + <tr><td class="indexkey"><a class="el" href="classZLine.html">ZLine</a></td><td class="indexvalue">ZLine class</td></tr> </table> -<hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:38 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:14 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/base_8h-source.html b/docs/module-doc/base_8h-source.html index 26b2d57a2..62b1f60c9 100644 --- a/docs/module-doc/base_8h-source.html +++ b/docs/module-doc/base_8h-source.html @@ -29,7 +29,7 @@ 00028 00029 <span class="preprocessor">#endif</span> 00030 <span class="preprocessor"></span> -</pre></div><hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:32 2004 for InspIRCd by +</pre></div><hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:05 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/base_8h.html b/docs/module-doc/base_8h.html index 412d7cdc6..24aa69458 100644 --- a/docs/module-doc/base_8h.html +++ b/docs/module-doc/base_8h.html @@ -15,16 +15,10 @@ Include dependency graph for base.h:<p><center><img src="base_8h__incl.gif" bord <p> This graph shows which files directly or indirectly include this file:<p><center><img src="base_8h__dep__incl.gif" border="0" usemap="#base.hdep_map" alt="Included by dependency graph"></center> <map name="base.hdep_map"> -<area href="channels_8h.html" shape="rect" coords="105,155,177,176" alt=""> -<area href="channels_8cpp.html" shape="rect" coords="7,86,95,107" alt=""> -<area href="users_8cpp.html" shape="rect" coords="123,16,189,38" alt=""> -<area href="users_8h.html" shape="rect" coords="169,86,220,107" alt=""> -<area href="connection_8h.html" shape="rect" coords="211,155,291,176" alt=""> -<area href="servers_8h.html" shape="rect" coords="244,86,308,107" alt=""> -<area href="servers_8cpp.html" shape="rect" coords="236,16,316,38" alt=""> -<area href="ctables_8h.html" shape="rect" coords="315,155,376,176" alt=""> -<area href="modules_8cpp.html" shape="rect" coords="357,16,440,38" alt=""> -<area href="modules_8h.html" shape="rect" coords="383,86,449,107" alt=""> +<area href="channels_8h.html" shape="rect" coords="7,85,79,106" alt=""> +<area href="connection_8h.html" shape="rect" coords="103,85,183,106" alt=""> +<area href="ctables_8h.html" shape="rect" coords="257,85,319,106" alt=""> +<area href="modules_8h.html" shape="rect" coords="220,16,287,37" alt=""> </map> <p> @@ -34,7 +28,7 @@ This graph shows which files directly or indirectly include this file:<p><center <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classclassbase.html">classbase</a></td></tr> <tr><td> </td><td><font size=-1><em>The base class for all inspircd classes.</em> <a href="classclassbase.html#_details">More...</a><em></em></font><br><br></td></tr> </table> -<hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:34 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:06 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/base_8h__dep__incl.gif b/docs/module-doc/base_8h__dep__incl.gif Binary files differindex bdb0299db..9e8ef8d3e 100644 --- a/docs/module-doc/base_8h__dep__incl.gif +++ b/docs/module-doc/base_8h__dep__incl.gif diff --git a/docs/module-doc/channels_8cpp-source.html b/docs/module-doc/channels_8cpp-source.html index 7d1f6fba2..d70e9b5a5 100644 --- a/docs/module-doc/channels_8cpp-source.html +++ b/docs/module-doc/channels_8cpp-source.html @@ -106,7 +106,7 @@ 00098 } 00099 <span class="keywordflow">return</span> std::string(<span class="stringliteral">""</span>); 00100 } -</pre></div><hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:32 2004 for InspIRCd by +</pre></div><hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:05 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/channels_8cpp.html b/docs/module-doc/channels_8cpp.html index 77e17bc91..2a229bf17 100644 --- a/docs/module-doc/channels_8cpp.html +++ b/docs/module-doc/channels_8cpp.html @@ -55,7 +55,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00010">10</a> Referenced by <a class="el" href="channels_8cpp-source.html#l00087">chanrec::GetModeParameter()</a>, and <a class="el" href="channels_8cpp-source.html#l00050">chanrec::SetCustomModeParam()</a>. </td> </tr> </table> -<hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:34 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:06 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/channels_8h-source.html b/docs/module-doc/channels_8h-source.html index 164ed5be6..507e129e9 100644 --- a/docs/module-doc/channels_8h-source.html +++ b/docs/module-doc/channels_8h-source.html @@ -129,7 +129,7 @@ 00207 00208 <span class="preprocessor">#endif</span> 00209 <span class="preprocessor"></span> -</pre></div><hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:32 2004 for InspIRCd by +</pre></div><hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:05 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/channels_8h.html b/docs/module-doc/channels_8h.html index 6cb720db5..3896ba87a 100644 --- a/docs/module-doc/channels_8h.html +++ b/docs/module-doc/channels_8h.html @@ -21,9 +21,14 @@ Include dependency graph for channels.h:<p><center><img src="channels_8h__incl.g <p> This graph shows which files directly or indirectly include this file:<p><center><img src="channels_8h__dep__incl.gif" border="0" usemap="#channels.hdep_map" alt="Included by dependency graph"></center> <map name="channels.hdep_map"> -<area href="channels_8cpp.html" shape="rect" coords="7,85,95,106" alt=""> -<area href="users_8cpp.html" shape="rect" coords="129,16,196,37" alt=""> -<area href="users_8h.html" shape="rect" coords="169,85,220,106" alt=""> +<area href="channels_8cpp.html" shape="rect" coords="7,155,95,176" alt=""> +<area href="users_8cpp.html" shape="rect" coords="48,86,115,107" alt=""> +<area href="users_8h.html" shape="rect" coords="220,155,271,176" alt=""> +<area href="commands_8h.html" shape="rect" coords="139,86,221,107" alt=""> +<area href="modules_8cpp.html" shape="rect" coords="240,16,323,38" alt=""> +<area href="message_8h.html" shape="rect" coords="245,86,317,107" alt=""> +<area href="mode_8h.html" shape="rect" coords="341,86,392,107" alt=""> +<area href="xline_8h.html" shape="rect" coords="416,86,464,107" alt=""> </map> <p> @@ -258,7 +263,7 @@ Holds a complete invite list. Definition at line <a class="el" href="channels_8h-source.html#l00077">77</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td> </tr> </table> -<hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:34 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:07 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/channels_8h__dep__incl.gif b/docs/module-doc/channels_8h__dep__incl.gif Binary files differindex ebb5cea13..c8c5064e3 100644 --- a/docs/module-doc/channels_8h__dep__incl.gif +++ b/docs/module-doc/channels_8h__dep__incl.gif diff --git a/docs/module-doc/classAdmin-members.html b/docs/module-doc/classAdmin-members.html index f6d77c6ae..5b261800b 100644 --- a/docs/module-doc/classAdmin-members.html +++ b/docs/module-doc/classAdmin-members.html @@ -14,7 +14,7 @@ <tr bgcolor="#f0f0f0"><td><a class="el" href="classAdmin.html#m0">Name</a></td><td><a class="el" href="classAdmin.html">Admin</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classAdmin.html#m2">Nick</a></td><td><a class="el" href="classAdmin.html">Admin</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:39 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:15 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classAdmin.html b/docs/module-doc/classAdmin.html index b94f232b4..7d956eae6 100644 --- a/docs/module-doc/classAdmin.html +++ b/docs/module-doc/classAdmin.html @@ -79,9 +79,9 @@ Definition at line <a class="el" href="modules_8h-source.html#l00080">80</a> of <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00108">108</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00109">109</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00108 : <a class="code" href="classAdmin.html#m0">Name</a>(name), <a class="code" href="classAdmin.html#m1">Email</a>(email), <a class="code" href="classAdmin.html#m2">Nick</a>(nick) { }; +<div class="fragment"><pre>00109 : <a class="code" href="classAdmin.html#m0">Name</a>(name), <a class="code" href="classAdmin.html#m1">Email</a>(email), <a class="code" href="classAdmin.html#m2">Nick</a>(nick) { }; </pre></div> </td> </tr> </table> @@ -160,7 +160,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00083">83</a> of </table> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="modules_8h-source.html">modules.h</a><li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul> -<hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:39 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:15 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classBanItem-members.html b/docs/module-doc/classBanItem-members.html index 459cdd419..4693f918e 100644 --- a/docs/module-doc/classBanItem-members.html +++ b/docs/module-doc/classBanItem-members.html @@ -15,7 +15,7 @@ <tr bgcolor="#f0f0f0"><td><a class="el" href="classHostItem.html#m0">set_time</a></td><td><a class="el" href="classHostItem.html">HostItem</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classHostItem.html#a1">~HostItem</a>()</td><td><a class="el" href="classHostItem.html">HostItem</a></td><td><code> [inline, virtual]</code></td></tr> -</table><hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:39 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:16 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classBanItem.html b/docs/module-doc/classBanItem.html index 4ea556c20..018afbffb 100644 --- a/docs/module-doc/classBanItem.html +++ b/docs/module-doc/classBanItem.html @@ -31,7 +31,7 @@ A subclass of <a class="el" href="classHostItem.html">HostItem</a> designed to h <p> Definition at line <a class="el" href="channels_8h-source.html#l00034">34</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.<hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="channels_8h-source.html">channels.h</a></ul> -<hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:39 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:16 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classConfigReader-members.html b/docs/module-doc/classConfigReader-members.html index 3000c6ebb..d737a2e8e 100644 --- a/docs/module-doc/classConfigReader-members.html +++ b/docs/module-doc/classConfigReader-members.html @@ -19,7 +19,7 @@ <tr bgcolor="#f0f0f0"><td><a class="el" href="classConfigReader.html#a5">Verify</a>()</td><td><a class="el" href="classConfigReader.html">ConfigReader</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classConfigReader.html#a2">~ConfigReader</a>()</td><td><a class="el" href="classConfigReader.html">ConfigReader</a></td><td></td></tr> -</table><hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:42 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:18 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classConfigReader.html b/docs/module-doc/classConfigReader.html index 957309bf3..7ce292506 100644 --- a/docs/module-doc/classConfigReader.html +++ b/docs/module-doc/classConfigReader.html @@ -49,7 +49,7 @@ It may either be instantiated with one parameter or none. Constructing the class <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00497">497</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> +Definition at line <a class="el" href="modules_8h-source.html#l00516">516</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> <a name="a0" doxytag="ConfigReader::ConfigReader"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> @@ -79,14 +79,14 @@ Default constructor. <p> This constructor initialises the ConfigReader class to read the inspircd.conf file as specified when running ./configure. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00336">336</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00343">343</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l00505">cache</a>, and <a class="el" href="modules_8h-source.html#l00508">error</a>. +References <a class="el" href="modules_8h-source.html#l00524">cache</a>, and <a class="el" href="modules_8h-source.html#l00527">error</a>. <p> -<div class="fragment"><pre>00337 { -00338 this-><a class="code" href="classConfigReader.html#n0">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); -00339 this-><a class="code" href="classConfigReader.html#n1">error</a> = LoadConf(CONFIG_FILE,this->cache); -00340 } +<div class="fragment"><pre>00344 { +00345 this-><a class="code" href="classConfigReader.html#n0">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); +00346 this-><a class="code" href="classConfigReader.html#n1">error</a> = LoadConf(CONFIG_FILE,this->cache); +00347 } </pre></div> </td> </tr> </table> @@ -120,14 +120,14 @@ Overloaded constructor. <p> This constructor initialises the ConfigReader class to read a user-specified config file <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00350">350</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00357">357</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l00505">cache</a>, and <a class="el" href="modules_8h-source.html#l00508">error</a>. +References <a class="el" href="modules_8h-source.html#l00524">cache</a>, and <a class="el" href="modules_8h-source.html#l00527">error</a>. <p> -<div class="fragment"><pre>00351 { -00352 this-><a class="code" href="classConfigReader.html#n0">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); -00353 this-><a class="code" href="classConfigReader.html#n1">error</a> = LoadConf(filename.c_str(),this-><a class="code" href="classConfigReader.html#n0">cache</a>); -00354 }; +<div class="fragment"><pre>00358 { +00359 this-><a class="code" href="classConfigReader.html#n0">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); +00360 this-><a class="code" href="classConfigReader.html#n1">error</a> = LoadConf(filename.c_str(),this-><a class="code" href="classConfigReader.html#n0">cache</a>); +00361 }; </pre></div> </td> </tr> </table> @@ -160,14 +160,14 @@ Default destructor. <p> This method destroys the ConfigReader class. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00343">343</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00350">350</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l00505">cache</a>. +References <a class="el" href="modules_8h-source.html#l00524">cache</a>. <p> -<div class="fragment"><pre>00344 { -00345 <span class="keywordflow">if</span> (this-><a class="code" href="classConfigReader.html#n0">cache</a>) -00346 <span class="keyword">delete</span> this-><a class="code" href="classConfigReader.html#n0">cache</a>; -00347 } +<div class="fragment"><pre>00351 { +00352 <span class="keywordflow">if</span> (this-><a class="code" href="classConfigReader.html#n0">cache</a>) +00353 <span class="keyword">delete</span> this-><a class="code" href="classConfigReader.html#n0">cache</a>; +00354 } </pre></div> </td> </tr> </table> @@ -202,11 +202,11 @@ Counts the number of times a given tag appears in the config file. <p> This method counts the number of times a tag appears in a config file, for use where there are several tags of the same kind, e.g. with opers and connect types. It can be used with the index value of <a class="el" href="classConfigReader.html#a3">ConfigReader::ReadValue</a> to loop through all copies of a multiple instance tag. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00364">364</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00375">375</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00365 { -00366 <span class="keywordflow">return</span> EnumConf(cache,tag.c_str()); -00367 } +<div class="fragment"><pre>00376 { +00377 <span class="keywordflow">return</span> EnumConf(cache,tag.c_str()); +00378 } </pre></div> </td> </tr> </table> @@ -249,11 +249,11 @@ Returns the number of items within a tag. <p> For example if the tag was <test tag="blah" data="foo"> then this function would return 2. Spaces and newlines both qualify as valid seperators between values. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00369">369</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00380">380</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00370 { -00371 <span class="keywordflow">return</span> EnumValues(cache, tag.c_str(), index); -00372 } +<div class="fragment"><pre>00381 { +00382 <span class="keywordflow">return</span> EnumValues(cache, tag.c_str(), index); +00383 } </pre></div> </td> </tr> </table> @@ -302,13 +302,17 @@ Retrieves a value from the config file. <p> This method retrieves a value from the config file. Where multiple copies of the tag exist in the config file, index indicates which of the values to retrieve. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00356">356</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00363">363</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00357 { -00358 <span class="keywordtype">char</span> val[MAXBUF]; -00359 ReadConf(cache,tag.c_str(),name.c_str(),index,val); -00360 <span class="keywordflow">return</span> val; -00361 } +<div class="fragment"><pre>00364 { +00365 <span class="keywordtype">char</span> val[MAXBUF]; +00366 <span class="keywordtype">char</span> t[MAXBUF]; +00367 <span class="keywordtype">char</span> n[MAXBUF]; +00368 strncpy(t,tag.c_str(),MAXBUF); +00369 strncpy(n,name.c_str(),MAXBUF); +00370 ReadConf(cache,t,n,index,val); +00371 <span class="keywordflow">return</span> std::string(val); +00372 } </pre></div> </td> </tr> </table> @@ -341,13 +345,13 @@ Returns true if a config file is valid. <p> This method is partially implemented and will only return false if the config file does not exist or could not be opened. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00374">374</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00385">385</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l00508">error</a>. +References <a class="el" href="modules_8h-source.html#l00527">error</a>. <p> -<div class="fragment"><pre>00375 { -00376 <span class="keywordflow">return</span> this-><a class="code" href="classConfigReader.html#n1">error</a>; -00377 } +<div class="fragment"><pre>00386 { +00387 <span class="keywordflow">return</span> this-><a class="code" href="classConfigReader.html#n1">error</a>; +00388 } </pre></div> </td> </tr> </table> @@ -375,9 +379,9 @@ The contents of the configuration file This protected member should never be acc <p> It will contain a pointer to the configuration file data with unneeded data (such as comments) stripped from it. <p> -Definition at line <a class="el" href="modules_8h-source.html#l00505">505</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. +Definition at line <a class="el" href="modules_8h-source.html#l00524">524</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00336">ConfigReader()</a>, and <a class="el" href="modules_8cpp-source.html#l00343">~ConfigReader()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00343">ConfigReader()</a>, and <a class="el" href="modules_8cpp-source.html#l00350">~ConfigReader()</a>. </td> </tr> </table> <a name="n1" doxytag="ConfigReader::error"></a><p> @@ -403,14 +407,14 @@ Used to store errors. <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00508">508</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. +Definition at line <a class="el" href="modules_8h-source.html#l00527">527</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00336">ConfigReader()</a>, and <a class="el" href="modules_8cpp-source.html#l00374">Verify()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00343">ConfigReader()</a>, and <a class="el" href="modules_8cpp-source.html#l00385">Verify()</a>. </td> </tr> </table> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="modules_8h-source.html">modules.h</a><li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul> -<hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:42 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:18 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classConnectClass-members.html b/docs/module-doc/classConnectClass-members.html index 962e61ad1..520ecdd37 100644 --- a/docs/module-doc/classConnectClass-members.html +++ b/docs/module-doc/classConnectClass-members.html @@ -16,7 +16,7 @@ <tr bgcolor="#f0f0f0"><td><a class="el" href="classConnectClass.html#m1">registration_timeout</a></td><td><a class="el" href="classConnectClass.html">ConnectClass</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classConnectClass.html#m0">type</a></td><td><a class="el" href="classConnectClass.html">ConnectClass</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:42 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:19 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classConnectClass.html b/docs/module-doc/classConnectClass.html index 8a4923d72..ec63ed69c 100644 --- a/docs/module-doc/classConnectClass.html +++ b/docs/module-doc/classConnectClass.html @@ -212,7 +212,7 @@ Definition at line <a class="el" href="users_8h-source.html#l00039">39</a> of fi </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="users_8h-source.html">users.h</a></ul> -<hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:42 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:19 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classExemptItem-members.html b/docs/module-doc/classExemptItem-members.html index dd87d9654..6fd7d328d 100644 --- a/docs/module-doc/classExemptItem-members.html +++ b/docs/module-doc/classExemptItem-members.html @@ -15,7 +15,7 @@ <tr bgcolor="#f0f0f0"><td><a class="el" href="classHostItem.html#m0">set_time</a></td><td><a class="el" href="classHostItem.html">HostItem</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classHostItem.html#a1">~HostItem</a>()</td><td><a class="el" href="classHostItem.html">HostItem</a></td><td><code> [inline, virtual]</code></td></tr> -</table><hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:43 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:20 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classExemptItem.html b/docs/module-doc/classExemptItem.html index 5dafcd9fd..a9a7840fc 100644 --- a/docs/module-doc/classExemptItem.html +++ b/docs/module-doc/classExemptItem.html @@ -31,7 +31,7 @@ A subclass of <a class="el" href="classHostItem.html">HostItem</a> designed to h <p> Definition at line <a class="el" href="channels_8h-source.html#l00042">42</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.<hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="channels_8h-source.html">channels.h</a></ul> -<hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:43 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:20 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classExtMode-members.html b/docs/module-doc/classExtMode-members.html index e25fbf3de..3b9e9e1f3 100644 --- a/docs/module-doc/classExtMode-members.html +++ b/docs/module-doc/classExtMode-members.html @@ -16,7 +16,7 @@ <tr bgcolor="#f0f0f0"><td><a class="el" href="classExtMode.html#m2">params_when_on</a></td><td><a class="el" href="classExtMode.html">ExtMode</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classExtMode.html#m1">type</a></td><td><a class="el" href="classExtMode.html">ExtMode</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:44 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:21 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classExtMode.html b/docs/module-doc/classExtMode.html index 037549856..fad9ba7d9 100644 --- a/docs/module-doc/classExtMode.html +++ b/docs/module-doc/classExtMode.html @@ -81,9 +81,9 @@ <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00028">28</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00029">29</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00028 : <a class="code" href="classExtMode.html#m0">modechar</a>(mc), <a class="code" href="classExtMode.html#m1">type</a>(ty), <a class="code" href="classExtMode.html#m4">needsoper</a>(oper), <a class="code" href="classExtMode.html#m2">params_when_on</a>(p_on), <a class="code" href="classExtMode.html#m3">params_when_off</a>(p_off) { }; +<div class="fragment"><pre>00029 : <a class="code" href="classExtMode.html#m0">modechar</a>(mc), <a class="code" href="classExtMode.html#m1">type</a>(ty), <a class="code" href="classExtMode.html#m4">needsoper</a>(oper), <a class="code" href="classExtMode.html#m2">params_when_on</a>(p_on), <a class="code" href="classExtMode.html#m3">params_when_off</a>(p_off) { }; </pre></div> </td> </tr> </table> @@ -109,7 +109,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00028">28</a> o <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00023">23</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00024">24</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> <a name="m4" doxytag="ExtMode::needsoper"></a><p> @@ -133,7 +133,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00023">23</a> o <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00027">27</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00028">28</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> <a name="m3" doxytag="ExtMode::params_when_off"></a><p> @@ -157,7 +157,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00027">27</a> o <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00026">26</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00027">27</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> <a name="m2" doxytag="ExtMode::params_when_on"></a><p> @@ -181,7 +181,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00026">26</a> o <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00025">25</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00026">26</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> <a name="m1" doxytag="ExtMode::type"></a><p> @@ -205,12 +205,12 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00025">25</a> o <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00024">24</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00025">25</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul> -<hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:44 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:21 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classFileReader-members.html b/docs/module-doc/classFileReader-members.html index 76009aff5..142eb4986 100644 --- a/docs/module-doc/classFileReader-members.html +++ b/docs/module-doc/classFileReader-members.html @@ -18,7 +18,7 @@ <tr bgcolor="#f0f0f0"><td><a class="el" href="classFileReader.html#a3">LoadFile</a>(std::string filename)</td><td><a class="el" href="classFileReader.html">FileReader</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classFileReader.html#a2">~FileReader</a>()</td><td><a class="el" href="classFileReader.html">FileReader</a></td><td></td></tr> -</table><hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:44 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:21 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classFileReader.html b/docs/module-doc/classFileReader.html index e54355d2e..26685712d 100644 --- a/docs/module-doc/classFileReader.html +++ b/docs/module-doc/classFileReader.html @@ -46,7 +46,7 @@ This class contains methods for read-only manipulation of a text file in memory. <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00557">557</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> +Definition at line <a class="el" href="modules_8h-source.html#l00576">576</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> <a name="a0" doxytag="FileReader::FileReader"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> @@ -76,10 +76,10 @@ Default constructor. <p> This method does not load any file into memory, you must use the LoadFile method after constructing the class this way. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00387">387</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00398">398</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00388 { -00389 } +<div class="fragment"><pre>00399 { +00400 } </pre></div> </td> </tr> </table> @@ -113,15 +113,15 @@ Secondary constructor. <p> This method initialises the class with a file loaded into it ready for GetLine and and other methods to be called. If the file could not be loaded, <a class="el" href="classFileReader.html#a6">FileReader::FileSize</a> returns 0. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00380">380</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00391">391</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l00559">fc</a>, and <a class="el" href="modules_8h-source.html#l00030">file_cache</a>. +References <a class="el" href="modules_8h-source.html#l00578">fc</a>, and <a class="el" href="modules_8h-source.html#l00030">file_cache</a>. <p> -<div class="fragment"><pre>00381 { -00382 <a class="code" href="modules_8h.html#a10">file_cache</a> c; -00383 readfile(c,filename.c_str()); -00384 this-><a class="code" href="classFileReader.html#o0">fc</a> = c; -00385 } +<div class="fragment"><pre>00392 { +00393 <a class="code" href="modules_8h.html#a10">file_cache</a> c; +00394 readfile(c,filename.c_str()); +00395 this-><a class="code" href="classFileReader.html#o0">fc</a> = c; +00396 } </pre></div> </td> </tr> </table> @@ -154,10 +154,10 @@ Default destructor. <p> This deletes the memory allocated to the file. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00399">399</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00410">410</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00400 { -00401 } +<div class="fragment"><pre>00411 { +00412 } </pre></div> </td> </tr> </table> @@ -191,20 +191,20 @@ Returns true if the file exists This function will return false if the file coul <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00403">403</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00414">414</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l00559">fc</a>. +References <a class="el" href="modules_8h-source.html#l00578">fc</a>. <p> -<div class="fragment"><pre>00404 { -00405 <span class="keywordflow">if</span> (<a class="code" href="classFileReader.html#o0">fc</a>.size() == 0) -00406 { -00407 <span class="keywordflow">return</span>(false); -00408 } -00409 <span class="keywordflow">else</span> -00410 { -00411 <span class="keywordflow">return</span>(true); -00412 } -00413 } +<div class="fragment"><pre>00415 { +00416 <span class="keywordflow">if</span> (<a class="code" href="classFileReader.html#o0">fc</a>.size() == 0) +00417 { +00418 <span class="keywordflow">return</span>(false); +00419 } +00420 <span class="keywordflow">else</span> +00421 { +00422 <span class="keywordflow">return</span>(true); +00423 } +00424 } </pre></div> </td> </tr> </table> @@ -237,13 +237,13 @@ Returns the size of the file in lines. <p> This method returns the number of lines in the read file. If it is 0, no lines have been read into memory, either because the file is empty or it does not exist, or cannot be opened due to permission problems. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00422">422</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00433">433</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l00559">fc</a>. +References <a class="el" href="modules_8h-source.html#l00578">fc</a>. <p> -<div class="fragment"><pre>00423 { -00424 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#o0">fc</a>.size(); -00425 } +<div class="fragment"><pre>00434 { +00435 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#o0">fc</a>.size(); +00436 } </pre></div> </td> </tr> </table> @@ -277,15 +277,15 @@ Retrieve one line from the file. <p> This method retrieves one line from the text file. If an empty non-NULL string is returned, the index was out of bounds, or the line had no data on it. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00415">415</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00426">426</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l00559">fc</a>. +References <a class="el" href="modules_8h-source.html#l00578">fc</a>. <p> -<div class="fragment"><pre>00416 { -00417 <span class="keywordflow">if</span> ((x<0) || (x><a class="code" href="classFileReader.html#o0">fc</a>.size())) -00418 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; -00419 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#o0">fc</a>[x]; -00420 } +<div class="fragment"><pre>00427 { +00428 <span class="keywordflow">if</span> ((x<0) || (x><a class="code" href="classFileReader.html#o0">fc</a>.size())) +00429 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; +00430 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#o0">fc</a>[x]; +00431 } </pre></div> </td> </tr> </table> @@ -319,15 +319,15 @@ Used to load a file. <p> This method loads a file into the class ready for GetLine and and other methods to be called. If the file could not be loaded, <a class="el" href="classFileReader.html#a6">FileReader::FileSize</a> returns 0. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00391">391</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00402">402</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l00559">fc</a>, and <a class="el" href="modules_8h-source.html#l00030">file_cache</a>. +References <a class="el" href="modules_8h-source.html#l00578">fc</a>, and <a class="el" href="modules_8h-source.html#l00030">file_cache</a>. <p> -<div class="fragment"><pre>00392 { -00393 <a class="code" href="modules_8h.html#a10">file_cache</a> c; -00394 readfile(c,filename.c_str()); -00395 this-><a class="code" href="classFileReader.html#o0">fc</a> = c; -00396 } +<div class="fragment"><pre>00403 { +00404 <a class="code" href="modules_8h.html#a10">file_cache</a> c; +00405 readfile(c,filename.c_str()); +00406 this-><a class="code" href="classFileReader.html#o0">fc</a> = c; +00407 } </pre></div> </td> </tr> </table> @@ -353,14 +353,14 @@ References <a class="el" href="modules_8h-source.html#l00559">fc</a>, and <a cla <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00559">559</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. +Definition at line <a class="el" href="modules_8h-source.html#l00578">578</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00403">Exists()</a>, <a class="el" href="modules_8cpp-source.html#l00380">FileReader()</a>, <a class="el" href="modules_8cpp-source.html#l00422">FileSize()</a>, <a class="el" href="modules_8cpp-source.html#l00415">GetLine()</a>, and <a class="el" href="modules_8cpp-source.html#l00391">LoadFile()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00414">Exists()</a>, <a class="el" href="modules_8cpp-source.html#l00391">FileReader()</a>, <a class="el" href="modules_8cpp-source.html#l00433">FileSize()</a>, <a class="el" href="modules_8cpp-source.html#l00426">GetLine()</a>, and <a class="el" href="modules_8cpp-source.html#l00402">LoadFile()</a>. </td> </tr> </table> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="modules_8h-source.html">modules.h</a><li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul> -<hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:44 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:21 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classGLine-members.html b/docs/module-doc/classGLine-members.html new file mode 100644 index 000000000..c43f961c3 --- /dev/null +++ b/docs/module-doc/classGLine-members.html @@ -0,0 +1,24 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>Member List</title> +<link href="inspircd.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.3-rc3 --> +<center> +<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> +<hr><h1>GLine Member List</h1>This is the complete list of members for <a class="el" href="classGLine.html">GLine</a>, including all inherited members.<table> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#m0">age</a></td><td><a class="el" href="classclassbase.html">classbase</a></td><td></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a0">classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classXLine.html#m1">duration</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classGLine.html#m0">hostmask</a></td><td><a class="el" href="classGLine.html">GLine</a></td><td></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classXLine.html#m4">n_matches</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classXLine.html#m3">reason</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classXLine.html#m0">set_time</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classXLine.html#m2">source</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> +</table><hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:22 2004 for InspIRCd by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border=0 +width=110 height=53></a>1.3-rc3 </small></address> +</body> +</html> diff --git a/docs/module-doc/classGLine.html b/docs/module-doc/classGLine.html new file mode 100644 index 000000000..68619d9ff --- /dev/null +++ b/docs/module-doc/classGLine.html @@ -0,0 +1,69 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>GLine class Reference</title> +<link href="inspircd.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.3-rc3 --> +<center> +<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> +<hr><h1>GLine Class Reference</h1>GLine class. +<a href="#_details">More...</a> +<p> +<code>#include <<a class="el" href="xline_8h-source.html">xline.h</a>></code> +<p> +Inheritance diagram for GLine:<p><center><img src="classGLine__inherit__graph.gif" border="0" usemap="#GLine__inherit__map" alt="Inheritance graph"></center> +<map name="GLine__inherit__map"> +<area href="classXLine.html" shape="rect" coords="19,85,61,106" alt=""> +<area href="classclassbase.html" shape="rect" coords="7,16,73,37" alt=""> +</map> +<center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for GLine:<p><center><img src="classGLine__coll__graph.gif" border="0" usemap="#GLine__coll__map" alt="Collaboration graph"></center> +<map name="GLine__coll__map"> +<area href="classXLine.html" shape="rect" coords="181,213,224,235" alt=""> +<area href="classclassbase.html" shape="rect" coords="7,107,73,128" alt=""> +</map> +<center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center><a href="classGLine-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> +<tr><td></td></tr> +<tr><td colspan=2><br><h2>Public Attributes</h2></td></tr> +<tr><td nowrap align=right valign=top>char </td><td valign=bottom><a class="el" href="classGLine.html#m0">hostmask</a> [MAXBUF]</td></tr> +<tr><td> </td><td><font size=-1><em>Hostmask (ident) to match against May contain wildcards.</em> <a href="#m0"></a><em></em></font><br><br></td></tr> +</table> +<hr><a name="_details"></a><h2>Detailed Description</h2> +GLine class. +<p> + +<p> +Definition at line <a class="el" href="xline_8h-source.html#l00057">57</a> of file <a class="el" href="xline_8h-source.html">xline.h</a>.<hr><h2>Member Data Documentation</h2> +<a name="m0" doxytag="GLine::hostmask"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> char GLine::hostmask[MAXBUF] + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Hostmask (ident) to match against May contain wildcards. +<p> + +<p> +Definition at line <a class="el" href="xline_8h-source.html#l00063">63</a> of file <a class="el" href="xline_8h-source.html">xline.h</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following file:<ul> +<li><a class="el" href="xline_8h-source.html">xline.h</a></ul> +<hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:22 2004 for InspIRCd by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border=0 +width=110 height=53></a>1.3-rc3 </small></address> +</body> +</html> diff --git a/docs/module-doc/classGLine__coll__graph.gif b/docs/module-doc/classGLine__coll__graph.gif Binary files differnew file mode 100644 index 000000000..6fe1ee2fb --- /dev/null +++ b/docs/module-doc/classGLine__coll__graph.gif diff --git a/docs/module-doc/classGLine__inherit__graph.gif b/docs/module-doc/classGLine__inherit__graph.gif Binary files differnew file mode 100644 index 000000000..90baf7cb8 --- /dev/null +++ b/docs/module-doc/classGLine__inherit__graph.gif diff --git a/docs/module-doc/classHostItem-members.html b/docs/module-doc/classHostItem-members.html index acaf78e2d..92f41a0fc 100644 --- a/docs/module-doc/classHostItem-members.html +++ b/docs/module-doc/classHostItem-members.html @@ -15,7 +15,7 @@ <tr bgcolor="#f0f0f0"><td><a class="el" href="classHostItem.html#m0">set_time</a></td><td><a class="el" href="classHostItem.html">HostItem</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classHostItem.html#a1">~HostItem</a>()</td><td><a class="el" href="classHostItem.html">HostItem</a></td><td><code> [inline, virtual]</code></td></tr> -</table><hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:45 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:23 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classHostItem.html b/docs/module-doc/classHostItem.html index 87d207745..a25b2dd24 100644 --- a/docs/module-doc/classHostItem.html +++ b/docs/module-doc/classHostItem.html @@ -181,7 +181,7 @@ Definition at line <a class="el" href="channels_8h-source.html#l00021">21</a> of </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="channels_8h-source.html">channels.h</a></ul> -<hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:45 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:23 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classInviteItem-members.html b/docs/module-doc/classInviteItem-members.html index 76f57fd1f..2a361084a 100644 --- a/docs/module-doc/classInviteItem-members.html +++ b/docs/module-doc/classInviteItem-members.html @@ -15,7 +15,7 @@ <tr bgcolor="#f0f0f0"><td><a class="el" href="classHostItem.html#m0">set_time</a></td><td><a class="el" href="classHostItem.html">HostItem</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classHostItem.html#a1">~HostItem</a>()</td><td><a class="el" href="classHostItem.html">HostItem</a></td><td><code> [inline, virtual]</code></td></tr> -</table><hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:46 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:24 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classInviteItem.html b/docs/module-doc/classInviteItem.html index ed6230044..0645acc41 100644 --- a/docs/module-doc/classInviteItem.html +++ b/docs/module-doc/classInviteItem.html @@ -31,7 +31,7 @@ A subclass of <a class="el" href="classHostItem.html">HostItem</a> designed to h <p> Definition at line <a class="el" href="channels_8h-source.html#l00050">50</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.<hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="channels_8h-source.html">channels.h</a></ul> -<hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:46 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:24 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classInvited-members.html b/docs/module-doc/classInvited-members.html index c59f5f966..1b7aeb428 100644 --- a/docs/module-doc/classInvited-members.html +++ b/docs/module-doc/classInvited-members.html @@ -11,7 +11,7 @@ <tr bgcolor="#f0f0f0"><td><a class="el" href="classInvited.html#m0">channel</a></td><td><a class="el" href="classInvited.html">Invited</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a0">classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:45 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:23 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classInvited.html b/docs/module-doc/classInvited.html index 0f6360a13..fe1674047 100644 --- a/docs/module-doc/classInvited.html +++ b/docs/module-doc/classInvited.html @@ -58,7 +58,7 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00066">userrec::Invite </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="users_8h-source.html">users.h</a></ul> -<hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:45 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:23 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classKLine-members.html b/docs/module-doc/classKLine-members.html new file mode 100644 index 000000000..5655fa429 --- /dev/null +++ b/docs/module-doc/classKLine-members.html @@ -0,0 +1,24 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>Member List</title> +<link href="inspircd.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.3-rc3 --> +<center> +<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> +<hr><h1>KLine Member List</h1>This is the complete list of members for <a class="el" href="classKLine.html">KLine</a>, including all inherited members.<table> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#m0">age</a></td><td><a class="el" href="classclassbase.html">classbase</a></td><td></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a0">classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classXLine.html#m1">duration</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classKLine.html#m0">hostmask</a></td><td><a class="el" href="classKLine.html">KLine</a></td><td></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classXLine.html#m4">n_matches</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classXLine.html#m3">reason</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classXLine.html#m0">set_time</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classXLine.html#m2">source</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> +</table><hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:25 2004 for InspIRCd by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border=0 +width=110 height=53></a>1.3-rc3 </small></address> +</body> +</html> diff --git a/docs/module-doc/classKLine.html b/docs/module-doc/classKLine.html new file mode 100644 index 000000000..e282aa4da --- /dev/null +++ b/docs/module-doc/classKLine.html @@ -0,0 +1,69 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>KLine class Reference</title> +<link href="inspircd.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.3-rc3 --> +<center> +<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> +<hr><h1>KLine Class Reference</h1>KLine class. +<a href="#_details">More...</a> +<p> +<code>#include <<a class="el" href="xline_8h-source.html">xline.h</a>></code> +<p> +Inheritance diagram for KLine:<p><center><img src="classKLine__inherit__graph.gif" border="0" usemap="#KLine__inherit__map" alt="Inheritance graph"></center> +<map name="KLine__inherit__map"> +<area href="classXLine.html" shape="rect" coords="19,85,61,106" alt=""> +<area href="classclassbase.html" shape="rect" coords="7,16,73,37" alt=""> +</map> +<center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for KLine:<p><center><img src="classKLine__coll__graph.gif" border="0" usemap="#KLine__coll__map" alt="Collaboration graph"></center> +<map name="KLine__coll__map"> +<area href="classXLine.html" shape="rect" coords="181,213,224,235" alt=""> +<area href="classclassbase.html" shape="rect" coords="7,107,73,128" alt=""> +</map> +<center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center><a href="classKLine-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> +<tr><td></td></tr> +<tr><td colspan=2><br><h2>Public Attributes</h2></td></tr> +<tr><td nowrap align=right valign=top>char </td><td valign=bottom><a class="el" href="classKLine.html#m0">hostmask</a> [MAXBUF]</td></tr> +<tr><td> </td><td><font size=-1><em>Hostmask (ident) to match against May contain wildcards.</em> <a href="#m0"></a><em></em></font><br><br></td></tr> +</table> +<hr><a name="_details"></a><h2>Detailed Description</h2> +KLine class. +<p> + +<p> +Definition at line <a class="el" href="xline_8h-source.html#l00046">46</a> of file <a class="el" href="xline_8h-source.html">xline.h</a>.<hr><h2>Member Data Documentation</h2> +<a name="m0" doxytag="KLine::hostmask"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> char KLine::hostmask[MAXBUF] + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Hostmask (ident) to match against May contain wildcards. +<p> + +<p> +Definition at line <a class="el" href="xline_8h-source.html#l00052">52</a> of file <a class="el" href="xline_8h-source.html">xline.h</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following file:<ul> +<li><a class="el" href="xline_8h-source.html">xline.h</a></ul> +<hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:25 2004 for InspIRCd by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border=0 +width=110 height=53></a>1.3-rc3 </small></address> +</body> +</html> diff --git a/docs/module-doc/classKLine__coll__graph.gif b/docs/module-doc/classKLine__coll__graph.gif Binary files differnew file mode 100644 index 000000000..2a231b9fb --- /dev/null +++ b/docs/module-doc/classKLine__coll__graph.gif diff --git a/docs/module-doc/classKLine__inherit__graph.gif b/docs/module-doc/classKLine__inherit__graph.gif Binary files differnew file mode 100644 index 000000000..cb0b9709f --- /dev/null +++ b/docs/module-doc/classKLine__inherit__graph.gif diff --git a/docs/module-doc/classModeParameter-members.html b/docs/module-doc/classModeParameter-members.html index b058e2092..c2ce04621 100644 --- a/docs/module-doc/classModeParameter-members.html +++ b/docs/module-doc/classModeParameter-members.html @@ -13,7 +13,7 @@ <tr bgcolor="#f0f0f0"><td><a class="el" href="classModeParameter.html#m0">mode</a></td><td><a class="el" href="classModeParameter.html">ModeParameter</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classModeParameter.html#m1">parameter</a></td><td><a class="el" href="classModeParameter.html">ModeParameter</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:47 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:26 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classModeParameter.html b/docs/module-doc/classModeParameter.html index d298daffe..ad95f1839 100644 --- a/docs/module-doc/classModeParameter.html +++ b/docs/module-doc/classModeParameter.html @@ -114,7 +114,7 @@ Referenced by <a class="el" href="channels_8cpp-source.html#l00050">chanrec::Set </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="channels_8h-source.html">channels.h</a></ul> -<hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:47 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:25 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classModule-members.html b/docs/module-doc/classModule-members.html index 867e8649c..827c27e18 100644 --- a/docs/module-doc/classModule-members.html +++ b/docs/module-doc/classModule-members.html @@ -23,12 +23,13 @@ <tr bgcolor="#f0f0f0"><td><a class="el" href="classModule.html#a6">OnUserPart</a>(userrec *user, chanrec *channel)</td><td><a class="el" href="classModule.html">Module</a></td><td><code> [virtual]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classModule.html#a12">OnUserPreJoin</a>(userrec *user, chanrec *chan, const char *cname)</td><td><a class="el" href="classModule.html">Module</a></td><td><code> [virtual]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classModule.html#a16">OnUserPreMessage</a>(userrec *user, void *dest, int target_type, std::string text)</td><td><a class="el" href="classModule.html">Module</a></td><td><code> [virtual]</code></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classModule.html#a18">OnUserPreNick</a>(userrec *user, std::string newnick)</td><td><a class="el" href="classModule.html">Module</a></td><td><code> [virtual]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classModule.html#a17">OnUserPreNotice</a>(userrec *user, void *dest, int target_type, std::string text)</td><td><a class="el" href="classModule.html">Module</a></td><td><code> [virtual]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classModule.html#a4">OnUserQuit</a>(userrec *user)</td><td><a class="el" href="classModule.html">Module</a></td><td><code> [virtual]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classModule.html#a15">OnWhois</a>(userrec *source, userrec *dest)</td><td><a class="el" href="classModule.html">Module</a></td><td><code> [virtual]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classModule.html#a1">~Module</a>()</td><td><a class="el" href="classModule.html">Module</a></td><td><code> [virtual]</code></td></tr> -</table><hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:48 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:26 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classModule.html b/docs/module-doc/classModule.html index c8ec9c50a..4f581e825 100644 --- a/docs/module-doc/classModule.html +++ b/docs/module-doc/classModule.html @@ -58,6 +58,8 @@ Inheritance diagram for Module:<p><center><img src="classModule__inherit__graph. <tr><td> </td><td><font size=-1><em>Called whenever a user is about to PRIVMSG A user or a channel, before any processing is done.</em> <a href="#a16"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>virtual int </td><td valign=bottom><a class="el" href="classModule.html#a17">OnUserPreNotice</a> (<a class="el" href="classuserrec.html">userrec</a> *user, void *dest, int target_type, std::string text)</td></tr> <tr><td> </td><td><font size=-1><em>Called whenever a user is about to NOTICE A user or a channel, before any processing is done.</em> <a href="#a17"></a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual int </td><td valign=bottom><a class="el" href="classModule.html#a18">OnUserPreNick</a> (<a class="el" href="classuserrec.html">userrec</a> *user, std::string newnick)</td></tr> +<tr><td> </td><td><font size=-1><em>Called before any nickchange, local or remote.</em> <a href="#a18"></a><em></em></font><br><br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Base class for all InspIRCd modules This class is the base class for InspIRCd modules. @@ -96,9 +98,9 @@ Default constructor creates a module class. <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00110">110</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00111">111</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00110 { } +<div class="fragment"><pre>00111 { } </pre></div> </td> </tr> </table> @@ -131,9 +133,9 @@ Default destructor destroys a module class. <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00111">111</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00112">112</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00111 { } +<div class="fragment"><pre>00112 { } </pre></div> </td> </tr> </table> @@ -167,9 +169,9 @@ Returns the version number of a Module. <p> The method should return a <a class="el" href="classVersion.html">Version</a> object with its version information assigned via <a class="el" href="classVersion.html#a0">Version::Version</a> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00122">122</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00123">123</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00122 { <span class="keywordflow">return</span> <a class="code" href="classVersion.html">Version</a>(1,0,0,0); } +<div class="fragment"><pre>00123 { <span class="keywordflow">return</span> <a class="code" href="classVersion.html">Version</a>(1,0,0,0); } </pre></div> </td> </tr> </table> @@ -236,9 +238,9 @@ Called whenever an extended mode is to be processed. <p> The type parameter is MT_SERVER, MT_CLIENT or MT_CHANNEL, dependent on where the mode is being changed. mode_on is set when the mode is being set, in which case params contains a list of parameters for the mode as strings. If mode_on is false, the mode is being removed, and parameters may contain the parameters for the mode, dependent on wether they were defined when a mode handler was set up with <a class="el" href="classServer.html#a20">Server::AddExtendedMode</a> If the mode is a channel mode, target is a chanrec*, and if it is a user mode, target is a userrec*. You must cast this value yourself to make use of it. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00121">121</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00122">122</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00121 { <span class="keywordflow">return</span> <span class="keyword">false</span>; } +<div class="fragment"><pre>00122 { <span class="keywordflow">return</span> <span class="keyword">false</span>; } </pre></div> </td> </tr> </table> @@ -273,9 +275,9 @@ Called whenever a user types /INFO. The userrec will contain the information of the user who typed the command. Modules may use this method to output their own credits in /INFO (which is the ircd's version of an about box). It is purposefully not possible to modify any info that has already been output, or halt the list. You must write a 371 numeric to the user, containing your info in the following format:<p> :information here <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00124">124</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00125">125</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00124 { }; +<div class="fragment"><pre>00125 { }; </pre></div> </td> </tr> </table> @@ -309,9 +311,9 @@ Called whenever a user opers locally. <p> The userrec will contain the oper mode 'o' as this function is called after any modifications are made to the user's structure by the core. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00123">123</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00124">124</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00123 { }; +<div class="fragment"><pre>00124 { }; </pre></div> </td> </tr> </table> @@ -345,9 +347,9 @@ Called after a packet is received from another irc server. <p> The packet is represented as a char*, as it should be regarded as a buffer, and not a string. This allows you to easily represent it in the correct ways to implement encryption, compression, digital signatures and anything else you may want to add. This should be regarded as a pre-processor and will be called immediately after the packet is received but before any other operations with the core of the ircd. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00117">117</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00118">118</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00117 { } +<div class="fragment"><pre>00118 { } </pre></div> </td> </tr> </table> @@ -381,9 +383,9 @@ Called before a packet is transmitted across the irc network between two irc ser <p> The packet is represented as a char*, as it should be regarded as a buffer, and not a string. This allows you to easily represent it in the correct ways to implement encryption, compression, digital signatures and anything else you may want to add. This should be regarded as a pre-processor and will be called before ANY other operations within the ircd core program. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00116">116</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00117">117</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00116 { } +<div class="fragment"><pre>00117 { } </pre></div> </td> </tr> </table> @@ -416,9 +418,9 @@ Called on rehash. <p> This method is called prior to a /REHASH or when a SIGHUP is received from the operating system. You should use it to reload any files so that your module keeps in step with the rest of the application. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00118">118</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00119">119</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00118 { } +<div class="fragment"><pre>00119 { } </pre></div> </td> </tr> </table> @@ -461,9 +463,9 @@ Called when a raw command is transmitted or received. <p> This method is the lowest level of handler available to a module. It will be called with raw data which is passing through a connected socket. If you wish, you may munge this data by changing the string parameter "raw". If you do this, after your function exits it will immediately be cut down to 510 characters plus a carriage return and linefeed. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00119">119</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00120">120</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00119 { } +<div class="fragment"><pre>00120 { } </pre></div> </td> </tr> </table> @@ -497,9 +499,9 @@ Called when a user connects. <p> The details of the connecting user are available to you in the parameter userrec *user <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00112">112</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00113">113</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00112 { } +<div class="fragment"><pre>00113 { } </pre></div> </td> </tr> </table> @@ -542,9 +544,9 @@ Called when a user joins a channel. <p> The details of the joining user are available to you in the parameter userrec *user, and the details of the channel they have joined is available in the variable chanrec *channel <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00114">114</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00115">115</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00114 { } +<div class="fragment"><pre>00115 { } </pre></div> </td> </tr> </table> @@ -587,9 +589,9 @@ Called when a user parts a channel. <p> The details of the leaving user are available to you in the parameter userrec *user, and the details of the channel they have left is available in the variable chanrec *channel <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00115">115</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00116">116</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00115 { } +<div class="fragment"><pre>00116 { } </pre></div> </td> </tr> </table> @@ -640,9 +642,9 @@ Returning any nonzero value from this function stops the process immediately, ca IMPORTANT NOTE!<p> If the user joins a NEW channel which does not exist yet, OnUserPreJoin will be called BEFORE the channel record is created. This will cause chanrec* chan to be NULL. There is very little you can do in form of processing on the actual channel record at this point, however the channel NAME will still be passed in char* cname, so that you could for example implement a channel blacklist or whitelist, etc. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00120">120</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00121">121</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00120 { <span class="keywordflow">return</span> 0; } +<div class="fragment"><pre>00121 { <span class="keywordflow">return</span> 0; } </pre></div> </td> </tr> </table> @@ -697,9 +699,54 @@ Called whenever a user is about to PRIVMSG A user or a channel, before any proce <p> Returning any nonzero value from this function stops the process immediately, causing no output to be sent to the user by the core. If you do this you must produce your own numerics, notices etc. This is useful for modules which may want to filter or redirect messages. target_type can be one of TYPE_USER or TYPE_CHANNEL. If the target_type value is a user, you must cast dest to a userrec* otherwise you must cast it to a chanrec*, this is the details of where the message is destined to be sent. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00126">126</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00127">127</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00126 { <span class="keywordflow">return</span> 0; }; +<div class="fragment"><pre>00127 { <span class="keywordflow">return</span> 0; }; +</pre></div> </td> + </tr> +</table> +<a name="a18" doxytag="Module::OnUserPreNick"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> int Module::OnUserPreNick </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>std::string </td> + <td class="mdname" nowrap> <em>newnick</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Called before any nickchange, local or remote. +<p> +This can be used to implement Q-lines etc. Please note that although you can see remote nickchanges through this function, you should NOT make any changes to the userrec if the user is a remote user as this may cause a desnyc. check user->server before taking any action (including returning nonzero from the method). If your method returns nonzero, the nickchange is silently forbidden, and it is down to your module to generate some meaninful output. +<p> +Definition at line <a class="el" href="modules_8cpp-source.html#l00129">129</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +<div class="fragment"><pre>00129 { <span class="keywordflow">return</span> 0; }; </pre></div> </td> </tr> </table> @@ -754,9 +801,9 @@ Called whenever a user is about to NOTICE A user or a channel, before any proces <p> Returning any nonzero value from this function stops the process immediately, causing no output to be sent to the user by the core. If you do this you must produce your own numerics, notices etc. This is useful for modules which may want to filter or redirect messages. target_type can be one of TYPE_USER or TYPE_CHANNEL. If the target_type value is a user, you must cast dest to a userrec* otherwise you must cast it to a chanrec*, this is the details of where the message is destined to be sent. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00127">127</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00128">128</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00127 { <span class="keywordflow">return</span> 0; }; +<div class="fragment"><pre>00128 { <span class="keywordflow">return</span> 0; }; </pre></div> </td> </tr> </table> @@ -790,9 +837,9 @@ Called when a user quits. <p> The details of the exiting user are available to you in the parameter userrec *user <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00113">113</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00114">114</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00113 { } +<div class="fragment"><pre>00114 { } </pre></div> </td> </tr> </table> @@ -835,15 +882,15 @@ Called whenever a /WHOIS is performed on a local user. <p> The source parameter contains the details of the user who issued the WHOIS command, and the dest parameter contains the information of the user they are whoising. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00125">125</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00126">126</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00125 { }; +<div class="fragment"><pre>00126 { }; </pre></div> </td> </tr> </table> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="modules_8h-source.html">modules.h</a><li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul> -<hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:48 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:26 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classModuleFactory-members.html b/docs/module-doc/classModuleFactory-members.html index 7082fd5f3..000cf186e 100644 --- a/docs/module-doc/classModuleFactory-members.html +++ b/docs/module-doc/classModuleFactory-members.html @@ -13,7 +13,7 @@ <tr bgcolor="#f0f0f0"><td><a class="el" href="classModuleFactory.html#a0">ModuleFactory</a>()</td><td><a class="el" href="classModuleFactory.html">ModuleFactory</a></td><td><code> [inline]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classModuleFactory.html#a1">~ModuleFactory</a>()</td><td><a class="el" href="classModuleFactory.html">ModuleFactory</a></td><td><code> [inline, virtual]</code></td></tr> -</table><hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:48 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:27 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classModuleFactory.html b/docs/module-doc/classModuleFactory.html index d9c9372f5..af0e80139 100644 --- a/docs/module-doc/classModuleFactory.html +++ b/docs/module-doc/classModuleFactory.html @@ -34,7 +34,7 @@ This is to allow for modules to create many different variants of <a class="el" <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00612">612</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> +Definition at line <a class="el" href="modules_8h-source.html#l00631">631</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> <a name="a0" doxytag="ModuleFactory::ModuleFactory"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> @@ -62,9 +62,9 @@ Definition at line <a class="el" href="modules_8h-source.html#l00612">612</a> of <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00615">615</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. +Definition at line <a class="el" href="modules_8h-source.html#l00634">634</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. <p> -<div class="fragment"><pre>00615 { } +<div class="fragment"><pre>00634 { } </pre></div> </td> </tr> </table> @@ -95,9 +95,9 @@ Definition at line <a class="el" href="modules_8h-source.html#l00615">615</a> of <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00616">616</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. +Definition at line <a class="el" href="modules_8h-source.html#l00635">635</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. <p> -<div class="fragment"><pre>00616 { } +<div class="fragment"><pre>00635 { } </pre></div> </td> </tr> </table> @@ -134,7 +134,7 @@ Your inherited class of ModuleFactory must return a pointer to your <a class="el </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="modules_8h-source.html">modules.h</a></ul> -<hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:48 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:27 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classQLine-members.html b/docs/module-doc/classQLine-members.html new file mode 100644 index 000000000..3aaca9ebb --- /dev/null +++ b/docs/module-doc/classQLine-members.html @@ -0,0 +1,24 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>Member List</title> +<link href="inspircd.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.3-rc3 --> +<center> +<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> +<hr><h1>QLine Member List</h1>This is the complete list of members for <a class="el" href="classQLine.html">QLine</a>, including all inherited members.<table> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#m0">age</a></td><td><a class="el" href="classclassbase.html">classbase</a></td><td></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a0">classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classXLine.html#m1">duration</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classXLine.html#m4">n_matches</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classQLine.html#m0">nick</a></td><td><a class="el" href="classQLine.html">QLine</a></td><td></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classXLine.html#m3">reason</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classXLine.html#m0">set_time</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classXLine.html#m2">source</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> +</table><hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:28 2004 for InspIRCd by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border=0 +width=110 height=53></a>1.3-rc3 </small></address> +</body> +</html> diff --git a/docs/module-doc/classQLine.html b/docs/module-doc/classQLine.html new file mode 100644 index 000000000..9e4c7231f --- /dev/null +++ b/docs/module-doc/classQLine.html @@ -0,0 +1,69 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>QLine class Reference</title> +<link href="inspircd.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.3-rc3 --> +<center> +<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> +<hr><h1>QLine Class Reference</h1>QLine class. +<a href="#_details">More...</a> +<p> +<code>#include <<a class="el" href="xline_8h-source.html">xline.h</a>></code> +<p> +Inheritance diagram for QLine:<p><center><img src="classQLine__inherit__graph.gif" border="0" usemap="#QLine__inherit__map" alt="Inheritance graph"></center> +<map name="QLine__inherit__map"> +<area href="classXLine.html" shape="rect" coords="19,85,61,106" alt=""> +<area href="classclassbase.html" shape="rect" coords="7,16,73,37" alt=""> +</map> +<center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for QLine:<p><center><img src="classQLine__coll__graph.gif" border="0" usemap="#QLine__coll__map" alt="Collaboration graph"></center> +<map name="QLine__coll__map"> +<area href="classXLine.html" shape="rect" coords="181,213,224,235" alt=""> +<area href="classclassbase.html" shape="rect" coords="7,107,73,128" alt=""> +</map> +<center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center><a href="classQLine-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> +<tr><td></td></tr> +<tr><td colspan=2><br><h2>Public Attributes</h2></td></tr> +<tr><td nowrap align=right valign=top>char </td><td valign=bottom><a class="el" href="classQLine.html#m0">nick</a> [MAXBUF]</td></tr> +<tr><td> </td><td><font size=-1><em>Nickname to match against.</em> <a href="#m0"></a><em></em></font><br><br></td></tr> +</table> +<hr><a name="_details"></a><h2>Detailed Description</h2> +QLine class. +<p> + +<p> +Definition at line <a class="el" href="xline_8h-source.html#l00079">79</a> of file <a class="el" href="xline_8h-source.html">xline.h</a>.<hr><h2>Member Data Documentation</h2> +<a name="m0" doxytag="QLine::nick"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> char QLine::nick[MAXBUF] + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Nickname to match against. +<p> +May contain wildcards. +<p> +Definition at line <a class="el" href="xline_8h-source.html#l00085">85</a> of file <a class="el" href="xline_8h-source.html">xline.h</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following file:<ul> +<li><a class="el" href="xline_8h-source.html">xline.h</a></ul> +<hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:28 2004 for InspIRCd by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border=0 +width=110 height=53></a>1.3-rc3 </small></address> +</body> +</html> diff --git a/docs/module-doc/classQLine__coll__graph.gif b/docs/module-doc/classQLine__coll__graph.gif Binary files differnew file mode 100644 index 000000000..3105b9f63 --- /dev/null +++ b/docs/module-doc/classQLine__coll__graph.gif diff --git a/docs/module-doc/classQLine__inherit__graph.gif b/docs/module-doc/classQLine__inherit__graph.gif Binary files differnew file mode 100644 index 000000000..d1a43909c --- /dev/null +++ b/docs/module-doc/classQLine__inherit__graph.gif diff --git a/docs/module-doc/classServer-members.html b/docs/module-doc/classServer-members.html index 0280ee904..aa1d85e03 100644 --- a/docs/module-doc/classServer-members.html +++ b/docs/module-doc/classServer-members.html @@ -24,6 +24,7 @@ <tr bgcolor="#f0f0f0"><td><a class="el" href="classServer.html#a18">GetNetworkName</a>()</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classServer.html#a17">GetServerName</a>()</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classServer.html#a12">IsNick</a>(std::string nick)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classServer.html#a32">IsUlined</a>(std::string server)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classServer.html#a24">JoinUserToChannel</a>(userrec *user, std::string cname, std::string key)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classServer.html#a3">Log</a>(int level, std::string s)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classServer.html#a28">MatchText</a>(std::string sliteral, std::string spattern)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> @@ -42,7 +43,7 @@ <tr bgcolor="#f0f0f0"><td><a class="el" href="classServer.html#a0">Server</a>()</td><td><a class="el" href="classServer.html">Server</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classServer.html#a1">~Server</a>()</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> -</table><hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:50 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:29 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classServer.html b/docs/module-doc/classServer.html index 73835e18e..b0f90ba36 100644 --- a/docs/module-doc/classServer.html +++ b/docs/module-doc/classServer.html @@ -86,6 +86,8 @@ Inheritance diagram for Server:<p><center><img src="classServer__inherit__graph. <tr><td> </td><td><font size=-1><em>Change displayed hostname of a user.</em> <a href="#a30"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classServer.html#a31">ChangeGECOS</a> (<a class="el" href="classuserrec.html">userrec</a> *user, std::string gecos)</td></tr> <tr><td> </td><td><font size=-1><em>Change GECOS (fullname) of a user.</em> <a href="#a31"></a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="classServer.html#a32">IsUlined</a> (std::string server)</td></tr> +<tr><td> </td><td><font size=-1><em>Returns true if the servername you give is ulined.</em> <a href="#a32"></a><em></em></font><br><br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Allows server output and query functions This class contains methods which allow a module to query the state of the irc server, and produce output to users and other servers. @@ -94,7 +96,7 @@ All modules should instantiate at least one copy of this class, and use its memb <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00241">241</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> +Definition at line <a class="el" href="modules_8h-source.html#l00250">250</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> <a name="a0" doxytag="Server::Server"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> @@ -124,10 +126,10 @@ Default constructor. <p> Creates a Server object. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00133">133</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00135">135</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00134 { -00135 } +<div class="fragment"><pre>00136 { +00137 } </pre></div> </td> </tr> </table> @@ -160,10 +162,10 @@ Default destructor. <p> Destroys a Server object. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00137">137</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00139">139</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00138 { -00139 } +<div class="fragment"><pre>00140 { +00141 } </pre></div> </td> </tr> </table> @@ -218,16 +220,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00137">137</a> Adds a command to the command table. <p> This allows modules to add extra commands into the command table. You must place a function within your module which is is of type handlerfunc:<p> -typedef void (handlerfunc) (char**, int, userrec*); ... void handle_kill(char **parameters, int pcnt, userrec *user)<p> +typedef void (handlerfunc) (char**, int, userrec*); ... void <a class="el" href="commands_8h.html#a5">handle_kill(char **parameters, int pcnt, userrec *user)</a><p> When the command is typed, the parameters will be placed into the parameters array (similar to argv) and the parameter count will be placed into pcnt (similar to argv). There will never be any less parameters than the 'minparams' value you specified when creating the command. The *user parameter is the class of the user which caused the command to trigger, who will always have the flag you specified in 'flags' when creating the initial command. For example to create an oper only command create the commands with flags='o'. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00190">190</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00197">197</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="modules_8h.html#a13">createcommand()</a>. <p> -<div class="fragment"><pre>00191 { -00192 <a class="code" href="modules_8h.html#a13">createcommand</a>(cmd,f,flags,minparams); -00193 } +<div class="fragment"><pre>00198 { +00199 <a class="code" href="modules_8h.html#a13">createcommand</a>(cmd,f,flags,minparams); +00200 } </pre></div> </td> </tr> </table> @@ -288,28 +290,28 @@ Adds an extended mode letter which is parsed by a module This allows modules to <p> +x for hostcloak. the "type" parameter is either MT_CHANNEL, MT_CLIENT, or MT_SERVER, to indicate wether the mode is a channel mode, a client mode, or a server mode. requires_oper is used with MT_CLIENT type modes only to indicate the mode can only be set or unset by an oper. If this is used for MT_CHANNEL type modes it is ignored. params_when_on is the number of modes to expect when the mode is turned on (for type MT_CHANNEL only), e.g. with mode +k, this would have a value of 1. the params_when_off value has a similar value to params_when_on, except it indicates the number of parameters to expect when the mode is disabled. Modes which act in a similar way to channel mode +l (e.g. require a parameter to enable, but not to disable) should use this parameter. The function returns false if the mode is unavailable, and will not attempt to allocate another character, as this will confuse users. This also means that as only one module can claim a specific mode character, the core does not need to keep track of which modules own which modes, which speeds up operation of the server. In this version, a mode can have at most one parameter, attempting to use more parameters will have undefined effects. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00310">310</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. -<p> -References <a class="el" href="modules_8cpp-source.html#l00092">DoAddExtendedMode()</a>, <a class="el" href="modules_8h-source.html#l00018">MT_CLIENT</a>, and <a class="el" href="modules_8h-source.html#l00019">MT_SERVER</a>. -<p> -<div class="fragment"><pre>00311 { -00312 <span class="keywordflow">if</span> (type == <a class="code" href="modules_8h.html#a7">MT_SERVER</a>) -00313 { -00314 log(DEBUG,<span class="stringliteral">"*** API ERROR *** Modes of type MT_SERVER are reserved for future expansion"</span>); -00315 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00316 } -00317 <span class="keywordflow">if</span> (((params_when_on>0) || (params_when_off>0)) && (type == <a class="code" href="modules_8h.html#a6">MT_CLIENT</a>)) -00318 { -00319 log(DEBUG,<span class="stringliteral">"*** API ERROR *** Parameters on MT_CLIENT modes are not supported"</span>); -00320 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00321 } -00322 <span class="keywordflow">if</span> ((params_when_on>1) || (params_when_off>1)) -00323 { -00324 log(DEBUG,<span class="stringliteral">"*** API ERROR *** More than one parameter for an MT_CHANNEL mode is not yet supported"</span>); -00325 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00326 } -00327 <span class="keywordflow">return</span> <a class="code" href="modules_8cpp.html#a8">DoAddExtendedMode</a>(modechar,type,requires_oper,params_when_on,params_when_off); -00328 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00317">317</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="modules_8cpp-source.html#l00093">DoAddExtendedMode()</a>, <a class="el" href="modules_8h-source.html#l00018">MT_CLIENT</a>, and <a class="el" href="modules_8h-source.html#l00019">MT_SERVER</a>. +<p> +<div class="fragment"><pre>00318 { +00319 <span class="keywordflow">if</span> (type == <a class="code" href="modules_8h.html#a7">MT_SERVER</a>) +00320 { +00321 log(DEBUG,<span class="stringliteral">"*** API ERROR *** Modes of type MT_SERVER are reserved for future expansion"</span>); +00322 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00323 } +00324 <span class="keywordflow">if</span> (((params_when_on>0) || (params_when_off>0)) && (type == <a class="code" href="modules_8h.html#a6">MT_CLIENT</a>)) +00325 { +00326 log(DEBUG,<span class="stringliteral">"*** API ERROR *** Parameters on MT_CLIENT modes are not supported"</span>); +00327 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00328 } +00329 <span class="keywordflow">if</span> ((params_when_on>1) || (params_when_off>1)) +00330 { +00331 log(DEBUG,<span class="stringliteral">"*** API ERROR *** More than one parameter for an MT_CHANNEL mode is not yet supported"</span>); +00332 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00333 } +00334 <span class="keywordflow">return</span> <a class="code" href="modules_8cpp.html#a8">DoAddExtendedMode</a>(modechar,type,requires_oper,params_when_on,params_when_off); +00335 } </pre></div> </td> </tr> </table> @@ -365,11 +367,11 @@ Calls the handler for a command, either implemented by the core or by another mo You can use this function to trigger other commands in the ircd, such as PRIVMSG, JOIN, KICK etc, or even as a method of callback. By defining command names that are untypeable for users on irc (e.g. those which contain a or <br> ) you may use them as callback identifiers. The first parameter to this method is the name of the command handler you wish to call, e.g. PRIVMSG. This will be a command handler previously registered by the core or wih <a class="el" href="classServer.html#a21">AddCommand()</a>. The second parameter is an array of parameters, and the third parameter is a count of parameters in the array. If you do not pass enough parameters to meet the minimum needed by the handler, the functiom will silently ignore it. The final parameter is the user executing the command handler, used for privilage checks, etc. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00180">180</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00187">187</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00181 { -00182 call_handler(commandname.c_str(),parameters,pcnt,user); -00183 } +<div class="fragment"><pre>00188 { +00189 call_handler(commandname.c_str(),parameters,pcnt,user); +00190 } </pre></div> </td> </tr> </table> @@ -412,11 +414,13 @@ Change GECOS (fullname) of a user. <p> You should always call this method to change a user's GECOS rather than writing directly to the fullname member of userrec, as any change applied via this method will be propogated to any linked servers. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00268">268</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00275">275</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="message_8h.html#a10">ChangeName()</a>. <p> -<div class="fragment"><pre>00269 { -00270 ChangeName(user,gecos.c_str()); -00271 } +<div class="fragment"><pre>00276 { +00277 <a class="code" href="message_8h.html#a10">ChangeName</a>(user,gecos.c_str()); +00278 } </pre></div> </td> </tr> </table> @@ -459,11 +463,13 @@ Change displayed hostname of a user. <p> You should always call this method to change a user's host rather than writing directly to the dhost member of userrec, as any change applied via this method will be propogated to any linked servers. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00263">263</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00270">270</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="message_8h.html#a11">ChangeDisplayedHost()</a>. <p> -<div class="fragment"><pre>00264 { -00265 ChangeDisplayedHost(user,host.c_str()); -00266 } +<div class="fragment"><pre>00271 { +00272 <a class="code" href="message_8h.html#a11">ChangeDisplayedHost</a>(user,host.c_str()); +00273 } </pre></div> </td> </tr> </table> @@ -506,11 +512,11 @@ Forces a user nickchange. <p> This command works similarly to SVSNICK, and can be used to implement Q-lines etc. If you specify an invalid nickname, the nick change will be dropped and the target user will receive the error numeric for it. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00169">169</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00171">171</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00170 { -00171 force_nickchange(user,nickname.c_str()); -00172 } +<div class="fragment"><pre>00172 { +00173 force_nickchange(user,nickname.c_str()); +00174 } </pre></div> </td> </tr> </table> @@ -553,11 +559,13 @@ Attempts to look up a user's privilages on a channel. <p> This function will return a string containing either @, , +, or an empty string, representing the user's privilages upon the channel you specify. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00288">288</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00295">295</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00289 { -00290 <span class="keywordflow">return</span> cmode(User,Chan); -00291 } +References <a class="el" href="message_8h.html#a14">cmode()</a>. +<p> +<div class="fragment"><pre>00296 { +00297 <span class="keywordflow">return</span> <a class="code" href="message_8h.html#a14">cmode</a>(User,Chan); +00298 } </pre></div> </td> </tr> </table> @@ -600,11 +608,13 @@ Returns true if two users share a common channel. <p> This method is used internally by the NICK and QUIT commands, and the <a class="el" href="classServer.html#a10">Server::SendCommon</a> method. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00241">241</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00248">248</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="message_8h.html#a0">common_channels()</a>. <p> -<div class="fragment"><pre>00242 { -00243 <span class="keywordflow">return</span> (common_channels(u1,u2) != 0); -00244 } +<div class="fragment"><pre>00249 { +00250 <span class="keywordflow">return</span> (<a class="code" href="message_8h.html#a0">common_channels</a>(u1,u2) != 0); +00251 } </pre></div> </td> </tr> </table> @@ -638,11 +648,11 @@ Returns a count of the number of users on a channel. <p> This will NEVER be 0, as if the chanrec exists, it will have at least one user in the channel. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00330">330</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00337">337</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00331 { -00332 <span class="keywordflow">return</span> usercount(c); -00333 } +<div class="fragment"><pre>00338 { +00339 <span class="keywordflow">return</span> usercount(c); +00340 } </pre></div> </td> </tr> </table> @@ -676,11 +686,11 @@ Attempts to look up a channel and return a pointer to it. <p> This function will return NULL if the channel does not exist. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00283">283</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00290">290</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00284 { -00285 <span class="keywordflow">return</span> FindChan(channel.c_str()); -00286 } +<div class="fragment"><pre>00291 { +00292 <span class="keywordflow">return</span> FindChan(channel.c_str()); +00293 } </pre></div> </td> </tr> </table> @@ -714,11 +724,11 @@ Attempts to look up a nick and return a pointer to it. <p> This function will return NULL if the nick does not exist. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00278">278</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00285">285</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00279 { -00280 <span class="keywordflow">return</span> Find(nick); -00281 } +<div class="fragment"><pre>00286 { +00287 <span class="keywordflow">return</span> Find(nick); +00288 } </pre></div> </td> </tr> </table> @@ -751,11 +761,11 @@ Returns the information of the server as returned by the /ADMIN command. <p> See the <a class="el" href="classAdmin.html">Admin</a> class for further information of the return value. The members <a class="el" href="classAdmin.html#m2">Admin::Nick</a>, <a class="el" href="classAdmin.html#m1">Admin::Email</a> and <a class="el" href="classAdmin.html#m0">Admin::Name</a> contain the information for the server where the module is loaded. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00303">303</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00310">310</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00304 { -00305 <span class="keywordflow">return</span> <a class="code" href="classAdmin.html">Admin</a>(getadminname(),getadminemail(),getadminnick()); -00306 } +<div class="fragment"><pre>00311 { +00312 <span class="keywordflow">return</span> <a class="code" href="classAdmin.html">Admin</a>(getadminname(),getadminemail(),getadminnick()); +00313 } </pre></div> </td> </tr> </table> @@ -788,11 +798,11 @@ Returns the network name, global to all linked servers. <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00298">298</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00305">305</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00299 { -00300 <span class="keywordflow">return</span> getnetworkname(); -00301 } +<div class="fragment"><pre>00306 { +00307 <span class="keywordflow">return</span> getnetworkname(); +00308 } </pre></div> </td> </tr> </table> @@ -825,11 +835,11 @@ Returns the server name of the server where the module is loaded. <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00293">293</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00300">300</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00294 { -00295 <span class="keywordflow">return</span> getservername(); -00296 } +<div class="fragment"><pre>00301 { +00302 <span class="keywordflow">return</span> getservername(); +00303 } </pre></div> </td> </tr> </table> @@ -863,11 +873,53 @@ Returns true if a nick is valid. <p> Nicks for unregistered connections will return false. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00273">273</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00280">280</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="message_8h.html#a13">isnick()</a>. +<p> +<div class="fragment"><pre>00281 { +00282 <span class="keywordflow">return</span> (<a class="code" href="message_8h.html#a13">isnick</a>(nick.c_str()) != 0); +00283 } +</pre></div> </td> + </tr> +</table> +<a name="a32" doxytag="Server::IsUlined"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool Server::IsUlined </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">std::string </td> + <td class="mdname1" valign="top" nowrap> <em>server</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Returns true if the servername you give is ulined. +<p> +ULined servers have extra privilages. They are allowed to change nicknames on remote servers, change modes of clients which are on remote servers and set modes of channels where there are no channel operators for that channel on the ulined server, amongst other things. Ulined server data is also broadcast across the mesh at all times as opposed to selectively messaged in the case of normal servers, as many ulined server types (such as services) do not support meshed links and must operate in this manner. +<p> +Definition at line <a class="el" href="modules_8cpp-source.html#l00182">182</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="commands_8h.html#a70">is_uline()</a>. <p> -<div class="fragment"><pre>00274 { -00275 <span class="keywordflow">return</span> (isnick(nick.c_str()) != 0); -00276 } +<div class="fragment"><pre>00183 { +00184 <span class="keywordflow">return</span> <a class="code" href="commands_8h.html#a70">is_uline</a>(server.c_str()); +00185 } </pre></div> </td> </tr> </table> @@ -916,11 +968,11 @@ Forces a user to join a channel. <p> This is similar to svsjoin and can be used to implement redirection, etc. On success, the return value is a valid pointer to a chanrec* of the channel the user was joined to. On failure, the result is NULL. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00159">159</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00161">161</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00160 { -00161 <span class="keywordflow">return</span> add_channel(user,cname.c_str(),key.c_str(),<span class="keyword">true</span>); -00162 } +<div class="fragment"><pre>00162 { +00163 <span class="keywordflow">return</span> add_channel(user,cname.c_str(),key.c_str(),<span class="keyword">true</span>); +00164 } </pre></div> </td> </tr> </table> @@ -963,11 +1015,11 @@ Writes a log string. <p> This method writes a line of text to the log. If the level given is lower than the level given in the configuration, this command has no effect. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00185">185</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00192">192</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00186 { -00187 log(level,<span class="stringliteral">"%s"</span>,s.c_str()); -00188 } +<div class="fragment"><pre>00193 { +00194 log(level,<span class="stringliteral">"%s"</span>,s.c_str()); +00195 } </pre></div> </td> </tr> </table> @@ -1010,14 +1062,14 @@ Matches text against a glob pattern. <p> Uses the ircd's internal matching function to match string against a globbing pattern, e.g. *!*@*.com Returns true if the literal successfully matches the pattern, false if otherwise. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00146">146</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00148">148</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00147 { -00148 <span class="keywordtype">char</span> literal[MAXBUF],pattern[MAXBUF]; -00149 strncpy(literal,sliteral.c_str(),MAXBUF); -00150 strncpy(pattern,spattern.c_str(),MAXBUF); -00151 <span class="keywordflow">return</span> match(literal,pattern); -00152 } +<div class="fragment"><pre>00149 { +00150 <span class="keywordtype">char</span> literal[MAXBUF],pattern[MAXBUF]; +00151 strncpy(literal,sliteral.c_str(),MAXBUF); +00152 strncpy(pattern,spattern.c_str(),MAXBUF); +00153 <span class="keywordflow">return</span> match(literal,pattern); +00154 } </pre></div> </td> </tr> </table> @@ -1066,11 +1118,11 @@ Forces a user to part a channel. <p> This is similar to svspart and can be used to implement redirection, etc. Although the return value of this function is a pointer to a channel record, the returned data is undefined and should not be read or written to. This behaviour may be changed in a future version. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00164">164</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00166">166</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00165 { -00166 <span class="keywordflow">return</span> del_channel(user,cname.c_str(),reason.c_str(),<span class="keyword">false</span>); -00167 } +<div class="fragment"><pre>00167 { +00168 <span class="keywordflow">return</span> del_channel(user,cname.c_str(),reason.c_str(),<span class="keyword">false</span>); +00169 } </pre></div> </td> </tr> </table> @@ -1115,14 +1167,14 @@ To the user, it will appear as if they typed /QUIT themselves, except for the fa WARNING!<p> Once you call this function, userrec* user will immediately become INVALID. You MUST NOT write to, or read from this pointer after calling the QuitUser method UNDER ANY CIRCUMSTANCES! The best course of action after calling this method is to immediately bail from your handler. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00174">174</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00176">176</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="users_8h-source.html#l00091">userrec::nick</a>. +References <a class="el" href="users_8h-source.html#l00091">userrec::nick</a>, and <a class="el" href="message_8h.html#a19">send_network_quit()</a>. <p> -<div class="fragment"><pre>00175 { -00176 send_network_quit(user-><a class="code" href="classuserrec.html#m0">nick</a>,reason.c_str()); -00177 kill_link(user,reason.c_str()); -00178 } +<div class="fragment"><pre>00177 { +00178 <a class="code" href="message_8h.html#a19">send_network_quit</a>(user-><a class="code" href="classuserrec.html#m0">nick</a>,reason.c_str()); +00179 kill_link(user,reason.c_str()); +00180 } </pre></div> </td> </tr> </table> @@ -1165,11 +1217,11 @@ Sends a line of text down a TCP/IP socket. <p> This method writes a line of text to an established socket, cutting it to 510 characters plus a carriage return and linefeed if required. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00200">200</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00207">207</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00201 { -00202 Write(Socket,<span class="stringliteral">"%s"</span>,s.c_str()); -00203 } +<div class="fragment"><pre>00208 { +00209 Write(Socket,<span class="stringliteral">"%s"</span>,s.c_str()); +00210 } </pre></div> </td> </tr> </table> @@ -1224,18 +1276,18 @@ Sends text from a user to a channel (mulicast). <p> This method writes a line of text to a channel, with the given user's nick/ident /host combination prepended, as used in PRIVMSG etc commands (see RFC 1459). If the IncludeSender flag is set, then the text is also sent back to the user from which it originated, as seen in MODE (see RFC 1459). <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00229">229</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. -<p> -<div class="fragment"><pre>00230 { -00231 <span class="keywordflow">if</span> (IncludeSender) -00232 { -00233 WriteChannel(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str()); -00234 } -00235 <span class="keywordflow">else</span> -00236 { -00237 ChanExceptSender(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str()); -00238 } -00239 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00236">236</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +<div class="fragment"><pre>00237 { +00238 <span class="keywordflow">if</span> (IncludeSender) +00239 { +00240 WriteChannel(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str()); +00241 } +00242 <span class="keywordflow">else</span> +00243 { +00244 ChanExceptSender(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str()); +00245 } +00246 } </pre></div> </td> </tr> </table> @@ -1284,18 +1336,18 @@ Sends text from a user to one or more channels (mulicast). <p> This method writes a line of text to all users which share a common channel with a given user, with the user's nick/ident/host combination prepended, as used in PRIVMSG etc commands (see RFC 1459). If the IncludeSender flag is set, then the text is also sent back to the user from which it originated, as seen in NICK (see RFC 1459). Otherwise, it is only sent to the other recipients, as seen in QUIT. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00246">246</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. -<p> -<div class="fragment"><pre>00247 { -00248 <span class="keywordflow">if</span> (IncludeSender) -00249 { -00250 WriteCommon(User,<span class="stringliteral">"%s"</span>,text.c_str()); -00251 } -00252 <span class="keywordflow">else</span> -00253 { -00254 WriteCommonExcept(User,<span class="stringliteral">"%s"</span>,text.c_str()); -00255 } -00256 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00253">253</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +<div class="fragment"><pre>00254 { +00255 <span class="keywordflow">if</span> (IncludeSender) +00256 { +00257 WriteCommon(User,<span class="stringliteral">"%s"</span>,text.c_str()); +00258 } +00259 <span class="keywordflow">else</span> +00260 { +00261 WriteCommonExcept(User,<span class="stringliteral">"%s"</span>,text.c_str()); +00262 } +00263 } </pre></div> </td> </tr> </table> @@ -1344,11 +1396,11 @@ Sends text from a user to a socket. <p> This method writes a line of text to an established socket, with the given user's nick/ident /host combination prepended, as used in PRIVSG etc commands (see RFC 1459) <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00210">210</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00217">217</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00211 { -00212 WriteFrom(Socket,User,<span class="stringliteral">"%s"</span>,s.c_str()); -00213 } +<div class="fragment"><pre>00218 { +00219 WriteFrom(Socket,User,<span class="stringliteral">"%s"</span>,s.c_str()); +00220 } </pre></div> </td> </tr> </table> @@ -1404,13 +1456,13 @@ modes[2] = user->nick;<p> Srv->SendMode(modes,3,user);<p> The modes will originate from the server where the command was issued, however responses (e.g. numerics) will be sent to the user you provide as the third parameter. You must be sure to get the number of parameters correct in the pcnt parameter otherwise you could leave your server in an unstable state! <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00195">195</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00202">202</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="modules_8h.html#a14">server_mode()</a>. <p> -<div class="fragment"><pre>00196 { -00197 <a class="code" href="modules_8h.html#a14">server_mode</a>(parameters,pcnt,user); -00198 } +<div class="fragment"><pre>00203 { +00204 <a class="code" href="modules_8h.html#a14">server_mode</a>(parameters,pcnt,user); +00205 } </pre></div> </td> </tr> </table> @@ -1444,11 +1496,11 @@ Sends text to all opers. <p> This method sends a server notice to all opers with the usermode +s. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00141">141</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00143">143</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00142 { -00143 WriteOpers(<span class="stringliteral">"%s"</span>,s.c_str()); -00144 } +<div class="fragment"><pre>00144 { +00145 WriteOpers(<span class="stringliteral">"%s"</span>,s.c_str()); +00146 } </pre></div> </td> </tr> </table> @@ -1491,11 +1543,11 @@ Sends text from the server to a socket. <p> This method writes a line of text to an established socket, with the servername prepended as used by numerics (see RFC 1459) <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00205">205</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00212">212</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00206 { -00207 WriteServ(Socket,<span class="stringliteral">"%s"</span>,s.c_str()); -00208 } +<div class="fragment"><pre>00213 { +00214 WriteServ(Socket,<span class="stringliteral">"%s"</span>,s.c_str()); +00215 } </pre></div> </td> </tr> </table> @@ -1548,22 +1600,22 @@ The format will become:<p> :localserver TEXT<p> Which is useful for numerics and server notices to single users, etc. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00215">215</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. -<p> -References <a class="el" href="connection_8h-source.html#l00165">connection::fd</a>. -<p> -<div class="fragment"><pre>00216 { -00217 <span class="keywordflow">if</span> (!Source) -00218 { -00219 <span class="comment">// if source is NULL, then the message originates from the local server</span> -00220 Write(Dest-><a class="code" href="classconnection.html#m0">fd</a>,<span class="stringliteral">":%s %s"</span>,this->GetServerName().c_str(),s.c_str()); -00221 } -00222 <span class="keywordflow">else</span> -00223 { -00224 <span class="comment">// otherwise it comes from the user specified</span> -00225 WriteTo(Source,Dest,<span class="stringliteral">"%s"</span>,s.c_str()); -00226 } -00227 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00222">222</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="connection_8h-source.html#l00166">connection::fd</a>. +<p> +<div class="fragment"><pre>00223 { +00224 <span class="keywordflow">if</span> (!Source) +00225 { +00226 <span class="comment">// if source is NULL, then the message originates from the local server</span> +00227 Write(Dest-><a class="code" href="classconnection.html#m0">fd</a>,<span class="stringliteral">":%s %s"</span>,this->GetServerName().c_str(),s.c_str()); +00228 } +00229 <span class="keywordflow">else</span> +00230 { +00231 <span class="comment">// otherwise it comes from the user specified</span> +00232 WriteTo(Source,Dest,<span class="stringliteral">"%s"</span>,s.c_str()); +00233 } +00234 } </pre></div> </td> </tr> </table> @@ -1614,11 +1666,11 @@ These can be RFC specified modes such as +i, or module provided modes, including Serv->SendToModeMask("xi", WM_OR, "m00");<p> Then the text 'm00' will be sent to all users with EITHER mode x or i. Conversely if you used WM_AND, the user must have both modes set to receive the message. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00154">154</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00156">156</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00155 { -00156 WriteMode(modes.c_str(),flags,<span class="stringliteral">"%s"</span>,text.c_str()); -00157 } +<div class="fragment"><pre>00157 { +00158 WriteMode(modes.c_str(),flags,<span class="stringliteral">"%s"</span>,text.c_str()); +00159 } </pre></div> </td> </tr> </table> @@ -1661,17 +1713,17 @@ Sends a WALLOPS message. <p> This method writes a WALLOPS message to all users with the +w flag, originating from the specified user. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00258">258</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00265">265</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00259 { -00260 WriteWallOps(User,<span class="keyword">false</span>,<span class="stringliteral">"%s"</span>,text.c_str()); -00261 } +<div class="fragment"><pre>00266 { +00267 WriteWallOps(User,<span class="keyword">false</span>,<span class="stringliteral">"%s"</span>,text.c_str()); +00268 } </pre></div> </td> </tr> </table> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="modules_8h-source.html">modules.h</a><li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul> -<hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:49 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:29 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classVersion-members.html b/docs/module-doc/classVersion-members.html index ff94a59e6..93316cae1 100644 --- a/docs/module-doc/classVersion-members.html +++ b/docs/module-doc/classVersion-members.html @@ -15,7 +15,7 @@ <tr bgcolor="#f0f0f0"><td><a class="el" href="classVersion.html#m2">Revision</a></td><td><a class="el" href="classVersion.html">Version</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classVersion.html#a0">Version</a>(int major, int minor, int revision, int build)</td><td><a class="el" href="classVersion.html">Version</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:53 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:31 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classVersion.html b/docs/module-doc/classVersion.html index 10febeaaf..1ca22fb93 100644 --- a/docs/module-doc/classVersion.html +++ b/docs/module-doc/classVersion.html @@ -86,9 +86,9 @@ Definition at line <a class="el" href="modules_8h-source.html#l00068">68</a> of <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00104">104</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00105">105</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00104 : <a class="code" href="classVersion.html#m0">Major</a>(major), <a class="code" href="classVersion.html#m1">Minor</a>(minor), <a class="code" href="classVersion.html#m2">Revision</a>(revision), <a class="code" href="classVersion.html#m3">Build</a>(build) { }; +<div class="fragment"><pre>00105 : <a class="code" href="classVersion.html#m0">Major</a>(major), <a class="code" href="classVersion.html#m1">Minor</a>(minor), <a class="code" href="classVersion.html#m2">Revision</a>(revision), <a class="code" href="classVersion.html#m3">Build</a>(build) { }; </pre></div> </td> </tr> </table> @@ -191,7 +191,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00071">71</a> of </table> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="modules_8h-source.html">modules.h</a><li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul> -<hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:52 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:31 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classXLine-members.html b/docs/module-doc/classXLine-members.html new file mode 100644 index 000000000..c3a867fdc --- /dev/null +++ b/docs/module-doc/classXLine-members.html @@ -0,0 +1,23 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>Member List</title> +<link href="inspircd.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.3-rc3 --> +<center> +<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> +<hr><h1>XLine Member List</h1>This is the complete list of members for <a class="el" href="classXLine.html">XLine</a>, including all inherited members.<table> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#m0">age</a></td><td><a class="el" href="classclassbase.html">classbase</a></td><td></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a0">classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classXLine.html#m1">duration</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classXLine.html#m4">n_matches</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classXLine.html#m3">reason</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classXLine.html#m0">set_time</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classXLine.html#m2">source</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> +</table><hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:32 2004 for InspIRCd by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border=0 +width=110 height=53></a>1.3-rc3 </small></address> +</body> +</html> diff --git a/docs/module-doc/classXLine.html b/docs/module-doc/classXLine.html new file mode 100644 index 000000000..d4538eae7 --- /dev/null +++ b/docs/module-doc/classXLine.html @@ -0,0 +1,183 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>XLine class Reference</title> +<link href="inspircd.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.3-rc3 --> +<center> +<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> +<hr><h1>XLine Class Reference</h1>XLine is the base class for ban lines such as G lines and K lines. +<a href="#_details">More...</a> +<p> +<code>#include <<a class="el" href="xline_8h-source.html">xline.h</a>></code> +<p> +Inheritance diagram for XLine:<p><center><img src="classXLine__inherit__graph.gif" border="0" usemap="#XLine__inherit__map" alt="Inheritance graph"></center> +<map name="XLine__inherit__map"> +<area href="classGLine.html" shape="rect" coords="7,154,49,176" alt=""> +<area href="classKLine.html" shape="rect" coords="73,154,116,176" alt=""> +<area href="classQLine.html" shape="rect" coords="140,154,185,176" alt=""> +<area href="classZLine.html" shape="rect" coords="209,154,252,176" alt=""> +<area href="classclassbase.html" shape="rect" coords="95,16,161,37" alt=""> +</map> +<center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for XLine:<p><center><img src="classXLine__coll__graph.gif" border="0" usemap="#XLine__coll__map" alt="Collaboration graph"></center> +<map name="XLine__coll__map"> +<area href="classclassbase.html" shape="rect" coords="113,107,180,128" alt=""> +</map> +<center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center><a href="classXLine-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> +<tr><td></td></tr> +<tr><td colspan=2><br><h2>Public Attributes</h2></td></tr> +<tr><td nowrap align=right valign=top>time_t </td><td valign=bottom><a class="el" href="classXLine.html#m0">set_time</a></td></tr> +<tr><td> </td><td><font size=-1><em>The time the line was added.</em> <a href="#m0"></a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>long </td><td valign=bottom><a class="el" href="classXLine.html#m1">duration</a></td></tr> +<tr><td> </td><td><font size=-1><em>The duration of the ban, or 0 if permenant.</em> <a href="#m1"></a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>char </td><td valign=bottom><a class="el" href="classXLine.html#m2">source</a> [MAXBUF]</td></tr> +<tr><td> </td><td><font size=-1><em>Source of the ban.</em> <a href="#m2"></a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>char </td><td valign=bottom><a class="el" href="classXLine.html#m3">reason</a> [MAXBUF]</td></tr> +<tr><td> </td><td><font size=-1><em>Reason for the ban.</em> <a href="#m3"></a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>long </td><td valign=bottom><a class="el" href="classXLine.html#m4">n_matches</a></td></tr> +<tr><td> </td><td><font size=-1><em>Number of times the core matches the ban, for statistics.</em> <a href="#m4"></a><em></em></font><br><br></td></tr> +</table> +<hr><a name="_details"></a><h2>Detailed Description</h2> +XLine is the base class for ban lines such as G lines and K lines. +<p> + +<p> +Definition at line <a class="el" href="xline_8h-source.html#l00018">18</a> of file <a class="el" href="xline_8h-source.html">xline.h</a>.<hr><h2>Member Data Documentation</h2> +<a name="m1" doxytag="XLine::duration"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> long XLine::duration + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +The duration of the ban, or 0 if permenant. +<p> + +<p> +Definition at line <a class="el" href="xline_8h-source.html#l00028">28</a> of file <a class="el" href="xline_8h-source.html">xline.h</a>. </td> + </tr> +</table> +<a name="m4" doxytag="XLine::n_matches"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> long XLine::n_matches + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Number of times the core matches the ban, for statistics. +<p> + +<p> +Definition at line <a class="el" href="xline_8h-source.html#l00040">40</a> of file <a class="el" href="xline_8h-source.html">xline.h</a>. </td> + </tr> +</table> +<a name="m3" doxytag="XLine::reason"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> char XLine::reason[MAXBUF] + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Reason for the ban. +<p> + +<p> +Definition at line <a class="el" href="xline_8h-source.html#l00036">36</a> of file <a class="el" href="xline_8h-source.html">xline.h</a>. </td> + </tr> +</table> +<a name="m0" doxytag="XLine::set_time"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> time_t XLine::set_time + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +The time the line was added. +<p> + +<p> +Definition at line <a class="el" href="xline_8h-source.html#l00024">24</a> of file <a class="el" href="xline_8h-source.html">xline.h</a>. </td> + </tr> +</table> +<a name="m2" doxytag="XLine::source"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> char XLine::source[MAXBUF] + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Source of the ban. +<p> +This can be a servername or an oper nickname +<p> +Definition at line <a class="el" href="xline_8h-source.html#l00032">32</a> of file <a class="el" href="xline_8h-source.html">xline.h</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following file:<ul> +<li><a class="el" href="xline_8h-source.html">xline.h</a></ul> +<hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:32 2004 for InspIRCd by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border=0 +width=110 height=53></a>1.3-rc3 </small></address> +</body> +</html> diff --git a/docs/module-doc/classXLine__coll__graph.gif b/docs/module-doc/classXLine__coll__graph.gif Binary files differnew file mode 100644 index 000000000..09e1d40d4 --- /dev/null +++ b/docs/module-doc/classXLine__coll__graph.gif diff --git a/docs/module-doc/classXLine__inherit__graph.gif b/docs/module-doc/classXLine__inherit__graph.gif Binary files differnew file mode 100644 index 000000000..37cb1bce7 --- /dev/null +++ b/docs/module-doc/classXLine__inherit__graph.gif diff --git a/docs/module-doc/classZLine-members.html b/docs/module-doc/classZLine-members.html new file mode 100644 index 000000000..935b9d3d9 --- /dev/null +++ b/docs/module-doc/classZLine-members.html @@ -0,0 +1,24 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>Member List</title> +<link href="inspircd.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.3-rc3 --> +<center> +<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> +<hr><h1>ZLine Member List</h1>This is the complete list of members for <a class="el" href="classZLine.html">ZLine</a>, including all inherited members.<table> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#m0">age</a></td><td><a class="el" href="classclassbase.html">classbase</a></td><td></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a0">classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classXLine.html#m1">duration</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classZLine.html#m0">ipaddr</a></td><td><a class="el" href="classZLine.html">ZLine</a></td><td></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classXLine.html#m4">n_matches</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classXLine.html#m3">reason</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classXLine.html#m0">set_time</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classXLine.html#m2">source</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> +</table><hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:33 2004 for InspIRCd by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border=0 +width=110 height=53></a>1.3-rc3 </small></address> +</body> +</html> diff --git a/docs/module-doc/classZLine.html b/docs/module-doc/classZLine.html new file mode 100644 index 000000000..e6932db48 --- /dev/null +++ b/docs/module-doc/classZLine.html @@ -0,0 +1,69 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>ZLine class Reference</title> +<link href="inspircd.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.3-rc3 --> +<center> +<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> +<hr><h1>ZLine Class Reference</h1>ZLine class. +<a href="#_details">More...</a> +<p> +<code>#include <<a class="el" href="xline_8h-source.html">xline.h</a>></code> +<p> +Inheritance diagram for ZLine:<p><center><img src="classZLine__inherit__graph.gif" border="0" usemap="#ZLine__inherit__map" alt="Inheritance graph"></center> +<map name="ZLine__inherit__map"> +<area href="classXLine.html" shape="rect" coords="19,85,61,106" alt=""> +<area href="classclassbase.html" shape="rect" coords="7,16,73,37" alt=""> +</map> +<center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for ZLine:<p><center><img src="classZLine__coll__graph.gif" border="0" usemap="#ZLine__coll__map" alt="Collaboration graph"></center> +<map name="ZLine__coll__map"> +<area href="classXLine.html" shape="rect" coords="181,213,224,235" alt=""> +<area href="classclassbase.html" shape="rect" coords="7,107,73,128" alt=""> +</map> +<center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center><a href="classZLine-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> +<tr><td></td></tr> +<tr><td colspan=2><br><h2>Public Attributes</h2></td></tr> +<tr><td nowrap align=right valign=top>char </td><td valign=bottom><a class="el" href="classZLine.html#m0">ipaddr</a> [MAXBUF]</td></tr> +<tr><td> </td><td><font size=-1><em>IP Address (xx.yy.zz.aa) to match against May contain wildcards.</em> <a href="#m0"></a><em></em></font><br><br></td></tr> +</table> +<hr><a name="_details"></a><h2>Detailed Description</h2> +ZLine class. +<p> + +<p> +Definition at line <a class="el" href="xline_8h-source.html#l00068">68</a> of file <a class="el" href="xline_8h-source.html">xline.h</a>.<hr><h2>Member Data Documentation</h2> +<a name="m0" doxytag="ZLine::ipaddr"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> char ZLine::ipaddr[MAXBUF] + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +IP Address (xx.yy.zz.aa) to match against May contain wildcards. +<p> + +<p> +Definition at line <a class="el" href="xline_8h-source.html#l00074">74</a> of file <a class="el" href="xline_8h-source.html">xline.h</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following file:<ul> +<li><a class="el" href="xline_8h-source.html">xline.h</a></ul> +<hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:33 2004 for InspIRCd by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border=0 +width=110 height=53></a>1.3-rc3 </small></address> +</body> +</html> diff --git a/docs/module-doc/classZLine__coll__graph.gif b/docs/module-doc/classZLine__coll__graph.gif Binary files differnew file mode 100644 index 000000000..c3545bb73 --- /dev/null +++ b/docs/module-doc/classZLine__coll__graph.gif diff --git a/docs/module-doc/classZLine__inherit__graph.gif b/docs/module-doc/classZLine__inherit__graph.gif Binary files differnew file mode 100644 index 000000000..39ac048bb --- /dev/null +++ b/docs/module-doc/classZLine__inherit__graph.gif diff --git a/docs/module-doc/classchanrec-members.html b/docs/module-doc/classchanrec-members.html index a42b2eb4e..b37eb2bb6 100644 --- a/docs/module-doc/classchanrec-members.html +++ b/docs/module-doc/classchanrec-members.html @@ -31,7 +31,7 @@ <tr bgcolor="#f0f0f0"><td><a class="el" href="classchanrec.html#m4">topicset</a></td><td><a class="el" href="classchanrec.html">chanrec</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classchanrec.html#a5">~chanrec</a>()</td><td><a class="el" href="classchanrec.html">chanrec</a></td><td><code> [inline, virtual]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:40 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:16 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classchanrec.html b/docs/module-doc/classchanrec.html index 8a488657e..1a1b839af 100644 --- a/docs/module-doc/classchanrec.html +++ b/docs/module-doc/classchanrec.html @@ -808,7 +808,7 @@ Referenced by <a class="el" href="channels_8cpp-source.html#l00012">chanrec()</a </table> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="channels_8h-source.html">channels.h</a><li><a class="el" href="channels_8cpp-source.html">channels.cpp</a></ul> -<hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:40 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:16 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classclassbase-members.html b/docs/module-doc/classclassbase-members.html index 42eee70d5..8432289e2 100644 --- a/docs/module-doc/classclassbase-members.html +++ b/docs/module-doc/classclassbase-members.html @@ -10,7 +10,7 @@ <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#m0">age</a></td><td><a class="el" href="classclassbase.html">classbase</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a0">classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:40 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:17 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classclassbase.html b/docs/module-doc/classclassbase.html index 73e3cdd49..984eb83b4 100644 --- a/docs/module-doc/classclassbase.html +++ b/docs/module-doc/classclassbase.html @@ -13,24 +13,25 @@ <p> Inheritance diagram for classbase:<p><center><img src="classclassbase__inherit__graph.gif" border="0" usemap="#classbase__inherit__map" alt="Inheritance graph"></center> <map name="classbase__inherit__map"> -<area href="classAdmin.html" shape="rect" coords="163,5,211,27" alt=""> -<area href="classchanrec.html" shape="rect" coords="157,51,216,72" alt=""> +<area href="classAdmin.html" shape="rect" coords="163,5,211,26" alt=""> +<area href="classchanrec.html" shape="rect" coords="157,50,216,72" alt=""> <area href="classcommand__t.html" shape="rect" coords="148,96,225,117" alt=""> -<area href="classConfigReader.html" shape="rect" coords="141,141,232,163" alt=""> -<area href="classConnectClass.html" shape="rect" coords="143,187,231,208" alt=""> +<area href="classConfigReader.html" shape="rect" coords="141,141,232,162" alt=""> +<area href="classConnectClass.html" shape="rect" coords="143,186,231,208" alt=""> <area href="classconnection.html" shape="rect" coords="152,232,221,253" alt=""> -<area href="classExtMode.html" shape="rect" coords="157,277,216,299" alt=""> -<area href="classFileReader.html" shape="rect" coords="149,323,224,344" alt=""> +<area href="classExtMode.html" shape="rect" coords="157,277,216,298" alt=""> +<area href="classFileReader.html" shape="rect" coords="149,322,224,344" alt=""> <area href="classHostItem.html" shape="rect" coords="157,368,216,389" alt=""> -<area href="classInvited.html" shape="rect" coords="164,413,209,435" alt=""> -<area href="classircd__connector.html" shape="rect" coords="139,459,235,480" alt=""> +<area href="classInvited.html" shape="rect" coords="164,413,209,434" alt=""> +<area href="classircd__connector.html" shape="rect" coords="139,458,235,480" alt=""> <area href="classModeParameter.html" shape="rect" coords="135,504,239,525" alt=""> -<area href="classModule.html" shape="rect" coords="161,549,212,571" alt=""> -<area href="classModuleFactory.html" shape="rect" coords="140,595,233,616" alt=""> +<area href="classModule.html" shape="rect" coords="161,549,212,570" alt=""> +<area href="classModuleFactory.html" shape="rect" coords="140,594,233,616" alt=""> <area href="classpacket.html" shape="rect" coords="161,640,212,661" alt=""> -<area href="classServer.html" shape="rect" coords="161,685,212,707" alt=""> -<area href="classucrec.html" shape="rect" coords="164,731,209,752" alt=""> +<area href="classServer.html" shape="rect" coords="161,685,212,706" alt=""> +<area href="classucrec.html" shape="rect" coords="164,730,209,752" alt=""> <area href="classVersion.html" shape="rect" coords="160,776,213,797" alt=""> +<area href="classXLine.html" shape="rect" coords="165,821,208,842" alt=""> </map> <center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for classbase:<p><center><img src="classclassbase__coll__graph.gif" border="0" usemap="#classbase__coll__map" alt="Collaboration graph"></center> <center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center><a href="classclassbase-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> @@ -146,7 +147,7 @@ Definition at line <a class="el" href="base_8h-source.html#l00020">20</a> of fil </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="base_8h-source.html">base.h</a></ul> -<hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:40 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:17 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classclassbase__inherit__graph.gif b/docs/module-doc/classclassbase__inherit__graph.gif Binary files differindex bc880ad94..c3ff6b5b7 100644 --- a/docs/module-doc/classclassbase__inherit__graph.gif +++ b/docs/module-doc/classclassbase__inherit__graph.gif diff --git a/docs/module-doc/classcommand__t-members.html b/docs/module-doc/classcommand__t-members.html index ebd9cd9f7..1c9796ad3 100644 --- a/docs/module-doc/classcommand__t-members.html +++ b/docs/module-doc/classcommand__t-members.html @@ -16,7 +16,7 @@ <tr bgcolor="#f0f0f0"><td><a class="el" href="classcommand__t.html#m5">total_bytes</a></td><td><a class="el" href="classcommand__t.html">command_t</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classcommand__t.html#m4">use_count</a></td><td><a class="el" href="classcommand__t.html">command_t</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:41 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:17 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classcommand__t.html b/docs/module-doc/classcommand__t.html index 522fe2677..5f591dbfe 100644 --- a/docs/module-doc/classcommand__t.html +++ b/docs/module-doc/classcommand__t.html @@ -199,7 +199,7 @@ Definition at line <a class="el" href="ctables_8h-source.html#l00042">42</a> of </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="ctables_8h-source.html">ctables.h</a></ul> -<hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:41 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:17 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classconnection-members.html b/docs/module-doc/classconnection-members.html index 67e4ecf89..835ef3fd0 100644 --- a/docs/module-doc/classconnection-members.html +++ b/docs/module-doc/classconnection-members.html @@ -39,7 +39,7 @@ <tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m11">state</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#a4">TerminateLink</a>(char *targethost)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:43 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:20 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classconnection.html b/docs/module-doc/classconnection.html index 4595581cf..ad76210a6 100644 --- a/docs/module-doc/classconnection.html +++ b/docs/module-doc/classconnection.html @@ -49,7 +49,7 @@ Inheritance diagram for connection:<p><center><img src="classconnection__inherit <tr><td> </td><td><font size=-1><em>File descriptor of the connection.</em> <a href="#m0"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>char </td><td valign=bottom><a class="el" href="classconnection.html#m1">host</a> [256]</td></tr> <tr><td> </td><td><font size=-1><em>Hostname of connection.</em> <a href="#m1"></a><em></em></font><br><br></td></tr> -<tr><td nowrap align=right valign=top>long </td><td valign=bottom><a class="el" href="classconnection.html#m2">ip</a></td></tr> +<tr><td nowrap align=right valign=top>char </td><td valign=bottom><a class="el" href="classconnection.html#m2">ip</a> [32]</td></tr> <tr><td> </td><td><font size=-1><em>IP of connection.</em> <a href="#m2"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>char </td><td valign=bottom><a class="el" href="classconnection.html#m3">inbuf</a> [MAXBUF]</td></tr> <tr><td> </td><td><font size=-1><em>Inbuf of connection.</em> <a href="#m3"></a><em></em></font><br><br></td></tr> @@ -77,7 +77,7 @@ Inheritance diagram for connection:<p><center><img src="classconnection__inherit <tr><td> </td><td><font size=-1><em>Time that the connection last sent data, used to calculate idle time.</em> <a href="#m14"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>time_t </td><td valign=bottom><a class="el" href="classconnection.html#m15">nping</a></td></tr> <tr><td> </td><td><font size=-1><em>Used by PING checks with clients.</em> <a href="#m15"></a><em></em></font><br><br></td></tr> -<tr><td nowrap align=right valign=top>char </td><td valign=bottom><a class="el" href="classconnection.html#m16">internal_addr</a> [1024]</td></tr> +<tr><td nowrap align=right valign=top>char </td><td valign=bottom><a class="el" href="classconnection.html#m16">internal_addr</a> [MAXBUF]</td></tr> <tr><td> </td><td><font size=-1><em>Unused, will be removed in a future alpha/beta.</em> <a href="#m16"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="classconnection.html#m17">internal_port</a></td></tr> <tr><td> </td><td><font size=-1><em>Unused, will be removed in a future alpha/beta.</em> <a href="#m17"></a><em></em></font><br><br></td></tr> @@ -89,7 +89,7 @@ Please note: classes serverrec and userrec both inherit from class connection. <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00160">160</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> +Definition at line <a class="el" href="connection_8h-source.html#l00161">161</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> <a name="a0" doxytag="connection::connection"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> @@ -513,7 +513,7 @@ Stats counter for bytes inbound. <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00181">181</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. +Definition at line <a class="el" href="connection_8h-source.html#l00182">182</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. <p> Referenced by <a class="el" href="users_8cpp-source.html#l00011">userrec::userrec()</a>. </td> </tr> @@ -541,7 +541,7 @@ Stats counter for bytes outbound. <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00185">185</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. +Definition at line <a class="el" href="connection_8h-source.html#l00186">186</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. <p> Referenced by <a class="el" href="users_8cpp-source.html#l00011">userrec::userrec()</a>. </td> </tr> @@ -569,7 +569,7 @@ Stats counter for commands inbound. <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00189">189</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. +Definition at line <a class="el" href="connection_8h-source.html#l00190">190</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. <p> Referenced by <a class="el" href="users_8cpp-source.html#l00011">userrec::userrec()</a>. </td> </tr> @@ -597,7 +597,7 @@ Stats counter for commands outbound. <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00193">193</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. +Definition at line <a class="el" href="connection_8h-source.html#l00194">194</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. <p> Referenced by <a class="el" href="users_8cpp-source.html#l00011">userrec::userrec()</a>. </td> </tr> @@ -625,7 +625,7 @@ With a serverrec, this is a list of all established server connections. <p> With a userrec this is unused. <p> -Definition at line <a class="el" href="connection_8h-source.html#l00240">240</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> +Definition at line <a class="el" href="connection_8h-source.html#l00241">241</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> </tr> </table> <a name="m0" doxytag="connection::fd"></a><p> @@ -651,9 +651,9 @@ File descriptor of the connection. <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00165">165</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. +Definition at line <a class="el" href="connection_8h-source.html#l00166">166</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00215">Server::SendTo()</a>, <a class="el" href="servers_8cpp-source.html#l00012">serverrec::serverrec()</a>, and <a class="el" href="users_8cpp-source.html#l00011">userrec::userrec()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00222">Server::SendTo()</a>, <a class="el" href="servers_8cpp-source.html#l00012">serverrec::serverrec()</a>, and <a class="el" href="users_8cpp-source.html#l00011">userrec::userrec()</a>. </td> </tr> </table> <a name="m8" doxytag="connection::haspassed"></a><p> @@ -679,7 +679,7 @@ True if server/user has authenticated, false if otherwise. <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00197">197</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. +Definition at line <a class="el" href="connection_8h-source.html#l00198">198</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. <p> Referenced by <a class="el" href="users_8cpp-source.html#l00011">userrec::userrec()</a>. </td> </tr> @@ -707,7 +707,7 @@ Hostname of connection. <p> Not used if this is a serverrec <p> -Definition at line <a class="el" href="connection_8h-source.html#l00169">169</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> +Definition at line <a class="el" href="connection_8h-source.html#l00170">170</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> </tr> </table> <a name="m14" doxytag="connection::idle_lastmsg"></a><p> @@ -733,7 +733,7 @@ Time that the connection last sent data, used to calculate idle time. <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00223">223</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. +Definition at line <a class="el" href="connection_8h-source.html#l00224">224</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. <p> Referenced by <a class="el" href="users_8cpp-source.html#l00011">userrec::userrec()</a>. </td> </tr> @@ -761,7 +761,7 @@ Inbuf of connection. <p> Only used for userrec <p> -Definition at line <a class="el" href="connection_8h-source.html#l00177">177</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> +Definition at line <a class="el" href="connection_8h-source.html#l00178">178</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> </tr> </table> <a name="m16" doxytag="connection::internal_addr"></a><p> @@ -770,7 +770,7 @@ Definition at line <a class="el" href="connection_8h-source.html#l00177">177</a> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> char connection::internal_addr[1024] + <td class="md" nowrap valign="top"> char connection::internal_addr[MAXBUF] </table> </td> </tr> @@ -787,7 +787,7 @@ Unused, will be removed in a future alpha/beta. <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00231">231</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> +Definition at line <a class="el" href="connection_8h-source.html#l00232">232</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> </tr> </table> <a name="m17" doxytag="connection::internal_port"></a><p> @@ -813,7 +813,7 @@ Unused, will be removed in a future alpha/beta. <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00235">235</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> +Definition at line <a class="el" href="connection_8h-source.html#l00236">236</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> </tr> </table> <a name="m2" doxytag="connection::ip"></a><p> @@ -822,7 +822,7 @@ Definition at line <a class="el" href="connection_8h-source.html#l00235">235</a> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> long connection::ip + <td class="md" nowrap valign="top"> char connection::ip[32] </table> </td> </tr> @@ -839,9 +839,7 @@ IP of connection. <p> Reserved for future use. <p> -Definition at line <a class="el" href="connection_8h-source.html#l00173">173</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. -<p> -Referenced by <a class="el" href="users_8cpp-source.html#l00011">userrec::userrec()</a>. </td> +Definition at line <a class="el" href="connection_8h-source.html#l00174">174</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> </tr> </table> <a name="m12" doxytag="connection::lastping"></a><p> @@ -867,7 +865,7 @@ Time the connection was last pinged. <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00215">215</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. +Definition at line <a class="el" href="connection_8h-source.html#l00216">216</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. <p> Referenced by <a class="el" href="servers_8cpp-source.html#l00012">serverrec::serverrec()</a>, and <a class="el" href="users_8cpp-source.html#l00011">userrec::userrec()</a>. </td> </tr> @@ -895,7 +893,7 @@ Used by PING checks with clients. <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00227">227</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. +Definition at line <a class="el" href="connection_8h-source.html#l00228">228</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. <p> Referenced by <a class="el" href="users_8cpp-source.html#l00011">userrec::userrec()</a>. </td> </tr> @@ -923,7 +921,7 @@ Port number For a userrec, this is the port they connected to the network on. <p> For a serverrec this is the current listening port of the serverrec object. <p> -Definition at line <a class="el" href="connection_8h-source.html#l00203">203</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. +Definition at line <a class="el" href="connection_8h-source.html#l00204">204</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. <p> Referenced by <a class="el" href="users_8cpp-source.html#l00011">userrec::userrec()</a>. </td> </tr> @@ -951,7 +949,7 @@ Used by userrec to indicate the registration status of the connection. <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00207">207</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. +Definition at line <a class="el" href="connection_8h-source.html#l00208">208</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. <p> Referenced by <a class="el" href="users_8cpp-source.html#l00011">userrec::userrec()</a>. </td> </tr> @@ -979,7 +977,7 @@ Time the connection was created, set in the constructor. <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00219">219</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. +Definition at line <a class="el" href="connection_8h-source.html#l00220">220</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. <p> Referenced by <a class="el" href="servers_8cpp-source.html#l00012">serverrec::serverrec()</a>, and <a class="el" href="users_8cpp-source.html#l00011">userrec::userrec()</a>. </td> </tr> @@ -1007,12 +1005,12 @@ Reserved for future use. <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00211">211</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> +Definition at line <a class="el" href="connection_8h-source.html#l00212">212</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> </tr> </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="connection_8h-source.html">connection.h</a></ul> -<hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:43 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:20 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classconnection__coll__graph.gif b/docs/module-doc/classconnection__coll__graph.gif Binary files differindex 97c4c8ec3..850b87f49 100644 --- a/docs/module-doc/classconnection__coll__graph.gif +++ b/docs/module-doc/classconnection__coll__graph.gif diff --git a/docs/module-doc/classes.html b/docs/module-doc/classes.html index acd60f923..205c65e8f 100644 --- a/docs/module-doc/classes.html +++ b/docs/module-doc/classes.html @@ -8,18 +8,23 @@ <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> <hr><h1>InspIRCd Compound Index</h1><table align=center width="95%" border="0" cellspacing="0" cellpadding="0"> <tr><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> A </div></td></tr></table> -</td><td><a class="el" href="classConfigReader.html">ConfigReader</a> </td><td><a class="el" href="classFileReader.html">FileReader</a> </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> M </div></td></tr></table> -</td><td><a class="el" href="classServer.html">Server</a> </td></tr><tr><td><a class="el" href="classAdmin.html">Admin</a> </td><td><a class="el" href="classConnectClass.html">ConnectClass</a> </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> H </div></td></tr></table> -</td><td><a class="el" href="classModeParameter.html">ModeParameter</a> </td><td><a class="el" href="classserverrec.html">serverrec</a> </td></tr><tr><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> B </div></td></tr></table> </td><td><a class="el" href="classconnection.html">connection</a> </td><td><a class="el" href="classHostItem.html">HostItem</a> </td><td><a class="el" href="classModule.html">Module</a> </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> U </div></td></tr></table> -</td></tr><tr><td><a class="el" href="classBanItem.html">BanItem</a> </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> E </div></td></tr></table> +</td></tr><tr><td><a class="el" href="classAdmin.html">Admin</a> </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> E </div></td></tr></table> </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> I </div></td></tr></table> -</td><td><a class="el" href="classModuleFactory.html">ModuleFactory</a> </td><td><a class="el" href="classucrec.html">ucrec</a> </td></tr><tr><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> C </div></td></tr></table> +</td><td><a class="el" href="classModuleFactory.html">ModuleFactory</a> </td><td><a class="el" href="classucrec.html">ucrec</a> </td></tr><tr><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> B </div></td></tr></table> </td><td><a class="el" href="classExemptItem.html">ExemptItem</a> </td><td><a class="el" href="classInvited.html">Invited</a> </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> P </div></td></tr></table> -</td><td><a class="el" href="classuserrec.html">userrec</a> </td></tr><tr><td><a class="el" href="classchanrec.html">chanrec</a> </td><td><a class="el" href="classExtMode.html">ExtMode</a> </td><td><a class="el" href="classInviteItem.html">InviteItem</a> </td><td><a class="el" href="classpacket.html">packet</a> </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> V </div></td></tr></table> -</td></tr><tr><td><a class="el" href="classclassbase.html">classbase</a> </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> F </div></td></tr></table> -</td><td><a class="el" href="classircd__connector.html">ircd_connector</a> </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> S </div></td></tr></table> -</td><td><a class="el" href="classVersion.html">Version</a> </td></tr><tr><td><a class="el" href="classcommand__t.html">command_t</a> </td></tr></table><hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:38 2004 for InspIRCd by +</td><td><a class="el" href="classuserrec.html">userrec</a> </td></tr><tr><td><a class="el" href="classBanItem.html">BanItem</a> </td><td><a class="el" href="classExtMode.html">ExtMode</a> </td><td><a class="el" href="classInviteItem.html">InviteItem</a> </td><td><a class="el" href="classpacket.html">packet</a> </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> V </div></td></tr></table> +</td></tr><tr><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> C </div></td></tr></table> +</td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> F </div></td></tr></table> +</td><td><a class="el" href="classircd__connector.html">ircd_connector</a> </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> Q </div></td></tr></table> +</td><td><a class="el" href="classVersion.html">Version</a> </td></tr><tr><td><a class="el" href="classchanrec.html">chanrec</a> </td><td><a class="el" href="classFileReader.html">FileReader</a> </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> K </div></td></tr></table> +</td><td><a class="el" href="classQLine.html">QLine</a> </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> X </div></td></tr></table> +</td></tr><tr><td><a class="el" href="classclassbase.html">classbase</a> </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> G </div></td></tr></table> +</td><td><a class="el" href="classKLine.html">KLine</a> </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> S </div></td></tr></table> +</td><td><a class="el" href="classXLine.html">XLine</a> </td></tr><tr><td><a class="el" href="classcommand__t.html">command_t</a> </td><td><a class="el" href="classGLine.html">GLine</a> </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> M </div></td></tr></table> +</td><td><a class="el" href="classServer.html">Server</a> </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> Z </div></td></tr></table> +</td></tr><tr><td><a class="el" href="classConfigReader.html">ConfigReader</a> </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> H </div></td></tr></table> +</td><td><a class="el" href="classModeParameter.html">ModeParameter</a> </td><td><a class="el" href="classserverrec.html">serverrec</a> </td><td><a class="el" href="classZLine.html">ZLine</a> </td></tr><tr><td><a class="el" href="classConnectClass.html">ConnectClass</a> </td></tr></table><hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:14 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classircd__connector-members.html b/docs/module-doc/classircd__connector-members.html index 2d5637f2e..661bc2560 100644 --- a/docs/module-doc/classircd__connector-members.html +++ b/docs/module-doc/classircd__connector-members.html @@ -33,7 +33,7 @@ <tr bgcolor="#f0f0f0"><td><a class="el" href="classircd__connector.html#a6">SetState</a>(int state)</td><td><a class="el" href="classircd__connector.html">ircd_connector</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classircd__connector.html#o4">state</a></td><td><a class="el" href="classircd__connector.html">ircd_connector</a></td><td><code> [private]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:47 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:24 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classircd__connector.html b/docs/module-doc/classircd__connector.html index d7b66bb9c..d8eb782b3 100644 --- a/docs/module-doc/classircd__connector.html +++ b/docs/module-doc/classircd__connector.html @@ -79,7 +79,7 @@ A listening socket that accepts server type connections is represented by one cl <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00040">40</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.<hr><h2>Member Function Documentation</h2> +Definition at line <a class="el" href="connection_8h-source.html#l00041">41</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.<hr><h2>Member Function Documentation</h2> <a name="a13" doxytag="ircd_connector::CloseConnection"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> @@ -589,7 +589,7 @@ Sockaddr of the outbound ip and port. <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00045">45</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> +Definition at line <a class="el" href="connection_8h-source.html#l00046">46</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> </tr> </table> <a name="o3" doxytag="ircd_connector::description"></a><p> @@ -615,7 +615,7 @@ Definition at line <a class="el" href="connection_8h-source.html#l00045">45</a> <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00057">57</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> +Definition at line <a class="el" href="connection_8h-source.html#l00058">58</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> </tr> </table> <a name="o1" doxytag="ircd_connector::fd"></a><p> @@ -641,7 +641,7 @@ File descriptor of the connection. <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00049">49</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> +Definition at line <a class="el" href="connection_8h-source.html#l00050">50</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> </tr> </table> <a name="m0" doxytag="ircd_connector::host"></a><p> @@ -667,7 +667,7 @@ When MakeOutboundConnection is called, these public members are filled with the <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00074">74</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> +Definition at line <a class="el" href="connection_8h-source.html#l00075">75</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> </tr> </table> <a name="m1" doxytag="ircd_connector::port"></a><p> @@ -693,7 +693,7 @@ When MakeOutboundConnection is called, these public members are filled with the <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00080">80</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> +Definition at line <a class="el" href="connection_8h-source.html#l00081">81</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> </tr> </table> <a name="m2" doxytag="ircd_connector::routes"></a><p> @@ -719,7 +719,7 @@ Definition at line <a class="el" href="connection_8h-source.html#l00080">80</a> <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00086">86</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> +Definition at line <a class="el" href="connection_8h-source.html#l00087">87</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> </tr> </table> <a name="o2" doxytag="ircd_connector::servername"></a><p> @@ -745,7 +745,7 @@ Definition at line <a class="el" href="connection_8h-source.html#l00086">86</a> <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00053">53</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> +Definition at line <a class="el" href="connection_8h-source.html#l00054">54</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> </tr> </table> <a name="o4" doxytag="ircd_connector::state"></a><p> @@ -771,12 +771,12 @@ State. <p> STATE_NOAUTH_INBOUND, STATE_NOAUTH_OUTBOUND STATE_SYNC, STATE_DISCONNECTED, STATE_CONNECTED <p> -Definition at line <a class="el" href="connection_8h-source.html#l00062">62</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> +Definition at line <a class="el" href="connection_8h-source.html#l00063">63</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> </tr> </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="connection_8h-source.html">connection.h</a></ul> -<hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:47 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:24 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classpacket-members.html b/docs/module-doc/classpacket-members.html index 427d04633..8b2dfd6f2 100644 --- a/docs/module-doc/classpacket-members.html +++ b/docs/module-doc/classpacket-members.html @@ -10,7 +10,7 @@ <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#m0">age</a></td><td><a class="el" href="classclassbase.html">classbase</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a0">classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:49 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:27 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classpacket.html b/docs/module-doc/classpacket.html index e2be03cd8..208fda056 100644 --- a/docs/module-doc/classpacket.html +++ b/docs/module-doc/classpacket.html @@ -29,9 +29,9 @@ This declaration is preserved here to maintain documentation only. <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00154">154</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.<hr>The documentation for this class was generated from the following file:<ul> +Definition at line <a class="el" href="connection_8h-source.html#l00155">155</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.<hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="connection_8h-source.html">connection.h</a></ul> -<hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:49 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:27 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classserverrec-members.html b/docs/module-doc/classserverrec-members.html index 39da5c35b..201bdff4d 100644 --- a/docs/module-doc/classserverrec-members.html +++ b/docs/module-doc/classserverrec-members.html @@ -52,7 +52,7 @@ <tr bgcolor="#f0f0f0"><td><a class="el" href="classserverrec.html#m6">version</a></td><td><a class="el" href="classserverrec.html">serverrec</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classserverrec.html#a2">~serverrec</a>()</td><td><a class="el" href="classserverrec.html">serverrec</a></td><td></td></tr> -</table><hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:50 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:29 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classserverrec.html b/docs/module-doc/classserverrec.html index 5a3c0f528..84c94220c 100644 --- a/docs/module-doc/classserverrec.html +++ b/docs/module-doc/classserverrec.html @@ -18,7 +18,7 @@ Inheritance diagram for serverrec:<p><center><img src="classserverrec__inherit__ </map> <center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for serverrec:<p><center><img src="classserverrec__coll__graph.gif" border="0" usemap="#serverrec__coll__map" alt="Collaboration graph"></center> <map name="serverrec__coll__map"> -<area href="classconnection.html" shape="rect" coords="197,312,267,334" alt=""> +<area href="classconnection.html" shape="rect" coords="197,320,267,342" alt=""> </map> <center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center><a href="classserverrec-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> <tr><td></td></tr> @@ -87,7 +87,7 @@ Constructor. <p> Definition at line <a class="el" href="servers_8cpp-source.html#l00012">12</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>. <p> -References <a class="el" href="connection_8h-source.html#l00165">connection::fd</a>, <a class="el" href="servers_8h-source.html#l00040">hops_away</a>, <a class="el" href="servers_8h-source.html#l00046">jupiter</a>, <a class="el" href="connection_8h-source.html#l00215">connection::lastping</a>, <a class="el" href="servers_8h-source.html#l00037">opercount</a>, <a class="el" href="servers_8h-source.html#l00028">pingtime</a>, <a class="el" href="connection_8h-source.html#l00219">connection::signon</a>, <a class="el" href="servers_8h-source.html#l00052">sync_soon</a>, <a class="el" href="servers_8h-source.html#l00034">usercount</a>, <a class="el" href="servers_8h-source.html#l00031">usercount_i</a>, and <a class="el" href="servers_8h-source.html#l00043">version</a>. +References <a class="el" href="connection_8h-source.html#l00166">connection::fd</a>, <a class="el" href="servers_8h-source.html#l00040">hops_away</a>, <a class="el" href="servers_8h-source.html#l00046">jupiter</a>, <a class="el" href="connection_8h-source.html#l00216">connection::lastping</a>, <a class="el" href="servers_8h-source.html#l00037">opercount</a>, <a class="el" href="servers_8h-source.html#l00028">pingtime</a>, <a class="el" href="connection_8h-source.html#l00220">connection::signon</a>, <a class="el" href="servers_8h-source.html#l00052">sync_soon</a>, <a class="el" href="servers_8h-source.html#l00034">usercount</a>, <a class="el" href="servers_8h-source.html#l00031">usercount_i</a>, and <a class="el" href="servers_8h-source.html#l00043">version</a>. <p> <div class="fragment"><pre>00013 { 00014 strcpy(name,<span class="stringliteral">""</span>); @@ -150,7 +150,7 @@ Constructor which initialises some of the main variables. <p> Definition at line <a class="el" href="servers_8cpp-source.html#l00030">30</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>. <p> -References <a class="el" href="connection_8h-source.html#l00165">connection::fd</a>, <a class="el" href="servers_8h-source.html#l00040">hops_away</a>, <a class="el" href="servers_8h-source.html#l00046">jupiter</a>, <a class="el" href="connection_8h-source.html#l00215">connection::lastping</a>, <a class="el" href="servers_8h-source.html#l00037">opercount</a>, <a class="el" href="connection_8h-source.html#l00219">connection::signon</a>, <a class="el" href="servers_8h-source.html#l00052">sync_soon</a>, <a class="el" href="servers_8h-source.html#l00034">usercount</a>, <a class="el" href="servers_8h-source.html#l00031">usercount_i</a>, and <a class="el" href="servers_8h-source.html#l00043">version</a>. +References <a class="el" href="connection_8h-source.html#l00166">connection::fd</a>, <a class="el" href="servers_8h-source.html#l00040">hops_away</a>, <a class="el" href="servers_8h-source.html#l00046">jupiter</a>, <a class="el" href="connection_8h-source.html#l00216">connection::lastping</a>, <a class="el" href="servers_8h-source.html#l00037">opercount</a>, <a class="el" href="connection_8h-source.html#l00220">connection::signon</a>, <a class="el" href="servers_8h-source.html#l00052">sync_soon</a>, <a class="el" href="servers_8h-source.html#l00034">usercount</a>, <a class="el" href="servers_8h-source.html#l00031">usercount_i</a>, and <a class="el" href="servers_8h-source.html#l00043">version</a>. <p> <div class="fragment"><pre>00031 { 00032 strcpy(name,n); @@ -479,7 +479,7 @@ Referenced by <a class="el" href="servers_8cpp-source.html#l00012">serverrec()</ </table> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="servers_8h-source.html">servers.h</a><li><a class="el" href="servers_8cpp-source.html">servers.cpp</a></ul> -<hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:50 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:29 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classserverrec__coll__graph.gif b/docs/module-doc/classserverrec__coll__graph.gif Binary files differindex 1f5d00b4a..441d459ba 100644 --- a/docs/module-doc/classserverrec__coll__graph.gif +++ b/docs/module-doc/classserverrec__coll__graph.gif diff --git a/docs/module-doc/classucrec-members.html b/docs/module-doc/classucrec-members.html index 1e68bbf1b..8a4da5fa3 100644 --- a/docs/module-doc/classucrec-members.html +++ b/docs/module-doc/classucrec-members.html @@ -14,7 +14,7 @@ <tr bgcolor="#f0f0f0"><td><a class="el" href="classucrec.html#a0">ucrec</a>()</td><td><a class="el" href="classucrec.html">ucrec</a></td><td><code> [inline]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classucrec.html#a1">~ucrec</a>()</td><td><a class="el" href="classucrec.html">ucrec</a></td><td><code> [inline, virtual]</code></td></tr> -</table><hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:51 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:30 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classucrec.html b/docs/module-doc/classucrec.html index c116f281e..d0b5d4699 100644 --- a/docs/module-doc/classucrec.html +++ b/docs/module-doc/classucrec.html @@ -164,7 +164,7 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00011">userrec::userre </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="channels_8h-source.html">channels.h</a></ul> -<hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:51 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:30 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classuserrec-members.html b/docs/module-doc/classuserrec-members.html index 4337dc720..6974ececf 100644 --- a/docs/module-doc/classuserrec-members.html +++ b/docs/module-doc/classuserrec-members.html @@ -58,7 +58,7 @@ <tr bgcolor="#f0f0f0"><td><a class="el" href="classuserrec.html#a0">userrec</a>()</td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classuserrec.html#a1">~userrec</a>()</td><td><a class="el" href="classuserrec.html">userrec</a></td><td><code> [inline, virtual]</code></td></tr> -</table><hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:52 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:31 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classuserrec.html b/docs/module-doc/classuserrec.html index b2bf36ce3..b8cd912ba 100644 --- a/docs/module-doc/classuserrec.html +++ b/docs/module-doc/classuserrec.html @@ -18,8 +18,8 @@ Inheritance diagram for userrec:<p><center><img src="classuserrec__inherit__grap </map> <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> <map name="userrec__coll__map"> -<area href="classconnection.html" shape="rect" coords="204,336,273,357" alt=""> -<area href="classucrec.html" shape="rect" coords="216,595,261,616" alt=""> +<area href="classconnection.html" shape="rect" coords="204,352,273,373" alt=""> +<area href="classucrec.html" shape="rect" coords="216,611,261,632" alt=""> </map> <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> <tr><td></td></tr> @@ -99,12 +99,12 @@ Definition at line <a class="el" href="users_8h-source.html#l00078">78</a> of fi <p> 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>. <p> -References <a class="el" href="connection_8h-source.html#l00181">connection::bytes_in</a>, <a class="el" href="connection_8h-source.html#l00185">connection::bytes_out</a>, <a class="el" href="channels_8h-source.html#l00202">ucrec::channel</a>, <a class="el" href="users_8h-source.html#l00112">chans</a>, <a class="el" href="connection_8h-source.html#l00189">connection::cmds_in</a>, <a class="el" href="connection_8h-source.html#l00193">connection::cmds_out</a>, <a class="el" href="connection_8h-source.html#l00165">connection::fd</a>, <a class="el" href="users_8h-source.html#l00132">flood</a>, <a class="el" href="connection_8h-source.html#l00197">connection::haspassed</a>, <a class="el" href="connection_8h-source.html#l00223">connection::idle_lastmsg</a>, <a class="el" href="users_8h-source.html#l00084">invites</a>, <a class="el" href="connection_8h-source.html#l00173">connection::ip</a>, <a class="el" href="connection_8h-source.html#l00215">connection::lastping</a>, <a class="el" href="connection_8h-source.html#l00227">connection::nping</a>, <a class="el" href="connection_8h-source.html#l00203">connection::port</a>, <a class="el" href="connection_8h-source.html#l00207">connection::registered</a>, <a class="el" href="connection_8h-source.html#l00219">connection::signon</a>, <a class="el" href="users_8h-source.html#l00138">timeout</a>, and <a class="el" href="channels_8h-source.html#l00197">ucrec::uc_modes</a>. +References <a class="el" href="connection_8h-source.html#l00182">connection::bytes_in</a>, <a class="el" href="connection_8h-source.html#l00186">connection::bytes_out</a>, <a class="el" href="channels_8h-source.html#l00202">ucrec::channel</a>, <a class="el" href="users_8h-source.html#l00112">chans</a>, <a class="el" href="connection_8h-source.html#l00190">connection::cmds_in</a>, <a class="el" href="connection_8h-source.html#l00194">connection::cmds_out</a>, <a class="el" href="connection_8h-source.html#l00166">connection::fd</a>, <a class="el" href="users_8h-source.html#l00132">flood</a>, <a class="el" href="connection_8h-source.html#l00198">connection::haspassed</a>, <a class="el" href="connection_8h-source.html#l00224">connection::idle_lastmsg</a>, <a class="el" href="users_8h-source.html#l00084">invites</a>, <a class="el" href="connection_8h-source.html#l00216">connection::lastping</a>, <a class="el" href="connection_8h-source.html#l00228">connection::nping</a>, <a class="el" href="connection_8h-source.html#l00204">connection::port</a>, <a class="el" href="connection_8h-source.html#l00208">connection::registered</a>, <a class="el" href="connection_8h-source.html#l00220">connection::signon</a>, <a class="el" href="users_8h-source.html#l00138">timeout</a>, and <a class="el" href="channels_8h-source.html#l00197">ucrec::uc_modes</a>. <p> <div class="fragment"><pre>00012 { 00013 <span class="comment">// the PROPER way to do it, AVOID bzero at *ALL* costs</span> 00014 strcpy(nick,<span class="stringliteral">""</span>); -00015 <a class="code" href="classconnection.html#m2">ip</a> = 0; +00015 strcpy(ip,<span class="stringliteral">"127.0.0.1"</span>); 00016 <a class="code" href="classuserrec.html#m10">timeout</a> = 0; 00017 strcpy(ident,<span class="stringliteral">""</span>); 00018 strcpy(host,<span class="stringliteral">""</span>); @@ -628,7 +628,7 @@ An invalid nickname indicates an unregistered connection prior to the NICK comma <p> Definition at line <a class="el" href="users_8h-source.html#l00091">91</a> of file <a class="el" href="users_8h-source.html">users.h</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00174">Server::QuitUser()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00176">Server::QuitUser()</a>. </td> </tr> </table> <a name="m8" doxytag="userrec::result"></a><p> @@ -715,7 +715,7 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00011">userrec()</a>. </table> <hr>The documentation for this class was generated from the following files:<ul> <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> -<hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:52 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:31 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classuserrec__coll__graph.gif b/docs/module-doc/classuserrec__coll__graph.gif Binary files differindex 3c36e05ec..fa8995af0 100644 --- a/docs/module-doc/classuserrec__coll__graph.gif +++ b/docs/module-doc/classuserrec__coll__graph.gif diff --git a/docs/module-doc/commands_8h-source.html b/docs/module-doc/commands_8h-source.html new file mode 100644 index 000000000..bdf63600c --- /dev/null +++ b/docs/module-doc/commands_8h-source.html @@ -0,0 +1,106 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>commands.h Source File</title> +<link href="inspircd.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.3-rc3 --> +<center> +<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> +<hr><h1>commands.h</h1><a href="commands_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="preprocessor">#ifndef __COMMANDS_H</span> +00002 <span class="preprocessor"></span><span class="preprocessor">#define __COMMANDS_H</span> +00003 <span class="preprocessor"></span> +00004 <span class="comment">// include the common header files</span> +00005 +00006 <span class="preprocessor">#include <typeinfo></span> +00007 <span class="preprocessor">#include <iostream></span> +00008 <span class="preprocessor">#include <string></span> +00009 <span class="preprocessor">#include <deque></span> +00010 <span class="preprocessor">#include <sstream></span> +00011 <span class="preprocessor">#include <vector></span> +00012 <span class="preprocessor">#include "<a class="code" href="users_8h.html">users.h</a>"</span> +00013 <span class="preprocessor">#include "<a class="code" href="channels_8h.html">channels.h</a>"</span> +00014 +00015 +00018 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a0">handle_join</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00019 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a1">handle_part</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00020 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a2">handle_kick</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00021 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a3">handle_die</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00022 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a4">handle_restart</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00023 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a5">handle_kill</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00024 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a6">handle_summon</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00025 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a7">handle_users</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00026 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a8">handle_pass</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00027 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a9">handle_invite</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00028 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a10">handle_topic</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00029 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a11">handle_names</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00030 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a12">handle_privmsg</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00031 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a13">handle_notice</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00032 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a14">handle_info</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00033 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a15">handle_time</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00034 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a16">handle_whois</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00035 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a17">handle_quit</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00036 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a18">handle_who</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00037 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a19">handle_wallops</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00038 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a20">handle_list</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00039 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a21">handle_rehash</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00040 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a22">handle_lusers</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00041 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a23">handle_admin</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00042 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a24">handle_ping</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00043 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a25">handle_pong</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00044 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a26">handle_motd</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00045 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a27">handle_rules</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00046 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a28">handle_user</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00047 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a29">handle_userhost</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00048 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a30">handle_ison</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00049 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a31">handle_away</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00050 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a32">handle_whowas</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00051 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a33">handle_trace</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00052 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a34">handle_modules</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00053 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a35">handle_stats</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00054 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a36">handle_connect</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00055 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a37">handle_squit</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00056 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a38">handle_links</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00057 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a39">handle_map</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00058 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a40">handle_oper</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00059 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a41">handle_nick</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00060 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a42">handle_kline</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00061 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a43">handle_gline</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00062 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a44">handle_zline</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00063 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a45">handle_qline</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00064 +00065 +00068 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a46">handle_link_packet</a>(<span class="keywordtype">char</span>* udp_msg, <span class="keywordtype">char</span>* tcp_host, <a class="code" href="classserverrec.html">serverrec</a> *serv); +00069 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a47">process_restricted_commands</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host,<span class="keywordtype">char</span>* ipaddr,<span class="keywordtype">int</span> port); +00070 +00073 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a48">handle_amp</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); +00074 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a49">handle_dollar</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); +00075 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a50">handle_J</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); +00076 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a51">handle_R</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); +00077 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a52">handle_plus</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); +00078 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a53">handle_b</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); +00079 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a54">handle_a</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); +00080 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a55">handle_F</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); +00081 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a56">handle_N</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); +00082 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a57">handle_AT</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); +00083 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a58">handle_k</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); +00084 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a59">handle_n</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); +00085 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a60">handle_Q</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); +00086 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a61">handle_K</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); +00087 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a62">handle_L</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); +00088 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a63">handle_m</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); +00089 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a64">handle_M</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); +00090 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a65">handle_T</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); +00091 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a66">handle_t</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); +00092 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a67">handle_i</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); +00093 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a68">handle_P</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); +00094 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a69">handle_V</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); +00095 +00098 <span class="keywordtype">bool</span> <a class="code" href="commands_8h.html#a70">is_uline</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* server); +00099 +00100 <span class="preprocessor">#endif</span> +</pre></div><hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:05 2004 for InspIRCd by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border=0 +width=110 height=53></a>1.3-rc3 </small></address> +</body> +</html> diff --git a/docs/module-doc/commands_8h.html b/docs/module-doc/commands_8h.html new file mode 100644 index 000000000..8929c4978 --- /dev/null +++ b/docs/module-doc/commands_8h.html @@ -0,0 +1,3525 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>commands.h File Reference</title> +<link href="inspircd.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.3-rc3 --> +<center> +<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> +<hr><h1>commands.h File Reference</h1><code>#include <typeinfo></code><br> +<code>#include <iostream></code><br> +<code>#include <string></code><br> +<code>#include <deque></code><br> +<code>#include <sstream></code><br> +<code>#include <vector></code><br> +<code>#include "<a class="el" href="users_8h-source.html">users.h</a>"</code><br> +<code>#include "<a class="el" href="channels_8h-source.html">channels.h</a>"</code><br> + +<p> +Include dependency graph for commands.h:<p><center><img src="commands_8h__incl.gif" border="0" usemap="#commands.h_map" alt="Include dependency graph"></center> +<map name="commands.h_map"> +<area href="users_8h.html" shape="rect" coords="351,155,401,176" alt=""> +<area href="channels_8h.html" shape="rect" coords="476,86,548,107" alt=""> +<area href="connection_8h.html" shape="rect" coords="321,86,401,107" alt=""> +</map> + +<p> +This graph shows which files directly or indirectly include this file:<p><center><img src="commands_8h__dep__incl.gif" border="0" usemap="#commands.hdep_map" alt="Included by dependency graph"></center> +<map name="commands.hdep_map"> +<area href="modules_8cpp.html" shape="rect" coords="7,16,89,37" alt=""> +</map> + +<p> +<a href="commands_8h-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0> +<tr><td></td></tr> +<tr><td colspan=2><br><h2>Functions</h2></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="commands_8h.html#a0">handle_join</a> (char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> +<tr><td> </td><td><font size=-1><em>These are the handlers for user commands.</em> <a href="#a0"></a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="commands_8h.html#a1">handle_part</a> (char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="commands_8h.html#a2">handle_kick</a> (char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="commands_8h.html#a3">handle_die</a> (char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="commands_8h.html#a4">handle_restart</a> (char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="commands_8h.html#a5">handle_kill</a> (char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="commands_8h.html#a6">handle_summon</a> (char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="commands_8h.html#a7">handle_users</a> (char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="commands_8h.html#a8">handle_pass</a> (char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="commands_8h.html#a9">handle_invite</a> (char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="commands_8h.html#a10">handle_topic</a> (char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="commands_8h.html#a11">handle_names</a> (char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="commands_8h.html#a12">handle_privmsg</a> (char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="commands_8h.html#a13">handle_notice</a> (char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="commands_8h.html#a14">handle_info</a> (char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="commands_8h.html#a15">handle_time</a> (char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="commands_8h.html#a16">handle_whois</a> (char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="commands_8h.html#a17">handle_quit</a> (char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="commands_8h.html#a18">handle_who</a> (char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="commands_8h.html#a19">handle_wallops</a> (char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="commands_8h.html#a20">handle_list</a> (char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="commands_8h.html#a21">handle_rehash</a> (char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="commands_8h.html#a22">handle_lusers</a> (char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="commands_8h.html#a23">handle_admin</a> (char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="commands_8h.html#a24">handle_ping</a> (char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="commands_8h.html#a25">handle_pong</a> (char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="commands_8h.html#a26">handle_motd</a> (char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="commands_8h.html#a27">handle_rules</a> (char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="commands_8h.html#a28">handle_user</a> (char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="commands_8h.html#a29">handle_userhost</a> (char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="commands_8h.html#a30">handle_ison</a> (char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="commands_8h.html#a31">handle_away</a> (char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="commands_8h.html#a32">handle_whowas</a> (char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="commands_8h.html#a33">handle_trace</a> (char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="commands_8h.html#a34">handle_modules</a> (char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="commands_8h.html#a35">handle_stats</a> (char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="commands_8h.html#a36">handle_connect</a> (char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="commands_8h.html#a37">handle_squit</a> (char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="commands_8h.html#a38">handle_links</a> (char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="commands_8h.html#a39">handle_map</a> (char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="commands_8h.html#a40">handle_oper</a> (char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="commands_8h.html#a41">handle_nick</a> (char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="commands_8h.html#a42">handle_kline</a> (char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="commands_8h.html#a43">handle_gline</a> (char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="commands_8h.html#a44">handle_zline</a> (char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="commands_8h.html#a45">handle_qline</a> (char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="commands_8h.html#a46">handle_link_packet</a> (char *udp_msg, char *tcp_host, <a class="el" href="classserverrec.html">serverrec</a> *serv)</td></tr> +<tr><td> </td><td><font size=-1><em>Special functions for processing server to server traffic.</em> <a href="#a46"></a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="commands_8h.html#a47">process_restricted_commands</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host, char *ipaddr, int port)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="commands_8h.html#a48">handle_amp</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> +<tr><td> </td><td><font size=-1><em>These are the handlers for server commands (tokens).</em> <a href="#a48"></a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="commands_8h.html#a49">handle_dollar</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="commands_8h.html#a50">handle_J</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="commands_8h.html#a51">handle_R</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="commands_8h.html#a52">handle_plus</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="commands_8h.html#a53">handle_b</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="commands_8h.html#a54">handle_a</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="commands_8h.html#a55">handle_F</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="commands_8h.html#a56">handle_N</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="commands_8h.html#a57">handle_AT</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="commands_8h.html#a58">handle_k</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="commands_8h.html#a59">handle_n</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="commands_8h.html#a60">handle_Q</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="commands_8h.html#a61">handle_K</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="commands_8h.html#a62">handle_L</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="commands_8h.html#a63">handle_m</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="commands_8h.html#a64">handle_M</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="commands_8h.html#a65">handle_T</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="commands_8h.html#a66">handle_t</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="commands_8h.html#a67">handle_i</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="commands_8h.html#a68">handle_P</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="commands_8h.html#a69">handle_V</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="commands_8h.html#a70">is_uline</a> (const char *server)</td></tr> +<tr><td> </td><td><font size=-1><em>Functions for u:lined servers.</em> <a href="#a70"></a><em></em></font><br><br></td></tr> +</table> +<hr><h2>Function Documentation</h2> +<a name="a54" doxytag="commands.h::handle_a"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void handle_a </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char </td> + <td class="mdname" nowrap> <em>token</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>params</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classserverrec.html">serverrec</a> * </td> + <td class="mdname" nowrap> <em>source</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classserverrec.html">serverrec</a> * </td> + <td class="mdname" nowrap> <em>reply</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>tcp_host</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a23" doxytag="commands.h::handle_admin"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void handle_admin </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char ** </td> + <td class="mdname" nowrap> <em>parameters</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>pcnt</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a48" doxytag="commands.h::handle_amp"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void handle_amp </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char </td> + <td class="mdname" nowrap> <em>token</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>params</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classserverrec.html">serverrec</a> * </td> + <td class="mdname" nowrap> <em>source</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classserverrec.html">serverrec</a> * </td> + <td class="mdname" nowrap> <em>reply</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>tcp_host</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +These are the handlers for server commands (tokens). +<p> + </td> + </tr> +</table> +<a name="a57" doxytag="commands.h::handle_AT"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void handle_AT </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char </td> + <td class="mdname" nowrap> <em>token</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>params</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classserverrec.html">serverrec</a> * </td> + <td class="mdname" nowrap> <em>source</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classserverrec.html">serverrec</a> * </td> + <td class="mdname" nowrap> <em>reply</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>tcp_host</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a31" doxytag="commands.h::handle_away"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void handle_away </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char ** </td> + <td class="mdname" nowrap> <em>parameters</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>pcnt</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a53" doxytag="commands.h::handle_b"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void handle_b </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char </td> + <td class="mdname" nowrap> <em>token</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>params</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classserverrec.html">serverrec</a> * </td> + <td class="mdname" nowrap> <em>source</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classserverrec.html">serverrec</a> * </td> + <td class="mdname" nowrap> <em>reply</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>tcp_host</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a36" doxytag="commands.h::handle_connect"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void handle_connect </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char ** </td> + <td class="mdname" nowrap> <em>parameters</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>pcnt</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a3" doxytag="commands.h::handle_die"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void handle_die </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char ** </td> + <td class="mdname" nowrap> <em>parameters</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>pcnt</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a49" doxytag="commands.h::handle_dollar"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void handle_dollar </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char </td> + <td class="mdname" nowrap> <em>token</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>params</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classserverrec.html">serverrec</a> * </td> + <td class="mdname" nowrap> <em>source</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classserverrec.html">serverrec</a> * </td> + <td class="mdname" nowrap> <em>reply</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>tcp_host</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a55" doxytag="commands.h::handle_F"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void handle_F </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char </td> + <td class="mdname" nowrap> <em>token</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>params</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classserverrec.html">serverrec</a> * </td> + <td class="mdname" nowrap> <em>source</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classserverrec.html">serverrec</a> * </td> + <td class="mdname" nowrap> <em>reply</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>tcp_host</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a43" doxytag="commands.h::handle_gline"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void handle_gline </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char ** </td> + <td class="mdname" nowrap> <em>parameters</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>pcnt</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a67" doxytag="commands.h::handle_i"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void handle_i </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char </td> + <td class="mdname" nowrap> <em>token</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>params</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classserverrec.html">serverrec</a> * </td> + <td class="mdname" nowrap> <em>source</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classserverrec.html">serverrec</a> * </td> + <td class="mdname" nowrap> <em>reply</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>tcp_host</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a14" doxytag="commands.h::handle_info"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void handle_info </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char ** </td> + <td class="mdname" nowrap> <em>parameters</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>pcnt</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a9" doxytag="commands.h::handle_invite"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void handle_invite </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char ** </td> + <td class="mdname" nowrap> <em>parameters</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>pcnt</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a30" doxytag="commands.h::handle_ison"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void handle_ison </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char ** </td> + <td class="mdname" nowrap> <em>parameters</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>pcnt</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a50" doxytag="commands.h::handle_J"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void handle_J </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char </td> + <td class="mdname" nowrap> <em>token</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>params</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classserverrec.html">serverrec</a> * </td> + <td class="mdname" nowrap> <em>source</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classserverrec.html">serverrec</a> * </td> + <td class="mdname" nowrap> <em>reply</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>tcp_host</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a0" doxytag="commands.h::handle_join"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void handle_join </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char ** </td> + <td class="mdname" nowrap> <em>parameters</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>pcnt</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +These are the handlers for user commands. +<p> + </td> + </tr> +</table> +<a name="a61" doxytag="commands.h::handle_K"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void handle_K </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char </td> + <td class="mdname" nowrap> <em>token</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>params</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classserverrec.html">serverrec</a> * </td> + <td class="mdname" nowrap> <em>source</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classserverrec.html">serverrec</a> * </td> + <td class="mdname" nowrap> <em>reply</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>tcp_host</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a58" doxytag="commands.h::handle_k"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void handle_k </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char </td> + <td class="mdname" nowrap> <em>token</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>params</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classserverrec.html">serverrec</a> * </td> + <td class="mdname" nowrap> <em>source</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classserverrec.html">serverrec</a> * </td> + <td class="mdname" nowrap> <em>reply</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>tcp_host</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a2" doxytag="commands.h::handle_kick"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void handle_kick </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char ** </td> + <td class="mdname" nowrap> <em>parameters</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>pcnt</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a5" doxytag="commands.h::handle_kill"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void handle_kill </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char ** </td> + <td class="mdname" nowrap> <em>parameters</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>pcnt</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a42" doxytag="commands.h::handle_kline"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void handle_kline </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char ** </td> + <td class="mdname" nowrap> <em>parameters</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>pcnt</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a62" doxytag="commands.h::handle_L"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void handle_L </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char </td> + <td class="mdname" nowrap> <em>token</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>params</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classserverrec.html">serverrec</a> * </td> + <td class="mdname" nowrap> <em>source</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classserverrec.html">serverrec</a> * </td> + <td class="mdname" nowrap> <em>reply</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>tcp_host</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a46" doxytag="commands.h::handle_link_packet"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void handle_link_packet </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char * </td> + <td class="mdname" nowrap> <em>udp_msg</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>tcp_host</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classserverrec.html">serverrec</a> * </td> + <td class="mdname" nowrap> <em>serv</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Special functions for processing server to server traffic. +<p> + </td> + </tr> +</table> +<a name="a38" doxytag="commands.h::handle_links"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void handle_links </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char ** </td> + <td class="mdname" nowrap> <em>parameters</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>pcnt</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a20" doxytag="commands.h::handle_list"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void handle_list </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char ** </td> + <td class="mdname" nowrap> <em>parameters</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>pcnt</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a22" doxytag="commands.h::handle_lusers"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void handle_lusers </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char ** </td> + <td class="mdname" nowrap> <em>parameters</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>pcnt</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a64" doxytag="commands.h::handle_M"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void handle_M </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char </td> + <td class="mdname" nowrap> <em>token</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>params</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classserverrec.html">serverrec</a> * </td> + <td class="mdname" nowrap> <em>source</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classserverrec.html">serverrec</a> * </td> + <td class="mdname" nowrap> <em>reply</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>tcp_host</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a63" doxytag="commands.h::handle_m"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void handle_m </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char </td> + <td class="mdname" nowrap> <em>token</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>params</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classserverrec.html">serverrec</a> * </td> + <td class="mdname" nowrap> <em>source</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classserverrec.html">serverrec</a> * </td> + <td class="mdname" nowrap> <em>reply</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>tcp_host</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a39" doxytag="commands.h::handle_map"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void handle_map </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char ** </td> + <td class="mdname" nowrap> <em>parameters</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>pcnt</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a34" doxytag="commands.h::handle_modules"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void handle_modules </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char ** </td> + <td class="mdname" nowrap> <em>parameters</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>pcnt</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a26" doxytag="commands.h::handle_motd"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void handle_motd </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char ** </td> + <td class="mdname" nowrap> <em>parameters</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>pcnt</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a59" doxytag="commands.h::handle_n"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void handle_n </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char </td> + <td class="mdname" nowrap> <em>token</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>params</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classserverrec.html">serverrec</a> * </td> + <td class="mdname" nowrap> <em>source</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classserverrec.html">serverrec</a> * </td> + <td class="mdname" nowrap> <em>reply</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>tcp_host</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a56" doxytag="commands.h::handle_N"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void handle_N </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char </td> + <td class="mdname" nowrap> <em>token</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>params</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classserverrec.html">serverrec</a> * </td> + <td class="mdname" nowrap> <em>source</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classserverrec.html">serverrec</a> * </td> + <td class="mdname" nowrap> <em>reply</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>tcp_host</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a11" doxytag="commands.h::handle_names"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void handle_names </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char ** </td> + <td class="mdname" nowrap> <em>parameters</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>pcnt</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a41" doxytag="commands.h::handle_nick"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void handle_nick </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char ** </td> + <td class="mdname" nowrap> <em>parameters</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>pcnt</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a13" doxytag="commands.h::handle_notice"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void handle_notice </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char ** </td> + <td class="mdname" nowrap> <em>parameters</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>pcnt</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a40" doxytag="commands.h::handle_oper"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void handle_oper </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char ** </td> + <td class="mdname" nowrap> <em>parameters</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>pcnt</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a68" doxytag="commands.h::handle_P"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void handle_P </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char </td> + <td class="mdname" nowrap> <em>token</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>params</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classserverrec.html">serverrec</a> * </td> + <td class="mdname" nowrap> <em>source</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classserverrec.html">serverrec</a> * </td> + <td class="mdname" nowrap> <em>reply</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>tcp_host</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a1" doxytag="commands.h::handle_part"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void handle_part </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char ** </td> + <td class="mdname" nowrap> <em>parameters</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>pcnt</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a8" doxytag="commands.h::handle_pass"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void handle_pass </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char ** </td> + <td class="mdname" nowrap> <em>parameters</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>pcnt</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a24" doxytag="commands.h::handle_ping"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void handle_ping </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char ** </td> + <td class="mdname" nowrap> <em>parameters</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>pcnt</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a52" doxytag="commands.h::handle_plus"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void handle_plus </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char </td> + <td class="mdname" nowrap> <em>token</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>params</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classserverrec.html">serverrec</a> * </td> + <td class="mdname" nowrap> <em>source</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classserverrec.html">serverrec</a> * </td> + <td class="mdname" nowrap> <em>reply</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>tcp_host</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a25" doxytag="commands.h::handle_pong"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void handle_pong </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char ** </td> + <td class="mdname" nowrap> <em>parameters</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>pcnt</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a12" doxytag="commands.h::handle_privmsg"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void handle_privmsg </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char ** </td> + <td class="mdname" nowrap> <em>parameters</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>pcnt</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a60" doxytag="commands.h::handle_Q"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void handle_Q </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char </td> + <td class="mdname" nowrap> <em>token</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>params</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classserverrec.html">serverrec</a> * </td> + <td class="mdname" nowrap> <em>source</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classserverrec.html">serverrec</a> * </td> + <td class="mdname" nowrap> <em>reply</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>tcp_host</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a45" doxytag="commands.h::handle_qline"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void handle_qline </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char ** </td> + <td class="mdname" nowrap> <em>parameters</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>pcnt</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a17" doxytag="commands.h::handle_quit"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void handle_quit </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char ** </td> + <td class="mdname" nowrap> <em>parameters</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>pcnt</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a51" doxytag="commands.h::handle_R"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void handle_R </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char </td> + <td class="mdname" nowrap> <em>token</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>params</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classserverrec.html">serverrec</a> * </td> + <td class="mdname" nowrap> <em>source</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classserverrec.html">serverrec</a> * </td> + <td class="mdname" nowrap> <em>reply</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>tcp_host</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a21" doxytag="commands.h::handle_rehash"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void handle_rehash </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char ** </td> + <td class="mdname" nowrap> <em>parameters</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>pcnt</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a4" doxytag="commands.h::handle_restart"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void handle_restart </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char ** </td> + <td class="mdname" nowrap> <em>parameters</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>pcnt</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a27" doxytag="commands.h::handle_rules"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void handle_rules </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char ** </td> + <td class="mdname" nowrap> <em>parameters</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>pcnt</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a37" doxytag="commands.h::handle_squit"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void handle_squit </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char ** </td> + <td class="mdname" nowrap> <em>parameters</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>pcnt</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a35" doxytag="commands.h::handle_stats"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void handle_stats </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char ** </td> + <td class="mdname" nowrap> <em>parameters</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>pcnt</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a6" doxytag="commands.h::handle_summon"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void handle_summon </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char ** </td> + <td class="mdname" nowrap> <em>parameters</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>pcnt</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a66" doxytag="commands.h::handle_t"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void handle_t </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char </td> + <td class="mdname" nowrap> <em>token</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>params</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classserverrec.html">serverrec</a> * </td> + <td class="mdname" nowrap> <em>source</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classserverrec.html">serverrec</a> * </td> + <td class="mdname" nowrap> <em>reply</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>tcp_host</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a65" doxytag="commands.h::handle_T"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void handle_T </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char </td> + <td class="mdname" nowrap> <em>token</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>params</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classserverrec.html">serverrec</a> * </td> + <td class="mdname" nowrap> <em>source</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classserverrec.html">serverrec</a> * </td> + <td class="mdname" nowrap> <em>reply</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>tcp_host</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a15" doxytag="commands.h::handle_time"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void handle_time </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char ** </td> + <td class="mdname" nowrap> <em>parameters</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>pcnt</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a10" doxytag="commands.h::handle_topic"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void handle_topic </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char ** </td> + <td class="mdname" nowrap> <em>parameters</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>pcnt</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a33" doxytag="commands.h::handle_trace"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void handle_trace </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char ** </td> + <td class="mdname" nowrap> <em>parameters</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>pcnt</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a28" doxytag="commands.h::handle_user"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void handle_user </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char ** </td> + <td class="mdname" nowrap> <em>parameters</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>pcnt</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a29" doxytag="commands.h::handle_userhost"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void handle_userhost </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char ** </td> + <td class="mdname" nowrap> <em>parameters</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>pcnt</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a7" doxytag="commands.h::handle_users"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void handle_users </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char ** </td> + <td class="mdname" nowrap> <em>parameters</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>pcnt</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a69" doxytag="commands.h::handle_V"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void handle_V </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char </td> + <td class="mdname" nowrap> <em>token</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>params</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classserverrec.html">serverrec</a> * </td> + <td class="mdname" nowrap> <em>source</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classserverrec.html">serverrec</a> * </td> + <td class="mdname" nowrap> <em>reply</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>tcp_host</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a19" doxytag="commands.h::handle_wallops"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void handle_wallops </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char ** </td> + <td class="mdname" nowrap> <em>parameters</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>pcnt</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a18" doxytag="commands.h::handle_who"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void handle_who </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char ** </td> + <td class="mdname" nowrap> <em>parameters</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>pcnt</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a16" doxytag="commands.h::handle_whois"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void handle_whois </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char ** </td> + <td class="mdname" nowrap> <em>parameters</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>pcnt</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a32" doxytag="commands.h::handle_whowas"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void handle_whowas </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char ** </td> + <td class="mdname" nowrap> <em>parameters</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>pcnt</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a44" doxytag="commands.h::handle_zline"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void handle_zline </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char ** </td> + <td class="mdname" nowrap> <em>parameters</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>pcnt</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a70" doxytag="commands.h::is_uline"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool is_uline </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const char * </td> + <td class="mdname1" valign="top" nowrap> <em>server</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Functions for u:lined servers. +<p> + +<p> +Referenced by <a class="el" href="modules_8cpp-source.html#l00182">Server::IsUlined()</a>. </td> + </tr> +</table> +<a name="a47" doxytag="commands.h::process_restricted_commands"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void process_restricted_commands </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char </td> + <td class="mdname" nowrap> <em>token</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>params</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classserverrec.html">serverrec</a> * </td> + <td class="mdname" nowrap> <em>source</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classserverrec.html">serverrec</a> * </td> + <td class="mdname" nowrap> <em>reply</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>tcp_host</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>ipaddr</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>port</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:08 2004 for InspIRCd by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border=0 +width=110 height=53></a>1.3-rc3 </small></address> +</body> +</html> diff --git a/docs/module-doc/commands_8h__dep__incl.gif b/docs/module-doc/commands_8h__dep__incl.gif Binary files differnew file mode 100644 index 000000000..649bb3d5f --- /dev/null +++ b/docs/module-doc/commands_8h__dep__incl.gif diff --git a/docs/module-doc/commands_8h__incl.gif b/docs/module-doc/commands_8h__incl.gif Binary files differnew file mode 100644 index 000000000..35b19dea4 --- /dev/null +++ b/docs/module-doc/commands_8h__incl.gif diff --git a/docs/module-doc/connection_8h-source.html b/docs/module-doc/connection_8h-source.html index 7946fe77f..e0bc42a22 100644 --- a/docs/module-doc/connection_8h-source.html +++ b/docs/module-doc/connection_8h-source.html @@ -32,131 +32,132 @@ <a name="l00024"></a><a class="code" href="connection_8h.html#a2">00024</a> <span class="preprocessor"></span><span class="preprocessor">#define STATE_SYNC 2</span> <a name="l00025"></a><a class="code" href="connection_8h.html#a3">00025</a> <span class="preprocessor"></span><span class="preprocessor">#define STATE_NOAUTH_INBOUND 3</span> <a name="l00026"></a><a class="code" href="connection_8h.html#a4">00026</a> <span class="preprocessor"></span><span class="preprocessor">#define STATE_NOAUTH_OUTBOUND 4</span> -00027 <span class="preprocessor"></span> -<a name="l00040"></a><a class="code" href="classircd__connector.html">00040</a> <span class="keyword">class </span><a class="code" href="classircd__connector.html">ircd_connector</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> -00041 { -00042 <span class="keyword">private</span>: -<a name="l00045"></a><a class="code" href="classircd__connector.html#o0">00045</a> sockaddr_in <a class="code" href="classircd__connector.html#o0">addr</a>; -00046 -<a name="l00049"></a><a class="code" href="classircd__connector.html#o1">00049</a> <span class="keywordtype">int</span> <a class="code" href="classircd__connector.html#o1">fd</a>; -00050 -<a name="l00053"></a><a class="code" href="classircd__connector.html#o2">00053</a> std::string <a class="code" href="classircd__connector.html#o2">servername</a>; -00054 -<a name="l00057"></a><a class="code" href="classircd__connector.html#o3">00057</a> std::string <a class="code" href="classircd__connector.html#o3">description</a>; -00058 -<a name="l00062"></a><a class="code" href="classircd__connector.html#o4">00062</a> <span class="keywordtype">int</span> <a class="code" href="classircd__connector.html#o4">state</a>; -00063 -00066 <span class="keywordtype">bool</span> <a class="code" href="classircd__connector.html#c0">SetHostAddress</a>(<span class="keywordtype">char</span>* host, <span class="keywordtype">int</span> port); -00067 -00068 <span class="keyword">public</span>: -00069 -<a name="l00074"></a><a class="code" href="classircd__connector.html#m0">00074</a> <span class="keywordtype">char</span> <a class="code" href="classircd__connector.html#m0">host</a>[MAXBUF]; -00075 -<a name="l00080"></a><a class="code" href="classircd__connector.html#m1">00080</a> <span class="keywordtype">int</span> <a class="code" href="classircd__connector.html#m1">port</a>; -00081 -<a name="l00086"></a><a class="code" href="classircd__connector.html#m2">00086</a> std::vector<std::string> <a class="code" href="classircd__connector.html#m2">routes</a>; -00087 -00088 -00091 <span class="keywordtype">bool</span> <a class="code" href="classircd__connector.html#a0">MakeOutboundConnection</a>(<span class="keywordtype">char</span>* host, <span class="keywordtype">int</span> port); -00092 -00095 std::string <a class="code" href="classircd__connector.html#a1">GetServerName</a>(); -00096 -00099 <span class="keywordtype">void</span> <a class="code" href="classircd__connector.html#a2">SetServerName</a>(std::string serv); -00100 -00103 <span class="keywordtype">int</span> <a class="code" href="classircd__connector.html#a3">GetDescriptor</a>(); -00104 -00107 <span class="keywordtype">void</span> <a class="code" href="classircd__connector.html#a4">SetDescriptor</a>(<span class="keywordtype">int</span> fd); -00108 -00111 <span class="keywordtype">int</span> <a class="code" href="classircd__connector.html#a5">GetState</a>(); -00112 -00115 <span class="keywordtype">void</span> <a class="code" href="classircd__connector.html#a6">SetState</a>(<span class="keywordtype">int</span> state); -00116 -00119 <span class="keywordtype">char</span>* <a class="code" href="classircd__connector.html#a7">GetServerIP</a>(); -00120 -00123 std::string <a class="code" href="classircd__connector.html#a8">GetDescription</a>(); -00124 -00127 <span class="keywordtype">void</span> <a class="code" href="classircd__connector.html#a9">SetDescription</a>(std::string desc); -00128 -00134 <span class="keywordtype">int</span> <a class="code" href="classircd__connector.html#a10">GetServerPort</a>(); -00135 -00138 <span class="keywordtype">void</span> <a class="code" href="classircd__connector.html#a11">SetServerPort</a>(<span class="keywordtype">int</span> p); -00139 -00142 <span class="keywordtype">bool</span> <a class="code" href="classircd__connector.html#a12">SetHostAndPort</a>(<span class="keywordtype">char</span>* host, <span class="keywordtype">int</span> port); -00143 -00147 <span class="keywordtype">void</span> <a class="code" href="classircd__connector.html#a13">CloseConnection</a>(); -00148 }; -00149 +<a name="l00027"></a><a class="code" href="connection_8h.html#a5">00027</a> <span class="preprocessor"></span><span class="preprocessor">#define STATE_SERVICES 5</span> +00028 <span class="preprocessor"></span> +<a name="l00041"></a><a class="code" href="classircd__connector.html">00041</a> <span class="keyword">class </span><a class="code" href="classircd__connector.html">ircd_connector</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> +00042 { +00043 <span class="keyword">private</span>: +<a name="l00046"></a><a class="code" href="classircd__connector.html#o0">00046</a> sockaddr_in <a class="code" href="classircd__connector.html#o0">addr</a>; +00047 +<a name="l00050"></a><a class="code" href="classircd__connector.html#o1">00050</a> <span class="keywordtype">int</span> <a class="code" href="classircd__connector.html#o1">fd</a>; +00051 +<a name="l00054"></a><a class="code" href="classircd__connector.html#o2">00054</a> std::string <a class="code" href="classircd__connector.html#o2">servername</a>; +00055 +<a name="l00058"></a><a class="code" href="classircd__connector.html#o3">00058</a> std::string <a class="code" href="classircd__connector.html#o3">description</a>; +00059 +<a name="l00063"></a><a class="code" href="classircd__connector.html#o4">00063</a> <span class="keywordtype">int</span> <a class="code" href="classircd__connector.html#o4">state</a>; +00064 +00067 <span class="keywordtype">bool</span> <a class="code" href="classircd__connector.html#c0">SetHostAddress</a>(<span class="keywordtype">char</span>* host, <span class="keywordtype">int</span> port); +00068 +00069 <span class="keyword">public</span>: +00070 +<a name="l00075"></a><a class="code" href="classircd__connector.html#m0">00075</a> <span class="keywordtype">char</span> <a class="code" href="classircd__connector.html#m0">host</a>[MAXBUF]; +00076 +<a name="l00081"></a><a class="code" href="classircd__connector.html#m1">00081</a> <span class="keywordtype">int</span> <a class="code" href="classircd__connector.html#m1">port</a>; +00082 +<a name="l00087"></a><a class="code" href="classircd__connector.html#m2">00087</a> std::vector<std::string> <a class="code" href="classircd__connector.html#m2">routes</a>; +00088 +00089 +00092 <span class="keywordtype">bool</span> <a class="code" href="classircd__connector.html#a0">MakeOutboundConnection</a>(<span class="keywordtype">char</span>* host, <span class="keywordtype">int</span> port); +00093 +00096 std::string <a class="code" href="classircd__connector.html#a1">GetServerName</a>(); +00097 +00100 <span class="keywordtype">void</span> <a class="code" href="classircd__connector.html#a2">SetServerName</a>(std::string serv); +00101 +00104 <span class="keywordtype">int</span> <a class="code" href="classircd__connector.html#a3">GetDescriptor</a>(); +00105 +00108 <span class="keywordtype">void</span> <a class="code" href="classircd__connector.html#a4">SetDescriptor</a>(<span class="keywordtype">int</span> fd); +00109 +00112 <span class="keywordtype">int</span> <a class="code" href="classircd__connector.html#a5">GetState</a>(); +00113 +00116 <span class="keywordtype">void</span> <a class="code" href="classircd__connector.html#a6">SetState</a>(<span class="keywordtype">int</span> state); +00117 +00120 <span class="keywordtype">char</span>* <a class="code" href="classircd__connector.html#a7">GetServerIP</a>(); +00121 +00124 std::string <a class="code" href="classircd__connector.html#a8">GetDescription</a>(); +00125 +00128 <span class="keywordtype">void</span> <a class="code" href="classircd__connector.html#a9">SetDescription</a>(std::string desc); +00129 +00135 <span class="keywordtype">int</span> <a class="code" href="classircd__connector.html#a10">GetServerPort</a>(); +00136 +00139 <span class="keywordtype">void</span> <a class="code" href="classircd__connector.html#a11">SetServerPort</a>(<span class="keywordtype">int</span> p); +00140 +00143 <span class="keywordtype">bool</span> <a class="code" href="classircd__connector.html#a12">SetHostAndPort</a>(<span class="keywordtype">char</span>* host, <span class="keywordtype">int</span> port); +00144 +00148 <span class="keywordtype">void</span> <a class="code" href="classircd__connector.html#a13">CloseConnection</a>(); +00149 }; 00150 -<a name="l00154"></a><a class="code" href="classpacket.html">00154</a> <span class="keyword">class </span><a class="code" href="classpacket.html">packet</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> -00155 { -00156 }; -00157 -<a name="l00160"></a><a class="code" href="classconnection.html">00160</a> <span class="keyword">class </span><a class="code" href="classconnection.html">connection</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> -00161 { -00162 <span class="keyword">public</span>: -<a name="l00165"></a><a class="code" href="classconnection.html#m0">00165</a> <span class="keywordtype">int</span> <a class="code" href="classconnection.html#m0">fd</a>; -00166 -<a name="l00169"></a><a class="code" href="classconnection.html#m1">00169</a> <span class="keywordtype">char</span> <a class="code" href="classconnection.html#m1">host</a>[256]; -00170 -<a name="l00173"></a><a class="code" href="classconnection.html#m2">00173</a> <span class="keywordtype">long</span> <a class="code" href="classconnection.html#m2">ip</a>; -00174 -<a name="l00177"></a><a class="code" href="classconnection.html#m3">00177</a> <span class="keywordtype">char</span> <a class="code" href="classconnection.html#m3">inbuf</a>[MAXBUF]; -00178 -<a name="l00181"></a><a class="code" href="classconnection.html#m4">00181</a> <span class="keywordtype">long</span> <a class="code" href="classconnection.html#m4">bytes_in</a>; -00182 -<a name="l00185"></a><a class="code" href="classconnection.html#m5">00185</a> <span class="keywordtype">long</span> <a class="code" href="classconnection.html#m5">bytes_out</a>; -00186 -<a name="l00189"></a><a class="code" href="classconnection.html#m6">00189</a> <span class="keywordtype">long</span> <a class="code" href="classconnection.html#m6">cmds_in</a>; -00190 -<a name="l00193"></a><a class="code" href="classconnection.html#m7">00193</a> <span class="keywordtype">long</span> <a class="code" href="classconnection.html#m7">cmds_out</a>; -00194 -<a name="l00197"></a><a class="code" href="classconnection.html#m8">00197</a> <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#m8">haspassed</a>; -00198 -<a name="l00203"></a><a class="code" href="classconnection.html#m9">00203</a> <span class="keywordtype">int</span> <a class="code" href="classconnection.html#m9">port</a>; -00204 -<a name="l00207"></a><a class="code" href="classconnection.html#m10">00207</a> <span class="keywordtype">int</span> <a class="code" href="classconnection.html#m10">registered</a>; -00208 -<a name="l00211"></a><a class="code" href="classconnection.html#m11">00211</a> <span class="keywordtype">short</span> <span class="keywordtype">int</span> <a class="code" href="classconnection.html#m11">state</a>; -00212 -<a name="l00215"></a><a class="code" href="classconnection.html#m12">00215</a> time_t <a class="code" href="classconnection.html#m12">lastping</a>; -00216 -<a name="l00219"></a><a class="code" href="classconnection.html#m13">00219</a> time_t <a class="code" href="classconnection.html#m13">signon</a>; -00220 -<a name="l00223"></a><a class="code" href="classconnection.html#m14">00223</a> time_t <a class="code" href="classconnection.html#m14">idle_lastmsg</a>; -00224 -<a name="l00227"></a><a class="code" href="classconnection.html#m15">00227</a> time_t <a class="code" href="classconnection.html#m15">nping</a>; -00228 -<a name="l00231"></a><a class="code" href="classconnection.html#m16">00231</a> <span class="keywordtype">char</span> <a class="code" href="classconnection.html#m16">internal_addr</a>[1024]; -00232 -<a name="l00235"></a><a class="code" href="classconnection.html#m17">00235</a> <span class="keywordtype">int</span> <a class="code" href="classconnection.html#m17">internal_port</a>; -00236 -<a name="l00240"></a><a class="code" href="classconnection.html#m18">00240</a> std::vector<ircd_connector> <a class="code" href="classconnection.html#m18">connectors</a>; -00241 -00244 <a class="code" href="classconnection.html#a0">connection</a>(); -00245 -00248 <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#a1">CreateListener</a>(<span class="keywordtype">char</span>* host, <span class="keywordtype">int</span> p); -00249 -00252 <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#a2">BeginLink</a>(<span class="keywordtype">char</span>* targethost, <span class="keywordtype">int</span> port, <span class="keywordtype">char</span>* password, <span class="keywordtype">char</span>* servername, <span class="keywordtype">int</span> myport); -00253 -00256 <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#a3">MeshCookie</a>(<span class="keywordtype">char</span>* targethost, <span class="keywordtype">int</span> port, <span class="keywordtype">long</span> cookie, <span class="keywordtype">char</span>* servername); -00257 -00260 <span class="keywordtype">void</span> <a class="code" href="classconnection.html#a4">TerminateLink</a>(<span class="keywordtype">char</span>* targethost); -00261 -00265 <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#a5">SendPacket</a>(<span class="keywordtype">char</span> *message, <span class="keyword">const</span> <span class="keywordtype">char</span>* host); -00266 -00271 <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#a6">RecvPacket</a>(std::deque<std::string> &messages, <span class="keywordtype">char</span>* host); -00272 -00275 <a class="code" href="classircd__connector.html">ircd_connector</a>* <a class="code" href="classconnection.html#a7">FindHost</a>(std::string host); -00276 -00280 <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#a8">AddIncoming</a>(<span class="keywordtype">int</span> fd,<span class="keywordtype">char</span>* targethost, <span class="keywordtype">int</span> sourceport); -00281 -00284 <span class="keywordtype">long</span> <a class="code" href="classconnection.html#a9">GenKey</a>(); -00285 }; -00286 +00151 +<a name="l00155"></a><a class="code" href="classpacket.html">00155</a> <span class="keyword">class </span><a class="code" href="classpacket.html">packet</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> +00156 { +00157 }; +00158 +<a name="l00161"></a><a class="code" href="classconnection.html">00161</a> <span class="keyword">class </span><a class="code" href="classconnection.html">connection</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> +00162 { +00163 <span class="keyword">public</span>: +<a name="l00166"></a><a class="code" href="classconnection.html#m0">00166</a> <span class="keywordtype">int</span> <a class="code" href="classconnection.html#m0">fd</a>; +00167 +<a name="l00170"></a><a class="code" href="classconnection.html#m1">00170</a> <span class="keywordtype">char</span> <a class="code" href="classconnection.html#m1">host</a>[256]; +00171 +<a name="l00174"></a><a class="code" href="classconnection.html#m2">00174</a> <span class="keywordtype">char</span> <a class="code" href="classconnection.html#m2">ip</a>[32]; +00175 +<a name="l00178"></a><a class="code" href="classconnection.html#m3">00178</a> <span class="keywordtype">char</span> <a class="code" href="classconnection.html#m3">inbuf</a>[MAXBUF]; +00179 +<a name="l00182"></a><a class="code" href="classconnection.html#m4">00182</a> <span class="keywordtype">long</span> <a class="code" href="classconnection.html#m4">bytes_in</a>; +00183 +<a name="l00186"></a><a class="code" href="classconnection.html#m5">00186</a> <span class="keywordtype">long</span> <a class="code" href="classconnection.html#m5">bytes_out</a>; +00187 +<a name="l00190"></a><a class="code" href="classconnection.html#m6">00190</a> <span class="keywordtype">long</span> <a class="code" href="classconnection.html#m6">cmds_in</a>; +00191 +<a name="l00194"></a><a class="code" href="classconnection.html#m7">00194</a> <span class="keywordtype">long</span> <a class="code" href="classconnection.html#m7">cmds_out</a>; +00195 +<a name="l00198"></a><a class="code" href="classconnection.html#m8">00198</a> <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#m8">haspassed</a>; +00199 +<a name="l00204"></a><a class="code" href="classconnection.html#m9">00204</a> <span class="keywordtype">int</span> <a class="code" href="classconnection.html#m9">port</a>; +00205 +<a name="l00208"></a><a class="code" href="classconnection.html#m10">00208</a> <span class="keywordtype">int</span> <a class="code" href="classconnection.html#m10">registered</a>; +00209 +<a name="l00212"></a><a class="code" href="classconnection.html#m11">00212</a> <span class="keywordtype">short</span> <span class="keywordtype">int</span> <a class="code" href="classconnection.html#m11">state</a>; +00213 +<a name="l00216"></a><a class="code" href="classconnection.html#m12">00216</a> time_t <a class="code" href="classconnection.html#m12">lastping</a>; +00217 +<a name="l00220"></a><a class="code" href="classconnection.html#m13">00220</a> time_t <a class="code" href="classconnection.html#m13">signon</a>; +00221 +<a name="l00224"></a><a class="code" href="classconnection.html#m14">00224</a> time_t <a class="code" href="classconnection.html#m14">idle_lastmsg</a>; +00225 +<a name="l00228"></a><a class="code" href="classconnection.html#m15">00228</a> time_t <a class="code" href="classconnection.html#m15">nping</a>; +00229 +<a name="l00232"></a><a class="code" href="classconnection.html#m16">00232</a> <span class="keywordtype">char</span> <a class="code" href="classconnection.html#m16">internal_addr</a>[MAXBUF]; +00233 +<a name="l00236"></a><a class="code" href="classconnection.html#m17">00236</a> <span class="keywordtype">int</span> <a class="code" href="classconnection.html#m17">internal_port</a>; +00237 +<a name="l00241"></a><a class="code" href="classconnection.html#m18">00241</a> std::vector<ircd_connector> <a class="code" href="classconnection.html#m18">connectors</a>; +00242 +00245 <a class="code" href="classconnection.html#a0">connection</a>(); +00246 +00249 <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#a1">CreateListener</a>(<span class="keywordtype">char</span>* host, <span class="keywordtype">int</span> p); +00250 +00253 <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#a2">BeginLink</a>(<span class="keywordtype">char</span>* targethost, <span class="keywordtype">int</span> port, <span class="keywordtype">char</span>* password, <span class="keywordtype">char</span>* servername, <span class="keywordtype">int</span> myport); +00254 +00257 <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#a3">MeshCookie</a>(<span class="keywordtype">char</span>* targethost, <span class="keywordtype">int</span> port, <span class="keywordtype">long</span> cookie, <span class="keywordtype">char</span>* servername); +00258 +00261 <span class="keywordtype">void</span> <a class="code" href="classconnection.html#a4">TerminateLink</a>(<span class="keywordtype">char</span>* targethost); +00262 +00266 <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#a5">SendPacket</a>(<span class="keywordtype">char</span> *message, <span class="keyword">const</span> <span class="keywordtype">char</span>* host); +00267 +00272 <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#a6">RecvPacket</a>(std::deque<std::string> &messages, <span class="keywordtype">char</span>* host); +00273 +00276 <a class="code" href="classircd__connector.html">ircd_connector</a>* <a class="code" href="classconnection.html#a7">FindHost</a>(std::string host); +00277 +00281 <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#a8">AddIncoming</a>(<span class="keywordtype">int</span> fd,<span class="keywordtype">char</span>* targethost, <span class="keywordtype">int</span> sourceport); +00282 +00285 <span class="keywordtype">long</span> <a class="code" href="classconnection.html#a9">GenKey</a>(); +00286 }; 00287 -00288 <span class="preprocessor">#endif</span> -00289 <span class="preprocessor"></span> -</pre></div><hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:32 2004 for InspIRCd by +00288 +00289 <span class="preprocessor">#endif</span> +00290 <span class="preprocessor"></span> +</pre></div><hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:05 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/connection_8h.html b/docs/module-doc/connection_8h.html index 6411829a7..ea8889f06 100644 --- a/docs/module-doc/connection_8h.html +++ b/docs/module-doc/connection_8h.html @@ -29,10 +29,15 @@ Include dependency graph for connection.h:<p><center><img src="connection_8h__in <p> This graph shows which files directly or indirectly include this file:<p><center><img src="connection_8h__dep__incl.gif" border="0" usemap="#connection.hdep_map" alt="Included by dependency graph"></center> <map name="connection.hdep_map"> -<area href="servers_8h.html" shape="rect" coords="19,85,83,106" alt=""> -<area href="servers_8cpp.html" shape="rect" coords="7,16,87,37" alt=""> -<area href="users_8h.html" shape="rect" coords="115,85,165,106" alt=""> -<area href="users_8cpp.html" shape="rect" coords="111,16,177,37" alt=""> +<area href="users_8h.html" shape="rect" coords="256,155,307,176" alt=""> +<area href="users_8cpp.html" shape="rect" coords="7,86,73,107" alt=""> +<area href="commands_8h.html" shape="rect" coords="97,86,180,107" alt=""> +<area href="modules_8cpp.html" shape="rect" coords="199,16,281,38" alt=""> +<area href="message_8h.html" shape="rect" coords="204,86,276,107" alt=""> +<area href="mode_8h.html" shape="rect" coords="300,86,351,107" alt=""> +<area href="xline_8h.html" shape="rect" coords="375,86,423,107" alt=""> +<area href="servers_8h.html" shape="rect" coords="413,155,477,176" alt=""> +<area href="servers_8cpp.html" shape="rect" coords="447,86,527,107" alt=""> </map> <p> @@ -51,6 +56,7 @@ This graph shows which files directly or indirectly include this file:<p><center <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="connection_8h.html#a2">STATE_SYNC</a> 2</td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="connection_8h.html#a3">STATE_NOAUTH_INBOUND</a> 3</td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="connection_8h.html#a4">STATE_NOAUTH_OUTBOUND</a> 4</td></tr> +<tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="connection_8h.html#a5">STATE_SERVICES</a> 5</td></tr> </table> <hr><h2>Define Documentation</h2> <a name="a1" doxytag="connection.h::STATE_CONNECTED"></a><p> @@ -149,6 +155,30 @@ Definition at line <a class="el" href="connection_8h-source.html#l00025">25</a> Definition at line <a class="el" href="connection_8h-source.html#l00026">26</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> </tr> </table> +<a name="a5" doxytag="connection.h::STATE_SERVICES"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> #define STATE_SERVICES 5 + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="connection_8h-source.html#l00027">27</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> + </tr> +</table> <a name="a2" doxytag="connection.h::STATE_SYNC"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> @@ -173,7 +203,7 @@ Definition at line <a class="el" href="connection_8h-source.html#l00026">26</a> Definition at line <a class="el" href="connection_8h-source.html#l00024">24</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> </tr> </table> -<hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:35 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:09 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/connection_8h__dep__incl.gif b/docs/module-doc/connection_8h__dep__incl.gif Binary files differindex cbcb0fbf4..ac5958da9 100644 --- a/docs/module-doc/connection_8h__dep__incl.gif +++ b/docs/module-doc/connection_8h__dep__incl.gif diff --git a/docs/module-doc/ctables_8h-source.html b/docs/module-doc/ctables_8h-source.html index d49a028ae..e6093ec98 100644 --- a/docs/module-doc/ctables_8h-source.html +++ b/docs/module-doc/ctables_8h-source.html @@ -41,7 +41,7 @@ 00047 00048 <span class="preprocessor">#endif</span> 00049 <span class="preprocessor"></span> -</pre></div><hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:32 2004 for InspIRCd by +</pre></div><hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:05 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/ctables_8h.html b/docs/module-doc/ctables_8h.html index b6ae20736..4aefc704a 100644 --- a/docs/module-doc/ctables_8h.html +++ b/docs/module-doc/ctables_8h.html @@ -30,7 +30,7 @@ This graph shows which files directly or indirectly include this file:<p><center <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classcommand__t.html">command_t</a></td></tr> <tr><td> </td><td><font size=-1><em>A structure that defines a command.</em> <a href="classcommand__t.html#_details">More...</a><em></em></font><br><br></td></tr> </table> -<hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:35 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:09 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/files.html b/docs/module-doc/files.html index 60e0b6739..7aa43fbf2 100644 --- a/docs/module-doc/files.html +++ b/docs/module-doc/files.html @@ -10,16 +10,20 @@ <tr><td class="indexkey"><a class="el" href="base_8h.html">base.h</a> <a href="base_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> <tr><td class="indexkey"><a class="el" href="channels_8cpp.html">channels.cpp</a> <a href="channels_8cpp-source.html">[code]</a></td><td class="indexvalue"></td></tr> <tr><td class="indexkey"><a class="el" href="channels_8h.html">channels.h</a> <a href="channels_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="commands_8h.html">commands.h</a> <a href="commands_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> <tr><td class="indexkey"><a class="el" href="connection_8h.html">connection.h</a> <a href="connection_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> <tr><td class="indexkey"><a class="el" href="ctables_8h.html">ctables.h</a> <a href="ctables_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="message_8h.html">message.h</a> <a href="message_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="mode_8h.html">mode.h</a> <a href="mode_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> <tr><td class="indexkey"><a class="el" href="modules_8cpp.html">modules.cpp</a> <a href="modules_8cpp-source.html">[code]</a></td><td class="indexvalue"></td></tr> <tr><td class="indexkey"><a class="el" href="modules_8h.html">modules.h</a> <a href="modules_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> <tr><td class="indexkey"><a class="el" href="servers_8cpp.html">servers.cpp</a> <a href="servers_8cpp-source.html">[code]</a></td><td class="indexvalue"></td></tr> <tr><td class="indexkey"><a class="el" href="servers_8h.html">servers.h</a> <a href="servers_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> <tr><td class="indexkey"><a class="el" href="users_8cpp.html">users.cpp</a> <a href="users_8cpp-source.html">[code]</a></td><td class="indexvalue"></td></tr> <tr><td class="indexkey"><a class="el" href="users_8h.html">users.h</a> <a href="users_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="xline_8h.html">xline.h</a> <a href="xline_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> </table> -<hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:32 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:05 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/functions.html b/docs/module-doc/functions.html index c908d0793..1426267db 100644 --- a/docs/module-doc/functions.html +++ b/docs/module-doc/functions.html @@ -61,7 +61,8 @@ Here is a list of all class members with links to the classes they belong to:<h3 <li>data : <a class="el" href="classHostItem.html#m2">HostItem</a><li>description : <a class="el" href="classserverrec.html#m8">serverrec</a>, <a class="el" href="classircd__connector.html#o3">ircd_connector</a><li>dhost -: <a class="el" href="classuserrec.html#m2">userrec</a></ul> +: <a class="el" href="classuserrec.html#m2">userrec</a><li>duration +: <a class="el" href="classXLine.html#m1">XLine</a></ul> <h3><a name="index_e">- e -</a> </h3><ul> <li>Email @@ -108,7 +109,8 @@ Here is a list of all class members with links to the classes they belong to:<h3 : <a class="el" href="classconnection.html#m8">connection</a><li>hops_away : <a class="el" href="classserverrec.html#m5">serverrec</a><li>host : <a class="el" href="classConnectClass.html#m3">ConnectClass</a>, <a class="el" href="classconnection.html#m1">connection</a>, <a class="el" href="classircd__connector.html#m0">ircd_connector</a><li>HostItem() -: <a class="el" href="classHostItem.html#a0">HostItem</a></ul> +: <a class="el" href="classHostItem.html#a0">HostItem</a><li>hostmask +: <a class="el" href="classGLine.html#m0">GLine</a>, <a class="el" href="classKLine.html#m0">KLine</a></ul> <h3><a name="index_i">- i -</a> </h3><ul> <li>ident @@ -120,10 +122,12 @@ Here is a list of all class members with links to the classes they belong to:<h3 : <a class="el" href="classchanrec.html#m10">chanrec</a><li>invites : <a class="el" href="classuserrec.html#o0">userrec</a><li>InviteTo() : <a class="el" href="classuserrec.html#a5">userrec</a><li>ip -: <a class="el" href="classconnection.html#m2">connection</a><li>IsCustomModeSet() +: <a class="el" href="classconnection.html#m2">connection</a><li>ipaddr +: <a class="el" href="classZLine.html#m0">ZLine</a><li>IsCustomModeSet() : <a class="el" href="classchanrec.html#a2">chanrec</a><li>IsInvited() : <a class="el" href="classuserrec.html#a4">userrec</a><li>IsNick() -: <a class="el" href="classServer.html#a12">Server</a></ul> +: <a class="el" href="classServer.html#a12">Server</a><li>IsUlined() +: <a class="el" href="classServer.html#a32">Server</a></ul> <h3><a name="index_j">- j -</a> </h3><ul> <li>JoinUserToChannel() @@ -157,12 +161,13 @@ Here is a list of all class members with links to the classes they belong to:<h3 : <a class="el" href="classModuleFactory.html#a0">ModuleFactory</a></ul> <h3><a name="index_n">- n -</a> </h3><ul> -<li>name +<li>n_matches +: <a class="el" href="classXLine.html#m4">XLine</a><li>name : <a class="el" href="classserverrec.html#m0">serverrec</a>, <a class="el" href="classchanrec.html#m0">chanrec</a><li>Name : <a class="el" href="classAdmin.html#m0">Admin</a><li>needsoper : <a class="el" href="classExtMode.html#m4">ExtMode</a><li>Nick : <a class="el" href="classAdmin.html#m2">Admin</a><li>nick -: <a class="el" href="classuserrec.html#m0">userrec</a><li>noexternal +: <a class="el" href="classQLine.html#m0">QLine</a>, <a class="el" href="classuserrec.html#m0">userrec</a><li>noexternal : <a class="el" href="classchanrec.html#m9">chanrec</a><li>nping : <a class="el" href="classconnection.html#m15">connection</a></ul> <h3><a name="index_o">- o -</a> @@ -179,7 +184,8 @@ Here is a list of all class members with links to the classes they belong to:<h3 : <a class="el" href="classModule.html#a5">Module</a><li>OnUserPart() : <a class="el" href="classModule.html#a6">Module</a><li>OnUserPreJoin() : <a class="el" href="classModule.html#a12">Module</a><li>OnUserPreMessage() -: <a class="el" href="classModule.html#a16">Module</a><li>OnUserPreNotice() +: <a class="el" href="classModule.html#a16">Module</a><li>OnUserPreNick() +: <a class="el" href="classModule.html#a18">Module</a><li>OnUserPreNotice() : <a class="el" href="classModule.html#a17">Module</a><li>OnUserQuit() : <a class="el" href="classModule.html#a4">Module</a><li>OnWhois() : <a class="el" href="classModule.html#a15">Module</a><li>opercount @@ -201,7 +207,8 @@ Here is a list of all class members with links to the classes they belong to:<h3 <h3><a name="index_r">- r -</a> </h3><ul> <li>ReadValue() -: <a class="el" href="classConfigReader.html#a3">ConfigReader</a><li>RecvPacket() +: <a class="el" href="classConfigReader.html#a3">ConfigReader</a><li>reason +: <a class="el" href="classXLine.html#m3">XLine</a><li>RecvPacket() : <a class="el" href="classconnection.html#a6">connection</a><li>registered : <a class="el" href="classconnection.html#m10">connection</a><li>registration_timeout : <a class="el" href="classConnectClass.html#m1">ConnectClass</a><li>RemoveInvite() @@ -229,7 +236,7 @@ Here is a list of all class members with links to the classes they belong to:<h3 : <a class="el" href="classircd__connector.html#o2">ircd_connector</a><li>serverrec() : <a class="el" href="classserverrec.html#a1">serverrec</a><li>set_by : <a class="el" href="classHostItem.html#m1">HostItem</a><li>set_time -: <a class="el" href="classHostItem.html#m0">HostItem</a><li>setby +: <a class="el" href="classXLine.html#m0">XLine</a>, <a class="el" href="classHostItem.html#m0">HostItem</a><li>setby : <a class="el" href="classchanrec.html#m5">chanrec</a><li>SetCustomMode() : <a class="el" href="classchanrec.html#a0">chanrec</a><li>SetCustomModeParam() : <a class="el" href="classchanrec.html#a1">chanrec</a><li>SetDescription() @@ -240,7 +247,8 @@ Here is a list of all class members with links to the classes they belong to:<h3 : <a class="el" href="classircd__connector.html#a2">ircd_connector</a><li>SetServerPort() : <a class="el" href="classircd__connector.html#a11">ircd_connector</a><li>SetState() : <a class="el" href="classircd__connector.html#a6">ircd_connector</a><li>signon -: <a class="el" href="classconnection.html#m13">connection</a><li>state +: <a class="el" href="classconnection.html#m13">connection</a><li>source +: <a class="el" href="classXLine.html#m2">XLine</a><li>state : <a class="el" href="classconnection.html#m11">connection</a>, <a class="el" href="classircd__connector.html#o4">ircd_connector</a><li>sync_soon : <a class="el" href="classserverrec.html#m9">serverrec</a></ul> <h3><a name="index_t">- t -</a> @@ -265,9 +273,9 @@ Here is a list of all class members with links to the classes they belong to:<h3 <h3><a name="index_v">- v -</a> </h3><ul> <li>Verify() -: <a class="el" href="classConfigReader.html#a5">ConfigReader</a><li>Version() -: <a class="el" href="classVersion.html#a0">Version</a><li>version -: <a class="el" href="classserverrec.html#m6">serverrec</a></ul> +: <a class="el" href="classConfigReader.html#a5">ConfigReader</a><li>version +: <a class="el" href="classserverrec.html#m6">serverrec</a><li>Version() +: <a class="el" href="classVersion.html#a0">Version</a></ul> <h3><a name="index_~">- ~ -</a> </h3><ul> <li>~chanrec() @@ -282,7 +290,7 @@ Here is a list of all class members with links to the classes they belong to:<h3 : <a class="el" href="classserverrec.html#a2">serverrec</a><li>~ucrec() : <a class="el" href="classucrec.html#a1">ucrec</a><li>~userrec() : <a class="el" href="classuserrec.html#a1">userrec</a></ul> -<hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:38 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:14 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/globals.html b/docs/module-doc/globals.html index 831471064..a06fecb33 100644 --- a/docs/module-doc/globals.html +++ b/docs/module-doc/globals.html @@ -7,32 +7,57 @@ <center> <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> <hr><h1>InspIRCd File Members</h1><center> -<a href="#index_b">b</a> | <a href="#index_c">c</a> | <a href="#index_d">d</a> | <a href="#index_e">e</a> | <a href="#index_f">f</a> | <a href="#index_i">i</a> | <a href="#index_l">l</a> | <a href="#index_m">m</a> | <a href="#index_n">n</a> | <a href="#index_s">s</a> | <a href="#index_u">u</a> | <a href="#index_v">v</a></center> +<a href="#index_a">a</a> | <a href="#index_b">b</a> | <a href="#index_c">c</a> | <a href="#index_d">d</a> | <a href="#index_e">e</a> | <a href="#index_f">f</a> | <a href="#index_g">g</a> | <a href="#index_h">h</a> | <a href="#index_i">i</a> | <a href="#index_l">l</a> | <a href="#index_m">m</a> | <a href="#index_n">n</a> | <a href="#index_p">p</a> | <a href="#index_q">q</a> | <a href="#index_r">r</a> | <a href="#index_s">s</a> | <a href="#index_t">t</a> | <a href="#index_u">u</a> | <a href="#index_v">v</a> | <a href="#index_z">z</a></center> <p> -Here is a list of all file members with links to the files they belong to:<h3><a name="index_b">- b -</a> +Here is a list of all file members with links to the files they belong to:<h3><a name="index_a">- a -</a> +</h3><ul> +<li>add_ban() +: <a class="el" href="mode_8h.html#a6">mode.h</a><li>add_gline() +: <a class="el" href="xline_8h.html#a1">xline.h</a><li>add_kline() +: <a class="el" href="xline_8h.html#a4">xline.h</a><li>add_qline() +: <a class="el" href="xline_8h.html#a2">xline.h</a><li>add_zline() +: <a class="el" href="xline_8h.html#a3">xline.h</a><li>allowed_umode() +: <a class="el" href="mode_8h.html#a9">mode.h</a><li>apply_lines() +: <a class="el" href="xline_8h.html#a14">xline.h</a></ul> +<h3><a name="index_b">- b -</a> </h3><ul> <li>BanList -: <a class="el" href="channels_8h.html#a5">channels.h</a></ul> +: <a class="el" href="channels_8h.html#a5">channels.h</a><li>Blocking() +: <a class="el" href="message_8h.html#a5">message.h</a></ul> <h3><a name="index_c">- c -</a> </h3><ul> -<li>CC_ALLOW +<li>c_count() +: <a class="el" href="message_8h.html#a8">message.h</a><li>CC_ALLOW : <a class="el" href="users_8h.html#a4">users.h</a><li>CC_DENY -: <a class="el" href="users_8h.html#a5">users.h</a><li>ClassVector -: <a class="el" href="users_8h.html#a7">users.h</a><li>createcommand() -: <a class="el" href="modules_8h.html#a13">modules.h</a><li>custom_mode_params +: <a class="el" href="users_8h.html#a5">users.h</a><li>ChangeDisplayedHost() +: <a class="el" href="message_8h.html#a11">message.h</a><li>ChangeName() +: <a class="el" href="message_8h.html#a10">message.h</a><li>chlist() +: <a class="el" href="message_8h.html#a18">message.h</a><li>chop() +: <a class="el" href="message_8h.html#a1">message.h</a><li>ClassVector +: <a class="el" href="users_8h.html#a7">users.h</a><li>CleanAndResolve() +: <a class="el" href="message_8h.html#a7">message.h</a><li>cmode() +: <a class="el" href="message_8h.html#a14">message.h</a><li>common_channels() +: <a class="el" href="message_8h.html#a0">message.h</a><li>createcommand() +: <a class="el" href="modules_8h.html#a13">modules.h</a><li>cstatus() +: <a class="el" href="message_8h.html#a15">message.h</a><li>custom_mode_params : <a class="el" href="channels_8cpp.html#a0">channels.cpp</a></ul> <h3><a name="index_d">- d -</a> </h3><ul> <li>DEBUG : <a class="el" href="modules_8h.html#a0">modules.h</a><li>DEFAULT -: <a class="el" href="modules_8h.html#a2">modules.h</a><li>DoAddExtendedMode() +: <a class="el" href="modules_8h.html#a2">modules.h</a><li>del_gline() +: <a class="el" href="xline_8h.html#a5">xline.h</a><li>del_kline() +: <a class="el" href="xline_8h.html#a8">xline.h</a><li>del_qline() +: <a class="el" href="xline_8h.html#a6">xline.h</a><li>del_zline() +: <a class="el" href="xline_8h.html#a7">xline.h</a><li>DoAddExtendedMode() : <a class="el" href="modules_8cpp.html#a8">modules.cpp</a></ul> <h3><a name="index_e">- e -</a> </h3><ul> <li>EMode : <a class="el" href="modules_8cpp.html#a2">modules.cpp</a><li>ExemptList -: <a class="el" href="channels_8h.html#a6">channels.h</a><li>ExtModeList +: <a class="el" href="channels_8h.html#a6">channels.h</a><li>expire_lines() +: <a class="el" href="xline_8h.html#a13">xline.h</a><li>ExtModeList : <a class="el" href="modules_8cpp.html#a0">modules.cpp</a><li>ExtModeListIter : <a class="el" href="modules_8cpp.html#a1">modules.cpp</a></ul> <h3><a name="index_f">- f -</a> @@ -42,12 +67,97 @@ Here is a list of all file members with links to the files they belong to:<h3><a : <a class="el" href="modules_8h.html#a10">modules.h</a><li>FOREACH_MOD : <a class="el" href="modules_8h.html#a8">modules.h</a><li>FOREACH_RESULT : <a class="el" href="modules_8h.html#a9">modules.h</a></ul> +<h3><a name="index_g">- g -</a> +</h3><ul> +<li>give_hops() +: <a class="el" href="mode_8h.html#a1">mode.h</a><li>give_ops() +: <a class="el" href="mode_8h.html#a0">mode.h</a><li>give_voice() +: <a class="el" href="mode_8h.html#a2">mode.h</a><li>gline_set_creation_time() +: <a class="el" href="xline_8h.html#a19">xline.h</a></ul> +<h3><a name="index_h">- h -</a> +</h3><ul> +<li>handle_a() +: <a class="el" href="commands_8h.html#a54">commands.h</a><li>handle_admin() +: <a class="el" href="commands_8h.html#a23">commands.h</a><li>handle_amp() +: <a class="el" href="commands_8h.html#a48">commands.h</a><li>handle_AT() +: <a class="el" href="commands_8h.html#a57">commands.h</a><li>handle_away() +: <a class="el" href="commands_8h.html#a31">commands.h</a><li>handle_b() +: <a class="el" href="commands_8h.html#a53">commands.h</a><li>handle_connect() +: <a class="el" href="commands_8h.html#a36">commands.h</a><li>handle_die() +: <a class="el" href="commands_8h.html#a3">commands.h</a><li>handle_dollar() +: <a class="el" href="commands_8h.html#a49">commands.h</a><li>handle_F() +: <a class="el" href="commands_8h.html#a55">commands.h</a><li>handle_gline() +: <a class="el" href="commands_8h.html#a43">commands.h</a><li>handle_i() +: <a class="el" href="commands_8h.html#a67">commands.h</a><li>handle_info() +: <a class="el" href="commands_8h.html#a14">commands.h</a><li>handle_invite() +: <a class="el" href="commands_8h.html#a9">commands.h</a><li>handle_ison() +: <a class="el" href="commands_8h.html#a30">commands.h</a><li>handle_J() +: <a class="el" href="commands_8h.html#a50">commands.h</a><li>handle_join() +: <a class="el" href="commands_8h.html#a0">commands.h</a><li>handle_k() +: <a class="el" href="commands_8h.html#a58">commands.h</a><li>handle_K() +: <a class="el" href="commands_8h.html#a61">commands.h</a><li>handle_kick() +: <a class="el" href="commands_8h.html#a2">commands.h</a><li>handle_kill() +: <a class="el" href="commands_8h.html#a5">commands.h</a><li>handle_kline() +: <a class="el" href="commands_8h.html#a42">commands.h</a><li>handle_L() +: <a class="el" href="commands_8h.html#a62">commands.h</a><li>handle_link_packet() +: <a class="el" href="commands_8h.html#a46">commands.h</a><li>handle_links() +: <a class="el" href="commands_8h.html#a38">commands.h</a><li>handle_list() +: <a class="el" href="commands_8h.html#a20">commands.h</a><li>handle_lusers() +: <a class="el" href="commands_8h.html#a22">commands.h</a><li>handle_m() +: <a class="el" href="commands_8h.html#a63">commands.h</a><li>handle_M() +: <a class="el" href="commands_8h.html#a64">commands.h</a><li>handle_map() +: <a class="el" href="commands_8h.html#a39">commands.h</a><li>handle_mode() +: <a class="el" href="mode_8h.html#a11">mode.h</a><li>handle_modules() +: <a class="el" href="commands_8h.html#a34">commands.h</a><li>handle_motd() +: <a class="el" href="commands_8h.html#a26">commands.h</a><li>handle_N() +: <a class="el" href="commands_8h.html#a56">commands.h</a><li>handle_n() +: <a class="el" href="commands_8h.html#a59">commands.h</a><li>handle_names() +: <a class="el" href="commands_8h.html#a11">commands.h</a><li>handle_nick() +: <a class="el" href="commands_8h.html#a41">commands.h</a><li>handle_notice() +: <a class="el" href="commands_8h.html#a13">commands.h</a><li>handle_oper() +: <a class="el" href="commands_8h.html#a40">commands.h</a><li>handle_P() +: <a class="el" href="commands_8h.html#a68">commands.h</a><li>handle_part() +: <a class="el" href="commands_8h.html#a1">commands.h</a><li>handle_pass() +: <a class="el" href="commands_8h.html#a8">commands.h</a><li>handle_ping() +: <a class="el" href="commands_8h.html#a24">commands.h</a><li>handle_plus() +: <a class="el" href="commands_8h.html#a52">commands.h</a><li>handle_pong() +: <a class="el" href="commands_8h.html#a25">commands.h</a><li>handle_privmsg() +: <a class="el" href="commands_8h.html#a12">commands.h</a><li>handle_Q() +: <a class="el" href="commands_8h.html#a60">commands.h</a><li>handle_qline() +: <a class="el" href="commands_8h.html#a45">commands.h</a><li>handle_quit() +: <a class="el" href="commands_8h.html#a17">commands.h</a><li>handle_R() +: <a class="el" href="commands_8h.html#a51">commands.h</a><li>handle_rehash() +: <a class="el" href="commands_8h.html#a21">commands.h</a><li>handle_restart() +: <a class="el" href="commands_8h.html#a4">commands.h</a><li>handle_rules() +: <a class="el" href="commands_8h.html#a27">commands.h</a><li>handle_squit() +: <a class="el" href="commands_8h.html#a37">commands.h</a><li>handle_stats() +: <a class="el" href="commands_8h.html#a35">commands.h</a><li>handle_summon() +: <a class="el" href="commands_8h.html#a6">commands.h</a><li>handle_T() +: <a class="el" href="commands_8h.html#a65">commands.h</a><li>handle_t() +: <a class="el" href="commands_8h.html#a66">commands.h</a><li>handle_time() +: <a class="el" href="commands_8h.html#a15">commands.h</a><li>handle_topic() +: <a class="el" href="commands_8h.html#a10">commands.h</a><li>handle_trace() +: <a class="el" href="commands_8h.html#a33">commands.h</a><li>handle_user() +: <a class="el" href="commands_8h.html#a28">commands.h</a><li>handle_userhost() +: <a class="el" href="commands_8h.html#a29">commands.h</a><li>handle_users() +: <a class="el" href="commands_8h.html#a7">commands.h</a><li>handle_V() +: <a class="el" href="commands_8h.html#a69">commands.h</a><li>handle_wallops() +: <a class="el" href="commands_8h.html#a19">commands.h</a><li>handle_who() +: <a class="el" href="commands_8h.html#a18">commands.h</a><li>handle_whois() +: <a class="el" href="commands_8h.html#a16">commands.h</a><li>handle_whowas() +: <a class="el" href="commands_8h.html#a32">commands.h</a><li>handle_zline() +: <a class="el" href="commands_8h.html#a44">commands.h</a><li>has_channel() +: <a class="el" href="message_8h.html#a16">message.h</a><li>hasumode() +: <a class="el" href="message_8h.html#a9">message.h</a></ul> <h3><a name="index_i">- i -</a> </h3><ul> <li>InvitedList : <a class="el" href="users_8h.html#a6">users.h</a><li>InviteList : <a class="el" href="channels_8h.html#a7">channels.h</a><li>ircd_module -: <a class="el" href="modules_8h.html#a12">modules.h</a></ul> +: <a class="el" href="modules_8h.html#a12">modules.h</a><li>is_uline() +: <a class="el" href="commands_8h.html#a70">commands.h</a><li>isident() +: <a class="el" href="message_8h.html#a12">message.h</a><li>isnick() +: <a class="el" href="message_8h.html#a13">message.h</a></ul> <h3><a name="index_l">- l -</a> </h3><ul> <li>LINK_ACTIVE @@ -55,7 +165,13 @@ Here is a list of all file members with links to the files they belong to:<h3><a : <a class="el" href="servers_8h.html#a1">servers.h</a></ul> <h3><a name="index_m">- m -</a> </h3><ul> -<li>MODCOUNT +<li>matches_gline() +: <a class="el" href="xline_8h.html#a10">xline.h</a><li>matches_kline() +: <a class="el" href="xline_8h.html#a12">xline.h</a><li>matches_qline() +: <a class="el" href="xline_8h.html#a9">xline.h</a><li>matches_zline() +: <a class="el" href="xline_8h.html#a11">xline.h</a><li>merge_mode() +: <a class="el" href="mode_8h.html#a13">mode.h</a><li>merge_mode2() +: <a class="el" href="mode_8h.html#a14">mode.h</a><li>MODCOUNT : <a class="el" href="modules_8cpp.html#a3">modules.cpp</a><li>ModeDefined() : <a class="el" href="modules_8cpp.html#a4">modules.cpp</a><li>ModeDefinedOff() : <a class="el" href="modules_8cpp.html#a7">modules.cpp</a><li>ModeDefinedOn() @@ -67,23 +183,54 @@ Here is a list of all file members with links to the files they belong to:<h3><a : <a class="el" href="modules_8h.html#a7">modules.h</a></ul> <h3><a name="index_n">- n -</a> </h3><ul> -<li>NONE +<li>NonBlocking() +: <a class="el" href="message_8h.html#a6">message.h</a><li>NONE : <a class="el" href="modules_8h.html#a4">modules.h</a></ul> +<h3><a name="index_p">- p -</a> +</h3><ul> +<li>process_modes() +: <a class="el" href="mode_8h.html#a8">mode.h</a><li>process_module_umode() +: <a class="el" href="mode_8h.html#a10">mode.h</a><li>process_restricted_commands() +: <a class="el" href="commands_8h.html#a47">commands.h</a></ul> +<h3><a name="index_q">- q -</a> +</h3><ul> +<li>qline_set_creation_time() +: <a class="el" href="xline_8h.html#a20">xline.h</a></ul> +<h3><a name="index_r">- r -</a> +</h3><ul> +<li>read_xline_defaults() +: <a class="el" href="xline_8h.html#a0">xline.h</a></ul> <h3><a name="index_s">- s -</a> </h3><ul> -<li>server_mode() -: <a class="el" href="modules_8h.html#a14">modules.h</a><li>SPARSE +<li>safedelete() +: <a class="el" href="message_8h.html#a4">message.h</a><li>send_network_quit() +: <a class="el" href="message_8h.html#a19">message.h</a><li>server_mode() +: <a class="el" href="modules_8h.html#a14">modules.h</a>, <a class="el" href="mode_8h.html#a12">mode.h</a><li>SPARSE : <a class="el" href="modules_8h.html#a3">modules.h</a><li>STATE_CONNECTED : <a class="el" href="connection_8h.html#a1">connection.h</a><li>STATE_DISCONNECTED : <a class="el" href="connection_8h.html#a0">connection.h</a><li>STATE_NOAUTH_INBOUND : <a class="el" href="connection_8h.html#a3">connection.h</a><li>STATE_NOAUTH_OUTBOUND -: <a class="el" href="connection_8h.html#a4">connection.h</a><li>STATE_SYNC -: <a class="el" href="connection_8h.html#a2">connection.h</a><li>STATUS_HOP +: <a class="el" href="connection_8h.html#a4">connection.h</a><li>STATE_SERVICES +: <a class="el" href="connection_8h.html#a5">connection.h</a><li>STATE_SYNC +: <a class="el" href="connection_8h.html#a2">connection.h</a><li>stats_g() +: <a class="el" href="xline_8h.html#a16">xline.h</a><li>stats_k() +: <a class="el" href="xline_8h.html#a15">xline.h</a><li>stats_q() +: <a class="el" href="xline_8h.html#a17">xline.h</a><li>stats_z() +: <a class="el" href="xline_8h.html#a18">xline.h</a><li>STATUS_HOP : <a class="el" href="users_8h.html#a1">users.h</a><li>STATUS_NORMAL : <a class="el" href="users_8h.html#a3">users.h</a><li>STATUS_OP : <a class="el" href="users_8h.html#a0">users.h</a><li>STATUS_VOICE : <a class="el" href="users_8h.html#a2">users.h</a><li>string_list : <a class="el" href="modules_8h.html#a11">modules.h</a></ul> +<h3><a name="index_t">- t -</a> +</h3><ul> +<li>take_ban() +: <a class="el" href="mode_8h.html#a7">mode.h</a><li>take_hops() +: <a class="el" href="mode_8h.html#a4">mode.h</a><li>take_ops() +: <a class="el" href="mode_8h.html#a3">mode.h</a><li>take_voice() +: <a class="el" href="mode_8h.html#a5">mode.h</a><li>TidyBan() +: <a class="el" href="message_8h.html#a17">message.h</a><li>tidystring() +: <a class="el" href="message_8h.html#a2">message.h</a></ul> <h3><a name="index_u">- u -</a> </h3><ul> <li>UCMODE_FOUNDER @@ -96,7 +243,11 @@ Here is a list of all file members with links to the files they belong to:<h3><a </h3><ul> <li>VERBOSE : <a class="el" href="modules_8h.html#a1">modules.h</a></ul> -<hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:53 2004 for InspIRCd by +<h3><a name="index_z">- z -</a> +</h3><ul> +<li>zline_set_creation_time() +: <a class="el" href="xline_8h.html#a21">xline.h</a></ul> +<hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:33 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/graph_legend.html b/docs/module-doc/graph_legend.html index fe8b55a8f..afe0cce0a 100644 --- a/docs/module-doc/graph_legend.html +++ b/docs/module-doc/graph_legend.html @@ -69,7 +69,7 @@ A purple dashed arrow is used if a class is contained or used by another class. <li> A yellow dashed arrow denotes a relation between a template instance and the template class it was instantiated from. The arrow is labeled with the template parameters of the instance. </li> </ul> -<hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:53 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:33 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/hierarchy.html b/docs/module-doc/hierarchy.html index 12fbc382e..393127d43 100644 --- a/docs/module-doc/hierarchy.html +++ b/docs/module-doc/hierarchy.html @@ -38,9 +38,16 @@ This inheritance list is sorted roughly, but not completely, alphabetically:<ul> <li><a class="el" href="classServer.html">Server</a> <li><a class="el" href="classucrec.html">ucrec</a> <li><a class="el" href="classVersion.html">Version</a> +<li><a class="el" href="classXLine.html">XLine</a> +<ul> +<li><a class="el" href="classGLine.html">GLine</a> +<li><a class="el" href="classKLine.html">KLine</a> +<li><a class="el" href="classQLine.html">QLine</a> +<li><a class="el" href="classZLine.html">ZLine</a> +</ul> </ul> </ul> -<hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:38 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:14 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/inherit__graph__0.gif b/docs/module-doc/inherit__graph__0.gif Binary files differindex 053b98bf2..e657692a8 100644 --- a/docs/module-doc/inherit__graph__0.gif +++ b/docs/module-doc/inherit__graph__0.gif diff --git a/docs/module-doc/inherits.html b/docs/module-doc/inherits.html index 13125d5cb..c949b585a 100644 --- a/docs/module-doc/inherits.html +++ b/docs/module-doc/inherits.html @@ -11,33 +11,38 @@ <table border=0 cellspacing=10 cellpadding=0> <tr><td><img src="inherit__graph__0.gif" border="0" alt="" usemap="#classbase_map"> <map name="classbase_map"> -<area href="classclassbase.html" shape="rect" coords="19,391,85,412" alt=""> -<area href="classAdmin.html" shape="rect" coords="163,5,211,27" alt=""> -<area href="classchanrec.html" shape="rect" coords="157,51,216,72" alt=""> +<area href="classclassbase.html" shape="rect" coords="19,413,85,434" alt=""> +<area href="classAdmin.html" shape="rect" coords="163,5,211,26" alt=""> +<area href="classchanrec.html" shape="rect" coords="157,50,216,72" alt=""> <area href="classcommand__t.html" shape="rect" coords="148,96,225,117" alt=""> -<area href="classConfigReader.html" shape="rect" coords="141,141,232,163" alt=""> -<area href="classConnectClass.html" shape="rect" coords="143,187,231,208" alt=""> +<area href="classConfigReader.html" shape="rect" coords="141,141,232,162" alt=""> +<area href="classConnectClass.html" shape="rect" coords="143,186,231,208" alt=""> <area href="classconnection.html" shape="rect" coords="152,232,221,253" alt=""> -<area href="classExtMode.html" shape="rect" coords="157,277,216,299" alt=""> -<area href="classFileReader.html" shape="rect" coords="149,323,224,344" alt=""> +<area href="classExtMode.html" shape="rect" coords="157,277,216,298" alt=""> +<area href="classFileReader.html" shape="rect" coords="149,322,224,344" alt=""> <area href="classHostItem.html" shape="rect" coords="157,368,216,389" alt=""> -<area href="classInvited.html" shape="rect" coords="164,413,209,435" alt=""> -<area href="classircd__connector.html" shape="rect" coords="139,459,235,480" alt=""> +<area href="classInvited.html" shape="rect" coords="164,413,209,434" alt=""> +<area href="classircd__connector.html" shape="rect" coords="139,458,235,480" alt=""> <area href="classModeParameter.html" shape="rect" coords="135,504,239,525" alt=""> -<area href="classModule.html" shape="rect" coords="161,549,212,571" alt=""> -<area href="classModuleFactory.html" shape="rect" coords="140,595,233,616" alt=""> +<area href="classModule.html" shape="rect" coords="161,549,212,570" alt=""> +<area href="classModuleFactory.html" shape="rect" coords="140,594,233,616" alt=""> <area href="classpacket.html" shape="rect" coords="161,640,212,661" alt=""> -<area href="classServer.html" shape="rect" coords="161,685,212,707" alt=""> -<area href="classucrec.html" shape="rect" coords="164,731,209,752" alt=""> +<area href="classServer.html" shape="rect" coords="161,685,212,706" alt=""> +<area href="classucrec.html" shape="rect" coords="164,730,209,752" alt=""> <area href="classVersion.html" shape="rect" coords="160,776,213,797" alt=""> -<area href="classserverrec.html" shape="rect" coords="293,209,360,231" alt=""> -<area href="classuserrec.html" shape="rect" coords="299,255,355,276" alt=""> -<area href="classBanItem.html" shape="rect" coords="299,323,355,344" alt=""> +<area href="classXLine.html" shape="rect" coords="165,821,208,842" alt=""> +<area href="classserverrec.html" shape="rect" coords="293,209,360,230" alt=""> +<area href="classuserrec.html" shape="rect" coords="299,254,355,276" alt=""> +<area href="classBanItem.html" shape="rect" coords="299,322,355,344" alt=""> <area href="classExemptItem.html" shape="rect" coords="288,368,365,389" alt=""> -<area href="classInviteItem.html" shape="rect" coords="295,413,359,435" alt=""> +<area href="classInviteItem.html" shape="rect" coords="295,413,359,434" alt=""> +<area href="classGLine.html" shape="rect" coords="305,753,348,774" alt=""> +<area href="classKLine.html" shape="rect" coords="305,798,348,820" alt=""> +<area href="classQLine.html" shape="rect" coords="304,844,349,865" alt=""> +<area href="classZLine.html" shape="rect" coords="305,889,348,910" alt=""> </map></td></tr> </table> -<hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:53 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:33 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/main.html b/docs/module-doc/main.html index afb6845a4..b42af0280 100644 --- a/docs/module-doc/main.html +++ b/docs/module-doc/main.html @@ -8,7 +8,7 @@ <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> <hr><h1>InspIRCd Documentation</h1> <p> -<hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:32 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:05 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/message_8h-source.html b/docs/module-doc/message_8h-source.html new file mode 100644 index 000000000..3db4875af --- /dev/null +++ b/docs/module-doc/message_8h-source.html @@ -0,0 +1,50 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>message.h Source File</title> +<link href="inspircd.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.3-rc3 --> +<center> +<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> +<hr><h1>message.h</h1><a href="message_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="preprocessor">#ifndef __MESSAGE_H</span> +00002 <span class="preprocessor"></span><span class="preprocessor">#define __MESSAGE_H</span> +00003 <span class="preprocessor"></span> +00004 <span class="comment">// include the common header files</span> +00005 +00006 <span class="preprocessor">#include <typeinfo></span> +00007 <span class="preprocessor">#include <iostream></span> +00008 <span class="preprocessor">#include <string></span> +00009 <span class="preprocessor">#include <deque></span> +00010 <span class="preprocessor">#include <sstream></span> +00011 <span class="preprocessor">#include <vector></span> +00012 <span class="preprocessor">#include "<a class="code" href="users_8h.html">users.h</a>"</span> +00013 <span class="preprocessor">#include "<a class="code" href="channels_8h.html">channels.h</a>"</span> +00014 +00015 <span class="keywordtype">int</span> <a class="code" href="message_8h.html#a0">common_channels</a>(<a class="code" href="classuserrec.html">userrec</a> *u, <a class="code" href="classuserrec.html">userrec</a> *u2); +00016 <span class="keywordtype">void</span> <a class="code" href="message_8h.html#a1">chop</a>(<span class="keywordtype">char</span>* str); +00017 <span class="keywordtype">void</span> <a class="code" href="message_8h.html#a2">tidystring</a>(<span class="keywordtype">char</span>* str); +00018 <span class="keywordtype">void</span> <a class="code" href="message_8h.html#a4">safedelete</a>(<a class="code" href="classchanrec.html">chanrec</a> *p); +00019 <span class="keywordtype">void</span> <a class="code" href="message_8h.html#a4">safedelete</a>(<a class="code" href="classuserrec.html">userrec</a> *p); +00020 <span class="keywordtype">void</span> <a class="code" href="message_8h.html#a5">Blocking</a>(<span class="keywordtype">int</span> s); +00021 <span class="keywordtype">void</span> <a class="code" href="message_8h.html#a6">NonBlocking</a>(<span class="keywordtype">int</span> s); +00022 <span class="keywordtype">int</span> <a class="code" href="message_8h.html#a7">CleanAndResolve</a> (<span class="keywordtype">char</span> *resolvedHost, <span class="keyword">const</span> <span class="keywordtype">char</span> *unresolvedHost); +00023 <span class="keywordtype">int</span> <a class="code" href="message_8h.html#a8">c_count</a>(<a class="code" href="classuserrec.html">userrec</a>* u); +00024 <span class="keywordtype">bool</span> <a class="code" href="message_8h.html#a9">hasumode</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <span class="keywordtype">char</span> mode); +00025 <span class="keywordtype">void</span> <a class="code" href="message_8h.html#a10">ChangeName</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <span class="keyword">const</span> <span class="keywordtype">char</span>* gecos); +00026 <span class="keywordtype">void</span> <a class="code" href="message_8h.html#a11">ChangeDisplayedHost</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <span class="keyword">const</span> <span class="keywordtype">char</span>* host); +00027 <span class="keywordtype">int</span> <a class="code" href="message_8h.html#a12">isident</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* n); +00028 <span class="keywordtype">int</span> <a class="code" href="message_8h.html#a13">isnick</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* n); +00029 <span class="keywordtype">char</span>* <a class="code" href="message_8h.html#a14">cmode</a>(<a class="code" href="classuserrec.html">userrec</a> *user, <a class="code" href="classchanrec.html">chanrec</a> *chan); +00030 <span class="keywordtype">int</span> <a class="code" href="message_8h.html#a15">cstatus</a>(<a class="code" href="classuserrec.html">userrec</a> *user, <a class="code" href="classchanrec.html">chanrec</a> *chan); +00031 <span class="keywordtype">int</span> <a class="code" href="message_8h.html#a16">has_channel</a>(<a class="code" href="classuserrec.html">userrec</a> *u, <a class="code" href="classchanrec.html">chanrec</a> *c); +00032 <span class="keywordtype">void</span> <a class="code" href="message_8h.html#a17">TidyBan</a>(<span class="keywordtype">char</span> *ban); +00033 <span class="keywordtype">char</span>* <a class="code" href="message_8h.html#a18">chlist</a>(<a class="code" href="classuserrec.html">userrec</a> *user); +00034 <span class="keywordtype">void</span> <a class="code" href="message_8h.html#a19">send_network_quit</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* nick, <span class="keyword">const</span> <span class="keywordtype">char</span>* reason); +00035 +00036 <span class="preprocessor">#endif</span> +</pre></div><hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:05 2004 for InspIRCd by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border=0 +width=110 height=53></a>1.3-rc3 </small></address> +</body> +</html> diff --git a/docs/module-doc/message_8h.html b/docs/module-doc/message_8h.html new file mode 100644 index 000000000..daec6bfc0 --- /dev/null +++ b/docs/module-doc/message_8h.html @@ -0,0 +1,736 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>message.h File Reference</title> +<link href="inspircd.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.3-rc3 --> +<center> +<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> +<hr><h1>message.h File Reference</h1><code>#include <typeinfo></code><br> +<code>#include <iostream></code><br> +<code>#include <string></code><br> +<code>#include <deque></code><br> +<code>#include <sstream></code><br> +<code>#include <vector></code><br> +<code>#include "<a class="el" href="users_8h-source.html">users.h</a>"</code><br> +<code>#include "<a class="el" href="channels_8h-source.html">channels.h</a>"</code><br> + +<p> +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> +<map name="message.h_map"> +<area href="users_8h.html" shape="rect" coords="351,155,401,176" alt=""> +<area href="channels_8h.html" shape="rect" coords="476,86,548,107" alt=""> +<area href="connection_8h.html" shape="rect" coords="321,86,401,107" alt=""> +</map> + +<p> +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> +<map name="message.hdep_map"> +<area href="modules_8cpp.html" shape="rect" coords="7,16,89,37" alt=""> +</map> + +<p> +<a href="message_8h-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0> +<tr><td></td></tr> +<tr><td colspan=2><br><h2>Functions</h2></td></tr> +<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> +<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> +<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> +<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> +<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> +<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> +<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> +<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> +<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> +<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> +<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> +<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> +<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> +<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> +<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> +<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> +<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> +<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> +<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> +<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> +</table> +<hr><h2>Function Documentation</h2> +<a name="a5" doxytag="message.h::Blocking"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void Blocking </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">int </td> + <td class="mdname1" valign="top" nowrap> <em>s</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a8" doxytag="message.h::c_count"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> int c_count </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>u</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a11" doxytag="message.h::ChangeDisplayedHost"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void ChangeDisplayedHost </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>const char * </td> + <td class="mdname" nowrap> <em>host</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Referenced by <a class="el" href="modules_8cpp-source.html#l00270">Server::ChangeHost()</a>. </td> + </tr> +</table> +<a name="a10" doxytag="message.h::ChangeName"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void ChangeName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>const char * </td> + <td class="mdname" nowrap> <em>gecos</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Referenced by <a class="el" href="modules_8cpp-source.html#l00275">Server::ChangeGECOS()</a>. </td> + </tr> +</table> +<a name="a18" doxytag="message.h::chlist"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> char* chlist </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>user</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a1" doxytag="message.h::chop"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void chop </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char * </td> + <td class="mdname1" valign="top" nowrap> <em>str</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a7" doxytag="message.h::CleanAndResolve"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> int CleanAndResolve </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char * </td> + <td class="mdname" nowrap> <em>resolvedHost</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>const char * </td> + <td class="mdname" nowrap> <em>unresolvedHost</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a14" doxytag="message.h::cmode"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> char* cmode </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classchanrec.html">chanrec</a> * </td> + <td class="mdname" nowrap> <em>chan</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Referenced by <a class="el" href="modules_8cpp-source.html#l00295">Server::ChanMode()</a>. </td> + </tr> +</table> +<a name="a0" doxytag="message.h::common_channels"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> int common_channels </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>u</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>u2</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Referenced by <a class="el" href="modules_8cpp-source.html#l00248">Server::CommonChannels()</a>. </td> + </tr> +</table> +<a name="a15" doxytag="message.h::cstatus"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> int cstatus </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classchanrec.html">chanrec</a> * </td> + <td class="mdname" nowrap> <em>chan</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a16" doxytag="message.h::has_channel"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> int has_channel </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>u</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classchanrec.html">chanrec</a> * </td> + <td class="mdname" nowrap> <em>c</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a9" doxytag="message.h::hasumode"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool hasumode </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char </td> + <td class="mdname" nowrap> <em>mode</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a12" doxytag="message.h::isident"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> int isident </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const char * </td> + <td class="mdname1" valign="top" nowrap> <em>n</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a13" doxytag="message.h::isnick"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> int isnick </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const char * </td> + <td class="mdname1" valign="top" nowrap> <em>n</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Referenced by <a class="el" href="modules_8cpp-source.html#l00280">Server::IsNick()</a>. </td> + </tr> +</table> +<a name="a6" doxytag="message.h::NonBlocking"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NonBlocking </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">int </td> + <td class="mdname1" valign="top" nowrap> <em>s</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a4" doxytag="message.h::safedelete"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void safedelete </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>p</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a3" doxytag="message.h::safedelete"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void safedelete </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classchanrec.html">chanrec</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>p</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a19" doxytag="message.h::send_network_quit"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void send_network_quit </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const char * </td> + <td class="mdname" nowrap> <em>nick</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>const char * </td> + <td class="mdname" nowrap> <em>reason</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Referenced by <a class="el" href="modules_8cpp-source.html#l00176">Server::QuitUser()</a>. </td> + </tr> +</table> +<a name="a17" doxytag="message.h::TidyBan"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void TidyBan </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char * </td> + <td class="mdname1" valign="top" nowrap> <em>ban</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a2" doxytag="message.h::tidystring"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void tidystring </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char * </td> + <td class="mdname1" valign="top" nowrap> <em>str</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:10 2004 for InspIRCd by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border=0 +width=110 height=53></a>1.3-rc3 </small></address> +</body> +</html> diff --git a/docs/module-doc/message_8h__dep__incl.gif b/docs/module-doc/message_8h__dep__incl.gif Binary files differnew file mode 100644 index 000000000..3420983e7 --- /dev/null +++ b/docs/module-doc/message_8h__dep__incl.gif diff --git a/docs/module-doc/message_8h__incl.gif b/docs/module-doc/message_8h__incl.gif Binary files differnew file mode 100644 index 000000000..81a292615 --- /dev/null +++ b/docs/module-doc/message_8h__incl.gif diff --git a/docs/module-doc/mode_8h-source.html b/docs/module-doc/mode_8h-source.html new file mode 100644 index 000000000..8882adb0b --- /dev/null +++ b/docs/module-doc/mode_8h-source.html @@ -0,0 +1,47 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>mode.h Source File</title> +<link href="inspircd.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.3-rc3 --> +<center> +<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> +<hr><h1>mode.h</h1><a href="mode_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="preprocessor">#ifndef __MODE_H</span> +00002 <span class="preprocessor"></span><span class="preprocessor">#define __MODE_H</span> +00003 <span class="preprocessor"></span> +00004 <span class="comment">// include the common header files</span> +00005 +00006 <span class="preprocessor">#include <typeinfo></span> +00007 <span class="preprocessor">#include <iostream></span> +00008 <span class="preprocessor">#include <string></span> +00009 <span class="preprocessor">#include <deque></span> +00010 <span class="preprocessor">#include <sstream></span> +00011 <span class="preprocessor">#include <vector></span> +00012 <span class="preprocessor">#include "<a class="code" href="users_8h.html">users.h</a>"</span> +00013 <span class="preprocessor">#include "<a class="code" href="channels_8h.html">channels.h</a>"</span> +00014 +00015 +00016 <span class="keywordtype">int</span> <a class="code" href="mode_8h.html#a0">give_ops</a>(<a class="code" href="classuserrec.html">userrec</a> *user,<span class="keywordtype">char</span> *dest,<a class="code" href="classchanrec.html">chanrec</a> *chan,<span class="keywordtype">int</span> status); +00017 <span class="keywordtype">int</span> <a class="code" href="mode_8h.html#a1">give_hops</a>(<a class="code" href="classuserrec.html">userrec</a> *user,<span class="keywordtype">char</span> *dest,<a class="code" href="classchanrec.html">chanrec</a> *chan,<span class="keywordtype">int</span> status); +00018 <span class="keywordtype">int</span> <a class="code" href="mode_8h.html#a2">give_voice</a>(<a class="code" href="classuserrec.html">userrec</a> *user,<span class="keywordtype">char</span> *dest,<a class="code" href="classchanrec.html">chanrec</a> *chan,<span class="keywordtype">int</span> status); +00019 <span class="keywordtype">int</span> <a class="code" href="mode_8h.html#a3">take_ops</a>(<a class="code" href="classuserrec.html">userrec</a> *user,<span class="keywordtype">char</span> *dest,<a class="code" href="classchanrec.html">chanrec</a> *chan,<span class="keywordtype">int</span> status); +00020 <span class="keywordtype">int</span> <a class="code" href="mode_8h.html#a4">take_hops</a>(<a class="code" href="classuserrec.html">userrec</a> *user,<span class="keywordtype">char</span> *dest,<a class="code" href="classchanrec.html">chanrec</a> *chan,<span class="keywordtype">int</span> status); +00021 <span class="keywordtype">int</span> <a class="code" href="mode_8h.html#a5">take_voice</a>(<a class="code" href="classuserrec.html">userrec</a> *user,<span class="keywordtype">char</span> *dest,<a class="code" href="classchanrec.html">chanrec</a> *chan,<span class="keywordtype">int</span> status); +00022 <span class="keywordtype">int</span> <a class="code" href="mode_8h.html#a6">add_ban</a>(<a class="code" href="classuserrec.html">userrec</a> *user,<span class="keywordtype">char</span> *dest,<a class="code" href="classchanrec.html">chanrec</a> *chan,<span class="keywordtype">int</span> status); +00023 <span class="keywordtype">int</span> <a class="code" href="mode_8h.html#a7">take_ban</a>(<a class="code" href="classuserrec.html">userrec</a> *user,<span class="keywordtype">char</span> *dest,<a class="code" href="classchanrec.html">chanrec</a> *chan,<span class="keywordtype">int</span> status); +00024 <span class="keywordtype">void</span> <a class="code" href="mode_8h.html#a8">process_modes</a>(<span class="keywordtype">char</span> **parameters,<a class="code" href="classuserrec.html">userrec</a>* user,<a class="code" href="classchanrec.html">chanrec</a> *chan,<span class="keywordtype">int</span> status, <span class="keywordtype">int</span> pcnt, <span class="keywordtype">bool</span> servermode, <span class="keywordtype">bool</span> silent, <span class="keywordtype">bool</span> local); +00025 <span class="keywordtype">bool</span> <a class="code" href="mode_8h.html#a9">allowed_umode</a>(<span class="keywordtype">char</span> umode, <span class="keywordtype">char</span>* sourcemodes,<span class="keywordtype">bool</span> adding); +00026 <span class="keywordtype">bool</span> <a class="code" href="mode_8h.html#a10">process_module_umode</a>(<span class="keywordtype">char</span> umode, <a class="code" href="classuserrec.html">userrec</a>* source, <span class="keywordtype">void</span>* dest, <span class="keywordtype">bool</span> adding); +00027 <span class="keywordtype">void</span> <a class="code" href="mode_8h.html#a11">handle_mode</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00028 <span class="keywordtype">void</span> <a class="code" href="modules_8h.html#a14">server_mode</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00029 <span class="keywordtype">void</span> <a class="code" href="mode_8h.html#a13">merge_mode</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt); +00030 <span class="keywordtype">void</span> <a class="code" href="mode_8h.html#a14">merge_mode2</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a>* user); +00031 +00032 +00033 <span class="preprocessor">#endif</span> +</pre></div><hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:05 2004 for InspIRCd by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border=0 +width=110 height=53></a>1.3-rc3 </small></address> +</body> +</html> diff --git a/docs/module-doc/mode_8h.html b/docs/module-doc/mode_8h.html new file mode 100644 index 000000000..14eb7b686 --- /dev/null +++ b/docs/module-doc/mode_8h.html @@ -0,0 +1,796 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>mode.h File Reference</title> +<link href="inspircd.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.3-rc3 --> +<center> +<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> +<hr><h1>mode.h File Reference</h1><code>#include <typeinfo></code><br> +<code>#include <iostream></code><br> +<code>#include <string></code><br> +<code>#include <deque></code><br> +<code>#include <sstream></code><br> +<code>#include <vector></code><br> +<code>#include "<a class="el" href="users_8h-source.html">users.h</a>"</code><br> +<code>#include "<a class="el" href="channels_8h-source.html">channels.h</a>"</code><br> + +<p> +Include dependency graph for mode.h:<p><center><img src="mode_8h__incl.gif" border="0" usemap="#mode.h_map" alt="Include dependency graph"></center> +<map name="mode.h_map"> +<area href="users_8h.html" shape="rect" coords="351,155,401,176" alt=""> +<area href="channels_8h.html" shape="rect" coords="476,86,548,107" alt=""> +<area href="connection_8h.html" shape="rect" coords="321,86,401,107" alt=""> +</map> + +<p> +This graph shows which files directly or indirectly include this file:<p><center><img src="mode_8h__dep__incl.gif" border="0" usemap="#mode.hdep_map" alt="Included by dependency graph"></center> +<map name="mode.hdep_map"> +<area href="modules_8cpp.html" shape="rect" coords="7,16,89,37" alt=""> +</map> + +<p> +<a href="mode_8h-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0> +<tr><td></td></tr> +<tr><td colspan=2><br><h2>Functions</h2></td></tr> +<tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="mode_8h.html#a0">give_ops</a> (<a class="el" href="classuserrec.html">userrec</a> *user, char *dest, <a class="el" href="classchanrec.html">chanrec</a> *chan, int status)</td></tr> +<tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="mode_8h.html#a1">give_hops</a> (<a class="el" href="classuserrec.html">userrec</a> *user, char *dest, <a class="el" href="classchanrec.html">chanrec</a> *chan, int status)</td></tr> +<tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="mode_8h.html#a2">give_voice</a> (<a class="el" href="classuserrec.html">userrec</a> *user, char *dest, <a class="el" href="classchanrec.html">chanrec</a> *chan, int status)</td></tr> +<tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="mode_8h.html#a3">take_ops</a> (<a class="el" href="classuserrec.html">userrec</a> *user, char *dest, <a class="el" href="classchanrec.html">chanrec</a> *chan, int status)</td></tr> +<tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="mode_8h.html#a4">take_hops</a> (<a class="el" href="classuserrec.html">userrec</a> *user, char *dest, <a class="el" href="classchanrec.html">chanrec</a> *chan, int status)</td></tr> +<tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="mode_8h.html#a5">take_voice</a> (<a class="el" href="classuserrec.html">userrec</a> *user, char *dest, <a class="el" href="classchanrec.html">chanrec</a> *chan, int status)</td></tr> +<tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="mode_8h.html#a6">add_ban</a> (<a class="el" href="classuserrec.html">userrec</a> *user, char *dest, <a class="el" href="classchanrec.html">chanrec</a> *chan, int status)</td></tr> +<tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="mode_8h.html#a7">take_ban</a> (<a class="el" href="classuserrec.html">userrec</a> *user, char *dest, <a class="el" href="classchanrec.html">chanrec</a> *chan, int status)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="mode_8h.html#a8">process_modes</a> (char **parameters, <a class="el" href="classuserrec.html">userrec</a> *user, <a class="el" href="classchanrec.html">chanrec</a> *chan, int status, int pcnt, bool servermode, bool silent, bool local)</td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="mode_8h.html#a9">allowed_umode</a> (char umode, char *sourcemodes, bool adding)</td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="mode_8h.html#a10">process_module_umode</a> (char umode, <a class="el" href="classuserrec.html">userrec</a> *source, void *dest, bool adding)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="mode_8h.html#a11">handle_mode</a> (char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="mode_8h.html#a12">server_mode</a> (char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="mode_8h.html#a13">merge_mode</a> (char **parameters, int pcnt)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="mode_8h.html#a14">merge_mode2</a> (char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> +</table> +<hr><h2>Function Documentation</h2> +<a name="a6" doxytag="mode.h::add_ban"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> int add_ban </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>dest</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classchanrec.html">chanrec</a> * </td> + <td class="mdname" nowrap> <em>chan</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>status</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a9" doxytag="mode.h::allowed_umode"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool allowed_umode </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char </td> + <td class="mdname" nowrap> <em>umode</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>sourcemodes</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>adding</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a1" doxytag="mode.h::give_hops"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> int give_hops </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>dest</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classchanrec.html">chanrec</a> * </td> + <td class="mdname" nowrap> <em>chan</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>status</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a0" doxytag="mode.h::give_ops"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> int give_ops </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>dest</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classchanrec.html">chanrec</a> * </td> + <td class="mdname" nowrap> <em>chan</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>status</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a2" doxytag="mode.h::give_voice"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> int give_voice </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>dest</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classchanrec.html">chanrec</a> * </td> + <td class="mdname" nowrap> <em>chan</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>status</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a11" doxytag="mode.h::handle_mode"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void handle_mode </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char ** </td> + <td class="mdname" nowrap> <em>parameters</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>pcnt</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a13" doxytag="mode.h::merge_mode"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void merge_mode </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char ** </td> + <td class="mdname" nowrap> <em>parameters</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>pcnt</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a14" doxytag="mode.h::merge_mode2"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void merge_mode2 </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char ** </td> + <td class="mdname" nowrap> <em>parameters</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>pcnt</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a8" doxytag="mode.h::process_modes"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void process_modes </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char ** </td> + <td class="mdname" nowrap> <em>parameters</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classchanrec.html">chanrec</a> * </td> + <td class="mdname" nowrap> <em>chan</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>status</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>pcnt</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>servermode</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>silent</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>local</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a10" doxytag="mode.h::process_module_umode"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool process_module_umode </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char </td> + <td class="mdname" nowrap> <em>umode</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>source</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>void * </td> + <td class="mdname" nowrap> <em>dest</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>adding</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a12" doxytag="mode.h::server_mode"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void server_mode </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char ** </td> + <td class="mdname" nowrap> <em>parameters</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>pcnt</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a7" doxytag="mode.h::take_ban"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> int take_ban </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>dest</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classchanrec.html">chanrec</a> * </td> + <td class="mdname" nowrap> <em>chan</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>status</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a4" doxytag="mode.h::take_hops"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> int take_hops </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>dest</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classchanrec.html">chanrec</a> * </td> + <td class="mdname" nowrap> <em>chan</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>status</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a3" doxytag="mode.h::take_ops"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> int take_ops </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>dest</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classchanrec.html">chanrec</a> * </td> + <td class="mdname" nowrap> <em>chan</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>status</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a5" doxytag="mode.h::take_voice"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> int take_voice </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>dest</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classchanrec.html">chanrec</a> * </td> + <td class="mdname" nowrap> <em>chan</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>status</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:10 2004 for InspIRCd by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border=0 +width=110 height=53></a>1.3-rc3 </small></address> +</body> +</html> diff --git a/docs/module-doc/mode_8h__dep__incl.gif b/docs/module-doc/mode_8h__dep__incl.gif Binary files differnew file mode 100644 index 000000000..44fe3bf92 --- /dev/null +++ b/docs/module-doc/mode_8h__dep__incl.gif diff --git a/docs/module-doc/mode_8h__incl.gif b/docs/module-doc/mode_8h__incl.gif Binary files differnew file mode 100644 index 000000000..f82ec382a --- /dev/null +++ b/docs/module-doc/mode_8h__incl.gif diff --git a/docs/module-doc/modules_8cpp-source.html b/docs/module-doc/modules_8cpp-source.html index 2330e194c..be1a97cfd 100644 --- a/docs/module-doc/modules_8cpp-source.html +++ b/docs/module-doc/modules_8cpp-source.html @@ -20,426 +20,437 @@ 00012 <span class="preprocessor">#include "<a class="code" href="ctables_8h.html">ctables.h</a>"</span> 00013 <span class="preprocessor">#include "inspircd_io.h"</span> 00014 <span class="preprocessor">#include "wildcard.h"</span> -00015 <span class="preprocessor">#include "mode.h"</span> -00016 <span class="preprocessor">#include "message.h"</span> -00017 -00018 <span class="comment">// class type for holding an extended mode character - internal to core</span> -00019 -<a name="l00020"></a><a class="code" href="classExtMode.html">00020</a> <span class="keyword">class </span><a class="code" href="classExtMode.html">ExtMode</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> -00021 { -00022 <span class="keyword">public</span>: -<a name="l00023"></a><a class="code" href="classExtMode.html#m0">00023</a> <span class="keywordtype">char</span> <a class="code" href="classExtMode.html#m0">modechar</a>; -<a name="l00024"></a><a class="code" href="classExtMode.html#m1">00024</a> <span class="keywordtype">int</span> <a class="code" href="classExtMode.html#m1">type</a>; -<a name="l00025"></a><a class="code" href="classExtMode.html#m2">00025</a> <span class="keywordtype">int</span> <a class="code" href="classExtMode.html#m2">params_when_on</a>; -<a name="l00026"></a><a class="code" href="classExtMode.html#m3">00026</a> <span class="keywordtype">int</span> <a class="code" href="classExtMode.html#m3">params_when_off</a>; -<a name="l00027"></a><a class="code" href="classExtMode.html#m4">00027</a> <span class="keywordtype">bool</span> <a class="code" href="classExtMode.html#m4">needsoper</a>; -<a name="l00028"></a><a class="code" href="classExtMode.html#a0">00028</a> <a class="code" href="classExtMode.html#a0">ExtMode</a>(<span class="keywordtype">char</span> mc, <span class="keywordtype">int</span> ty, <span class="keywordtype">bool</span> oper, <span class="keywordtype">int</span> p_on, <span class="keywordtype">int</span> p_off) : modechar(mc), type(ty), needsoper(oper), params_when_on(p_on), params_when_off(p_off) { }; -00029 }; -00030 -<a name="l00031"></a><a class="code" href="modules_8cpp.html#a0">00031</a> <span class="keyword">typedef</span> std::vector<ExtMode> <a class="code" href="modules_8cpp.html#a0">ExtModeList</a>; -<a name="l00032"></a><a class="code" href="modules_8cpp.html#a1">00032</a> <span class="keyword">typedef</span> ExtModeList::iterator <a class="code" href="modules_8cpp.html#a1">ExtModeListIter</a>; -00033 -<a name="l00034"></a><a class="code" href="modules_8cpp.html#a2">00034</a> <a class="code" href="modules_8cpp.html#a0">ExtModeList</a> <a class="code" href="modules_8cpp.html#a2">EMode</a>; -00035 -00036 <span class="comment">// returns true if an extended mode character is in use</span> -<a name="l00037"></a><a class="code" href="modules_8cpp.html#a4">00037</a> <span class="keywordtype">bool</span> <a class="code" href="modules_8cpp.html#a4">ModeDefined</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type) -00038 { -00039 log(DEBUG,<span class="stringliteral">"Size of extmodes vector is %d"</span>,<a class="code" href="modules_8cpp.html#a2">EMode</a>.size()); -00040 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a1">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a2">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a2">EMode</a>.end(); i++) -00041 { -00042 log(DEBUG,<span class="stringliteral">"i->modechar==%c, modechar=%c, i->type=%d, type=%d"</span>,i->modechar,modechar,i->type,type); -00043 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) -00044 { -00045 <span class="keywordflow">return</span> <span class="keyword">true</span>; -00046 } -00047 } -00048 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00049 } -00050 -<a name="l00051"></a><a class="code" href="modules_8cpp.html#a5">00051</a> <span class="keywordtype">bool</span> <a class="code" href="modules_8cpp.html#a5">ModeDefinedOper</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type) -00052 { -00053 log(DEBUG,<span class="stringliteral">"Size of extmodes vector is %d"</span>,<a class="code" href="modules_8cpp.html#a2">EMode</a>.size()); -00054 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a1">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a2">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a2">EMode</a>.end(); i++) -00055 { -00056 log(DEBUG,<span class="stringliteral">"i->modechar==%c, modechar=%c, i->type=%d, type=%d"</span>,i->modechar,modechar,i->type,type); -00057 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type) && (i->needsoper == <span class="keyword">true</span>)) -00058 { -00059 <span class="keywordflow">return</span> <span class="keyword">true</span>; -00060 } -00061 } -00062 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00063 } -00064 -00065 <span class="comment">// returns number of parameters for a custom mode when it is switched on</span> -<a name="l00066"></a><a class="code" href="modules_8cpp.html#a6">00066</a> <span class="keywordtype">int</span> <a class="code" href="modules_8cpp.html#a6">ModeDefinedOn</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type) -00067 { -00068 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a1">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a2">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a2">EMode</a>.end(); i++) -00069 { -00070 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) -00071 { -00072 <span class="keywordflow">return</span> i->params_when_on; -00073 } -00074 } -00075 <span class="keywordflow">return</span> 0; -00076 } -00077 -00078 <span class="comment">// returns number of parameters for a custom mode when it is switched on</span> -<a name="l00079"></a><a class="code" href="modules_8cpp.html#a7">00079</a> <span class="keywordtype">int</span> <a class="code" href="modules_8cpp.html#a7">ModeDefinedOff</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type) -00080 { -00081 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a1">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a2">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a2">EMode</a>.end(); i++) -00082 { -00083 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) -00084 { -00085 <span class="keywordflow">return</span> i->params_when_off; -00086 } -00087 } -00088 <span class="keywordflow">return</span> 0; -00089 } -00090 -00091 <span class="comment">// returns true if an extended mode character is in use</span> -<a name="l00092"></a><a class="code" href="modules_8cpp.html#a8">00092</a> <span class="keywordtype">bool</span> <a class="code" href="modules_8cpp.html#a8">DoAddExtendedMode</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type, <span class="keywordtype">bool</span> requires_oper, <span class="keywordtype">int</span> params_on, <span class="keywordtype">int</span> params_off) -00093 { -00094 <span class="keywordflow">if</span> (<a class="code" href="modules_8cpp.html#a4">ModeDefined</a>(modechar,type)) { -00095 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00096 } -00097 <a class="code" href="modules_8cpp.html#a2">EMode</a>.push_back(<a class="code" href="classExtMode.html">ExtMode</a>(modechar,type,requires_oper,params_on,params_off)); -00098 <span class="keywordflow">return</span> <span class="keyword">true</span>; -00099 } -00100 +00015 <span class="preprocessor">#include "<a class="code" href="mode_8h.html">mode.h</a>"</span> +00016 <span class="preprocessor">#include "<a class="code" href="message_8h.html">message.h</a>"</span> +00017 <span class="preprocessor">#include "<a class="code" href="commands_8h.html">commands.h</a>"</span> +00018 +00019 <span class="comment">// class type for holding an extended mode character - internal to core</span> +00020 +<a name="l00021"></a><a class="code" href="classExtMode.html">00021</a> <span class="keyword">class </span><a class="code" href="classExtMode.html">ExtMode</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> +00022 { +00023 <span class="keyword">public</span>: +<a name="l00024"></a><a class="code" href="classExtMode.html#m0">00024</a> <span class="keywordtype">char</span> <a class="code" href="classExtMode.html#m0">modechar</a>; +<a name="l00025"></a><a class="code" href="classExtMode.html#m1">00025</a> <span class="keywordtype">int</span> <a class="code" href="classExtMode.html#m1">type</a>; +<a name="l00026"></a><a class="code" href="classExtMode.html#m2">00026</a> <span class="keywordtype">int</span> <a class="code" href="classExtMode.html#m2">params_when_on</a>; +<a name="l00027"></a><a class="code" href="classExtMode.html#m3">00027</a> <span class="keywordtype">int</span> <a class="code" href="classExtMode.html#m3">params_when_off</a>; +<a name="l00028"></a><a class="code" href="classExtMode.html#m4">00028</a> <span class="keywordtype">bool</span> <a class="code" href="classExtMode.html#m4">needsoper</a>; +<a name="l00029"></a><a class="code" href="classExtMode.html#a0">00029</a> <a class="code" href="classExtMode.html#a0">ExtMode</a>(<span class="keywordtype">char</span> mc, <span class="keywordtype">int</span> ty, <span class="keywordtype">bool</span> oper, <span class="keywordtype">int</span> p_on, <span class="keywordtype">int</span> p_off) : modechar(mc), type(ty), needsoper(oper), params_when_on(p_on), params_when_off(p_off) { }; +00030 }; +00031 +<a name="l00032"></a><a class="code" href="modules_8cpp.html#a0">00032</a> <span class="keyword">typedef</span> std::vector<ExtMode> <a class="code" href="modules_8cpp.html#a0">ExtModeList</a>; +<a name="l00033"></a><a class="code" href="modules_8cpp.html#a1">00033</a> <span class="keyword">typedef</span> ExtModeList::iterator <a class="code" href="modules_8cpp.html#a1">ExtModeListIter</a>; +00034 +<a name="l00035"></a><a class="code" href="modules_8cpp.html#a2">00035</a> <a class="code" href="modules_8cpp.html#a0">ExtModeList</a> <a class="code" href="modules_8cpp.html#a2">EMode</a>; +00036 +00037 <span class="comment">// returns true if an extended mode character is in use</span> +<a name="l00038"></a><a class="code" href="modules_8cpp.html#a4">00038</a> <span class="keywordtype">bool</span> <a class="code" href="modules_8cpp.html#a4">ModeDefined</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type) +00039 { +00040 log(DEBUG,<span class="stringliteral">"Size of extmodes vector is %d"</span>,<a class="code" href="modules_8cpp.html#a2">EMode</a>.size()); +00041 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a1">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a2">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a2">EMode</a>.end(); i++) +00042 { +00043 log(DEBUG,<span class="stringliteral">"i->modechar==%c, modechar=%c, i->type=%d, type=%d"</span>,i->modechar,modechar,i->type,type); +00044 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) +00045 { +00046 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00047 } +00048 } +00049 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00050 } +00051 +<a name="l00052"></a><a class="code" href="modules_8cpp.html#a5">00052</a> <span class="keywordtype">bool</span> <a class="code" href="modules_8cpp.html#a5">ModeDefinedOper</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type) +00053 { +00054 log(DEBUG,<span class="stringliteral">"Size of extmodes vector is %d"</span>,<a class="code" href="modules_8cpp.html#a2">EMode</a>.size()); +00055 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a1">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a2">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a2">EMode</a>.end(); i++) +00056 { +00057 log(DEBUG,<span class="stringliteral">"i->modechar==%c, modechar=%c, i->type=%d, type=%d"</span>,i->modechar,modechar,i->type,type); +00058 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type) && (i->needsoper == <span class="keyword">true</span>)) +00059 { +00060 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00061 } +00062 } +00063 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00064 } +00065 +00066 <span class="comment">// returns number of parameters for a custom mode when it is switched on</span> +<a name="l00067"></a><a class="code" href="modules_8cpp.html#a6">00067</a> <span class="keywordtype">int</span> <a class="code" href="modules_8cpp.html#a6">ModeDefinedOn</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type) +00068 { +00069 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a1">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a2">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a2">EMode</a>.end(); i++) +00070 { +00071 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) +00072 { +00073 <span class="keywordflow">return</span> i->params_when_on; +00074 } +00075 } +00076 <span class="keywordflow">return</span> 0; +00077 } +00078 +00079 <span class="comment">// returns number of parameters for a custom mode when it is switched on</span> +<a name="l00080"></a><a class="code" href="modules_8cpp.html#a7">00080</a> <span class="keywordtype">int</span> <a class="code" href="modules_8cpp.html#a7">ModeDefinedOff</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type) +00081 { +00082 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a1">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a2">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a2">EMode</a>.end(); i++) +00083 { +00084 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) +00085 { +00086 <span class="keywordflow">return</span> i->params_when_off; +00087 } +00088 } +00089 <span class="keywordflow">return</span> 0; +00090 } +00091 +00092 <span class="comment">// returns true if an extended mode character is in use</span> +<a name="l00093"></a><a class="code" href="modules_8cpp.html#a8">00093</a> <span class="keywordtype">bool</span> <a class="code" href="modules_8cpp.html#a8">DoAddExtendedMode</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type, <span class="keywordtype">bool</span> requires_oper, <span class="keywordtype">int</span> params_on, <span class="keywordtype">int</span> params_off) +00094 { +00095 <span class="keywordflow">if</span> (<a class="code" href="modules_8cpp.html#a4">ModeDefined</a>(modechar,type)) { +00096 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00097 } +00098 <a class="code" href="modules_8cpp.html#a2">EMode</a>.push_back(<a class="code" href="classExtMode.html">ExtMode</a>(modechar,type,requires_oper,params_on,params_off)); +00099 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00100 } 00101 -00102 <span class="comment">// version is a simple class for holding a modules version number</span> -00103 -<a name="l00104"></a><a class="code" href="classVersion.html#a0">00104</a> <a class="code" href="classVersion.html#a0">Version::Version</a>(<span class="keywordtype">int</span> major, <span class="keywordtype">int</span> minor, <span class="keywordtype">int</span> revision, <span class="keywordtype">int</span> build) : Major(major), Minor(minor), Revision(revision), Build(build) { }; -00105 -00106 <span class="comment">// admin is a simple class for holding a server's administrative info</span> -00107 -<a name="l00108"></a><a class="code" href="classAdmin.html#a0">00108</a> <a class="code" href="classAdmin.html#a0">Admin::Admin</a>(std::string name, std::string email, std::string nick) : Name(name), Email(email), Nick(nick) { }; -00109 -<a name="l00110"></a><a class="code" href="classModule.html#a0">00110</a> <a class="code" href="classModule.html#a0">Module::Module</a>() { } -<a name="l00111"></a><a class="code" href="classModule.html#a1">00111</a> <a class="code" href="classModule.html#a1">Module::~Module</a>() { } -<a name="l00112"></a><a class="code" href="classModule.html#a3">00112</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a3">Module::OnUserConnect</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { } -<a name="l00113"></a><a class="code" href="classModule.html#a4">00113</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a4">Module::OnUserQuit</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { } -<a name="l00114"></a><a class="code" href="classModule.html#a5">00114</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a5">Module::OnUserJoin</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* channel) { } -<a name="l00115"></a><a class="code" href="classModule.html#a6">00115</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a6">Module::OnUserPart</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* channel) { } -<a name="l00116"></a><a class="code" href="classModule.html#a7">00116</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a7">Module::OnPacketTransmit</a>(<span class="keywordtype">char</span> *p) { } -<a name="l00117"></a><a class="code" href="classModule.html#a8">00117</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a8">Module::OnPacketReceive</a>(<span class="keywordtype">char</span> *p) { } -<a name="l00118"></a><a class="code" href="classModule.html#a9">00118</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a9">Module::OnRehash</a>() { } -<a name="l00119"></a><a class="code" href="classModule.html#a10">00119</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a10">Module::OnServerRaw</a>(std::string &raw, <span class="keywordtype">bool</span> inbound) { } -<a name="l00120"></a><a class="code" href="classModule.html#a12">00120</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a12">Module::OnUserPreJoin</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan, <span class="keyword">const</span> <span class="keywordtype">char</span>* cname) { <span class="keywordflow">return</span> 0; } -<a name="l00121"></a><a class="code" href="classModule.html#a11">00121</a> <span class="keywordtype">bool</span> <a class="code" href="classModule.html#a11">Module::OnExtendedMode</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <span class="keywordtype">void</span>* target, <span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type, <span class="keywordtype">bool</span> mode_on, string_list &params) { <span class="keywordflow">return</span> <span class="keyword">false</span>; } -<a name="l00122"></a><a class="code" href="classModule.html#a2">00122</a> <a class="code" href="classVersion.html">Version</a> <a class="code" href="classModule.html#a2">Module::GetVersion</a>() { <span class="keywordflow">return</span> <a class="code" href="classVersion.html">Version</a>(1,0,0,0); } -<a name="l00123"></a><a class="code" href="classModule.html#a13">00123</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a13">Module::OnOper</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { }; -<a name="l00124"></a><a class="code" href="classModule.html#a14">00124</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a14">Module::OnInfo</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { }; -<a name="l00125"></a><a class="code" href="classModule.html#a15">00125</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a15">Module::OnWhois</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classuserrec.html">userrec</a>* dest) { }; -<a name="l00126"></a><a class="code" href="classModule.html#a16">00126</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a16">Module::OnUserPreMessage</a>(<a class="code" href="classuserrec.html">userrec</a>* user,<span class="keywordtype">void</span>* dest,<span class="keywordtype">int</span> target_type, std::string text) { <span class="keywordflow">return</span> 0; }; -<a name="l00127"></a><a class="code" href="classModule.html#a17">00127</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a17">Module::OnUserPreNotice</a>(<a class="code" href="classuserrec.html">userrec</a>* user,<span class="keywordtype">void</span>* dest,<span class="keywordtype">int</span> target_type, std::string text) { <span class="keywordflow">return</span> 0; }; -00128 -00129 <span class="comment">// server is a wrapper class that provides methods to all of the C-style</span> -00130 <span class="comment">// exports in the core</span> -00131 <span class="comment">//</span> -00132 -<a name="l00133"></a><a class="code" href="classServer.html#a0">00133</a> <a class="code" href="classServer.html#a0">Server::Server</a>() -00134 { -00135 } -00136 -<a name="l00137"></a><a class="code" href="classServer.html#a1">00137</a> <a class="code" href="classServer.html#a1">Server::~Server</a>() -00138 { -00139 } -00140 -<a name="l00141"></a><a class="code" href="classServer.html#a2">00141</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a2">Server::SendOpers</a>(std::string s) -00142 { -00143 WriteOpers(<span class="stringliteral">"%s"</span>,s.c_str()); -00144 } -00145 -<a name="l00146"></a><a class="code" href="classServer.html#a28">00146</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a28">Server::MatchText</a>(std::string sliteral, std::string spattern) -00147 { -00148 <span class="keywordtype">char</span> literal[MAXBUF],pattern[MAXBUF]; -00149 strncpy(literal,sliteral.c_str(),MAXBUF); -00150 strncpy(pattern,spattern.c_str(),MAXBUF); -00151 <span class="keywordflow">return</span> match(literal,pattern); -00152 } -00153 -<a name="l00154"></a><a class="code" href="classServer.html#a23">00154</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a23">Server::SendToModeMask</a>(std::string modes, <span class="keywordtype">int</span> flags, std::string text) -00155 { -00156 WriteMode(modes.c_str(),flags,<span class="stringliteral">"%s"</span>,text.c_str()); -00157 } -00158 -<a name="l00159"></a><a class="code" href="classServer.html#a24">00159</a> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#a24">Server::JoinUserToChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string cname, std::string key) -00160 { -00161 <span class="keywordflow">return</span> add_channel(user,cname.c_str(),key.c_str(),<span class="keyword">true</span>); -00162 } -00163 -<a name="l00164"></a><a class="code" href="classServer.html#a25">00164</a> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#a25">Server::PartUserFromChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string cname, std::string reason) -00165 { -00166 <span class="keywordflow">return</span> del_channel(user,cname.c_str(),reason.c_str(),<span class="keyword">false</span>); -00167 } -00168 -<a name="l00169"></a><a class="code" href="classServer.html#a26">00169</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a26">Server::ChangeUserNick</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string nickname) -00170 { -00171 force_nickchange(user,nickname.c_str()); -00172 } -00173 -<a name="l00174"></a><a class="code" href="classServer.html#a27">00174</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a27">Server::QuitUser</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string reason) -00175 { -00176 send_network_quit(user-><a class="code" href="classuserrec.html#m0">nick</a>,reason.c_str()); -00177 kill_link(user,reason.c_str()); -00178 } -00179 -<a name="l00180"></a><a class="code" href="classServer.html#a29">00180</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a29">Server::CallCommandHandler</a>(std::string commandname, <span class="keywordtype">char</span>** parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a>* user) -00181 { -00182 call_handler(commandname.c_str(),parameters,pcnt,user); -00183 } -00184 -<a name="l00185"></a><a class="code" href="classServer.html#a3">00185</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a3">Server::Log</a>(<span class="keywordtype">int</span> level, std::string s) -00186 { -00187 log(level,<span class="stringliteral">"%s"</span>,s.c_str()); -00188 } -00189 -<a name="l00190"></a><a class="code" href="classServer.html#a21">00190</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a21">Server::AddCommand</a>(<span class="keywordtype">char</span>* cmd, handlerfunc f, <span class="keywordtype">char</span> flags, <span class="keywordtype">int</span> minparams) -00191 { -00192 <a class="code" href="modules_8h.html#a13">createcommand</a>(cmd,f,flags,minparams); -00193 } -00194 -<a name="l00195"></a><a class="code" href="classServer.html#a22">00195</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a22">Server::SendMode</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user) -00196 { -00197 <a class="code" href="modules_8h.html#a14">server_mode</a>(parameters,pcnt,user); -00198 } -00199 -<a name="l00200"></a><a class="code" href="classServer.html#a4">00200</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a4">Server::Send</a>(<span class="keywordtype">int</span> Socket, std::string s) -00201 { -00202 Write(Socket,<span class="stringliteral">"%s"</span>,s.c_str()); -00203 } -00204 -<a name="l00205"></a><a class="code" href="classServer.html#a5">00205</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a5">Server::SendServ</a>(<span class="keywordtype">int</span> Socket, std::string s) -00206 { -00207 WriteServ(Socket,<span class="stringliteral">"%s"</span>,s.c_str()); -00208 } -00209 -<a name="l00210"></a><a class="code" href="classServer.html#a6">00210</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a6">Server::SendFrom</a>(<span class="keywordtype">int</span> Socket, <a class="code" href="classuserrec.html">userrec</a>* User, std::string s) -00211 { -00212 WriteFrom(Socket,User,<span class="stringliteral">"%s"</span>,s.c_str()); -00213 } -00214 -<a name="l00215"></a><a class="code" href="classServer.html#a7">00215</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a7">Server::SendTo</a>(<a class="code" href="classuserrec.html">userrec</a>* Source, <a class="code" href="classuserrec.html">userrec</a>* Dest, std::string s) -00216 { -00217 <span class="keywordflow">if</span> (!Source) -00218 { -00219 <span class="comment">// if source is NULL, then the message originates from the local server</span> -00220 Write(Dest-><a class="code" href="classconnection.html#m0">fd</a>,<span class="stringliteral">":%s %s"</span>,this->GetServerName().c_str(),s.c_str()); -00221 } -00222 <span class="keywordflow">else</span> -00223 { -00224 <span class="comment">// otherwise it comes from the user specified</span> -00225 WriteTo(Source,Dest,<span class="stringliteral">"%s"</span>,s.c_str()); -00226 } -00227 } -00228 -<a name="l00229"></a><a class="code" href="classServer.html#a8">00229</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a8">Server::SendChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Channel, std::string s,<span class="keywordtype">bool</span> IncludeSender) -00230 { -00231 <span class="keywordflow">if</span> (IncludeSender) -00232 { -00233 WriteChannel(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str()); -00234 } -00235 <span class="keywordflow">else</span> -00236 { -00237 ChanExceptSender(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str()); -00238 } -00239 } -00240 -<a name="l00241"></a><a class="code" href="classServer.html#a9">00241</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a9">Server::CommonChannels</a>(<a class="code" href="classuserrec.html">userrec</a>* u1, <a class="code" href="classuserrec.html">userrec</a>* u2) -00242 { -00243 <span class="keywordflow">return</span> (common_channels(u1,u2) != 0); -00244 } -00245 -<a name="l00246"></a><a class="code" href="classServer.html#a10">00246</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a10">Server::SendCommon</a>(<a class="code" href="classuserrec.html">userrec</a>* User, std::string text,<span class="keywordtype">bool</span> IncludeSender) -00247 { -00248 <span class="keywordflow">if</span> (IncludeSender) -00249 { -00250 WriteCommon(User,<span class="stringliteral">"%s"</span>,text.c_str()); -00251 } -00252 <span class="keywordflow">else</span> -00253 { -00254 WriteCommonExcept(User,<span class="stringliteral">"%s"</span>,text.c_str()); -00255 } -00256 } -00257 -<a name="l00258"></a><a class="code" href="classServer.html#a11">00258</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a11">Server::SendWallops</a>(<a class="code" href="classuserrec.html">userrec</a>* User, std::string text) -00259 { -00260 WriteWallOps(User,<span class="keyword">false</span>,<span class="stringliteral">"%s"</span>,text.c_str()); -00261 } -00262 -<a name="l00263"></a><a class="code" href="classServer.html#a30">00263</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a30">Server::ChangeHost</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string host) -00264 { -00265 ChangeDisplayedHost(user,host.c_str()); -00266 } -00267 -<a name="l00268"></a><a class="code" href="classServer.html#a31">00268</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a31">Server::ChangeGECOS</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string gecos) -00269 { -00270 ChangeName(user,gecos.c_str()); -00271 } -00272 -<a name="l00273"></a><a class="code" href="classServer.html#a12">00273</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a12">Server::IsNick</a>(std::string nick) -00274 { -00275 <span class="keywordflow">return</span> (isnick(nick.c_str()) != 0); -00276 } -00277 -<a name="l00278"></a><a class="code" href="classServer.html#a14">00278</a> <a class="code" href="classuserrec.html">userrec</a>* <a class="code" href="classServer.html#a14">Server::FindNick</a>(std::string nick) -00279 { -00280 <span class="keywordflow">return</span> Find(nick); -00281 } -00282 -<a name="l00283"></a><a class="code" href="classServer.html#a15">00283</a> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#a15">Server::FindChannel</a>(std::string channel) -00284 { -00285 <span class="keywordflow">return</span> FindChan(channel.c_str()); -00286 } -00287 -<a name="l00288"></a><a class="code" href="classServer.html#a16">00288</a> std::string <a class="code" href="classServer.html#a16">Server::ChanMode</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Chan) -00289 { -00290 <span class="keywordflow">return</span> cmode(User,Chan); -00291 } -00292 -<a name="l00293"></a><a class="code" href="classServer.html#a17">00293</a> std::string <a class="code" href="classServer.html#a17">Server::GetServerName</a>() -00294 { -00295 <span class="keywordflow">return</span> getservername(); -00296 } -00297 -<a name="l00298"></a><a class="code" href="classServer.html#a18">00298</a> std::string <a class="code" href="classServer.html#a18">Server::GetNetworkName</a>() -00299 { -00300 <span class="keywordflow">return</span> getnetworkname(); -00301 } -00302 -<a name="l00303"></a><a class="code" href="classServer.html#a19">00303</a> <a class="code" href="classAdmin.html">Admin</a> <a class="code" href="classServer.html#a19">Server::GetAdmin</a>() -00304 { -00305 <span class="keywordflow">return</span> <a class="code" href="classAdmin.html">Admin</a>(getadminname(),getadminemail(),getadminnick()); -00306 } -00307 -00308 +00102 +00103 <span class="comment">// version is a simple class for holding a modules version number</span> +00104 +<a name="l00105"></a><a class="code" href="classVersion.html#a0">00105</a> <a class="code" href="classVersion.html#a0">Version::Version</a>(<span class="keywordtype">int</span> major, <span class="keywordtype">int</span> minor, <span class="keywordtype">int</span> revision, <span class="keywordtype">int</span> build) : Major(major), Minor(minor), Revision(revision), Build(build) { }; +00106 +00107 <span class="comment">// admin is a simple class for holding a server's administrative info</span> +00108 +<a name="l00109"></a><a class="code" href="classAdmin.html#a0">00109</a> <a class="code" href="classAdmin.html#a0">Admin::Admin</a>(std::string name, std::string email, std::string nick) : Name(name), Email(email), Nick(nick) { }; +00110 +<a name="l00111"></a><a class="code" href="classModule.html#a0">00111</a> <a class="code" href="classModule.html#a0">Module::Module</a>() { } +<a name="l00112"></a><a class="code" href="classModule.html#a1">00112</a> <a class="code" href="classModule.html#a1">Module::~Module</a>() { } +<a name="l00113"></a><a class="code" href="classModule.html#a3">00113</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a3">Module::OnUserConnect</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { } +<a name="l00114"></a><a class="code" href="classModule.html#a4">00114</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a4">Module::OnUserQuit</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { } +<a name="l00115"></a><a class="code" href="classModule.html#a5">00115</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a5">Module::OnUserJoin</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* channel) { } +<a name="l00116"></a><a class="code" href="classModule.html#a6">00116</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a6">Module::OnUserPart</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* channel) { } +<a name="l00117"></a><a class="code" href="classModule.html#a7">00117</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a7">Module::OnPacketTransmit</a>(<span class="keywordtype">char</span> *p) { } +<a name="l00118"></a><a class="code" href="classModule.html#a8">00118</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a8">Module::OnPacketReceive</a>(<span class="keywordtype">char</span> *p) { } +<a name="l00119"></a><a class="code" href="classModule.html#a9">00119</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a9">Module::OnRehash</a>() { } +<a name="l00120"></a><a class="code" href="classModule.html#a10">00120</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a10">Module::OnServerRaw</a>(std::string &raw, <span class="keywordtype">bool</span> inbound) { } +<a name="l00121"></a><a class="code" href="classModule.html#a12">00121</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a12">Module::OnUserPreJoin</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan, <span class="keyword">const</span> <span class="keywordtype">char</span>* cname) { <span class="keywordflow">return</span> 0; } +<a name="l00122"></a><a class="code" href="classModule.html#a11">00122</a> <span class="keywordtype">bool</span> <a class="code" href="classModule.html#a11">Module::OnExtendedMode</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <span class="keywordtype">void</span>* target, <span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type, <span class="keywordtype">bool</span> mode_on, string_list &params) { <span class="keywordflow">return</span> <span class="keyword">false</span>; } +<a name="l00123"></a><a class="code" href="classModule.html#a2">00123</a> <a class="code" href="classVersion.html">Version</a> <a class="code" href="classModule.html#a2">Module::GetVersion</a>() { <span class="keywordflow">return</span> <a class="code" href="classVersion.html">Version</a>(1,0,0,0); } +<a name="l00124"></a><a class="code" href="classModule.html#a13">00124</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a13">Module::OnOper</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { }; +<a name="l00125"></a><a class="code" href="classModule.html#a14">00125</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a14">Module::OnInfo</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { }; +<a name="l00126"></a><a class="code" href="classModule.html#a15">00126</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a15">Module::OnWhois</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classuserrec.html">userrec</a>* dest) { }; +<a name="l00127"></a><a class="code" href="classModule.html#a16">00127</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a16">Module::OnUserPreMessage</a>(<a class="code" href="classuserrec.html">userrec</a>* user,<span class="keywordtype">void</span>* dest,<span class="keywordtype">int</span> target_type, std::string text) { <span class="keywordflow">return</span> 0; }; +<a name="l00128"></a><a class="code" href="classModule.html#a17">00128</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a17">Module::OnUserPreNotice</a>(<a class="code" href="classuserrec.html">userrec</a>* user,<span class="keywordtype">void</span>* dest,<span class="keywordtype">int</span> target_type, std::string text) { <span class="keywordflow">return</span> 0; }; +<a name="l00129"></a><a class="code" href="classModule.html#a18">00129</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a18">Module::OnUserPreNick</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string newnick) { <span class="keywordflow">return</span> 0; }; +00130 +00131 <span class="comment">// server is a wrapper class that provides methods to all of the C-style</span> +00132 <span class="comment">// exports in the core</span> +00133 <span class="comment">//</span> +00134 +<a name="l00135"></a><a class="code" href="classServer.html#a0">00135</a> <a class="code" href="classServer.html#a0">Server::Server</a>() +00136 { +00137 } +00138 +<a name="l00139"></a><a class="code" href="classServer.html#a1">00139</a> <a class="code" href="classServer.html#a1">Server::~Server</a>() +00140 { +00141 } +00142 +<a name="l00143"></a><a class="code" href="classServer.html#a2">00143</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a2">Server::SendOpers</a>(std::string s) +00144 { +00145 WriteOpers(<span class="stringliteral">"%s"</span>,s.c_str()); +00146 } +00147 +<a name="l00148"></a><a class="code" href="classServer.html#a28">00148</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a28">Server::MatchText</a>(std::string sliteral, std::string spattern) +00149 { +00150 <span class="keywordtype">char</span> literal[MAXBUF],pattern[MAXBUF]; +00151 strncpy(literal,sliteral.c_str(),MAXBUF); +00152 strncpy(pattern,spattern.c_str(),MAXBUF); +00153 <span class="keywordflow">return</span> match(literal,pattern); +00154 } +00155 +<a name="l00156"></a><a class="code" href="classServer.html#a23">00156</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a23">Server::SendToModeMask</a>(std::string modes, <span class="keywordtype">int</span> flags, std::string text) +00157 { +00158 WriteMode(modes.c_str(),flags,<span class="stringliteral">"%s"</span>,text.c_str()); +00159 } +00160 +<a name="l00161"></a><a class="code" href="classServer.html#a24">00161</a> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#a24">Server::JoinUserToChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string cname, std::string key) +00162 { +00163 <span class="keywordflow">return</span> add_channel(user,cname.c_str(),key.c_str(),<span class="keyword">true</span>); +00164 } +00165 +<a name="l00166"></a><a class="code" href="classServer.html#a25">00166</a> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#a25">Server::PartUserFromChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string cname, std::string reason) +00167 { +00168 <span class="keywordflow">return</span> del_channel(user,cname.c_str(),reason.c_str(),<span class="keyword">false</span>); +00169 } +00170 +<a name="l00171"></a><a class="code" href="classServer.html#a26">00171</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a26">Server::ChangeUserNick</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string nickname) +00172 { +00173 force_nickchange(user,nickname.c_str()); +00174 } +00175 +<a name="l00176"></a><a class="code" href="classServer.html#a27">00176</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a27">Server::QuitUser</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string reason) +00177 { +00178 <a class="code" href="message_8h.html#a19">send_network_quit</a>(user-><a class="code" href="classuserrec.html#m0">nick</a>,reason.c_str()); +00179 kill_link(user,reason.c_str()); +00180 } +00181 +<a name="l00182"></a><a class="code" href="classServer.html#a32">00182</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a32">Server::IsUlined</a>(std::string server) +00183 { +00184 <span class="keywordflow">return</span> <a class="code" href="commands_8h.html#a70">is_uline</a>(server.c_str()); +00185 } +00186 +<a name="l00187"></a><a class="code" href="classServer.html#a29">00187</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a29">Server::CallCommandHandler</a>(std::string commandname, <span class="keywordtype">char</span>** parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a>* user) +00188 { +00189 call_handler(commandname.c_str(),parameters,pcnt,user); +00190 } +00191 +<a name="l00192"></a><a class="code" href="classServer.html#a3">00192</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a3">Server::Log</a>(<span class="keywordtype">int</span> level, std::string s) +00193 { +00194 log(level,<span class="stringliteral">"%s"</span>,s.c_str()); +00195 } +00196 +<a name="l00197"></a><a class="code" href="classServer.html#a21">00197</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a21">Server::AddCommand</a>(<span class="keywordtype">char</span>* cmd, handlerfunc f, <span class="keywordtype">char</span> flags, <span class="keywordtype">int</span> minparams) +00198 { +00199 <a class="code" href="modules_8h.html#a13">createcommand</a>(cmd,f,flags,minparams); +00200 } +00201 +<a name="l00202"></a><a class="code" href="classServer.html#a22">00202</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a22">Server::SendMode</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user) +00203 { +00204 <a class="code" href="modules_8h.html#a14">server_mode</a>(parameters,pcnt,user); +00205 } +00206 +<a name="l00207"></a><a class="code" href="classServer.html#a4">00207</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a4">Server::Send</a>(<span class="keywordtype">int</span> Socket, std::string s) +00208 { +00209 Write(Socket,<span class="stringliteral">"%s"</span>,s.c_str()); +00210 } +00211 +<a name="l00212"></a><a class="code" href="classServer.html#a5">00212</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a5">Server::SendServ</a>(<span class="keywordtype">int</span> Socket, std::string s) +00213 { +00214 WriteServ(Socket,<span class="stringliteral">"%s"</span>,s.c_str()); +00215 } +00216 +<a name="l00217"></a><a class="code" href="classServer.html#a6">00217</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a6">Server::SendFrom</a>(<span class="keywordtype">int</span> Socket, <a class="code" href="classuserrec.html">userrec</a>* User, std::string s) +00218 { +00219 WriteFrom(Socket,User,<span class="stringliteral">"%s"</span>,s.c_str()); +00220 } +00221 +<a name="l00222"></a><a class="code" href="classServer.html#a7">00222</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a7">Server::SendTo</a>(<a class="code" href="classuserrec.html">userrec</a>* Source, <a class="code" href="classuserrec.html">userrec</a>* Dest, std::string s) +00223 { +00224 <span class="keywordflow">if</span> (!Source) +00225 { +00226 <span class="comment">// if source is NULL, then the message originates from the local server</span> +00227 Write(Dest-><a class="code" href="classconnection.html#m0">fd</a>,<span class="stringliteral">":%s %s"</span>,this->GetServerName().c_str(),s.c_str()); +00228 } +00229 <span class="keywordflow">else</span> +00230 { +00231 <span class="comment">// otherwise it comes from the user specified</span> +00232 WriteTo(Source,Dest,<span class="stringliteral">"%s"</span>,s.c_str()); +00233 } +00234 } +00235 +<a name="l00236"></a><a class="code" href="classServer.html#a8">00236</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a8">Server::SendChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Channel, std::string s,<span class="keywordtype">bool</span> IncludeSender) +00237 { +00238 <span class="keywordflow">if</span> (IncludeSender) +00239 { +00240 WriteChannel(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str()); +00241 } +00242 <span class="keywordflow">else</span> +00243 { +00244 ChanExceptSender(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str()); +00245 } +00246 } +00247 +<a name="l00248"></a><a class="code" href="classServer.html#a9">00248</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a9">Server::CommonChannels</a>(<a class="code" href="classuserrec.html">userrec</a>* u1, <a class="code" href="classuserrec.html">userrec</a>* u2) +00249 { +00250 <span class="keywordflow">return</span> (<a class="code" href="message_8h.html#a0">common_channels</a>(u1,u2) != 0); +00251 } +00252 +<a name="l00253"></a><a class="code" href="classServer.html#a10">00253</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a10">Server::SendCommon</a>(<a class="code" href="classuserrec.html">userrec</a>* User, std::string text,<span class="keywordtype">bool</span> IncludeSender) +00254 { +00255 <span class="keywordflow">if</span> (IncludeSender) +00256 { +00257 WriteCommon(User,<span class="stringliteral">"%s"</span>,text.c_str()); +00258 } +00259 <span class="keywordflow">else</span> +00260 { +00261 WriteCommonExcept(User,<span class="stringliteral">"%s"</span>,text.c_str()); +00262 } +00263 } +00264 +<a name="l00265"></a><a class="code" href="classServer.html#a11">00265</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a11">Server::SendWallops</a>(<a class="code" href="classuserrec.html">userrec</a>* User, std::string text) +00266 { +00267 WriteWallOps(User,<span class="keyword">false</span>,<span class="stringliteral">"%s"</span>,text.c_str()); +00268 } +00269 +<a name="l00270"></a><a class="code" href="classServer.html#a30">00270</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a30">Server::ChangeHost</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string host) +00271 { +00272 <a class="code" href="message_8h.html#a11">ChangeDisplayedHost</a>(user,host.c_str()); +00273 } +00274 +<a name="l00275"></a><a class="code" href="classServer.html#a31">00275</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a31">Server::ChangeGECOS</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string gecos) +00276 { +00277 <a class="code" href="message_8h.html#a10">ChangeName</a>(user,gecos.c_str()); +00278 } +00279 +<a name="l00280"></a><a class="code" href="classServer.html#a12">00280</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a12">Server::IsNick</a>(std::string nick) +00281 { +00282 <span class="keywordflow">return</span> (<a class="code" href="message_8h.html#a13">isnick</a>(nick.c_str()) != 0); +00283 } +00284 +<a name="l00285"></a><a class="code" href="classServer.html#a14">00285</a> <a class="code" href="classuserrec.html">userrec</a>* <a class="code" href="classServer.html#a14">Server::FindNick</a>(std::string nick) +00286 { +00287 <span class="keywordflow">return</span> Find(nick); +00288 } +00289 +<a name="l00290"></a><a class="code" href="classServer.html#a15">00290</a> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#a15">Server::FindChannel</a>(std::string channel) +00291 { +00292 <span class="keywordflow">return</span> FindChan(channel.c_str()); +00293 } +00294 +<a name="l00295"></a><a class="code" href="classServer.html#a16">00295</a> std::string <a class="code" href="classServer.html#a16">Server::ChanMode</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Chan) +00296 { +00297 <span class="keywordflow">return</span> <a class="code" href="message_8h.html#a14">cmode</a>(User,Chan); +00298 } +00299 +<a name="l00300"></a><a class="code" href="classServer.html#a17">00300</a> std::string <a class="code" href="classServer.html#a17">Server::GetServerName</a>() +00301 { +00302 <span class="keywordflow">return</span> getservername(); +00303 } +00304 +<a name="l00305"></a><a class="code" href="classServer.html#a18">00305</a> std::string <a class="code" href="classServer.html#a18">Server::GetNetworkName</a>() +00306 { +00307 <span class="keywordflow">return</span> getnetworkname(); +00308 } 00309 -<a name="l00310"></a><a class="code" href="classServer.html#a20">00310</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a20">Server::AddExtendedMode</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type, <span class="keywordtype">bool</span> requires_oper, <span class="keywordtype">int</span> params_when_on, <span class="keywordtype">int</span> params_when_off) +<a name="l00310"></a><a class="code" href="classServer.html#a19">00310</a> <a class="code" href="classAdmin.html">Admin</a> <a class="code" href="classServer.html#a19">Server::GetAdmin</a>() 00311 { -00312 <span class="keywordflow">if</span> (type == <a class="code" href="modules_8h.html#a7">MT_SERVER</a>) -00313 { -00314 log(DEBUG,<span class="stringliteral">"*** API ERROR *** Modes of type MT_SERVER are reserved for future expansion"</span>); -00315 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00316 } -00317 <span class="keywordflow">if</span> (((params_when_on>0) || (params_when_off>0)) && (type == <a class="code" href="modules_8h.html#a6">MT_CLIENT</a>)) -00318 { -00319 log(DEBUG,<span class="stringliteral">"*** API ERROR *** Parameters on MT_CLIENT modes are not supported"</span>); -00320 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00321 } -00322 <span class="keywordflow">if</span> ((params_when_on>1) || (params_when_off>1)) -00323 { -00324 log(DEBUG,<span class="stringliteral">"*** API ERROR *** More than one parameter for an MT_CHANNEL mode is not yet supported"</span>); -00325 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00326 } -00327 <span class="keywordflow">return</span> <a class="code" href="modules_8cpp.html#a8">DoAddExtendedMode</a>(modechar,type,requires_oper,params_when_on,params_when_off); -00328 } -00329 -<a name="l00330"></a><a class="code" href="classServer.html#a13">00330</a> <span class="keywordtype">int</span> <a class="code" href="classServer.html#a13">Server::CountUsers</a>(<a class="code" href="classchanrec.html">chanrec</a>* c) -00331 { -00332 <span class="keywordflow">return</span> usercount(c); -00333 } -00334 -00335 -<a name="l00336"></a><a class="code" href="classConfigReader.html#a0">00336</a> <a class="code" href="classConfigReader.html#a0">ConfigReader::ConfigReader</a>() -00337 { -00338 this-><a class="code" href="classConfigReader.html#n0">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); -00339 this-><a class="code" href="classConfigReader.html#n1">error</a> = LoadConf(CONFIG_FILE,this->cache); +00312 <span class="keywordflow">return</span> <a class="code" href="classAdmin.html">Admin</a>(getadminname(),getadminemail(),getadminnick()); +00313 } +00314 +00315 +00316 +<a name="l00317"></a><a class="code" href="classServer.html#a20">00317</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a20">Server::AddExtendedMode</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type, <span class="keywordtype">bool</span> requires_oper, <span class="keywordtype">int</span> params_when_on, <span class="keywordtype">int</span> params_when_off) +00318 { +00319 <span class="keywordflow">if</span> (type == <a class="code" href="modules_8h.html#a7">MT_SERVER</a>) +00320 { +00321 log(DEBUG,<span class="stringliteral">"*** API ERROR *** Modes of type MT_SERVER are reserved for future expansion"</span>); +00322 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00323 } +00324 <span class="keywordflow">if</span> (((params_when_on>0) || (params_when_off>0)) && (type == <a class="code" href="modules_8h.html#a6">MT_CLIENT</a>)) +00325 { +00326 log(DEBUG,<span class="stringliteral">"*** API ERROR *** Parameters on MT_CLIENT modes are not supported"</span>); +00327 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00328 } +00329 <span class="keywordflow">if</span> ((params_when_on>1) || (params_when_off>1)) +00330 { +00331 log(DEBUG,<span class="stringliteral">"*** API ERROR *** More than one parameter for an MT_CHANNEL mode is not yet supported"</span>); +00332 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00333 } +00334 <span class="keywordflow">return</span> <a class="code" href="modules_8cpp.html#a8">DoAddExtendedMode</a>(modechar,type,requires_oper,params_when_on,params_when_off); +00335 } +00336 +<a name="l00337"></a><a class="code" href="classServer.html#a13">00337</a> <span class="keywordtype">int</span> <a class="code" href="classServer.html#a13">Server::CountUsers</a>(<a class="code" href="classchanrec.html">chanrec</a>* c) +00338 { +00339 <span class="keywordflow">return</span> usercount(c); 00340 } 00341 00342 -<a name="l00343"></a><a class="code" href="classConfigReader.html#a2">00343</a> <a class="code" href="classConfigReader.html#a2">ConfigReader::~ConfigReader</a>() +<a name="l00343"></a><a class="code" href="classConfigReader.html#a0">00343</a> <a class="code" href="classConfigReader.html#a0">ConfigReader::ConfigReader</a>() 00344 { -00345 <span class="keywordflow">if</span> (this-><a class="code" href="classConfigReader.html#n0">cache</a>) -00346 <span class="keyword">delete</span> this-><a class="code" href="classConfigReader.html#n0">cache</a>; +00345 this-><a class="code" href="classConfigReader.html#n0">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); +00346 this-><a class="code" href="classConfigReader.html#n1">error</a> = LoadConf(CONFIG_FILE,this->cache); 00347 } 00348 00349 -<a name="l00350"></a><a class="code" href="classConfigReader.html#a1">00350</a> <a class="code" href="classConfigReader.html#a0">ConfigReader::ConfigReader</a>(std::string filename) +<a name="l00350"></a><a class="code" href="classConfigReader.html#a2">00350</a> <a class="code" href="classConfigReader.html#a2">ConfigReader::~ConfigReader</a>() 00351 { -00352 this-><a class="code" href="classConfigReader.html#n0">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); -00353 this-><a class="code" href="classConfigReader.html#n1">error</a> = LoadConf(filename.c_str(),this-><a class="code" href="classConfigReader.html#n0">cache</a>); -00354 }; +00352 <span class="keywordflow">if</span> (this-><a class="code" href="classConfigReader.html#n0">cache</a>) +00353 <span class="keyword">delete</span> this-><a class="code" href="classConfigReader.html#n0">cache</a>; +00354 } 00355 -<a name="l00356"></a><a class="code" href="classConfigReader.html#a3">00356</a> std::string <a class="code" href="classConfigReader.html#a3">ConfigReader::ReadValue</a>(std::string tag, std::string name, <span class="keywordtype">int</span> index) -00357 { -00358 <span class="keywordtype">char</span> val[MAXBUF]; -00359 ReadConf(cache,tag.c_str(),name.c_str(),index,val); -00360 <span class="keywordflow">return</span> val; -00361 } +00356 +<a name="l00357"></a><a class="code" href="classConfigReader.html#a1">00357</a> <a class="code" href="classConfigReader.html#a0">ConfigReader::ConfigReader</a>(std::string filename) +00358 { +00359 this-><a class="code" href="classConfigReader.html#n0">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); +00360 this-><a class="code" href="classConfigReader.html#n1">error</a> = LoadConf(filename.c_str(),this-><a class="code" href="classConfigReader.html#n0">cache</a>); +00361 }; 00362 -00363 -<a name="l00364"></a><a class="code" href="classConfigReader.html#a4">00364</a> <span class="keywordtype">int</span> <a class="code" href="classConfigReader.html#a4">ConfigReader::Enumerate</a>(std::string tag) -00365 { -00366 <span class="keywordflow">return</span> EnumConf(cache,tag.c_str()); -00367 } -00368 -<a name="l00369"></a><a class="code" href="classConfigReader.html#a6">00369</a> <span class="keywordtype">int</span> <a class="code" href="classConfigReader.html#a6">ConfigReader::EnumerateValues</a>(std::string tag, <span class="keywordtype">int</span> index) -00370 { -00371 <span class="keywordflow">return</span> EnumValues(cache, tag.c_str(), index); +<a name="l00363"></a><a class="code" href="classConfigReader.html#a3">00363</a> std::string <a class="code" href="classConfigReader.html#a3">ConfigReader::ReadValue</a>(std::string tag, std::string name, <span class="keywordtype">int</span> index) +00364 { +00365 <span class="keywordtype">char</span> val[MAXBUF]; +00366 <span class="keywordtype">char</span> t[MAXBUF]; +00367 <span class="keywordtype">char</span> n[MAXBUF]; +00368 strncpy(t,tag.c_str(),MAXBUF); +00369 strncpy(n,name.c_str(),MAXBUF); +00370 ReadConf(cache,t,n,index,val); +00371 <span class="keywordflow">return</span> std::string(val); 00372 } 00373 -<a name="l00374"></a><a class="code" href="classConfigReader.html#a5">00374</a> <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#a5">ConfigReader::Verify</a>() -00375 { -00376 <span class="keywordflow">return</span> this-><a class="code" href="classConfigReader.html#n1">error</a>; -00377 } -00378 +00374 +<a name="l00375"></a><a class="code" href="classConfigReader.html#a4">00375</a> <span class="keywordtype">int</span> <a class="code" href="classConfigReader.html#a4">ConfigReader::Enumerate</a>(std::string tag) +00376 { +00377 <span class="keywordflow">return</span> EnumConf(cache,tag.c_str()); +00378 } 00379 -<a name="l00380"></a><a class="code" href="classFileReader.html#a1">00380</a> <a class="code" href="classFileReader.html#a0">FileReader::FileReader</a>(std::string filename) +<a name="l00380"></a><a class="code" href="classConfigReader.html#a6">00380</a> <span class="keywordtype">int</span> <a class="code" href="classConfigReader.html#a6">ConfigReader::EnumerateValues</a>(std::string tag, <span class="keywordtype">int</span> index) 00381 { -00382 <a class="code" href="modules_8h.html#a10">file_cache</a> c; -00383 readfile(c,filename.c_str()); -00384 this-><a class="code" href="classFileReader.html#o0">fc</a> = c; -00385 } -00386 -<a name="l00387"></a><a class="code" href="classFileReader.html#a0">00387</a> <a class="code" href="classFileReader.html#a0">FileReader::FileReader</a>() -00388 { -00389 } +00382 <span class="keywordflow">return</span> EnumValues(cache, tag.c_str(), index); +00383 } +00384 +<a name="l00385"></a><a class="code" href="classConfigReader.html#a5">00385</a> <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#a5">ConfigReader::Verify</a>() +00386 { +00387 <span class="keywordflow">return</span> this-><a class="code" href="classConfigReader.html#n1">error</a>; +00388 } +00389 00390 -<a name="l00391"></a><a class="code" href="classFileReader.html#a3">00391</a> <span class="keywordtype">void</span> <a class="code" href="classFileReader.html#a3">FileReader::LoadFile</a>(std::string filename) +<a name="l00391"></a><a class="code" href="classFileReader.html#a1">00391</a> <a class="code" href="classFileReader.html#a0">FileReader::FileReader</a>(std::string filename) 00392 { 00393 <a class="code" href="modules_8h.html#a10">file_cache</a> c; 00394 readfile(c,filename.c_str()); 00395 this-><a class="code" href="classFileReader.html#o0">fc</a> = c; 00396 } 00397 -00398 -<a name="l00399"></a><a class="code" href="classFileReader.html#a2">00399</a> <a class="code" href="classFileReader.html#a2">FileReader::~FileReader</a>() -00400 { -00401 } -00402 -<a name="l00403"></a><a class="code" href="classFileReader.html#a4">00403</a> <span class="keywordtype">bool</span> <a class="code" href="classFileReader.html#a4">FileReader::Exists</a>() -00404 { -00405 <span class="keywordflow">if</span> (<a class="code" href="classFileReader.html#o0">fc</a>.size() == 0) -00406 { -00407 <span class="keywordflow">return</span>(false); -00408 } -00409 <span class="keywordflow">else</span> -00410 { -00411 <span class="keywordflow">return</span>(true); -00412 } -00413 } -00414 -<a name="l00415"></a><a class="code" href="classFileReader.html#a5">00415</a> std::string <a class="code" href="classFileReader.html#a5">FileReader::GetLine</a>(<span class="keywordtype">int</span> x) -00416 { -00417 <span class="keywordflow">if</span> ((x<0) || (x><a class="code" href="classFileReader.html#o0">fc</a>.size())) -00418 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; -00419 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#o0">fc</a>[x]; -00420 } -00421 -<a name="l00422"></a><a class="code" href="classFileReader.html#a6">00422</a> <span class="keywordtype">int</span> <a class="code" href="classFileReader.html#a6">FileReader::FileSize</a>() -00423 { -00424 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#o0">fc</a>.size(); -00425 } -00426 -00427 -00428 std::vector<Module*> <a class="code" href="modules_8cpp.html#a9">modules</a>(255); -00429 std::vector<ircd_module*> <a class="code" href="modules_8cpp.html#a10">factory</a>(255); -00430 -<a name="l00431"></a><a class="code" href="modules_8cpp.html#a3">00431</a> <span class="keywordtype">int</span> <a class="code" href="modules_8cpp.html#a3">MODCOUNT</a> = -1; +<a name="l00398"></a><a class="code" href="classFileReader.html#a0">00398</a> <a class="code" href="classFileReader.html#a0">FileReader::FileReader</a>() +00399 { +00400 } +00401 +<a name="l00402"></a><a class="code" href="classFileReader.html#a3">00402</a> <span class="keywordtype">void</span> <a class="code" href="classFileReader.html#a3">FileReader::LoadFile</a>(std::string filename) +00403 { +00404 <a class="code" href="modules_8h.html#a10">file_cache</a> c; +00405 readfile(c,filename.c_str()); +00406 this-><a class="code" href="classFileReader.html#o0">fc</a> = c; +00407 } +00408 +00409 +<a name="l00410"></a><a class="code" href="classFileReader.html#a2">00410</a> <a class="code" href="classFileReader.html#a2">FileReader::~FileReader</a>() +00411 { +00412 } +00413 +<a name="l00414"></a><a class="code" href="classFileReader.html#a4">00414</a> <span class="keywordtype">bool</span> <a class="code" href="classFileReader.html#a4">FileReader::Exists</a>() +00415 { +00416 <span class="keywordflow">if</span> (<a class="code" href="classFileReader.html#o0">fc</a>.size() == 0) +00417 { +00418 <span class="keywordflow">return</span>(false); +00419 } +00420 <span class="keywordflow">else</span> +00421 { +00422 <span class="keywordflow">return</span>(true); +00423 } +00424 } +00425 +<a name="l00426"></a><a class="code" href="classFileReader.html#a5">00426</a> std::string <a class="code" href="classFileReader.html#a5">FileReader::GetLine</a>(<span class="keywordtype">int</span> x) +00427 { +00428 <span class="keywordflow">if</span> ((x<0) || (x><a class="code" href="classFileReader.html#o0">fc</a>.size())) +00429 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; +00430 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#o0">fc</a>[x]; +00431 } 00432 -00433 -</pre></div><hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:32 2004 for InspIRCd by +<a name="l00433"></a><a class="code" href="classFileReader.html#a6">00433</a> <span class="keywordtype">int</span> <a class="code" href="classFileReader.html#a6">FileReader::FileSize</a>() +00434 { +00435 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#o0">fc</a>.size(); +00436 } +00437 +00438 +00439 std::vector<Module*> <a class="code" href="modules_8cpp.html#a9">modules</a>(255); +00440 std::vector<ircd_module*> <a class="code" href="modules_8cpp.html#a10">factory</a>(255); +00441 +<a name="l00442"></a><a class="code" href="modules_8cpp.html#a3">00442</a> <span class="keywordtype">int</span> <a class="code" href="modules_8cpp.html#a3">MODCOUNT</a> = -1; +00443 +00444 +</pre></div><hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:05 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/modules_8cpp.html b/docs/module-doc/modules_8cpp.html index 3ffe71286..a8dcefe88 100644 --- a/docs/module-doc/modules_8cpp.html +++ b/docs/module-doc/modules_8cpp.html @@ -13,14 +13,18 @@ <code>#include "<a class="el" href="ctables_8h-source.html">ctables.h</a>"</code><br> <code>#include "inspircd_io.h"</code><br> <code>#include "wildcard.h"</code><br> -<code>#include "mode.h"</code><br> -<code>#include "message.h"</code><br> +<code>#include "<a class="el" href="mode_8h-source.html">mode.h</a>"</code><br> +<code>#include "<a class="el" href="message_8h-source.html">message.h</a>"</code><br> +<code>#include "<a class="el" href="commands_8h-source.html">commands.h</a>"</code><br> <p> Include dependency graph for modules.cpp:<p><center><img src="modules_8cpp__incl.gif" border="0" usemap="#modules.cpp_map" alt="Include dependency graph"></center> <map name="modules.cpp_map"> -<area href="modules_8h.html" shape="rect" coords="135,192,201,213" alt=""> -<area href="ctables_8h.html" shape="rect" coords="17,168,79,189" alt=""> +<area href="mode_8h.html" shape="rect" coords="143,197,193,218" alt=""> +<area href="message_8h.html" shape="rect" coords="132,333,204,354" alt=""> +<area href="commands_8h.html" shape="rect" coords="127,378,209,400" alt=""> +<area href="modules_8h.html" shape="rect" coords="135,5,201,26" alt=""> +<area href="ctables_8h.html" shape="rect" coords="17,29,79,50" alt=""> </map> <p> @@ -65,7 +69,7 @@ Include dependency graph for modules.cpp:<p><center><img src="modules_8cpp__incl <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00031">31</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00032">32</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> <a name="a1" doxytag="modules.cpp::ExtModeListIter"></a><p> @@ -89,9 +93,9 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00031">31</a> o <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00032">32</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00033">33</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00037">ModeDefined()</a>, <a class="el" href="modules_8cpp-source.html#l00079">ModeDefinedOff()</a>, <a class="el" href="modules_8cpp-source.html#l00066">ModeDefinedOn()</a>, and <a class="el" href="modules_8cpp-source.html#l00051">ModeDefinedOper()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00038">ModeDefined()</a>, <a class="el" href="modules_8cpp-source.html#l00080">ModeDefinedOff()</a>, <a class="el" href="modules_8cpp-source.html#l00067">ModeDefinedOn()</a>, and <a class="el" href="modules_8cpp-source.html#l00052">ModeDefinedOper()</a>. </td> </tr> </table> <hr><h2>Function Documentation</h2> @@ -150,19 +154,19 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00037">ModeDefined() <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00092">92</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00093">93</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8cpp-source.html#l00034">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00037">ModeDefined()</a>. +References <a class="el" href="modules_8cpp-source.html#l00035">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00038">ModeDefined()</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00310">Server::AddExtendedMode()</a>. +Referenced by <a class="el" href="modules_8cpp-source.html#l00317">Server::AddExtendedMode()</a>. <p> -<div class="fragment"><pre>00093 { -00094 <span class="keywordflow">if</span> (<a class="code" href="modules_8cpp.html#a4">ModeDefined</a>(modechar,type)) { -00095 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00096 } -00097 <a class="code" href="modules_8cpp.html#a2">EMode</a>.push_back(<a class="code" href="classExtMode.html">ExtMode</a>(modechar,type,requires_oper,params_on,params_off)); -00098 <span class="keywordflow">return</span> <span class="keyword">true</span>; -00099 } +<div class="fragment"><pre>00094 { +00095 <span class="keywordflow">if</span> (<a class="code" href="modules_8cpp.html#a4">ModeDefined</a>(modechar,type)) { +00096 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00097 } +00098 <a class="code" href="modules_8cpp.html#a2">EMode</a>.push_back(<a class="code" href="classExtMode.html">ExtMode</a>(modechar,type,requires_oper,params_on,params_off)); +00099 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00100 } </pre></div> </td> </tr> </table> @@ -232,24 +236,24 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00310">Server::AddEx <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00037">37</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00038">38</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8cpp-source.html#l00034">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00032">ExtModeListIter</a>. +References <a class="el" href="modules_8cpp-source.html#l00035">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00033">ExtModeListIter</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00092">DoAddExtendedMode()</a>. +Referenced by <a class="el" href="modules_8cpp-source.html#l00093">DoAddExtendedMode()</a>. <p> -<div class="fragment"><pre>00038 { -00039 log(DEBUG,<span class="stringliteral">"Size of extmodes vector is %d"</span>,<a class="code" href="modules_8cpp.html#a2">EMode</a>.size()); -00040 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a1">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a2">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a2">EMode</a>.end(); i++) -00041 { -00042 log(DEBUG,<span class="stringliteral">"i->modechar==%c, modechar=%c, i->type=%d, type=%d"</span>,i->modechar,modechar,i->type,type); -00043 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) -00044 { -00045 <span class="keywordflow">return</span> <span class="keyword">true</span>; -00046 } -00047 } -00048 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00049 } +<div class="fragment"><pre>00039 { +00040 log(DEBUG,<span class="stringliteral">"Size of extmodes vector is %d"</span>,<a class="code" href="modules_8cpp.html#a2">EMode</a>.size()); +00041 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a1">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a2">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a2">EMode</a>.end(); i++) +00042 { +00043 log(DEBUG,<span class="stringliteral">"i->modechar==%c, modechar=%c, i->type=%d, type=%d"</span>,i->modechar,modechar,i->type,type); +00044 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) +00045 { +00046 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00047 } +00048 } +00049 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00050 } </pre></div> </td> </tr> </table> @@ -290,20 +294,20 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00092">DoAddExtended <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00079">79</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00080">80</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8cpp-source.html#l00034">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00032">ExtModeListIter</a>. +References <a class="el" href="modules_8cpp-source.html#l00035">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00033">ExtModeListIter</a>. <p> -<div class="fragment"><pre>00080 { -00081 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a1">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a2">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a2">EMode</a>.end(); i++) -00082 { -00083 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) -00084 { -00085 <span class="keywordflow">return</span> i->params_when_off; -00086 } -00087 } -00088 <span class="keywordflow">return</span> 0; -00089 } +<div class="fragment"><pre>00081 { +00082 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a1">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a2">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a2">EMode</a>.end(); i++) +00083 { +00084 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) +00085 { +00086 <span class="keywordflow">return</span> i->params_when_off; +00087 } +00088 } +00089 <span class="keywordflow">return</span> 0; +00090 } </pre></div> </td> </tr> </table> @@ -344,20 +348,20 @@ References <a class="el" href="modules_8cpp-source.html#l00034">EMode</a>, and < <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00066">66</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00067">67</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8cpp-source.html#l00034">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00032">ExtModeListIter</a>. +References <a class="el" href="modules_8cpp-source.html#l00035">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00033">ExtModeListIter</a>. <p> -<div class="fragment"><pre>00067 { -00068 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a1">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a2">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a2">EMode</a>.end(); i++) -00069 { -00070 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) -00071 { -00072 <span class="keywordflow">return</span> i->params_when_on; -00073 } -00074 } -00075 <span class="keywordflow">return</span> 0; -00076 } +<div class="fragment"><pre>00068 { +00069 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a1">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a2">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a2">EMode</a>.end(); i++) +00070 { +00071 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) +00072 { +00073 <span class="keywordflow">return</span> i->params_when_on; +00074 } +00075 } +00076 <span class="keywordflow">return</span> 0; +00077 } </pre></div> </td> </tr> </table> @@ -398,22 +402,22 @@ References <a class="el" href="modules_8cpp-source.html#l00034">EMode</a>, and < <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00051">51</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. -<p> -References <a class="el" href="modules_8cpp-source.html#l00034">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00032">ExtModeListIter</a>. -<p> -<div class="fragment"><pre>00052 { -00053 log(DEBUG,<span class="stringliteral">"Size of extmodes vector is %d"</span>,<a class="code" href="modules_8cpp.html#a2">EMode</a>.size()); -00054 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a1">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a2">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a2">EMode</a>.end(); i++) -00055 { -00056 log(DEBUG,<span class="stringliteral">"i->modechar==%c, modechar=%c, i->type=%d, type=%d"</span>,i->modechar,modechar,i->type,type); -00057 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type) && (i->needsoper == <span class="keyword">true</span>)) -00058 { -00059 <span class="keywordflow">return</span> <span class="keyword">true</span>; -00060 } -00061 } -00062 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00063 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00052">52</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="modules_8cpp-source.html#l00035">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00033">ExtModeListIter</a>. +<p> +<div class="fragment"><pre>00053 { +00054 log(DEBUG,<span class="stringliteral">"Size of extmodes vector is %d"</span>,<a class="code" href="modules_8cpp.html#a2">EMode</a>.size()); +00055 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a1">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a2">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a2">EMode</a>.end(); i++) +00056 { +00057 log(DEBUG,<span class="stringliteral">"i->modechar==%c, modechar=%c, i->type=%d, type=%d"</span>,i->modechar,modechar,i->type,type); +00058 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type) && (i->needsoper == <span class="keyword">true</span>)) +00059 { +00060 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00061 } +00062 } +00063 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00064 } </pre></div> </td> </tr> </table> @@ -468,9 +472,9 @@ References <a class="el" href="modules_8cpp-source.html#l00034">EMode</a>, and < <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00034">34</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00035">35</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00092">DoAddExtendedMode()</a>, <a class="el" href="modules_8cpp-source.html#l00037">ModeDefined()</a>, <a class="el" href="modules_8cpp-source.html#l00079">ModeDefinedOff()</a>, <a class="el" href="modules_8cpp-source.html#l00066">ModeDefinedOn()</a>, and <a class="el" href="modules_8cpp-source.html#l00051">ModeDefinedOper()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00093">DoAddExtendedMode()</a>, <a class="el" href="modules_8cpp-source.html#l00038">ModeDefined()</a>, <a class="el" href="modules_8cpp-source.html#l00080">ModeDefinedOff()</a>, <a class="el" href="modules_8cpp-source.html#l00067">ModeDefinedOn()</a>, and <a class="el" href="modules_8cpp-source.html#l00052">ModeDefinedOper()</a>. </td> </tr> </table> <a name="a3" doxytag="modules.cpp::MODCOUNT"></a><p> @@ -494,10 +498,10 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00092">DoAddExtended <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00431">431</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00442">442</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:36 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:11 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/modules_8cpp__incl.gif b/docs/module-doc/modules_8cpp__incl.gif Binary files differindex 73a11cde0..1566919c3 100644 --- a/docs/module-doc/modules_8cpp__incl.gif +++ b/docs/module-doc/modules_8cpp__incl.gif diff --git a/docs/module-doc/modules_8h-source.html b/docs/module-doc/modules_8h-source.html index fda8eca94..ce661ed2d 100644 --- a/docs/module-doc/modules_8h-source.html +++ b/docs/module-doc/modules_8h-source.html @@ -121,111 +121,115 @@ 00222 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a16">OnUserPreMessage</a>(<a class="code" href="classuserrec.html">userrec</a>* user,<span class="keywordtype">void</span>* dest,<span class="keywordtype">int</span> target_type, std::string text); 00223 00232 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a17">OnUserPreNotice</a>(<a class="code" href="classuserrec.html">userrec</a>* user,<span class="keywordtype">void</span>* dest,<span class="keywordtype">int</span> target_type, std::string text); -00233 }; -00234 -00235 -<a name="l00241"></a><a class="code" href="classServer.html">00241</a> <span class="keyword">class </span><a class="code" href="classServer.html">Server</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> -00242 { -00243 <span class="keyword">public</span>: -00247 <a class="code" href="classServer.html#a0">Server</a>(); -00251 <span class="keyword">virtual</span> <a class="code" href="classServer.html#a1">~Server</a>(); -00252 -00256 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a2">SendOpers</a>(std::string s); -00261 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a3">Log</a>(<span class="keywordtype">int</span> level, std::string s); -00266 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a4">Send</a>(<span class="keywordtype">int</span> Socket, std::string s); -00271 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a5">SendServ</a>(<span class="keywordtype">int</span> Socket, std::string s); -00276 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a6">SendFrom</a>(<span class="keywordtype">int</span> Socket, <a class="code" href="classuserrec.html">userrec</a>* User, std::string s); -00291 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a7">SendTo</a>(<a class="code" href="classuserrec.html">userrec</a>* Source, <a class="code" href="classuserrec.html">userrec</a>* Dest, std::string s); -00298 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a8">SendChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Channel, std::string s,<span class="keywordtype">bool</span> IncludeSender); -00303 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a9">CommonChannels</a>(<a class="code" href="classuserrec.html">userrec</a>* u1, <a class="code" href="classuserrec.html">userrec</a>* u2); -00311 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a10">SendCommon</a>(<a class="code" href="classuserrec.html">userrec</a>* User, std::string text,<span class="keywordtype">bool</span> IncludeSender); -00316 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a11">SendWallops</a>(<a class="code" href="classuserrec.html">userrec</a>* User, std::string text); -00317 -00321 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a12">IsNick</a>(std::string nick); -00325 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classServer.html#a13">CountUsers</a>(<a class="code" href="classchanrec.html">chanrec</a>* c); -00329 <span class="keyword">virtual</span> <a class="code" href="classuserrec.html">userrec</a>* <a class="code" href="classServer.html#a14">FindNick</a>(std::string nick); -00333 <span class="keyword">virtual</span> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#a15">FindChannel</a>(std::string channel); -00338 <span class="keyword">virtual</span> std::string <a class="code" href="classServer.html#a16">ChanMode</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Chan); -00341 <span class="keyword">virtual</span> std::string <a class="code" href="classServer.html#a17">GetServerName</a>(); -00344 <span class="keyword">virtual</span> std::string <a class="code" href="classServer.html#a18">GetNetworkName</a>(); -00350 <span class="keyword">virtual</span> <a class="code" href="classAdmin.html">Admin</a> <a class="code" href="classServer.html#a19">GetAdmin</a>(); -00369 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a20">AddExtendedMode</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type, <span class="keywordtype">bool</span> requires_oper, <span class="keywordtype">int</span> params_when_on, <span class="keywordtype">int</span> params_when_off); -00370 -00385 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a21">AddCommand</a>(<span class="keywordtype">char</span>* cmd, handlerfunc f, <span class="keywordtype">char</span> flags, <span class="keywordtype">int</span> minparams); -00386 -00408 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a22">SendMode</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); -00409 -00422 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a23">SendToModeMask</a>(std::string modes, <span class="keywordtype">int</span> flags, std::string text); -00423 -00429 <span class="keyword">virtual</span> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#a24">JoinUserToChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string cname, std::string key); -00430 -00436 <span class="keyword">virtual</span> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#a25">PartUserFromChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string cname, std::string reason); -00437 -00443 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a26">ChangeUserNick</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string nickname); -00444 -00455 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a27">QuitUser</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string reason); -00456 -00461 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a28">MatchText</a>(std::string sliteral, std::string spattern); -00462 -00474 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a29">CallCommandHandler</a>(std::string commandname, <span class="keywordtype">char</span>** parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a>* user); -00475 -00481 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a30">ChangeHost</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string host); -00482 -00488 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a31">ChangeGECOS</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string gecos); -00489 }; -00490 -<a name="l00497"></a><a class="code" href="classConfigReader.html">00497</a> <span class="keyword">class </span><a class="code" href="classConfigReader.html">ConfigReader</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> -00498 { -00499 <span class="keyword">protected</span>: -<a name="l00505"></a><a class="code" href="classConfigReader.html#n0">00505</a> std::stringstream *<a class="code" href="classConfigReader.html#n0">cache</a>; -<a name="l00508"></a><a class="code" href="classConfigReader.html#n1">00508</a> <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#n1">error</a>; -00509 -00510 <span class="keyword">public</span>: -00515 <a class="code" href="classConfigReader.html#a0">ConfigReader</a>(); <span class="comment">// default constructor reads ircd.conf</span> -00519 <span class="comment"></span> <a class="code" href="classConfigReader.html#a0">ConfigReader</a>(std::string filename); <span class="comment">// read a module-specific config</span> -00523 <span class="comment"></span> <a class="code" href="classConfigReader.html#a2">~ConfigReader</a>(); -00528 std::string <a class="code" href="classConfigReader.html#a3">ReadValue</a>(std::string tag, std::string name, <span class="keywordtype">int</span> index); -00535 <span class="keywordtype">int</span> <a class="code" href="classConfigReader.html#a4">Enumerate</a>(std::string tag); -00540 <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#a5">Verify</a>(); -00541 -00547 <span class="keywordtype">int</span> <a class="code" href="classConfigReader.html#a6">EnumerateValues</a>(std::string tag, <span class="keywordtype">int</span> index); -00548 }; -00549 -00550 -00551 -<a name="l00557"></a><a class="code" href="classFileReader.html">00557</a> <span class="keyword">class </span><a class="code" href="classFileReader.html">FileReader</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> -00558 { -<a name="l00559"></a><a class="code" href="classFileReader.html#o0">00559</a> <a class="code" href="modules_8h.html#a10">file_cache</a> <a class="code" href="classFileReader.html#o0">fc</a>; -00560 <span class="keyword">public</span>: -00565 <a class="code" href="classFileReader.html#a0">FileReader</a>(); -00566 -00572 <a class="code" href="classFileReader.html#a0">FileReader</a>(std::string filename); -00573 -00577 <a class="code" href="classFileReader.html#a2">~FileReader</a>(); -00578 -00584 <span class="keywordtype">void</span> <a class="code" href="classFileReader.html#a3">LoadFile</a>(std::string filename); +00233 +00241 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a18">OnUserPreNick</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string newnick); +00242 }; +00243 +00244 +<a name="l00250"></a><a class="code" href="classServer.html">00250</a> <span class="keyword">class </span><a class="code" href="classServer.html">Server</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> +00251 { +00252 <span class="keyword">public</span>: +00256 <a class="code" href="classServer.html#a0">Server</a>(); +00260 <span class="keyword">virtual</span> <a class="code" href="classServer.html#a1">~Server</a>(); +00261 +00265 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a2">SendOpers</a>(std::string s); +00270 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a3">Log</a>(<span class="keywordtype">int</span> level, std::string s); +00275 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a4">Send</a>(<span class="keywordtype">int</span> Socket, std::string s); +00280 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a5">SendServ</a>(<span class="keywordtype">int</span> Socket, std::string s); +00285 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a6">SendFrom</a>(<span class="keywordtype">int</span> Socket, <a class="code" href="classuserrec.html">userrec</a>* User, std::string s); +00300 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a7">SendTo</a>(<a class="code" href="classuserrec.html">userrec</a>* Source, <a class="code" href="classuserrec.html">userrec</a>* Dest, std::string s); +00307 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a8">SendChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Channel, std::string s,<span class="keywordtype">bool</span> IncludeSender); +00312 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a9">CommonChannels</a>(<a class="code" href="classuserrec.html">userrec</a>* u1, <a class="code" href="classuserrec.html">userrec</a>* u2); +00320 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a10">SendCommon</a>(<a class="code" href="classuserrec.html">userrec</a>* User, std::string text,<span class="keywordtype">bool</span> IncludeSender); +00325 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a11">SendWallops</a>(<a class="code" href="classuserrec.html">userrec</a>* User, std::string text); +00326 +00330 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a12">IsNick</a>(std::string nick); +00334 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classServer.html#a13">CountUsers</a>(<a class="code" href="classchanrec.html">chanrec</a>* c); +00338 <span class="keyword">virtual</span> <a class="code" href="classuserrec.html">userrec</a>* <a class="code" href="classServer.html#a14">FindNick</a>(std::string nick); +00342 <span class="keyword">virtual</span> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#a15">FindChannel</a>(std::string channel); +00347 <span class="keyword">virtual</span> std::string <a class="code" href="classServer.html#a16">ChanMode</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Chan); +00350 <span class="keyword">virtual</span> std::string <a class="code" href="classServer.html#a17">GetServerName</a>(); +00353 <span class="keyword">virtual</span> std::string <a class="code" href="classServer.html#a18">GetNetworkName</a>(); +00359 <span class="keyword">virtual</span> <a class="code" href="classAdmin.html">Admin</a> <a class="code" href="classServer.html#a19">GetAdmin</a>(); +00378 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a20">AddExtendedMode</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type, <span class="keywordtype">bool</span> requires_oper, <span class="keywordtype">int</span> params_when_on, <span class="keywordtype">int</span> params_when_off); +00379 +00394 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a21">AddCommand</a>(<span class="keywordtype">char</span>* cmd, handlerfunc f, <span class="keywordtype">char</span> flags, <span class="keywordtype">int</span> minparams); +00395 +00417 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a22">SendMode</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00418 +00431 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a23">SendToModeMask</a>(std::string modes, <span class="keywordtype">int</span> flags, std::string text); +00432 +00438 <span class="keyword">virtual</span> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#a24">JoinUserToChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string cname, std::string key); +00439 +00445 <span class="keyword">virtual</span> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#a25">PartUserFromChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string cname, std::string reason); +00446 +00452 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a26">ChangeUserNick</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string nickname); +00453 +00464 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a27">QuitUser</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string reason); +00465 +00470 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a28">MatchText</a>(std::string sliteral, std::string spattern); +00471 +00483 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a29">CallCommandHandler</a>(std::string commandname, <span class="keywordtype">char</span>** parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a>* user); +00484 +00490 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a30">ChangeHost</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string host); +00491 +00497 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a31">ChangeGECOS</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string gecos); +00498 +00507 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a32">IsUlined</a>(std::string server); +00508 }; +00509 +<a name="l00516"></a><a class="code" href="classConfigReader.html">00516</a> <span class="keyword">class </span><a class="code" href="classConfigReader.html">ConfigReader</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> +00517 { +00518 <span class="keyword">protected</span>: +<a name="l00524"></a><a class="code" href="classConfigReader.html#n0">00524</a> std::stringstream *<a class="code" href="classConfigReader.html#n0">cache</a>; +<a name="l00527"></a><a class="code" href="classConfigReader.html#n1">00527</a> <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#n1">error</a>; +00528 +00529 <span class="keyword">public</span>: +00534 <a class="code" href="classConfigReader.html#a0">ConfigReader</a>(); <span class="comment">// default constructor reads ircd.conf</span> +00538 <span class="comment"></span> <a class="code" href="classConfigReader.html#a0">ConfigReader</a>(std::string filename); <span class="comment">// read a module-specific config</span> +00542 <span class="comment"></span> <a class="code" href="classConfigReader.html#a2">~ConfigReader</a>(); +00547 std::string <a class="code" href="classConfigReader.html#a3">ReadValue</a>(std::string tag, std::string name, <span class="keywordtype">int</span> index); +00554 <span class="keywordtype">int</span> <a class="code" href="classConfigReader.html#a4">Enumerate</a>(std::string tag); +00559 <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#a5">Verify</a>(); +00560 +00566 <span class="keywordtype">int</span> <a class="code" href="classConfigReader.html#a6">EnumerateValues</a>(std::string tag, <span class="keywordtype">int</span> index); +00567 }; +00568 +00569 +00570 +<a name="l00576"></a><a class="code" href="classFileReader.html">00576</a> <span class="keyword">class </span><a class="code" href="classFileReader.html">FileReader</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> +00577 { +<a name="l00578"></a><a class="code" href="classFileReader.html#o0">00578</a> <a class="code" href="modules_8h.html#a10">file_cache</a> <a class="code" href="classFileReader.html#o0">fc</a>; +00579 <span class="keyword">public</span>: +00584 <a class="code" href="classFileReader.html#a0">FileReader</a>(); 00585 -00589 <span class="keywordtype">bool</span> <a class="code" href="classFileReader.html#a4">Exists</a>(); -00590 -00595 std::string <a class="code" href="classFileReader.html#a5">GetLine</a>(<span class="keywordtype">int</span> x); -00596 -00602 <span class="keywordtype">int</span> <a class="code" href="classFileReader.html#a6">FileSize</a>(); -00603 }; +00591 <a class="code" href="classFileReader.html#a0">FileReader</a>(std::string filename); +00592 +00596 <a class="code" href="classFileReader.html#a2">~FileReader</a>(); +00597 +00603 <span class="keywordtype">void</span> <a class="code" href="classFileReader.html#a3">LoadFile</a>(std::string filename); 00604 -00605 -<a name="l00612"></a><a class="code" href="classModuleFactory.html">00612</a> <span class="keyword">class </span><a class="code" href="classModuleFactory.html">ModuleFactory</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> -00613 { -00614 <span class="keyword">public</span>: -<a name="l00615"></a><a class="code" href="classModuleFactory.html#a0">00615</a> <a class="code" href="classModuleFactory.html#a0">ModuleFactory</a>() { } -<a name="l00616"></a><a class="code" href="classModuleFactory.html#a1">00616</a> <span class="keyword">virtual</span> <a class="code" href="classModuleFactory.html#a1">~ModuleFactory</a>() { } -00621 <span class="keyword">virtual</span> <a class="code" href="classModule.html">Module</a> * <a class="code" href="classModuleFactory.html#a2">CreateModule</a>() = 0; +00608 <span class="keywordtype">bool</span> <a class="code" href="classFileReader.html#a4">Exists</a>(); +00609 +00614 std::string <a class="code" href="classFileReader.html#a5">GetLine</a>(<span class="keywordtype">int</span> x); +00615 +00621 <span class="keywordtype">int</span> <a class="code" href="classFileReader.html#a6">FileSize</a>(); 00622 }; 00623 00624 -<a name="l00625"></a><a class="code" href="modules_8h.html#a12">00625</a> <span class="keyword">typedef</span> DLLFactory<ModuleFactory> <a class="code" href="modules_8h.html#a12">ircd_module</a>; -00626 -00627 <span class="preprocessor">#endif</span> -</pre></div><hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:32 2004 for InspIRCd by +<a name="l00631"></a><a class="code" href="classModuleFactory.html">00631</a> <span class="keyword">class </span><a class="code" href="classModuleFactory.html">ModuleFactory</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> +00632 { +00633 <span class="keyword">public</span>: +<a name="l00634"></a><a class="code" href="classModuleFactory.html#a0">00634</a> <a class="code" href="classModuleFactory.html#a0">ModuleFactory</a>() { } +<a name="l00635"></a><a class="code" href="classModuleFactory.html#a1">00635</a> <span class="keyword">virtual</span> <a class="code" href="classModuleFactory.html#a1">~ModuleFactory</a>() { } +00640 <span class="keyword">virtual</span> <a class="code" href="classModule.html">Module</a> * <a class="code" href="classModuleFactory.html#a2">CreateModule</a>() = 0; +00641 }; +00642 +00643 +<a name="l00644"></a><a class="code" href="modules_8h.html#a12">00644</a> <span class="keyword">typedef</span> DLLFactory<ModuleFactory> <a class="code" href="modules_8h.html#a12">ircd_module</a>; +00645 +00646 <span class="preprocessor">#endif</span> +</pre></div><hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:05 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/modules_8h.html b/docs/module-doc/modules_8h.html index 1b5db7305..feb2caa7a 100644 --- a/docs/module-doc/modules_8h.html +++ b/docs/module-doc/modules_8h.html @@ -222,7 +222,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00017">17</a> of <p> Definition at line <a class="el" href="modules_8h-source.html#l00018">18</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00310">Server::AddExtendedMode()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00317">Server::AddExtendedMode()</a>. </td> </tr> </table> <a name="a7" doxytag="modules.h::MT_SERVER"></a><p> @@ -248,7 +248,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00310">Server::AddEx <p> Definition at line <a class="el" href="modules_8h-source.html#l00019">19</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00310">Server::AddExtendedMode()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00317">Server::AddExtendedMode()</a>. </td> </tr> </table> <a name="a4" doxytag="modules.h::NONE"></a><p> @@ -349,7 +349,7 @@ Low level definition of a <a class="el" href="classFileReader.html">FileReader</ <p> Definition at line <a class="el" href="modules_8h-source.html#l00030">30</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00380">FileReader::FileReader()</a>, and <a class="el" href="modules_8cpp-source.html#l00391">FileReader::LoadFile()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00391">FileReader::FileReader()</a>, and <a class="el" href="modules_8cpp-source.html#l00402">FileReader::LoadFile()</a>. </td> </tr> </table> <a name="a12" doxytag="modules.h::ircd_module"></a><p> @@ -373,7 +373,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00380">FileReader::F <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00625">625</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td> +Definition at line <a class="el" href="modules_8h-source.html#l00644">644</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td> </tr> </table> <a name="a11" doxytag="modules.h::string_list"></a><p> @@ -450,7 +450,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00031">31</a> of <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00190">Server::AddCommand()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00197">Server::AddCommand()</a>. </td> </tr> </table> <a name="a14" doxytag="modules.h::server_mode"></a><p> @@ -496,10 +496,10 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00190">Server::AddCo <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00195">Server::SendMode()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00202">Server::SendMode()</a>. </td> </tr> </table> -<hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:36 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:12 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/namespaces.html b/docs/module-doc/namespaces.html index 919c7f5b4..e6c193c2e 100644 --- a/docs/module-doc/namespaces.html +++ b/docs/module-doc/namespaces.html @@ -9,7 +9,7 @@ <hr><h1>InspIRCd Namespace List</h1>Here is a list of all namespaces with brief descriptions:<table> <tr><td class="indexkey"><a class="el" href="namespacestd.html">std</a></td><td class="indexvalue"></td></tr> </table> -<hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:53 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:33 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/namespacestd.html b/docs/module-doc/namespacestd.html index 23578b73f..d393e2e7d 100644 --- a/docs/module-doc/namespacestd.html +++ b/docs/module-doc/namespacestd.html @@ -11,7 +11,7 @@ <table border=0 cellpadding=0 cellspacing=0> <tr><td></td></tr> </table> -<hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:53 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:33 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/servers_8cpp-source.html b/docs/module-doc/servers_8cpp-source.html index 6df7886ce..1e34f1fbc 100644 --- a/docs/module-doc/servers_8cpp-source.html +++ b/docs/module-doc/servers_8cpp-source.html @@ -48,7 +48,7 @@ 00040 <a class="code" href="classserverrec.html#m9">sync_soon</a> = <span class="keyword">false</span>; 00041 } 00042 -</pre></div><hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:32 2004 for InspIRCd by +</pre></div><hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:05 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/servers_8cpp.html b/docs/module-doc/servers_8cpp.html index b67beb52f..807e8bed8 100644 --- a/docs/module-doc/servers_8cpp.html +++ b/docs/module-doc/servers_8cpp.html @@ -23,7 +23,7 @@ Include dependency graph for servers.cpp:<p><center><img src="servers_8cpp__incl <a href="servers_8cpp-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0> <tr><td></td></tr> </table> -<hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:37 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:12 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/servers_8h-source.html b/docs/module-doc/servers_8h-source.html index 345b6da74..95c7af407 100644 --- a/docs/module-doc/servers_8h-source.html +++ b/docs/module-doc/servers_8h-source.html @@ -49,7 +49,7 @@ 00067 00068 <span class="preprocessor">#endif</span> 00069 <span class="preprocessor"></span> -</pre></div><hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:32 2004 for InspIRCd by +</pre></div><hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:05 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/servers_8h.html b/docs/module-doc/servers_8h.html index 76f26863c..146763a41 100644 --- a/docs/module-doc/servers_8h.html +++ b/docs/module-doc/servers_8h.html @@ -82,7 +82,7 @@ Definition at line <a class="el" href="servers_8h-source.html#l00014">14</a> of Definition at line <a class="el" href="servers_8h-source.html#l00015">15</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>. </td> </tr> </table> -<hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:37 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:13 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/tree.html b/docs/module-doc/tree.html index 1c1c5efde..2028518a1 100644 --- a/docs/module-doc/tree.html +++ b/docs/module-doc/tree.html @@ -116,14 +116,18 @@ <p><img src="ftv2vertline.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="base_8h.html" target="basefrm">base.h</a></p> <p><img src="ftv2vertline.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="channels_8cpp.html" target="basefrm">channels.cpp</a></p> <p><img src="ftv2vertline.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="channels_8h.html" target="basefrm">channels.h</a></p> + <p><img src="ftv2vertline.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="commands_8h.html" target="basefrm">commands.h</a></p> <p><img src="ftv2vertline.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="connection_8h.html" target="basefrm">connection.h</a></p> <p><img src="ftv2vertline.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="ctables_8h.html" target="basefrm">ctables.h</a></p> + <p><img src="ftv2vertline.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="message_8h.html" target="basefrm">message.h</a></p> + <p><img src="ftv2vertline.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="mode_8h.html" target="basefrm">mode.h</a></p> <p><img src="ftv2vertline.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="modules_8cpp.html" target="basefrm">modules.cpp</a></p> <p><img src="ftv2vertline.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="modules_8h.html" target="basefrm">modules.h</a></p> <p><img src="ftv2vertline.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="servers_8cpp.html" target="basefrm">servers.cpp</a></p> <p><img src="ftv2vertline.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="servers_8h.html" target="basefrm">servers.h</a></p> <p><img src="ftv2vertline.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="users_8cpp.html" target="basefrm">users.cpp</a></p> - <p><img src="ftv2vertline.png"/><img src="ftv2lastnode.png"/><img src="ftv2doc.png"/><a class="el" href="users_8h.html" target="basefrm">users.h</a></p> + <p><img src="ftv2vertline.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="users_8h.html" target="basefrm">users.h</a></p> + <p><img src="ftv2vertline.png"/><img src="ftv2lastnode.png"/><img src="ftv2doc.png"/><a class="el" href="xline_8h.html" target="basefrm">xline.h</a></p> </div> <p><img src="ftv2pnode.png" onclick="toggleFolder('folder2', this)"/><img src="ftv2folderclosed.png" onclick="toggleFolder('folder2', this)"/><a class="el" href="annotated.html" target="basefrm">Compound List</a></p> <div id="folder2"> @@ -138,19 +142,24 @@ <p><img src="ftv2vertline.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="classExemptItem.html" target="basefrm">ExemptItem</a></p> <p><img src="ftv2vertline.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="classExtMode.html" target="basefrm">ExtMode</a></p> <p><img src="ftv2vertline.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="classFileReader.html" target="basefrm">FileReader</a></p> + <p><img src="ftv2vertline.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="classGLine.html" target="basefrm">GLine</a></p> <p><img src="ftv2vertline.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="classHostItem.html" target="basefrm">HostItem</a></p> <p><img src="ftv2vertline.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="classInvited.html" target="basefrm">Invited</a></p> <p><img src="ftv2vertline.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="classInviteItem.html" target="basefrm">InviteItem</a></p> <p><img src="ftv2vertline.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="classircd__connector.html" target="basefrm">ircd_connector</a></p> + <p><img src="ftv2vertline.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="classKLine.html" target="basefrm">KLine</a></p> <p><img src="ftv2vertline.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="classModeParameter.html" target="basefrm">ModeParameter</a></p> <p><img src="ftv2vertline.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="classModule.html" target="basefrm">Module</a></p> <p><img src="ftv2vertline.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="classModuleFactory.html" target="basefrm">ModuleFactory</a></p> <p><img src="ftv2vertline.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="classpacket.html" target="basefrm">packet</a></p> + <p><img src="ftv2vertline.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="classQLine.html" target="basefrm">QLine</a></p> <p><img src="ftv2vertline.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="classServer.html" target="basefrm">Server</a></p> <p><img src="ftv2vertline.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="classserverrec.html" target="basefrm">serverrec</a></p> <p><img src="ftv2vertline.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="classucrec.html" target="basefrm">ucrec</a></p> <p><img src="ftv2vertline.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="classuserrec.html" target="basefrm">userrec</a></p> - <p><img src="ftv2vertline.png"/><img src="ftv2lastnode.png"/><img src="ftv2doc.png"/><a class="el" href="classVersion.html" target="basefrm">Version</a></p> + <p><img src="ftv2vertline.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="classVersion.html" target="basefrm">Version</a></p> + <p><img src="ftv2vertline.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="classXLine.html" target="basefrm">XLine</a></p> + <p><img src="ftv2vertline.png"/><img src="ftv2lastnode.png"/><img src="ftv2doc.png"/><a class="el" href="classZLine.html" target="basefrm">ZLine</a></p> </div> <p><img src="ftv2pnode.png" onclick="toggleFolder('folder3', this)"/><img src="ftv2folderclosed.png" onclick="toggleFolder('folder3', this)"/><a class="el" href="hierarchy.html" target="basefrm">Class Hierarchy</a></p> <div id="folder3"> @@ -182,12 +191,19 @@ <p><img src="ftv2vertline.png"/><img src="ftv2blank.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="classpacket.html" target="basefrm">packet</a></p> <p><img src="ftv2vertline.png"/><img src="ftv2blank.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="classServer.html" target="basefrm">Server</a></p> <p><img src="ftv2vertline.png"/><img src="ftv2blank.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="classucrec.html" target="basefrm">ucrec</a></p> - <p><img src="ftv2vertline.png"/><img src="ftv2blank.png"/><img src="ftv2lastnode.png"/><img src="ftv2doc.png"/><a class="el" href="classVersion.html" target="basefrm">Version</a></p> + <p><img src="ftv2vertline.png"/><img src="ftv2blank.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="classVersion.html" target="basefrm">Version</a></p> + <p><img src="ftv2vertline.png"/><img src="ftv2blank.png"/><img src="ftv2plastnode.png" onclick="toggleFolder('folder7', this)"/><img src="ftv2folderclosed.png" onclick="toggleFolder('folder7', this)"/><a class="el" href="classXLine.html" target="basefrm">XLine</a></p> + <div id="folder7"> + <p><img src="ftv2vertline.png"/><img src="ftv2blank.png"/><img src="ftv2blank.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="classGLine.html" target="basefrm">GLine</a></p> + <p><img src="ftv2vertline.png"/><img src="ftv2blank.png"/><img src="ftv2blank.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="classKLine.html" target="basefrm">KLine</a></p> + <p><img src="ftv2vertline.png"/><img src="ftv2blank.png"/><img src="ftv2blank.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="classQLine.html" target="basefrm">QLine</a></p> + <p><img src="ftv2vertline.png"/><img src="ftv2blank.png"/><img src="ftv2blank.png"/><img src="ftv2lastnode.png"/><img src="ftv2doc.png"/><a class="el" href="classZLine.html" target="basefrm">ZLine</a></p> + </div> </div> </div> <p><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="functions.html" target="basefrm">Compound Members</a></p> - <p><img src="ftv2pnode.png" onclick="toggleFolder('folder7', this)"/><img src="ftv2folderclosed.png" onclick="toggleFolder('folder7', this)"/><a class="el" href="namespaces.html" target="basefrm">Namespace List</a></p> - <div id="folder7"> + <p><img src="ftv2pnode.png" onclick="toggleFolder('folder8', this)"/><img src="ftv2folderclosed.png" onclick="toggleFolder('folder8', this)"/><a class="el" href="namespaces.html" target="basefrm">Namespace List</a></p> + <div id="folder8"> <p><img src="ftv2vertline.png"/><img src="ftv2lastnode.png"/><img src="ftv2doc.png"/><a class="el" href="namespacestd.html" target="basefrm">std</a></p> </div> <p><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="globals.html" target="basefrm">File Members</a></p> diff --git a/docs/module-doc/users_8cpp-source.html b/docs/module-doc/users_8cpp-source.html index f50076aea..e52e39f6f 100644 --- a/docs/module-doc/users_8cpp-source.html +++ b/docs/module-doc/users_8cpp-source.html @@ -20,7 +20,7 @@ 00012 { 00013 <span class="comment">// the PROPER way to do it, AVOID bzero at *ALL* costs</span> 00014 strcpy(nick,<span class="stringliteral">""</span>); -00015 <a class="code" href="classconnection.html#m2">ip</a> = 0; +00015 strcpy(ip,<span class="stringliteral">"127.0.0.1"</span>); 00016 <a class="code" href="classuserrec.html#m10">timeout</a> = 0; 00017 strcpy(ident,<span class="stringliteral">""</span>); 00018 strcpy(host,<span class="stringliteral">""</span>); @@ -99,7 +99,7 @@ 00091 } 00092 } 00093 } -</pre></div><hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:32 2004 for InspIRCd by +</pre></div><hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:05 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/users_8cpp.html b/docs/module-doc/users_8cpp.html index 19904561b..2976d702d 100644 --- a/docs/module-doc/users_8cpp.html +++ b/docs/module-doc/users_8cpp.html @@ -25,7 +25,7 @@ Include dependency graph for users.cpp:<p><center><img src="users_8cpp__incl.gif <a href="users_8cpp-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0> <tr><td></td></tr> </table> -<hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:38 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:13 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/users_8h-source.html b/docs/module-doc/users_8h-source.html index acfab94ea..4902b44a5 100644 --- a/docs/module-doc/users_8h-source.html +++ b/docs/module-doc/users_8h-source.html @@ -106,7 +106,7 @@ 00172 00173 00174 <span class="preprocessor">#endif</span> -</pre></div><hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:32 2004 for InspIRCd by +</pre></div><hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:05 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/users_8h.html b/docs/module-doc/users_8h.html index 49d713211..2f23f4dc1 100644 --- a/docs/module-doc/users_8h.html +++ b/docs/module-doc/users_8h.html @@ -21,7 +21,12 @@ Include dependency graph for users.h:<p><center><img src="users_8h__incl.gif" bo <p> This graph shows which files directly or indirectly include this file:<p><center><img src="users_8h__dep__incl.gif" border="0" usemap="#users.hdep_map" alt="Included by dependency graph"></center> <map name="users.hdep_map"> -<area href="users_8cpp.html" shape="rect" coords="7,16,73,37" alt=""> +<area href="users_8cpp.html" shape="rect" coords="7,85,73,106" alt=""> +<area href="commands_8h.html" shape="rect" coords="97,85,180,106" alt=""> +<area href="modules_8cpp.html" shape="rect" coords="199,16,281,37" alt=""> +<area href="message_8h.html" shape="rect" coords="204,85,276,106" alt=""> +<area href="mode_8h.html" shape="rect" coords="300,85,351,106" alt=""> +<area href="xline_8h.html" shape="rect" coords="375,85,423,106" alt=""> </map> <p> @@ -245,7 +250,7 @@ Holds a complete list of all channels to which a user has been invited and has n 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>. </td> </tr> </table> -<hr><address style="align: right;"><small>Generated on Mon Apr 19 02:34:38 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:14 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/users_8h__dep__incl.gif b/docs/module-doc/users_8h__dep__incl.gif Binary files differindex d2e8563f3..2c5fe25b7 100644 --- a/docs/module-doc/users_8h__dep__incl.gif +++ b/docs/module-doc/users_8h__dep__incl.gif diff --git a/docs/module-doc/xline_8h-source.html b/docs/module-doc/xline_8h-source.html new file mode 100644 index 000000000..da10d2cbc --- /dev/null +++ b/docs/module-doc/xline_8h-source.html @@ -0,0 +1,100 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>xline.h Source File</title> +<link href="inspircd.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.3-rc3 --> +<center> +<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> +<hr><h1>xline.h</h1><a href="xline_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="preprocessor">#ifndef __XLINE_H</span> +00002 <span class="preprocessor"></span><span class="preprocessor">#define __XLINE_H</span> +00003 <span class="preprocessor"></span> +00004 <span class="comment">// include the common header files</span> +00005 +00006 <span class="preprocessor">#include <typeinfo></span> +00007 <span class="preprocessor">#include <iostream></span> +00008 <span class="preprocessor">#include <string></span> +00009 <span class="preprocessor">#include <deque></span> +00010 <span class="preprocessor">#include <sstream></span> +00011 <span class="preprocessor">#include <vector></span> +00012 <span class="preprocessor">#include "<a class="code" href="users_8h.html">users.h</a>"</span> +00013 <span class="preprocessor">#include "<a class="code" href="channels_8h.html">channels.h</a>"</span> +00014 +00015 +<a name="l00018"></a><a class="code" href="classXLine.html">00018</a> <span class="keyword">class </span><a class="code" href="classXLine.html">XLine</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> +00019 { +00020 <span class="keyword">public</span>: +00021 +<a name="l00024"></a><a class="code" href="classXLine.html#m0">00024</a> time_t <a class="code" href="classXLine.html#m0">set_time</a>; +00025 +<a name="l00028"></a><a class="code" href="classXLine.html#m1">00028</a> <span class="keywordtype">long</span> <a class="code" href="classXLine.html#m1">duration</a>; +00029 +<a name="l00032"></a><a class="code" href="classXLine.html#m2">00032</a> <span class="keywordtype">char</span> <a class="code" href="classXLine.html#m2">source</a>[MAXBUF]; +00033 +<a name="l00036"></a><a class="code" href="classXLine.html#m3">00036</a> <span class="keywordtype">char</span> <a class="code" href="classXLine.html#m3">reason</a>[MAXBUF]; +00037 +<a name="l00040"></a><a class="code" href="classXLine.html#m4">00040</a> <span class="keywordtype">long</span> <a class="code" href="classXLine.html#m4">n_matches</a>; +00041 +00042 }; +00043 +<a name="l00046"></a><a class="code" href="classKLine.html">00046</a> <span class="keyword">class </span><a class="code" href="classKLine.html">KLine</a> : <span class="keyword">public</span> <a class="code" href="classXLine.html">XLine</a> +00047 { +00048 <span class="keyword">public</span>: +<a name="l00052"></a><a class="code" href="classKLine.html#m0">00052</a> <span class="keywordtype">char</span> <a class="code" href="classKLine.html#m0">hostmask</a>[MAXBUF]; +00053 }; +00054 +<a name="l00057"></a><a class="code" href="classGLine.html">00057</a> <span class="keyword">class </span><a class="code" href="classGLine.html">GLine</a> : <span class="keyword">public</span> <a class="code" href="classXLine.html">XLine</a> +00058 { +00059 <span class="keyword">public</span>: +<a name="l00063"></a><a class="code" href="classGLine.html#m0">00063</a> <span class="keywordtype">char</span> <a class="code" href="classGLine.html#m0">hostmask</a>[MAXBUF]; +00064 }; +00065 +<a name="l00068"></a><a class="code" href="classZLine.html">00068</a> <span class="keyword">class </span><a class="code" href="classZLine.html">ZLine</a> : <span class="keyword">public</span> <a class="code" href="classXLine.html">XLine</a> +00069 { +00070 <span class="keyword">public</span>: +<a name="l00074"></a><a class="code" href="classZLine.html#m0">00074</a> <span class="keywordtype">char</span> <a class="code" href="classZLine.html#m0">ipaddr</a>[MAXBUF]; +00075 }; +00076 +<a name="l00079"></a><a class="code" href="classQLine.html">00079</a> <span class="keyword">class </span><a class="code" href="classQLine.html">QLine</a> : <span class="keyword">public</span> <a class="code" href="classXLine.html">XLine</a> +00080 { +00081 <span class="keyword">public</span>: +<a name="l00085"></a><a class="code" href="classQLine.html#m0">00085</a> <span class="keywordtype">char</span> <a class="code" href="classQLine.html#m0">nick</a>[MAXBUF]; +00086 }; +00087 +00088 <span class="keywordtype">void</span> <a class="code" href="xline_8h.html#a0">read_xline_defaults</a>(); +00089 +00090 <span class="keywordtype">void</span> <a class="code" href="xline_8h.html#a1">add_gline</a>(<span class="keywordtype">long</span> duration, <span class="keywordtype">char</span>* source, <span class="keywordtype">char</span>* reason, <span class="keywordtype">char</span>* hostmask); +00091 <span class="keywordtype">void</span> <a class="code" href="xline_8h.html#a2">add_qline</a>(<span class="keywordtype">long</span> duration, <span class="keywordtype">char</span>* source, <span class="keywordtype">char</span>* reason, <span class="keywordtype">char</span>* nickname); +00092 <span class="keywordtype">void</span> <a class="code" href="xline_8h.html#a3">add_zline</a>(<span class="keywordtype">long</span> duration, <span class="keywordtype">char</span>* source, <span class="keywordtype">char</span>* reason, <span class="keywordtype">char</span>* ipaddr); +00093 <span class="keywordtype">void</span> <a class="code" href="xline_8h.html#a4">add_kline</a>(<span class="keywordtype">long</span> duration, <span class="keywordtype">char</span>* source, <span class="keywordtype">char</span>* reason, <span class="keywordtype">char</span>* hostmask); +00094 +00095 <span class="keywordtype">bool</span> <a class="code" href="xline_8h.html#a5">del_gline</a>(<span class="keywordtype">char</span>* hostmask); +00096 <span class="keywordtype">bool</span> <a class="code" href="xline_8h.html#a6">del_qline</a>(<span class="keywordtype">char</span>* nickname); +00097 <span class="keywordtype">bool</span> <a class="code" href="xline_8h.html#a7">del_zline</a>(<span class="keywordtype">char</span>* ipaddr); +00098 <span class="keywordtype">bool</span> <a class="code" href="xline_8h.html#a8">del_kline</a>(<span class="keywordtype">char</span>* hostmask); +00099 +00100 <span class="keywordtype">char</span>* <a class="code" href="xline_8h.html#a9">matches_qline</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* nick); +00101 <span class="keywordtype">char</span>* <a class="code" href="xline_8h.html#a10">matches_gline</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* host); +00102 <span class="keywordtype">char</span>* <a class="code" href="xline_8h.html#a11">matches_zline</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* ipaddr); +00103 <span class="keywordtype">char</span>* <a class="code" href="xline_8h.html#a12">matches_kline</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* host); +00104 +00105 <span class="keywordtype">void</span> <a class="code" href="xline_8h.html#a13">expire_lines</a>(); +00106 <span class="keywordtype">void</span> <a class="code" href="xline_8h.html#a14">apply_lines</a>(); +00107 +00108 <span class="keywordtype">void</span> <a class="code" href="xline_8h.html#a15">stats_k</a>(<a class="code" href="classuserrec.html">userrec</a>* user); +00109 <span class="keywordtype">void</span> <a class="code" href="xline_8h.html#a16">stats_g</a>(<a class="code" href="classuserrec.html">userrec</a>* user); +00110 <span class="keywordtype">void</span> <a class="code" href="xline_8h.html#a17">stats_q</a>(<a class="code" href="classuserrec.html">userrec</a>* user); +00111 <span class="keywordtype">void</span> <a class="code" href="xline_8h.html#a18">stats_z</a>(<a class="code" href="classuserrec.html">userrec</a>* user); +00112 +00113 <span class="keywordtype">void</span> <a class="code" href="xline_8h.html#a19">gline_set_creation_time</a>(<span class="keywordtype">char</span>* host, time_t create_time); +00114 <span class="keywordtype">void</span> <a class="code" href="xline_8h.html#a20">qline_set_creation_time</a>(<span class="keywordtype">char</span>* nick, time_t create_time); +00115 <span class="keywordtype">void</span> <a class="code" href="xline_8h.html#a21">zline_set_creation_time</a>(<span class="keywordtype">char</span>* ip, time_t create_time); +00116 +00117 <span class="preprocessor">#endif</span> +00118 <span class="preprocessor"></span> +</pre></div><hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:05 2004 for InspIRCd by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border=0 +width=110 height=53></a>1.3-rc3 </small></address> +</body> +</html> diff --git a/docs/module-doc/xline_8h.html b/docs/module-doc/xline_8h.html new file mode 100644 index 000000000..71cad07cc --- /dev/null +++ b/docs/module-doc/xline_8h.html @@ -0,0 +1,816 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>xline.h File Reference</title> +<link href="inspircd.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.3-rc3 --> +<center> +<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> +<hr><h1>xline.h File Reference</h1><code>#include <typeinfo></code><br> +<code>#include <iostream></code><br> +<code>#include <string></code><br> +<code>#include <deque></code><br> +<code>#include <sstream></code><br> +<code>#include <vector></code><br> +<code>#include "<a class="el" href="users_8h-source.html">users.h</a>"</code><br> +<code>#include "<a class="el" href="channels_8h-source.html">channels.h</a>"</code><br> + +<p> +Include dependency graph for xline.h:<p><center><img src="xline_8h__incl.gif" border="0" usemap="#xline.h_map" alt="Include dependency graph"></center> +<map name="xline.h_map"> +<area href="users_8h.html" shape="rect" coords="351,155,401,176" alt=""> +<area href="channels_8h.html" shape="rect" coords="476,86,548,107" alt=""> +<area href="connection_8h.html" shape="rect" coords="321,86,401,107" alt=""> +</map> + +<p> +<a href="xline_8h-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0> +<tr><td></td></tr> +<tr><td colspan=2><br><h2>Compounds</h2></td></tr> +<tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classGLine.html">GLine</a></td></tr> +<tr><td> </td><td><font size=-1><em>GLine class.</em> <a href="classGLine.html#_details">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classKLine.html">KLine</a></td></tr> +<tr><td> </td><td><font size=-1><em>KLine class.</em> <a href="classKLine.html#_details">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classQLine.html">QLine</a></td></tr> +<tr><td> </td><td><font size=-1><em>QLine class.</em> <a href="classQLine.html#_details">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classXLine.html">XLine</a></td></tr> +<tr><td> </td><td><font size=-1><em>XLine is the base class for ban lines such as G lines and K lines.</em> <a href="classXLine.html#_details">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classZLine.html">ZLine</a></td></tr> +<tr><td> </td><td><font size=-1><em>ZLine class.</em> <a href="classZLine.html#_details">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan=2><br><h2>Functions</h2></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="xline_8h.html#a0">read_xline_defaults</a> ()</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="xline_8h.html#a1">add_gline</a> (long duration, char *source, char *reason, char *hostmask)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="xline_8h.html#a2">add_qline</a> (long duration, char *source, char *reason, char *nickname)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="xline_8h.html#a3">add_zline</a> (long duration, char *source, char *reason, char *ipaddr)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="xline_8h.html#a4">add_kline</a> (long duration, char *source, char *reason, char *hostmask)</td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="xline_8h.html#a5">del_gline</a> (char *hostmask)</td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="xline_8h.html#a6">del_qline</a> (char *nickname)</td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="xline_8h.html#a7">del_zline</a> (char *ipaddr)</td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="xline_8h.html#a8">del_kline</a> (char *hostmask)</td></tr> +<tr><td nowrap align=right valign=top>char * </td><td valign=bottom><a class="el" href="xline_8h.html#a9">matches_qline</a> (const char *nick)</td></tr> +<tr><td nowrap align=right valign=top>char * </td><td valign=bottom><a class="el" href="xline_8h.html#a10">matches_gline</a> (const char *host)</td></tr> +<tr><td nowrap align=right valign=top>char * </td><td valign=bottom><a class="el" href="xline_8h.html#a11">matches_zline</a> (const char *ipaddr)</td></tr> +<tr><td nowrap align=right valign=top>char * </td><td valign=bottom><a class="el" href="xline_8h.html#a12">matches_kline</a> (const char *host)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="xline_8h.html#a13">expire_lines</a> ()</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="xline_8h.html#a14">apply_lines</a> ()</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="xline_8h.html#a15">stats_k</a> (<a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="xline_8h.html#a16">stats_g</a> (<a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="xline_8h.html#a17">stats_q</a> (<a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="xline_8h.html#a18">stats_z</a> (<a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="xline_8h.html#a19">gline_set_creation_time</a> (char *host, time_t create_time)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="xline_8h.html#a20">qline_set_creation_time</a> (char *nick, time_t create_time)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="xline_8h.html#a21">zline_set_creation_time</a> (char *ip, time_t create_time)</td></tr> +</table> +<hr><h2>Function Documentation</h2> +<a name="a1" doxytag="xline.h::add_gline"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void add_gline </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">long </td> + <td class="mdname" nowrap> <em>duration</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>source</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>reason</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>hostmask</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a4" doxytag="xline.h::add_kline"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void add_kline </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">long </td> + <td class="mdname" nowrap> <em>duration</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>source</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>reason</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>hostmask</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a2" doxytag="xline.h::add_qline"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void add_qline </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">long </td> + <td class="mdname" nowrap> <em>duration</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>source</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>reason</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>nickname</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a3" doxytag="xline.h::add_zline"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void add_zline </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">long </td> + <td class="mdname" nowrap> <em>duration</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>source</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>reason</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>ipaddr</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a14" doxytag="xline.h::apply_lines"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void apply_lines </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a5" doxytag="xline.h::del_gline"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool del_gline </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char * </td> + <td class="mdname1" valign="top" nowrap> <em>hostmask</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a8" doxytag="xline.h::del_kline"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool del_kline </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char * </td> + <td class="mdname1" valign="top" nowrap> <em>hostmask</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a6" doxytag="xline.h::del_qline"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool del_qline </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char * </td> + <td class="mdname1" valign="top" nowrap> <em>nickname</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a7" doxytag="xline.h::del_zline"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool del_zline </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char * </td> + <td class="mdname1" valign="top" nowrap> <em>ipaddr</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a13" doxytag="xline.h::expire_lines"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void expire_lines </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a19" doxytag="xline.h::gline_set_creation_time"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void gline_set_creation_time </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char * </td> + <td class="mdname" nowrap> <em>host</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>time_t </td> + <td class="mdname" nowrap> <em>create_time</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a10" doxytag="xline.h::matches_gline"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> char* matches_gline </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const char * </td> + <td class="mdname1" valign="top" nowrap> <em>host</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a12" doxytag="xline.h::matches_kline"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> char* matches_kline </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const char * </td> + <td class="mdname1" valign="top" nowrap> <em>host</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a9" doxytag="xline.h::matches_qline"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> char* matches_qline </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const char * </td> + <td class="mdname1" valign="top" nowrap> <em>nick</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a11" doxytag="xline.h::matches_zline"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> char* matches_zline </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const char * </td> + <td class="mdname1" valign="top" nowrap> <em>ipaddr</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a20" doxytag="xline.h::qline_set_creation_time"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void qline_set_creation_time </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char * </td> + <td class="mdname" nowrap> <em>nick</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>time_t </td> + <td class="mdname" nowrap> <em>create_time</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a0" doxytag="xline.h::read_xline_defaults"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void read_xline_defaults </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a16" doxytag="xline.h::stats_g"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void stats_g </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>user</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a15" doxytag="xline.h::stats_k"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void stats_k </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>user</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a17" doxytag="xline.h::stats_q"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void stats_q </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>user</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a18" doxytag="xline.h::stats_z"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void stats_z </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>user</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a21" doxytag="xline.h::zline_set_creation_time"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void zline_set_creation_time </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char * </td> + <td class="mdname" nowrap> <em>ip</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>time_t </td> + <td class="mdname" nowrap> <em>create_time</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<hr><address style="align: right;"><small>Generated on Sun Apr 25 00:24:14 2004 for InspIRCd by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border=0 +width=110 height=53></a>1.3-rc3 </small></address> +</body> +</html> diff --git a/docs/module-doc/xline_8h__incl.gif b/docs/module-doc/xline_8h__incl.gif Binary files differnew file mode 100644 index 000000000..cbcba4542 --- /dev/null +++ b/docs/module-doc/xline_8h__incl.gif |