diff options
79 files changed, 956 insertions, 537 deletions
diff --git a/docs/module-doc/annotated.html b/docs/module-doc/annotated.html index ed5abbe31..28a333ab4 100644 --- a/docs/module-doc/annotated.html +++ b/docs/module-doc/annotated.html @@ -30,7 +30,7 @@ <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> </table> -<hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:33 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46: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> diff --git a/docs/module-doc/base_8h-source.html b/docs/module-doc/base_8h-source.html index 469f7da72..3a48f7173 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 Fri Apr 2 13:37:27 2004 for InspIRCd by +</pre></div><hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46:04 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 bdf85e41f..90def5e5c 100644 --- a/docs/module-doc/base_8h.html +++ b/docs/module-doc/base_8h.html @@ -34,7 +34,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 Fri Apr 2 13:37:28 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46: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_8cpp-source.html b/docs/module-doc/channels_8cpp-source.html new file mode 100644 index 000000000..6962adf43 --- /dev/null +++ b/docs/module-doc/channels_8cpp-source.html @@ -0,0 +1,40 @@ +<!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>channels.cpp Source File</title> +<link href="doxygen.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="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>channels.cpp</h1><a href="channels_8cpp.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="preprocessor">#include "inspircd_config.h"</span> +00002 <span class="preprocessor">#include "<a class="code" href="channels_8h.html">channels.h</a>"</span> +00003 <span class="preprocessor">#include "inspircd.h"</span> +00004 <span class="preprocessor">#include <stdio.h></span> +00005 +<a name="l00006"></a><a class="code" href="classchanrec.html#a2">00006</a> <a class="code" href="classchanrec.html#a2">chanrec::chanrec</a>() +00007 { +00008 strcpy(name,<span class="stringliteral">""</span>); +00009 strcpy(custom_modes,<span class="stringliteral">""</span>); +00010 strcpy(topic,<span class="stringliteral">""</span>); +00011 strcpy(setby,<span class="stringliteral">""</span>); +00012 strcpy(key,<span class="stringliteral">""</span>); +00013 <a class="code" href="classchanrec.html#m3">created</a> = <a class="code" href="classchanrec.html#m4">topicset</a> = <a class="code" href="classchanrec.html#m6">limit</a> = 0; +00014 <a class="code" href="classchanrec.html#m8">topiclock</a> = <a class="code" href="classchanrec.html#m9">noexternal</a> = <a class="code" href="classchanrec.html#m10">inviteonly</a> = <a class="code" href="classchanrec.html#m11">moderated</a> = <a class="code" href="classchanrec.html#m12">secret</a> = <a class="code" href="classchanrec.html#m13">c_private</a> = <span class="keyword">false</span>; +00015 } +00016 +<a name="l00017"></a><a class="code" href="classchanrec.html#a0">00017</a> <span class="keywordtype">void</span> <a class="code" href="classchanrec.html#a0">chanrec::SetCustomMode</a>(<span class="keywordtype">char</span> mode,<span class="keywordtype">bool</span> mode_on) +00018 { +00019 } +00020 +<a name="l00021"></a><a class="code" href="classchanrec.html#a1">00021</a> <span class="keywordtype">void</span> <a class="code" href="classchanrec.html#a1">chanrec::SetCustomModeParam</a>(<span class="keywordtype">char</span> mode,<span class="keywordtype">char</span>* parameter,<span class="keywordtype">bool</span> mode_on) +00022 { +00023 } +00024 +00025 +00026 +</pre></div><hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46:04 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/channels_8cpp.html b/docs/module-doc/channels_8cpp.html new file mode 100644 index 000000000..ecc0f640a --- /dev/null +++ b/docs/module-doc/channels_8cpp.html @@ -0,0 +1,30 @@ +<!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>channels.cpp File Reference</title> +<link href="doxygen.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="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>channels.cpp File Reference</h1><code>#include "inspircd_config.h"</code><br> +<code>#include "<a class="el" href="channels_8h-source.html">channels.h</a>"</code><br> +<code>#include "inspircd.h"</code><br> +<code>#include <stdio.h></code><br> + +<p> +Include dependency graph for channels.cpp:<p><center><img src="channels_8cpp__incl.gif" border="0" usemap="#channels.cpp_map" alt="Include dependency graph"></center> +<map name="channels.cpp_map"> +<area href="channels_8h.html" shape="rect" coords="96,155,168,176" alt=""> +<area href="base_8h.html" shape="rect" coords="108,86,156,107" alt=""> +</map> + +<p> +<a href="channels_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 Fri Apr 2 14:46: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> +</body> +</html> diff --git a/docs/module-doc/channels_8cpp__incl.gif b/docs/module-doc/channels_8cpp__incl.gif Binary files differnew file mode 100644 index 000000000..b81c64a1d --- /dev/null +++ b/docs/module-doc/channels_8cpp__incl.gif diff --git a/docs/module-doc/channels_8h-source.html b/docs/module-doc/channels_8h-source.html index 412803c9b..231883d3c 100644 --- a/docs/module-doc/channels_8h-source.html +++ b/docs/module-doc/channels_8h-source.html @@ -115,7 +115,7 @@ 00181 00182 <span class="preprocessor">#endif</span> 00183 <span class="preprocessor"></span> -</pre></div><hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:27 2004 for InspIRCd by +</pre></div><hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46:04 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 a3666bb59..a4bbc4047 100644 --- a/docs/module-doc/channels_8h.html +++ b/docs/module-doc/channels_8h.html @@ -255,7 +255,7 @@ Holds a complete invite list. Definition at line <a class="el" href="channels_8h-source.html#l00064">64</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 Fri Apr 2 13:37:29 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46: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/classAdmin-members.html b/docs/module-doc/classAdmin-members.html index c0fb96fe9..7f58c1f11 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 Fri Apr 2 13:37:34 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46: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/classAdmin.html b/docs/module-doc/classAdmin.html index 44b91c229..bd6139f5c 100644 --- a/docs/module-doc/classAdmin.html +++ b/docs/module-doc/classAdmin.html @@ -35,7 +35,7 @@ It is constructed by class <a class="el" href="classServer.html">Server</a>, and <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00059">59</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#l00060">60</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> <a name="a0" doxytag="Admin::Admin"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> @@ -107,7 +107,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00086">86</a> o <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00062">62</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#l00063">63</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td> </tr> </table> <a name="m0" doxytag="Admin::Name"></a><p> @@ -131,7 +131,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00062">62</a> of <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00062">62</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#l00063">63</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td> </tr> </table> <a name="m2" doxytag="Admin::Nick"></a><p> @@ -155,12 +155,12 @@ Definition at line <a class="el" href="modules_8h-source.html#l00062">62</a> of <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00062">62</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#l00063">63</a> of file <a class="el" href="modules_8h-source.html">modules.h</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 Fri Apr 2 13:37:34 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46: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/classBanItem-members.html b/docs/module-doc/classBanItem-members.html index 3d73df95c..ca7dbaea3 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 Fri Apr 2 13:37:34 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46: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/classBanItem.html b/docs/module-doc/classBanItem.html index a8f3bef9f..3e7251f93 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#l00033">33</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 Fri Apr 2 13:37:34 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46: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/classConfigReader-members.html b/docs/module-doc/classConfigReader-members.html index 856781c26..b73cabe35 100644 --- a/docs/module-doc/classConfigReader-members.html +++ b/docs/module-doc/classConfigReader-members.html @@ -17,7 +17,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 Fri Apr 2 13:37:37 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46: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/classConfigReader.html b/docs/module-doc/classConfigReader.html index 5fb1368d4..05df29c0a 100644 --- a/docs/module-doc/classConfigReader.html +++ b/docs/module-doc/classConfigReader.html @@ -45,7 +45,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#l00302">302</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#l00322">322</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> @@ -75,13 +75,13 @@ 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#l00225">225</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#l00229">229</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l00307">fname</a>. +References <a class="el" href="modules_8h-source.html#l00327">fname</a>. <p> -<div class="fragment"><pre>00226 { -00227 <a class="code" href="classConfigReader.html#n0">fname</a> = CONFIG_FILE; -00228 } +<div class="fragment"><pre>00230 { +00231 <a class="code" href="classConfigReader.html#n0">fname</a> = CONFIG_FILE; +00232 } </pre></div> </td> </tr> </table> @@ -115,9 +115,9 @@ 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#l00236">236</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#l00240">240</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00236 : <a class="code" href="classConfigReader.html#n0">fname</a>(filename) { }; +<div class="fragment"><pre>00240 : <a class="code" href="classConfigReader.html#n0">fname</a>(filename) { }; </pre></div> </td> </tr> </table> @@ -150,10 +150,10 @@ Default destructor. <p> This method destroys the ConfigReader class. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00231">231</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#l00235">235</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00232 { -00233 } +<div class="fragment"><pre>00236 { +00237 } </pre></div> </td> </tr> </table> @@ -188,13 +188,13 @@ 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#l00246">246</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#l00250">250</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l00307">fname</a>. +References <a class="el" href="modules_8h-source.html#l00327">fname</a>. <p> -<div class="fragment"><pre>00247 { -00248 <span class="keywordflow">return</span> EnumConf(<a class="code" href="classConfigReader.html#n0">fname</a>.c_str(),tag.c_str()); -00249 } +<div class="fragment"><pre>00251 { +00252 <span class="keywordflow">return</span> EnumConf(<a class="code" href="classConfigReader.html#n0">fname</a>.c_str(),tag.c_str()); +00253 } </pre></div> </td> </tr> </table> @@ -243,15 +243,15 @@ 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#l00238">238</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#l00242">242</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l00307">fname</a>. +References <a class="el" href="modules_8h-source.html#l00327">fname</a>. <p> -<div class="fragment"><pre>00239 { -00240 <span class="keywordtype">char</span> val[MAXBUF]; -00241 ReadConf(<a class="code" href="classConfigReader.html#n0">fname</a>.c_str(),tag.c_str(),name.c_str(),index,val); -00242 <span class="keywordflow">return</span> val; -00243 } +<div class="fragment"><pre>00243 { +00244 <span class="keywordtype">char</span> val[MAXBUF]; +00245 ReadConf(<a class="code" href="classConfigReader.html#n0">fname</a>.c_str(),tag.c_str(),name.c_str(),index,val); +00246 <span class="keywordflow">return</span> val; +00247 } </pre></div> </td> </tr> </table> @@ -284,11 +284,11 @@ Returns true if a config file is valid. <p> This method is unimplemented and will always return true. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00252">252</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#l00256">256</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00253 { -00254 <span class="keywordflow">return</span> <span class="keyword">true</span>; -00255 } +<div class="fragment"><pre>00257 { +00258 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00259 } </pre></div> </td> </tr> </table> @@ -316,14 +316,14 @@ The filename of the configuration file, as set by the constructor. <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00307">307</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#l00327">327</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#l00225">ConfigReader()</a>, <a class="el" href="modules_8cpp-source.html#l00246">Enumerate()</a>, and <a class="el" href="modules_8cpp-source.html#l00238">ReadValue()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00229">ConfigReader()</a>, <a class="el" href="modules_8cpp-source.html#l00250">Enumerate()</a>, and <a class="el" href="modules_8cpp-source.html#l00242">ReadValue()</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 Fri Apr 2 13:37:37 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46: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/classConnectClass-members.html b/docs/module-doc/classConnectClass-members.html index 41af98c8b..b0ffaeabb 100644 --- a/docs/module-doc/classConnectClass-members.html +++ b/docs/module-doc/classConnectClass-members.html @@ -13,7 +13,7 @@ <tr bgcolor="#f0f0f0"><td><a class="el" href="classConnectClass.html#m2">pass</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 Fri Apr 2 13:37:37 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46: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/classConnectClass.html b/docs/module-doc/classConnectClass.html index 37a3b3988..e78af94d8 100644 --- a/docs/module-doc/classConnectClass.html +++ b/docs/module-doc/classConnectClass.html @@ -106,7 +106,7 @@ Definition at line <a class="el" href="users_8h-source.html#l00037">37</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 Fri Apr 2 13:37:37 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46: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/classExemptItem-members.html b/docs/module-doc/classExemptItem-members.html index 0af329b96..b328ad237 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 Fri Apr 2 13:37:39 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46: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/classExemptItem.html b/docs/module-doc/classExemptItem.html index 74eb595da..18a11bdb4 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#l00041">41</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 Fri Apr 2 13:37:39 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46: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/classExtMode-members.html b/docs/module-doc/classExtMode-members.html new file mode 100644 index 000000000..6ef192623 --- /dev/null +++ b/docs/module-doc/classExtMode-members.html @@ -0,0 +1,21 @@ +<!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="doxygen.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="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>ExtMode Member List</h1>This is the complete list of members for <a class="el" href="classExtMode.html">ExtMode</a>, including all inherited members.<table> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classExtMode.html#m2">default_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#a0">ExtMode</a>(char mc, int ty, bool d_on, int p_on, int p_off)</td><td><a class="el" href="classExtMode.html">ExtMode</a></td><td><code> [inline]</code></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classExtMode.html#m0">modechar</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#m4">params_when_off</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#m3">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> +</table><hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46: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> +</body> +</html> diff --git a/docs/module-doc/classExtMode.html b/docs/module-doc/classExtMode.html new file mode 100644 index 000000000..92ccd87f3 --- /dev/null +++ b/docs/module-doc/classExtMode.html @@ -0,0 +1,211 @@ +<!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>ExtMode class Reference</title> +<link href="doxygen.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="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>ExtMode Class Reference</h1>Collaboration diagram for ExtMode:<p><center><img src="classExtMode__coll__graph.gif" border="0" usemap="#ExtMode__coll__map" alt="Collaboration graph"></center> +<center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center><a href="classExtMode-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 Member Functions</h2></td></tr> +<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classExtMode.html#a0">ExtMode</a> (char mc, int ty, bool d_on, int p_on, int p_off)</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="classExtMode.html#m0">modechar</a></td></tr> +<tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="classExtMode.html#m1">type</a></td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classExtMode.html#m2">default_on</a></td></tr> +<tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="classExtMode.html#m3">params_when_on</a></td></tr> +<tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="classExtMode.html#m4">params_when_off</a></td></tr> +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a name="a0" doxytag="ExtMode::ExtMode"></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"> ExtMode::ExtMode </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char </td> + <td class="mdname" nowrap> <em>mc</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>ty</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>d_on</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>p_on</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>p_off</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<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>. +<p> +<div class="fragment"><pre>00025 : <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#m2">default_on</a>(d_on), <a class="code" href="classExtMode.html#m3">params_when_on</a>(p_on), <a class="code" href="classExtMode.html#m4">params_when_off</a>(p_off) { }; +</pre></div> </td> + </tr> +</table> +<hr><h2>Member Data Documentation</h2> +<a name="m2" doxytag="ExtMode::default_on"></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 ExtMode::default_on + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="modules_8cpp-source.html#l00022">22</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> + </tr> +</table> +<a name="m0" doxytag="ExtMode::modechar"></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 ExtMode::modechar + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="modules_8cpp-source.html#l00020">20</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> + </tr> +</table> +<a name="m4" doxytag="ExtMode::params_when_off"></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 ExtMode::params_when_off + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<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> + </tr> +</table> +<a name="m3" doxytag="ExtMode::params_when_on"></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 ExtMode::params_when_on + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<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> + </tr> +</table> +<a name="m1" doxytag="ExtMode::type"></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 ExtMode::type + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="modules_8cpp-source.html#l00021">21</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 Fri Apr 2 14:46: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> +</body> +</html> diff --git a/docs/module-doc/classExtMode__coll__graph.gif b/docs/module-doc/classExtMode__coll__graph.gif Binary files differnew file mode 100644 index 000000000..e0835abae --- /dev/null +++ b/docs/module-doc/classExtMode__coll__graph.gif diff --git a/docs/module-doc/classFileReader-members.html b/docs/module-doc/classFileReader-members.html index 5212798f9..7e360bc2d 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 Fri Apr 2 13:37:39 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46: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/classFileReader.html b/docs/module-doc/classFileReader.html index d2ba2399b..75ff67749 100644 --- a/docs/module-doc/classFileReader.html +++ b/docs/module-doc/classFileReader.html @@ -45,7 +45,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#l00347">347</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#l00367">367</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> @@ -75,10 +75,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#l00265">265</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#l00269">269</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00266 { -00267 } +<div class="fragment"><pre>00270 { +00271 } </pre></div> </td> </tr> </table> @@ -112,15 +112,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#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#l00262">262</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l00349">fc</a>, and <a class="el" href="modules_8h-source.html#l00029">file_cache</a>. +References <a class="el" href="modules_8h-source.html#l00369">fc</a>, and <a class="el" href="modules_8h-source.html#l00029">file_cache</a>. <p> -<div class="fragment"><pre>00259 { -00260 <a class="code" href="modules_8h.html#a9">file_cache</a> c; -00261 readfile(c,filename.c_str()); -00262 this-><a class="code" href="classFileReader.html#o0">fc</a> = c; -00263 } +<div class="fragment"><pre>00263 { +00264 <a class="code" href="modules_8h.html#a9">file_cache</a> c; +00265 readfile(c,filename.c_str()); +00266 this-><a class="code" href="classFileReader.html#o0">fc</a> = c; +00267 } </pre></div> </td> </tr> </table> @@ -153,10 +153,10 @@ Default destructor. <p> This deletes the memory allocated to the file. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00277">277</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#l00281">281</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00278 { -00279 } +<div class="fragment"><pre>00282 { +00283 } </pre></div> </td> </tr> </table> @@ -190,20 +190,20 @@ 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#l00281">281</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> -References <a class="el" href="modules_8h-source.html#l00349">fc</a>. +References <a class="el" href="modules_8h-source.html#l00369">fc</a>. <p> -<div class="fragment"><pre>00282 { -00283 <span class="keywordflow">if</span> (<a class="code" href="classFileReader.html#o0">fc</a>.size() == 0) -00284 { -00285 <span class="keywordflow">return</span>(false); -00286 } -00287 <span class="keywordflow">else</span> +<div class="fragment"><pre>00286 { +00287 <span class="keywordflow">if</span> (<a class="code" href="classFileReader.html#o0">fc</a>.size() == 0) 00288 { -00289 <span class="keywordflow">return</span>(true); +00289 <span class="keywordflow">return</span>(false); 00290 } -00291 } +00291 <span class="keywordflow">else</span> +00292 { +00293 <span class="keywordflow">return</span>(true); +00294 } +00295 } </pre></div> </td> </tr> </table> @@ -236,13 +236,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#l00300">300</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#l00304">304</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l00349">fc</a>. +References <a class="el" href="modules_8h-source.html#l00369">fc</a>. <p> -<div class="fragment"><pre>00301 { -00302 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#o0">fc</a>.size(); -00303 } +<div class="fragment"><pre>00305 { +00306 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#o0">fc</a>.size(); +00307 } </pre></div> </td> </tr> </table> @@ -274,15 +274,15 @@ References <a class="el" href="modules_8h-source.html#l00349">fc</a>. <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#l00297">297</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l00349">fc</a>. +References <a class="el" href="modules_8h-source.html#l00369">fc</a>. <p> -<div class="fragment"><pre>00294 { -00295 <span class="keywordflow">if</span> ((x<0) || (x><a class="code" href="classFileReader.html#o0">fc</a>.size())) -00296 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; -00297 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#o0">fc</a>[x]; -00298 } +<div class="fragment"><pre>00298 { +00299 <span class="keywordflow">if</span> ((x<0) || (x><a class="code" href="classFileReader.html#o0">fc</a>.size())) +00300 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; +00301 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#o0">fc</a>[x]; +00302 } </pre></div> </td> </tr> </table> @@ -316,15 +316,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#l00269">269</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#l00273">273</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l00349">fc</a>, and <a class="el" href="modules_8h-source.html#l00029">file_cache</a>. +References <a class="el" href="modules_8h-source.html#l00369">fc</a>, and <a class="el" href="modules_8h-source.html#l00029">file_cache</a>. <p> -<div class="fragment"><pre>00270 { -00271 <a class="code" href="modules_8h.html#a9">file_cache</a> c; -00272 readfile(c,filename.c_str()); -00273 this-><a class="code" href="classFileReader.html#o0">fc</a> = c; -00274 } +<div class="fragment"><pre>00274 { +00275 <a class="code" href="modules_8h.html#a9">file_cache</a> c; +00276 readfile(c,filename.c_str()); +00277 this-><a class="code" href="classFileReader.html#o0">fc</a> = c; +00278 } </pre></div> </td> </tr> </table> @@ -350,14 +350,14 @@ References <a class="el" href="modules_8h-source.html#l00349">fc</a>, and <a cla <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00349">349</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#l00369">369</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#l00281">Exists()</a>, <a class="el" href="modules_8cpp-source.html#l00258">FileReader()</a>, <a class="el" href="modules_8cpp-source.html#l00300">FileSize()</a>, <a class="el" href="modules_8cpp-source.html#l00293">GetLine()</a>, and <a class="el" href="modules_8cpp-source.html#l00269">LoadFile()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00285">Exists()</a>, <a class="el" href="modules_8cpp-source.html#l00262">FileReader()</a>, <a class="el" href="modules_8cpp-source.html#l00304">FileSize()</a>, <a class="el" href="modules_8cpp-source.html#l00297">GetLine()</a>, and <a class="el" href="modules_8cpp-source.html#l00273">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 Fri Apr 2 13:37:39 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46: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/classHostItem-members.html b/docs/module-doc/classHostItem-members.html index d4cd904b3..6675c9141 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 Fri Apr 2 13:37:40 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46: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/classHostItem.html b/docs/module-doc/classHostItem.html index d6d0bf1d9..13741aad6 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#l00020">20</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 Fri Apr 2 13:37:40 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46: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/classInviteItem-members.html b/docs/module-doc/classInviteItem-members.html index 9ed7b3423..8a849f9a8 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 Fri Apr 2 13:37:41 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46: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/classInviteItem.html b/docs/module-doc/classInviteItem.html index 9975b710a..e67ff1aab 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#l00049">49</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 Fri Apr 2 13:37:41 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46: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/classInvited-members.html b/docs/module-doc/classInvited-members.html index 767028b0b..b75a208c4 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 Fri Apr 2 13:37:40 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46: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/classInvited.html b/docs/module-doc/classInvited.html index b0a25c634..66630dea1 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#l00063">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 Fri Apr 2 13:37:40 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46: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/classModule-members.html b/docs/module-doc/classModule-members.html index dbcdc378f..4104ef1e2 100644 --- a/docs/module-doc/classModule-members.html +++ b/docs/module-doc/classModule-members.html @@ -22,7 +22,7 @@ <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="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 Fri Apr 2 13:37:42 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46: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/classModule.html b/docs/module-doc/classModule.html index 926b2a40a..03cd1ca52 100644 --- a/docs/module-doc/classModule.html +++ b/docs/module-doc/classModule.html @@ -54,7 +54,7 @@ All modules must inherit from this class, its methods will be called when irc se <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00071">71</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#l00072">72</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> <a name="a0" doxytag="Module::Module"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> @@ -536,7 +536,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00091">91</a> o </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 Fri Apr 2 13:37:42 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46: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/classModuleFactory-members.html b/docs/module-doc/classModuleFactory-members.html index a96bcad47..88cb9d978 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 Fri Apr 2 13:37:42 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46: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/classModuleFactory.html b/docs/module-doc/classModuleFactory.html index bd6c71fca..655426e1a 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#l00393">393</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#l00413">413</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#l00393">393</a> of <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00396">396</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#l00416">416</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. <p> -<div class="fragment"><pre>00396 { } +<div class="fragment"><pre>00416 { } </pre></div> </td> </tr> </table> @@ -95,9 +95,9 @@ Definition at line <a class="el" href="modules_8h-source.html#l00396">396</a> of <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00397">397</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#l00417">417</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. <p> -<div class="fragment"><pre>00397 { } +<div class="fragment"><pre>00417 { } </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 Fri Apr 2 13:37:42 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46: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/classServer-members.html b/docs/module-doc/classServer-members.html index afd500c66..ae6cf04e4 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#a8">SendChannel</a>(userrec *User, chanrec *Channel, std::string s, bool IncludeSender)</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#a10">SendCommon</a>(userrec *User, std::string text, bool IncludeSender)</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#a6">SendFrom</a>(int Socket, userrec *User, 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#a21">SendMode</a>(char **parameters, int pcnt, userrec *user)</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#a2">SendOpers</a>(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#a5">SendServ</a>(int Socket, 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#a7">SendTo</a>(userrec *Source, userrec *Dest, std::string s)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> @@ -31,7 +32,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 Fri Apr 2 13:37:44 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46: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/classServer.html b/docs/module-doc/classServer.html index c7b08f426..1565c1d30 100644 --- a/docs/module-doc/classServer.html +++ b/docs/module-doc/classServer.html @@ -64,6 +64,8 @@ Inheritance diagram for Server:<p><center><img src="classServer__inherit__graph. <tr><td> </td><td><font size=-1><em>Adds an extended mode letter which is parsed by a module This allows modules to add extra mode letters, e.g.</em> <a href="#a19"></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#a20">AddCommand</a> (char *cmd, <a class="el" href="ctables_8h.html#a0">handlerfunc</a> f, char flags, int minparams)</td></tr> <tr><td> </td><td><font size=-1><em>Adds a command to the command table.</em> <a href="#a20"></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#a21">SendMode</a> (char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> +<tr><td> </td><td><font size=-1><em>Sends a servermode.</em> <a href="#a21"></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. @@ -72,7 +74,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#l00163">163</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#l00165">165</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> @@ -266,10 +268,10 @@ 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. default_on is true if the mode is to be applied to default connections. 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 +b, 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#l00220">220</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#l00224">224</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00221 { -00222 } +<div class="fragment"><pre>00225 { +00226 } </pre></div> </td> </tr> </table> @@ -312,11 +314,11 @@ 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#l00198">198</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> -<div class="fragment"><pre>00199 { -00200 <span class="keywordflow">return</span> cmode(User,Chan); -00201 } +<div class="fragment"><pre>00203 { +00204 <span class="keywordflow">return</span> cmode(User,Chan); +00205 } </pre></div> </td> </tr> </table> @@ -359,11 +361,11 @@ 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#l00161">161</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#l00165">165</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00162 { -00163 <span class="keywordflow">return</span> (common_channels(u1,u2) != 0); -00164 } +<div class="fragment"><pre>00166 { +00167 <span class="keywordflow">return</span> (common_channels(u1,u2) != 0); +00168 } </pre></div> </td> </tr> </table> @@ -397,11 +399,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#l00193">193</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> -<div class="fragment"><pre>00194 { -00195 <span class="keywordflow">return</span> FindChan(channel.c_str()); -00196 } +<div class="fragment"><pre>00198 { +00199 <span class="keywordflow">return</span> FindChan(channel.c_str()); +00200 } </pre></div> </td> </tr> </table> @@ -435,11 +437,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#l00188">188</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>00189 { -00190 <span class="keywordflow">return</span> Find(nick); -00191 } +<div class="fragment"><pre>00193 { +00194 <span class="keywordflow">return</span> Find(nick); +00195 } </pre></div> </td> </tr> </table> @@ -472,11 +474,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#l00213">213</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>00214 { -00215 <span class="keywordflow">return</span> <a class="code" href="classAdmin.html">Admin</a>(getadminname(),getadminemail(),getadminnick()); -00216 } +<div class="fragment"><pre>00218 { +00219 <span class="keywordflow">return</span> <a class="code" href="classAdmin.html">Admin</a>(getadminname(),getadminemail(),getadminnick()); +00220 } </pre></div> </td> </tr> </table> @@ -509,11 +511,11 @@ Returns the network name, global to all linked servers. <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00208">208</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>00209 { -00210 <span class="keywordflow">return</span> getnetworkname(); -00211 } +<div class="fragment"><pre>00213 { +00214 <span class="keywordflow">return</span> getnetworkname(); +00215 } </pre></div> </td> </tr> </table> @@ -546,11 +548,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#l00203">203</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>00204 { -00205 <span class="keywordflow">return</span> getservername(); -00206 } +<div class="fragment"><pre>00208 { +00209 <span class="keywordflow">return</span> getservername(); +00210 } </pre></div> </td> </tr> </table> @@ -584,11 +586,11 @@ 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#l00183">183</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>00184 { -00185 <span class="keywordflow">return</span> (isnick(nick.c_str()) != 0); -00186 } +<div class="fragment"><pre>00188 { +00189 <span class="keywordflow">return</span> (isnick(nick.c_str()) != 0); +00190 } </pre></div> </td> </tr> </table> @@ -678,11 +680,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#l00129">129</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#l00133">133</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00130 { -00131 Write(Socket,<span class="stringliteral">"%s"</span>,s.c_str()); -00132 } +<div class="fragment"><pre>00134 { +00135 Write(Socket,<span class="stringliteral">"%s"</span>,s.c_str()); +00136 } </pre></div> </td> </tr> </table> @@ -737,18 +739,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#l00149">149</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#l00153">153</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00150 { -00151 <span class="keywordflow">if</span> (IncludeSender) -00152 { -00153 WriteChannel(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str()); -00154 } -00155 <span class="keywordflow">else</span> +<div class="fragment"><pre>00154 { +00155 <span class="keywordflow">if</span> (IncludeSender) 00156 { -00157 ChanExceptSender(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str()); +00157 WriteChannel(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str()); 00158 } -00159 } +00159 <span class="keywordflow">else</span> +00160 { +00161 ChanExceptSender(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str()); +00162 } +00163 } </pre></div> </td> </tr> </table> @@ -797,18 +799,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#l00166">166</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#l00170">170</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00167 { -00168 <span class="keywordflow">if</span> (IncludeSender) -00169 { -00170 WriteCommon(User,<span class="stringliteral">"%s"</span>,text.c_str()); -00171 } -00172 <span class="keywordflow">else</span> +<div class="fragment"><pre>00171 { +00172 <span class="keywordflow">if</span> (IncludeSender) 00173 { -00174 WriteCommonExcept(User,<span class="stringliteral">"%s"</span>,text.c_str()); +00174 WriteCommon(User,<span class="stringliteral">"%s"</span>,text.c_str()); 00175 } -00176 } +00176 <span class="keywordflow">else</span> +00177 { +00178 WriteCommonExcept(User,<span class="stringliteral">"%s"</span>,text.c_str()); +00179 } +00180 } </pre></div> </td> </tr> </table> @@ -857,11 +859,69 @@ 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#l00139">139</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>00140 { -00141 WriteFrom(Socket,User,<span class="stringliteral">"%s"</span>,s.c_str()); -00142 } +<div class="fragment"><pre>00144 { +00145 WriteFrom(Socket,User,<span class="stringliteral">"%s"</span>,s.c_str()); +00146 } +</pre></div> </td> + </tr> +</table> +<a name="a21" doxytag="Server::SendMode"></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::SendMode </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"><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Sends a servermode. +<p> +you must format the parameters array with the target, modes and parameters for those modes.<p> +For example:<p> +char modes[3][MAXBUF]; modes[0] = ChannelName; modes[1] = "+o"; modes[2] = user->nick; 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#l00128">128</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="modules_8h.html#a13">server_mode()</a>. +<p> +<div class="fragment"><pre>00129 { +00130 <a class="code" href="modules_8h.html#a13">server_mode</a>(parameters,pcnt,user); +00131 } </pre></div> </td> </tr> </table> @@ -942,11 +1002,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#l00134">134</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#l00138">138</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00135 { -00136 WriteServ(Socket,<span class="stringliteral">"%s"</span>,s.c_str()); -00137 } +<div class="fragment"><pre>00139 { +00140 WriteServ(Socket,<span class="stringliteral">"%s"</span>,s.c_str()); +00141 } </pre></div> </td> </tr> </table> @@ -995,11 +1055,11 @@ Sends text from a user to another user. <p> This method writes a line of text to a user, with a user's nick/ident /host combination prepended, as used in PRIVMSG etc commands (see RFC 1459) <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00144">144</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>00145 { -00146 WriteTo(Source,Dest,<span class="stringliteral">"%s"</span>,s.c_str()); -00147 } +<div class="fragment"><pre>00149 { +00150 WriteTo(Source,Dest,<span class="stringliteral">"%s"</span>,s.c_str()); +00151 } </pre></div> </td> </tr> </table> @@ -1042,17 +1102,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#l00178">178</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#l00182">182</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00179 { -00180 WriteWallOps(User,<span class="stringliteral">"%s"</span>,text.c_str()); -00181 } +<div class="fragment"><pre>00183 { +00184 WriteWallOps(User,<span class="stringliteral">"%s"</span>,text.c_str()); +00185 } </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 Fri Apr 2 13:37:43 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46: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/classVersion-members.html b/docs/module-doc/classVersion-members.html index 4db33ae9a..6b490c924 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 Fri Apr 2 13:37:46 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46: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> diff --git a/docs/module-doc/classVersion.html b/docs/module-doc/classVersion.html index a9a55493e..3590bb48a 100644 --- a/docs/module-doc/classVersion.html +++ b/docs/module-doc/classVersion.html @@ -36,7 +36,7 @@ A class of type Version is returned by the GetVersion method of the <a class="el <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00047">47</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#l00048">48</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> <a name="a0" doxytag="Version::Version"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> @@ -114,7 +114,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00082">82</a> o <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00050">50</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#l00051">51</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td> </tr> </table> <a name="m0" doxytag="Version::Major"></a><p> @@ -138,7 +138,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00050">50</a> of <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00050">50</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#l00051">51</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td> </tr> </table> <a name="m1" doxytag="Version::Minor"></a><p> @@ -162,7 +162,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00050">50</a> of <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00050">50</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#l00051">51</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td> </tr> </table> <a name="m2" doxytag="Version::Revision"></a><p> @@ -186,12 +186,12 @@ Definition at line <a class="el" href="modules_8h-source.html#l00050">50</a> of <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00050">50</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#l00051">51</a> of file <a class="el" href="modules_8h-source.html">modules.h</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 Fri Apr 2 13:37:46 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46: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> diff --git a/docs/module-doc/classchanrec-members.html b/docs/module-doc/classchanrec-members.html index cab336e61..267ff8c66 100644 --- a/docs/module-doc/classchanrec-members.html +++ b/docs/module-doc/classchanrec-members.html @@ -29,7 +29,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#a3">~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 Fri Apr 2 13:37:35 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46: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/classchanrec.html b/docs/module-doc/classchanrec.html index 725c7b075..24f19b02d 100644 --- a/docs/module-doc/classchanrec.html +++ b/docs/module-doc/classchanrec.html @@ -657,7 +657,7 @@ Referenced by <a class="el" href="channels_8cpp-source.html#l00006">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 Fri Apr 2 13:37:35 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46: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/classclassbase-members.html b/docs/module-doc/classclassbase-members.html index f6ba49518..f20e71c0d 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 Fri Apr 2 13:37:36 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46: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/classclassbase.html b/docs/module-doc/classclassbase.html index af72fc1e4..e2ebc99b6 100644 --- a/docs/module-doc/classclassbase.html +++ b/docs/module-doc/classclassbase.html @@ -143,7 +143,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 Fri Apr 2 13:37:36 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46: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/classcommand__t-members.html b/docs/module-doc/classcommand__t-members.html index 8f6ff3c8c..217d770cb 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 Fri Apr 2 13:37:36 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46: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/classcommand__t.html b/docs/module-doc/classcommand__t.html index ffb1c94c9..16a0eb2a7 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#l00044">44</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 Fri Apr 2 13:37:36 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46: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/classconnection-members.html b/docs/module-doc/classconnection-members.html index de453e70f..3a3215eb6 100644 --- a/docs/module-doc/classconnection-members.html +++ b/docs/module-doc/classconnection-members.html @@ -36,7 +36,7 @@ <tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m13">signon</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#a3">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 Fri Apr 2 13:37:38 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46: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/classconnection.html b/docs/module-doc/classconnection.html index 06110d80c..fa20d0de9 100644 --- a/docs/module-doc/classconnection.html +++ b/docs/module-doc/classconnection.html @@ -837,7 +837,7 @@ Referenced by <a class="el" href="servers_8cpp-source.html#l00012">serverrec::se </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 Fri Apr 2 13:37:38 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46: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/classes.html b/docs/module-doc/classes.html index 3f0856447..8d5d31cfb 100644 --- a/docs/module-doc/classes.html +++ b/docs/module-doc/classes.html @@ -19,7 +19,7 @@ </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="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="classchanrec.html">chanrec</a> </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"> S </div></td></tr></table> -</td><td><a class="el" href="classVersion.html">Version</a> </td></tr><tr><td><a class="el" href="classclassbase.html">classbase</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="classServer.html">Server</a> </td></tr></table><hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:33 2004 for InspIRCd by +</td><td><a class="el" href="classVersion.html">Version</a> </td></tr><tr><td><a class="el" href="classclassbase.html">classbase</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="classServer.html">Server</a> </td></tr></table><hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46: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> diff --git a/docs/module-doc/classpacket-members.html b/docs/module-doc/classpacket-members.html index bb95ba019..16a51e49b 100644 --- a/docs/module-doc/classpacket-members.html +++ b/docs/module-doc/classpacket-members.html @@ -16,7 +16,7 @@ <tr bgcolor="#f0f0f0"><td><a class="el" href="classpacket.html#m2">type</a></td><td><a class="el" href="classpacket.html">packet</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="classpacket.html#a1">~packet</a>()</td><td><a class="el" href="classpacket.html">packet</a></td><td></td></tr> -</table><hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:43 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46: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/classpacket.html b/docs/module-doc/classpacket.html index 56f2b7c42..9c711d440 100644 --- a/docs/module-doc/classpacket.html +++ b/docs/module-doc/classpacket.html @@ -183,7 +183,7 @@ Definition at line <a class="el" href="connection_8h-source.html#l00031">31</a> </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 Fri Apr 2 13:37:43 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46: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/classserverrec-members.html b/docs/module-doc/classserverrec-members.html index 7000e4964..bcb8887ea 100644 --- a/docs/module-doc/classserverrec-members.html +++ b/docs/module-doc/classserverrec-members.html @@ -47,7 +47,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 Fri Apr 2 13:37:44 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46: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/classserverrec.html b/docs/module-doc/classserverrec.html index 5e3687f8e..16e397ea5 100644 --- a/docs/module-doc/classserverrec.html +++ b/docs/module-doc/classserverrec.html @@ -422,7 +422,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 Fri Apr 2 13:37:44 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46: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/classucrec-members.html b/docs/module-doc/classucrec-members.html index 7275119b2..c9cecc769 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 Fri Apr 2 13:37:45 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46: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/classucrec.html b/docs/module-doc/classucrec.html index 15f7910f3..2fe8b87b2 100644 --- a/docs/module-doc/classucrec.html +++ b/docs/module-doc/classucrec.html @@ -162,7 +162,7 @@ Definition at line <a class="el" href="channels_8h-source.html#l00171">171</a> o </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 Fri Apr 2 13:37:45 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46: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/classuserrec-members.html b/docs/module-doc/classuserrec-members.html index 24f9b9811..a8c34d8a3 100644 --- a/docs/module-doc/classuserrec-members.html +++ b/docs/module-doc/classuserrec-members.html @@ -53,7 +53,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 Fri Apr 2 13:37:46 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46: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/classuserrec.html b/docs/module-doc/classuserrec.html index 371c15e9f..274b7f424 100644 --- a/docs/module-doc/classuserrec.html +++ b/docs/module-doc/classuserrec.html @@ -643,7 +643,7 @@ Definition at line <a class="el" href="users_8h-source.html#l00096">96</a> of fi </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 Fri Apr 2 13:37:46 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46: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/connection_8h-source.html b/docs/module-doc/connection_8h-source.html index 114d23931..6870d921a 100644 --- a/docs/module-doc/connection_8h-source.html +++ b/docs/module-doc/connection_8h-source.html @@ -79,7 +79,7 @@ 00071 00072 <span class="preprocessor">#endif</span> 00073 <span class="preprocessor"></span> -</pre></div><hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:27 2004 for InspIRCd by +</pre></div><hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46: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 87d174027..2d36150ee 100644 --- a/docs/module-doc/connection_8h.html +++ b/docs/module-doc/connection_8h.html @@ -142,7 +142,7 @@ Definition at line <a class="el" href="connection_8h-source.html#l00020">20</a> Definition at line <a class="el" href="connection_8h-source.html#l00022">22</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 Fri Apr 2 13:37:30 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46: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/ctables_8h-source.html b/docs/module-doc/ctables_8h-source.html index 40dc67167..fb9209ab9 100644 --- a/docs/module-doc/ctables_8h-source.html +++ b/docs/module-doc/ctables_8h-source.html @@ -43,7 +43,7 @@ 00049 00050 <span class="preprocessor">#endif</span> 00051 <span class="preprocessor"></span> -</pre></div><hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:27 2004 for InspIRCd by +</pre></div><hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46: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 4221d4abb..9fca91ba8 100644 --- a/docs/module-doc/ctables_8h.html +++ b/docs/module-doc/ctables_8h.html @@ -57,7 +57,7 @@ This graph shows which files directly or indirectly include this file:<p><center Definition at line <a class="el" href="ctables_8h-source.html#l00023">23</a> of file <a class="el" href="ctables_8h-source.html">ctables.h</a>. </td> </tr> </table> -<hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:30 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46: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/ctables_8h__dep__incl.gif b/docs/module-doc/ctables_8h__dep__incl.gif Binary files differnew file mode 100644 index 000000000..aa9715c04 --- /dev/null +++ b/docs/module-doc/ctables_8h__dep__incl.gif diff --git a/docs/module-doc/files.html b/docs/module-doc/files.html index 4be939d87..4fbe6cb8a 100644 --- a/docs/module-doc/files.html +++ b/docs/module-doc/files.html @@ -19,7 +19,7 @@ <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> </table> -<hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:27 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46:04 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 091beb352..9cc059f3c 100644 --- a/docs/module-doc/functions.html +++ b/docs/module-doc/functions.html @@ -133,9 +133,9 @@ 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 -: <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>nick +<li>Name +: <a class="el" href="classAdmin.html#m0">Admin</a><li>name +: <a class="el" href="classserverrec.html#m0">serverrec</a>, <a class="el" href="classchanrec.html#m0">chanrec</a><li>nick : <a class="el" href="classuserrec.html#m0">userrec</a><li>Nick : <a class="el" href="classAdmin.html#m2">Admin</a><li>noexternal : <a class="el" href="classchanrec.html#m9">chanrec</a><li>nping @@ -177,15 +177,16 @@ Here is a list of all class members with links to the classes they belong to:<h3 : <a class="el" href="classconnection.html#a7">connection</a><li>SendChannel() : <a class="el" href="classServer.html#a8">Server</a><li>SendCommon() : <a class="el" href="classServer.html#a10">Server</a><li>SendFrom() -: <a class="el" href="classServer.html#a6">Server</a><li>SendOpers() +: <a class="el" href="classServer.html#a6">Server</a><li>SendMode() +: <a class="el" href="classServer.html#a21">Server</a><li>SendOpers() : <a class="el" href="classServer.html#a2">Server</a><li>SendPacket() : <a class="el" href="classconnection.html#a4">connection</a><li>SendServ() : <a class="el" href="classServer.html#a5">Server</a><li>SendSYN() : <a class="el" href="classconnection.html#a6">connection</a><li>SendTo() : <a class="el" href="classServer.html#a7">Server</a><li>SendWallops() -: <a class="el" href="classServer.html#a11">Server</a><li>Server() -: <a class="el" href="classServer.html#a0">Server</a><li>server -: <a class="el" href="classuserrec.html#m6">userrec</a><li>serverrec() +: <a class="el" href="classServer.html#a11">Server</a><li>server +: <a class="el" href="classuserrec.html#m6">userrec</a><li>Server() +: <a class="el" href="classServer.html#a0">Server</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 @@ -214,9 +215,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="classserverrec.html#m6">serverrec</a><li>Version() -: <a class="el" href="classVersion.html#a0">Version</a></ul> +: <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> <h3><a name="index_~">- ~ -</a> </h3><ul> <li>~chanrec() @@ -232,7 +233,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 Fri Apr 2 13:37:33 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46: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> diff --git a/docs/module-doc/globals.html b/docs/module-doc/globals.html index cb7a7e52a..5918121fa 100644 --- a/docs/module-doc/globals.html +++ b/docs/module-doc/globals.html @@ -82,7 +82,8 @@ Here is a list of all file members with links to the files they belong to:<h3><a : <a class="el" href="connection_8h.html#a2">connection.h</a></ul> <h3><a name="index_s">- s -</a> </h3><ul> -<li>SPARSE +<li>server_mode() +: <a class="el" href="modules_8h.html#a13">modules.h</a><li>SPARSE : <a class="el" href="modules_8h.html#a3">modules.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 @@ -101,7 +102,7 @@ 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 Fri Apr 2 13:37:46 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46: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> diff --git a/docs/module-doc/graph_legend.html b/docs/module-doc/graph_legend.html index 5e1bbbc7c..f3845fc80 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 Fri Apr 2 13:37:46 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46: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> diff --git a/docs/module-doc/hierarchy.html b/docs/module-doc/hierarchy.html index 05eedb308..0b466e918 100644 --- a/docs/module-doc/hierarchy.html +++ b/docs/module-doc/hierarchy.html @@ -38,7 +38,7 @@ This inheritance list is sorted roughly, but not completely, alphabetically:<ul> </ul> <li><a class="el" href="classExtMode.html">ExtMode</a> </ul> -<hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:33 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46: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> diff --git a/docs/module-doc/inherit__graph__1.gif b/docs/module-doc/inherit__graph__1.gif Binary files differnew file mode 100644 index 000000000..f79fa673d --- /dev/null +++ b/docs/module-doc/inherit__graph__1.gif diff --git a/docs/module-doc/inherits.html b/docs/module-doc/inherits.html index fd4327674..c841b60dd 100644 --- a/docs/module-doc/inherits.html +++ b/docs/module-doc/inherits.html @@ -38,7 +38,7 @@ <area href="classExtMode.html" shape="rect" coords="19,5,77,26" alt=""> </map></td></tr> </table> -<hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:47 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46: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> diff --git a/docs/module-doc/main.html b/docs/module-doc/main.html index fa3a2d291..9efc7e37b 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="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 Fri Apr 2 13:37:27 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46:04 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-source.html b/docs/module-doc/modules_8cpp-source.html index 00de97628..7e31fec1d 100644 --- a/docs/module-doc/modules_8cpp-source.html +++ b/docs/module-doc/modules_8cpp-source.html @@ -133,191 +133,195 @@ 00125 <a class="code" href="modules_8h.html#a12">createcommand</a>(cmd,f,flags,minparams); 00126 } 00127 -00128 -<a name="l00129"></a><a class="code" href="classServer.html#a4">00129</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) -00130 { -00131 Write(Socket,<span class="stringliteral">"%s"</span>,s.c_str()); -00132 } -00133 -<a name="l00134"></a><a class="code" href="classServer.html#a5">00134</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) -00135 { -00136 WriteServ(Socket,<span class="stringliteral">"%s"</span>,s.c_str()); -00137 } -00138 -<a name="l00139"></a><a class="code" href="classServer.html#a6">00139</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) -00140 { -00141 WriteFrom(Socket,User,<span class="stringliteral">"%s"</span>,s.c_str()); -00142 } -00143 -<a name="l00144"></a><a class="code" href="classServer.html#a7">00144</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) -00145 { -00146 WriteTo(Source,Dest,<span class="stringliteral">"%s"</span>,s.c_str()); -00147 } -00148 -<a name="l00149"></a><a class="code" href="classServer.html#a8">00149</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) -00150 { -00151 <span class="keywordflow">if</span> (IncludeSender) -00152 { -00153 WriteChannel(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str()); -00154 } -00155 <span class="keywordflow">else</span> +<a name="l00128"></a><a class="code" href="classServer.html#a21">00128</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a21">Server::SendMode</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user) +00129 { +00130 <a class="code" href="modules_8h.html#a13">server_mode</a>(parameters,pcnt,user); +00131 } +00132 +<a name="l00133"></a><a class="code" href="classServer.html#a4">00133</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) +00134 { +00135 Write(Socket,<span class="stringliteral">"%s"</span>,s.c_str()); +00136 } +00137 +<a name="l00138"></a><a class="code" href="classServer.html#a5">00138</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) +00139 { +00140 WriteServ(Socket,<span class="stringliteral">"%s"</span>,s.c_str()); +00141 } +00142 +<a name="l00143"></a><a class="code" href="classServer.html#a6">00143</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) +00144 { +00145 WriteFrom(Socket,User,<span class="stringliteral">"%s"</span>,s.c_str()); +00146 } +00147 +<a name="l00148"></a><a class="code" href="classServer.html#a7">00148</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) +00149 { +00150 WriteTo(Source,Dest,<span class="stringliteral">"%s"</span>,s.c_str()); +00151 } +00152 +<a name="l00153"></a><a class="code" href="classServer.html#a8">00153</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) +00154 { +00155 <span class="keywordflow">if</span> (IncludeSender) 00156 { -00157 ChanExceptSender(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str()); +00157 WriteChannel(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str()); 00158 } -00159 } -00160 -<a name="l00161"></a><a class="code" href="classServer.html#a9">00161</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) -00162 { -00163 <span class="keywordflow">return</span> (common_channels(u1,u2) != 0); -00164 } -00165 -<a name="l00166"></a><a class="code" href="classServer.html#a10">00166</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) -00167 { -00168 <span class="keywordflow">if</span> (IncludeSender) -00169 { -00170 WriteCommon(User,<span class="stringliteral">"%s"</span>,text.c_str()); -00171 } -00172 <span class="keywordflow">else</span> +00159 <span class="keywordflow">else</span> +00160 { +00161 ChanExceptSender(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str()); +00162 } +00163 } +00164 +<a name="l00165"></a><a class="code" href="classServer.html#a9">00165</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) +00166 { +00167 <span class="keywordflow">return</span> (common_channels(u1,u2) != 0); +00168 } +00169 +<a name="l00170"></a><a class="code" href="classServer.html#a10">00170</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) +00171 { +00172 <span class="keywordflow">if</span> (IncludeSender) 00173 { -00174 WriteCommonExcept(User,<span class="stringliteral">"%s"</span>,text.c_str()); +00174 WriteCommon(User,<span class="stringliteral">"%s"</span>,text.c_str()); 00175 } -00176 } -00177 -<a name="l00178"></a><a class="code" href="classServer.html#a11">00178</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) -00179 { -00180 WriteWallOps(User,<span class="stringliteral">"%s"</span>,text.c_str()); -00181 } -00182 -<a name="l00183"></a><a class="code" href="classServer.html#a12">00183</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a12">Server::IsNick</a>(std::string nick) -00184 { -00185 <span class="keywordflow">return</span> (isnick(nick.c_str()) != 0); -00186 } -00187 -<a name="l00188"></a><a class="code" href="classServer.html#a13">00188</a> <a class="code" href="classuserrec.html">userrec</a>* <a class="code" href="classServer.html#a13">Server::FindNick</a>(std::string nick) -00189 { -00190 <span class="keywordflow">return</span> Find(nick); -00191 } -00192 -<a name="l00193"></a><a class="code" href="classServer.html#a14">00193</a> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#a14">Server::FindChannel</a>(std::string channel) -00194 { -00195 <span class="keywordflow">return</span> FindChan(channel.c_str()); -00196 } -00197 -<a name="l00198"></a><a class="code" href="classServer.html#a15">00198</a> std::string <a class="code" href="classServer.html#a15">Server::ChanMode</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Chan) -00199 { -00200 <span class="keywordflow">return</span> cmode(User,Chan); -00201 } -00202 -<a name="l00203"></a><a class="code" href="classServer.html#a16">00203</a> std::string <a class="code" href="classServer.html#a16">Server::GetServerName</a>() -00204 { -00205 <span class="keywordflow">return</span> getservername(); -00206 } -00207 -<a name="l00208"></a><a class="code" href="classServer.html#a17">00208</a> std::string <a class="code" href="classServer.html#a17">Server::GetNetworkName</a>() -00209 { -00210 <span class="keywordflow">return</span> getnetworkname(); -00211 } -00212 -<a name="l00213"></a><a class="code" href="classServer.html#a18">00213</a> <a class="code" href="classAdmin.html">Admin</a> <a class="code" href="classServer.html#a18">Server::GetAdmin</a>() -00214 { -00215 <span class="keywordflow">return</span> <a class="code" href="classAdmin.html">Admin</a>(getadminname(),getadminemail(),getadminnick()); -00216 } -00217 -00218 -00219 -<a name="l00220"></a><a class="code" href="classServer.html#a19">00220</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a19">Server::AddExtendedMode</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type, <span class="keywordtype">bool</span> default_on, <span class="keywordtype">int</span> params_when_on, <span class="keywordtype">int</span> params_when_off) -00221 { -00222 } +00176 <span class="keywordflow">else</span> +00177 { +00178 WriteCommonExcept(User,<span class="stringliteral">"%s"</span>,text.c_str()); +00179 } +00180 } +00181 +<a name="l00182"></a><a class="code" href="classServer.html#a11">00182</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) +00183 { +00184 WriteWallOps(User,<span class="stringliteral">"%s"</span>,text.c_str()); +00185 } +00186 +<a name="l00187"></a><a class="code" href="classServer.html#a12">00187</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a12">Server::IsNick</a>(std::string nick) +00188 { +00189 <span class="keywordflow">return</span> (isnick(nick.c_str()) != 0); +00190 } +00191 +<a name="l00192"></a><a class="code" href="classServer.html#a13">00192</a> <a class="code" href="classuserrec.html">userrec</a>* <a class="code" href="classServer.html#a13">Server::FindNick</a>(std::string nick) +00193 { +00194 <span class="keywordflow">return</span> Find(nick); +00195 } +00196 +<a name="l00197"></a><a class="code" href="classServer.html#a14">00197</a> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#a14">Server::FindChannel</a>(std::string channel) +00198 { +00199 <span class="keywordflow">return</span> FindChan(channel.c_str()); +00200 } +00201 +<a name="l00202"></a><a class="code" href="classServer.html#a15">00202</a> std::string <a class="code" href="classServer.html#a15">Server::ChanMode</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Chan) +00203 { +00204 <span class="keywordflow">return</span> cmode(User,Chan); +00205 } +00206 +<a name="l00207"></a><a class="code" href="classServer.html#a16">00207</a> std::string <a class="code" href="classServer.html#a16">Server::GetServerName</a>() +00208 { +00209 <span class="keywordflow">return</span> getservername(); +00210 } +00211 +<a name="l00212"></a><a class="code" href="classServer.html#a17">00212</a> std::string <a class="code" href="classServer.html#a17">Server::GetNetworkName</a>() +00213 { +00214 <span class="keywordflow">return</span> getnetworkname(); +00215 } +00216 +<a name="l00217"></a><a class="code" href="classServer.html#a18">00217</a> <a class="code" href="classAdmin.html">Admin</a> <a class="code" href="classServer.html#a18">Server::GetAdmin</a>() +00218 { +00219 <span class="keywordflow">return</span> <a class="code" href="classAdmin.html">Admin</a>(getadminname(),getadminemail(),getadminnick()); +00220 } +00221 +00222 00223 -00224 -<a name="l00225"></a><a class="code" href="classConfigReader.html#a0">00225</a> <a class="code" href="classConfigReader.html#a0">ConfigReader::ConfigReader</a>() -00226 { -00227 <a class="code" href="classConfigReader.html#n0">fname</a> = CONFIG_FILE; -00228 } -00229 -00230 -<a name="l00231"></a><a class="code" href="classConfigReader.html#a2">00231</a> <a class="code" href="classConfigReader.html#a2">ConfigReader::~ConfigReader</a>() -00232 { -00233 } +<a name="l00224"></a><a class="code" href="classServer.html#a19">00224</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a19">Server::AddExtendedMode</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type, <span class="keywordtype">bool</span> default_on, <span class="keywordtype">int</span> params_when_on, <span class="keywordtype">int</span> params_when_off) +00225 { +00226 } +00227 +00228 +<a name="l00229"></a><a class="code" href="classConfigReader.html#a0">00229</a> <a class="code" href="classConfigReader.html#a0">ConfigReader::ConfigReader</a>() +00230 { +00231 <a class="code" href="classConfigReader.html#n0">fname</a> = CONFIG_FILE; +00232 } +00233 00234 -00235 -<a name="l00236"></a><a class="code" href="classConfigReader.html#a1">00236</a> <a class="code" href="classConfigReader.html#a0">ConfigReader::ConfigReader</a>(std::string filename) : fname(filename) { }; -00237 -<a name="l00238"></a><a class="code" href="classConfigReader.html#a3">00238</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) -00239 { -00240 <span class="keywordtype">char</span> val[MAXBUF]; -00241 ReadConf(<a class="code" href="classConfigReader.html#n0">fname</a>.c_str(),tag.c_str(),name.c_str(),index,val); -00242 <span class="keywordflow">return</span> val; -00243 } -00244 -00245 -<a name="l00246"></a><a class="code" href="classConfigReader.html#a4">00246</a> <span class="keywordtype">int</span> <a class="code" href="classConfigReader.html#a4">ConfigReader::Enumerate</a>(std::string tag) -00247 { -00248 <span class="keywordflow">return</span> EnumConf(<a class="code" href="classConfigReader.html#n0">fname</a>.c_str(),tag.c_str()); -00249 } -00250 -00251 -<a name="l00252"></a><a class="code" href="classConfigReader.html#a5">00252</a> <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#a5">ConfigReader::Verify</a>() -00253 { -00254 <span class="keywordflow">return</span> <span class="keyword">true</span>; -00255 } -00256 -00257 -<a name="l00258"></a><a class="code" href="classFileReader.html#a1">00258</a> <a class="code" href="classFileReader.html#a0">FileReader::FileReader</a>(std::string filename) -00259 { -00260 <a class="code" href="modules_8h.html#a9">file_cache</a> c; -00261 readfile(c,filename.c_str()); -00262 this-><a class="code" href="classFileReader.html#o0">fc</a> = c; -00263 } -00264 -<a name="l00265"></a><a class="code" href="classFileReader.html#a0">00265</a> <a class="code" href="classFileReader.html#a0">FileReader::FileReader</a>() -00266 { +<a name="l00235"></a><a class="code" href="classConfigReader.html#a2">00235</a> <a class="code" href="classConfigReader.html#a2">ConfigReader::~ConfigReader</a>() +00236 { +00237 } +00238 +00239 +<a name="l00240"></a><a class="code" href="classConfigReader.html#a1">00240</a> <a class="code" href="classConfigReader.html#a0">ConfigReader::ConfigReader</a>(std::string filename) : fname(filename) { }; +00241 +<a name="l00242"></a><a class="code" href="classConfigReader.html#a3">00242</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) +00243 { +00244 <span class="keywordtype">char</span> val[MAXBUF]; +00245 ReadConf(<a class="code" href="classConfigReader.html#n0">fname</a>.c_str(),tag.c_str(),name.c_str(),index,val); +00246 <span class="keywordflow">return</span> val; +00247 } +00248 +00249 +<a name="l00250"></a><a class="code" href="classConfigReader.html#a4">00250</a> <span class="keywordtype">int</span> <a class="code" href="classConfigReader.html#a4">ConfigReader::Enumerate</a>(std::string tag) +00251 { +00252 <span class="keywordflow">return</span> EnumConf(<a class="code" href="classConfigReader.html#n0">fname</a>.c_str(),tag.c_str()); +00253 } +00254 +00255 +<a name="l00256"></a><a class="code" href="classConfigReader.html#a5">00256</a> <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#a5">ConfigReader::Verify</a>() +00257 { +00258 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00259 } +00260 +00261 +<a name="l00262"></a><a class="code" href="classFileReader.html#a1">00262</a> <a class="code" href="classFileReader.html#a0">FileReader::FileReader</a>(std::string filename) +00263 { +00264 <a class="code" href="modules_8h.html#a9">file_cache</a> c; +00265 readfile(c,filename.c_str()); +00266 this-><a class="code" href="classFileReader.html#o0">fc</a> = c; 00267 } 00268 -<a name="l00269"></a><a class="code" href="classFileReader.html#a3">00269</a> <span class="keywordtype">void</span> <a class="code" href="classFileReader.html#a3">FileReader::LoadFile</a>(std::string filename) +<a name="l00269"></a><a class="code" href="classFileReader.html#a0">00269</a> <a class="code" href="classFileReader.html#a0">FileReader::FileReader</a>() 00270 { -00271 <a class="code" href="modules_8h.html#a9">file_cache</a> c; -00272 readfile(c,filename.c_str()); -00273 this-><a class="code" href="classFileReader.html#o0">fc</a> = c; -00274 } -00275 -00276 -<a name="l00277"></a><a class="code" href="classFileReader.html#a2">00277</a> <a class="code" href="classFileReader.html#a2">FileReader::~FileReader</a>() -00278 { -00279 } +00271 } +00272 +<a name="l00273"></a><a class="code" href="classFileReader.html#a3">00273</a> <span class="keywordtype">void</span> <a class="code" href="classFileReader.html#a3">FileReader::LoadFile</a>(std::string filename) +00274 { +00275 <a class="code" href="modules_8h.html#a9">file_cache</a> c; +00276 readfile(c,filename.c_str()); +00277 this-><a class="code" href="classFileReader.html#o0">fc</a> = c; +00278 } +00279 00280 -<a name="l00281"></a><a class="code" href="classFileReader.html#a4">00281</a> <span class="keywordtype">bool</span> <a class="code" href="classFileReader.html#a4">FileReader::Exists</a>() +<a name="l00281"></a><a class="code" href="classFileReader.html#a2">00281</a> <a class="code" href="classFileReader.html#a2">FileReader::~FileReader</a>() 00282 { -00283 <span class="keywordflow">if</span> (<a class="code" href="classFileReader.html#o0">fc</a>.size() == 0) -00284 { -00285 <span class="keywordflow">return</span>(false); -00286 } -00287 <span class="keywordflow">else</span> +00283 } +00284 +<a name="l00285"></a><a class="code" href="classFileReader.html#a4">00285</a> <span class="keywordtype">bool</span> <a class="code" href="classFileReader.html#a4">FileReader::Exists</a>() +00286 { +00287 <span class="keywordflow">if</span> (<a class="code" href="classFileReader.html#o0">fc</a>.size() == 0) 00288 { -00289 <span class="keywordflow">return</span>(true); +00289 <span class="keywordflow">return</span>(false); 00290 } -00291 } -00292 -<a name="l00293"></a><a class="code" href="classFileReader.html#a5">00293</a> std::string <a class="code" href="classFileReader.html#a5">FileReader::GetLine</a>(<span class="keywordtype">int</span> x) -00294 { -00295 <span class="keywordflow">if</span> ((x<0) || (x><a class="code" href="classFileReader.html#o0">fc</a>.size())) -00296 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; -00297 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#o0">fc</a>[x]; -00298 } -00299 -<a name="l00300"></a><a class="code" href="classFileReader.html#a6">00300</a> <span class="keywordtype">int</span> <a class="code" href="classFileReader.html#a6">FileReader::FileSize</a>() -00301 { -00302 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#o0">fc</a>.size(); -00303 } -00304 -00305 -00306 std::vector<Module*> <a class="code" href="modules_8cpp.html#a8">modules</a>(255); -00307 std::vector<ircd_module*> <a class="code" href="modules_8cpp.html#a9">factory</a>(255); +00291 <span class="keywordflow">else</span> +00292 { +00293 <span class="keywordflow">return</span>(true); +00294 } +00295 } +00296 +<a name="l00297"></a><a class="code" href="classFileReader.html#a5">00297</a> std::string <a class="code" href="classFileReader.html#a5">FileReader::GetLine</a>(<span class="keywordtype">int</span> x) +00298 { +00299 <span class="keywordflow">if</span> ((x<0) || (x><a class="code" href="classFileReader.html#o0">fc</a>.size())) +00300 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; +00301 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#o0">fc</a>[x]; +00302 } +00303 +<a name="l00304"></a><a class="code" href="classFileReader.html#a6">00304</a> <span class="keywordtype">int</span> <a class="code" href="classFileReader.html#a6">FileReader::FileSize</a>() +00305 { +00306 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#o0">fc</a>.size(); +00307 } 00308 -<a name="l00309"></a><a class="code" href="modules_8cpp.html#a3">00309</a> <span class="keywordtype">int</span> <a class="code" href="modules_8cpp.html#a3">MODCOUNT</a> = -1; -00310 -00311 -</pre></div><hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:27 2004 for InspIRCd by +00309 +00310 std::vector<Module*> <a class="code" href="modules_8cpp.html#a8">modules</a>(255); +00311 std::vector<ircd_module*> <a class="code" href="modules_8cpp.html#a9">factory</a>(255); +00312 +<a name="l00313"></a><a class="code" href="modules_8cpp.html#a3">00313</a> <span class="keywordtype">int</span> <a class="code" href="modules_8cpp.html#a3">MODCOUNT</a> = -1; +00314 +00315 +</pre></div><hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46: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 88f136261..a02456293 100644 --- a/docs/module-doc/modules_8cpp.html +++ b/docs/module-doc/modules_8cpp.html @@ -426,10 +426,10 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00073">AddExtendedMo <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00309">309</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#l00313">313</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 Fri Apr 2 13:37:31 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46: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> diff --git a/docs/module-doc/modules_8h-source.html b/docs/module-doc/modules_8h-source.html index 577ffd62a..f872917ec 100644 --- a/docs/module-doc/modules_8h-source.html +++ b/docs/module-doc/modules_8h-source.html @@ -42,127 +42,130 @@ <a name="l00036"></a><a class="code" href="modules_8h.html#a8">00036</a> <span class="preprocessor">#define FOREACH_MOD for (int i = 0; i <= MODCOUNT; i++) modules[i]-></span> 00037 <span class="preprocessor"></span> 00038 <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="modules_8h.html#a12">createcommand</a>(<span class="keywordtype">char</span>* cmd, handlerfunc f, <span class="keywordtype">char</span> flags, <span class="keywordtype">int</span> minparams); -00039 -00040 <span class="comment">// class Version holds the version information of a Module, returned</span> -00041 <span class="comment">// by Module::GetVersion (thanks RD)</span> -00042 -<a name="l00047"></a><a class="code" href="classVersion.html">00047</a> <span class="keyword">class </span><a class="code" href="classVersion.html">Version</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> -00048 { -00049 <span class="keyword">public</span>: -<a name="l00050"></a><a class="code" href="classVersion.html#m2">00050</a> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="classVersion.html#m0">Major</a>, <a class="code" href="classVersion.html#m1">Minor</a>, <a class="code" href="classVersion.html#m2">Revision</a>, <a class="code" href="classVersion.html#m3">Build</a>; -00051 <a class="code" href="classVersion.html#a0">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); -00052 }; -00053 -<a name="l00059"></a><a class="code" href="classAdmin.html">00059</a> <span class="keyword">class </span><a class="code" href="classAdmin.html">Admin</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> -00060 { -00061 <span class="keyword">public</span>: -<a name="l00062"></a><a class="code" href="classAdmin.html#m2">00062</a> <span class="keyword">const</span> std::string <a class="code" href="classAdmin.html#m0">Name</a>, <a class="code" href="classAdmin.html#m1">Email</a>, <a class="code" href="classAdmin.html#m2">Nick</a>; -00063 <a class="code" href="classAdmin.html#a0">Admin</a>(std::string name, std::string email, std::string nick); -00064 }; -00065 -<a name="l00071"></a><a class="code" href="classModule.html">00071</a> <span class="keyword">class </span><a class="code" href="classModule.html">Module</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> -00072 { -00073 <span class="keyword">public</span>: -00074 -00078 <a class="code" href="classModule.html#a0">Module</a>(); -00079 -00083 <span class="keyword">virtual</span> <a class="code" href="classModule.html#a1">~Module</a>(); -00084 -00089 <span class="keyword">virtual</span> <a class="code" href="classVersion.html">Version</a> <a class="code" href="classModule.html#a2">GetVersion</a>(); -00090 -00094 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a3">OnUserConnect</a>(<a class="code" href="classuserrec.html">userrec</a>* user); -00095 -00099 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a4">OnUserQuit</a>(<a class="code" href="classuserrec.html">userrec</a>* user); -00100 -00105 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a5">OnUserJoin</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* channel); -00106 -00111 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a6">OnUserPart</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* channel); -00112 -00119 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a7">Module::OnPacketTransmit</a>(<span class="keywordtype">char</span> *p); -00120 -00128 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a8">Module::OnPacketReceive</a>(<span class="keywordtype">char</span> *p); -00129 -00135 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a9">OnRehash</a>(); -00136 -00143 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a10">OnServerRaw</a>(std::string &raw, <span class="keywordtype">bool</span> inbound); -00144 -00153 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classModule.html#a11">OnExtendedMode</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan, <span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type, <span class="keywordtype">bool</span> mode_on, string_list &params); -00154 -00155 }; -00156 -00157 -<a name="l00163"></a><a class="code" href="classServer.html">00163</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> -00164 { -00165 <span class="keyword">public</span>: -00169 <a class="code" href="classServer.html#a0">Server</a>(); -00173 <span class="keyword">virtual</span> <a class="code" href="classServer.html#a1">~Server</a>(); -00174 -00178 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a2">SendOpers</a>(std::string s); -00183 <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); -00188 <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); -00193 <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); -00198 <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); -00203 <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); -00210 <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); -00215 <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); -00223 <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); -00228 <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); -00229 -00233 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a12">IsNick</a>(std::string nick); -00237 <span class="keyword">virtual</span> <a class="code" href="classuserrec.html">userrec</a>* <a class="code" href="classServer.html#a13">FindNick</a>(std::string nick); -00241 <span class="keyword">virtual</span> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#a14">FindChannel</a>(std::string channel); -00246 <span class="keyword">virtual</span> std::string <a class="code" href="classServer.html#a15">ChanMode</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Chan); -00249 <span class="keyword">virtual</span> std::string <a class="code" href="classServer.html#a16">GetServerName</a>(); -00252 <span class="keyword">virtual</span> std::string <a class="code" href="classServer.html#a17">GetNetworkName</a>(); -00258 <span class="keyword">virtual</span> <a class="code" href="classAdmin.html">Admin</a> <a class="code" href="classServer.html#a18">GetAdmin</a>(); -00276 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a19">AddExtendedMode</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type, <span class="keywordtype">bool</span> default_on, <span class="keywordtype">int</span> params_when_on, <span class="keywordtype">int</span> params_when_off); -00277 -00292 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a20">AddCommand</a>(<span class="keywordtype">char</span>* cmd, handlerfunc f, <span class="keywordtype">char</span> flags, <span class="keywordtype">int</span> minparams); -00293 -00294 }; -00295 -<a name="l00302"></a><a class="code" href="classConfigReader.html">00302</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> -00303 { -00304 <span class="keyword">protected</span>: -<a name="l00307"></a><a class="code" href="classConfigReader.html#n0">00307</a> std::string <a class="code" href="classConfigReader.html#n0">fname</a>; -00308 <span class="keyword">public</span>: -00313 <a class="code" href="classConfigReader.html#a0">ConfigReader</a>(); <span class="comment">// default constructor reads ircd.conf</span> -00317 <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> -00321 <span class="comment"></span> <a class="code" href="classConfigReader.html#a2">~ConfigReader</a>(); -00326 std::string <a class="code" href="classConfigReader.html#a3">ReadValue</a>(std::string tag, std::string name, <span class="keywordtype">int</span> index); -00333 <span class="keywordtype">int</span> <a class="code" href="classConfigReader.html#a4">Enumerate</a>(std::string tag); -00337 <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#a5">Verify</a>(); -00338 }; -00339 -00340 -00341 -<a name="l00347"></a><a class="code" href="classFileReader.html">00347</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> -00348 { -<a name="l00349"></a><a class="code" href="classFileReader.html#o0">00349</a> <a class="code" href="modules_8h.html#a9">file_cache</a> <a class="code" href="classFileReader.html#o0">fc</a>; -00350 <span class="keyword">public</span>: -00355 <a class="code" href="classFileReader.html#a0">FileReader</a>(); -00361 <a class="code" href="classFileReader.html#a0">FileReader</a>(std::string filename); -00365 <a class="code" href="classFileReader.html#a2">~FileReader</a>(); -00371 <span class="keywordtype">void</span> <a class="code" href="classFileReader.html#a3">LoadFile</a>(std::string filename); -00376 <span class="keywordtype">bool</span> <a class="code" href="classFileReader.html#a4">Exists</a>(); -00377 std::string <a class="code" href="classFileReader.html#a5">GetLine</a>(<span class="keywordtype">int</span> x); -00383 <span class="keywordtype">int</span> <a class="code" href="classFileReader.html#a6">FileSize</a>(); -00384 }; -00385 -00386 -<a name="l00393"></a><a class="code" href="classModuleFactory.html">00393</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> -00394 { -00395 <span class="keyword">public</span>: -<a name="l00396"></a><a class="code" href="classModuleFactory.html#a0">00396</a> <a class="code" href="classModuleFactory.html#a0">ModuleFactory</a>() { } -<a name="l00397"></a><a class="code" href="classModuleFactory.html#a1">00397</a> <span class="keyword">virtual</span> <a class="code" href="classModuleFactory.html#a1">~ModuleFactory</a>() { } -00402 <span class="keyword">virtual</span> <a class="code" href="classModule.html">Module</a> * <a class="code" href="classModuleFactory.html#a2">CreateModule</a>() = 0; -00403 }; -00404 +00039 <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="modules_8h.html#a13">server_mode</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00040 +00041 <span class="comment">// class Version holds the version information of a Module, returned</span> +00042 <span class="comment">// by Module::GetVersion (thanks RD)</span> +00043 +<a name="l00048"></a><a class="code" href="classVersion.html">00048</a> <span class="keyword">class </span><a class="code" href="classVersion.html">Version</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> +00049 { +00050 <span class="keyword">public</span>: +<a name="l00051"></a><a class="code" href="classVersion.html#m2">00051</a> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="classVersion.html#m0">Major</a>, <a class="code" href="classVersion.html#m1">Minor</a>, <a class="code" href="classVersion.html#m2">Revision</a>, <a class="code" href="classVersion.html#m3">Build</a>; +00052 <a class="code" href="classVersion.html#a0">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); +00053 }; +00054 +<a name="l00060"></a><a class="code" href="classAdmin.html">00060</a> <span class="keyword">class </span><a class="code" href="classAdmin.html">Admin</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> +00061 { +00062 <span class="keyword">public</span>: +<a name="l00063"></a><a class="code" href="classAdmin.html#m2">00063</a> <span class="keyword">const</span> std::string <a class="code" href="classAdmin.html#m0">Name</a>, <a class="code" href="classAdmin.html#m1">Email</a>, <a class="code" href="classAdmin.html#m2">Nick</a>; +00064 <a class="code" href="classAdmin.html#a0">Admin</a>(std::string name, std::string email, std::string nick); +00065 }; +00066 +<a name="l00072"></a><a class="code" href="classModule.html">00072</a> <span class="keyword">class </span><a class="code" href="classModule.html">Module</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> +00073 { +00074 <span class="keyword">public</span>: +00075 +00079 <a class="code" href="classModule.html#a0">Module</a>(); +00080 +00084 <span class="keyword">virtual</span> <a class="code" href="classModule.html#a1">~Module</a>(); +00085 +00090 <span class="keyword">virtual</span> <a class="code" href="classVersion.html">Version</a> <a class="code" href="classModule.html#a2">GetVersion</a>(); +00091 +00095 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a3">OnUserConnect</a>(<a class="code" href="classuserrec.html">userrec</a>* user); +00096 +00100 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a4">OnUserQuit</a>(<a class="code" href="classuserrec.html">userrec</a>* user); +00101 +00106 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a5">OnUserJoin</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* channel); +00107 +00112 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a6">OnUserPart</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* channel); +00113 +00120 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a7">Module::OnPacketTransmit</a>(<span class="keywordtype">char</span> *p); +00121 +00129 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a8">Module::OnPacketReceive</a>(<span class="keywordtype">char</span> *p); +00130 +00136 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a9">OnRehash</a>(); +00137 +00144 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a10">OnServerRaw</a>(std::string &raw, <span class="keywordtype">bool</span> inbound); +00145 +00154 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classModule.html#a11">OnExtendedMode</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan, <span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type, <span class="keywordtype">bool</span> mode_on, string_list &params); +00155 +00156 +00157 }; +00158 +00159 +<a name="l00165"></a><a class="code" href="classServer.html">00165</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> +00166 { +00167 <span class="keyword">public</span>: +00171 <a class="code" href="classServer.html#a0">Server</a>(); +00175 <span class="keyword">virtual</span> <a class="code" href="classServer.html#a1">~Server</a>(); +00176 +00180 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a2">SendOpers</a>(std::string s); +00185 <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); +00190 <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); +00195 <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); +00200 <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); +00205 <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); +00212 <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); +00217 <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); +00225 <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); +00230 <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); +00231 +00235 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a12">IsNick</a>(std::string nick); +00239 <span class="keyword">virtual</span> <a class="code" href="classuserrec.html">userrec</a>* <a class="code" href="classServer.html#a13">FindNick</a>(std::string nick); +00243 <span class="keyword">virtual</span> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#a14">FindChannel</a>(std::string channel); +00248 <span class="keyword">virtual</span> std::string <a class="code" href="classServer.html#a15">ChanMode</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Chan); +00251 <span class="keyword">virtual</span> std::string <a class="code" href="classServer.html#a16">GetServerName</a>(); +00254 <span class="keyword">virtual</span> std::string <a class="code" href="classServer.html#a17">GetNetworkName</a>(); +00260 <span class="keyword">virtual</span> <a class="code" href="classAdmin.html">Admin</a> <a class="code" href="classServer.html#a18">GetAdmin</a>(); +00278 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a19">AddExtendedMode</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type, <span class="keywordtype">bool</span> default_on, <span class="keywordtype">int</span> params_when_on, <span class="keywordtype">int</span> params_when_off); +00279 +00294 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a20">AddCommand</a>(<span class="keywordtype">char</span>* cmd, handlerfunc f, <span class="keywordtype">char</span> flags, <span class="keywordtype">int</span> minparams); +00295 +00313 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a21">SendMode</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00314 }; +00315 +<a name="l00322"></a><a class="code" href="classConfigReader.html">00322</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> +00323 { +00324 <span class="keyword">protected</span>: +<a name="l00327"></a><a class="code" href="classConfigReader.html#n0">00327</a> std::string <a class="code" href="classConfigReader.html#n0">fname</a>; +00328 <span class="keyword">public</span>: +00333 <a class="code" href="classConfigReader.html#a0">ConfigReader</a>(); <span class="comment">// default constructor reads ircd.conf</span> +00337 <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> +00341 <span class="comment"></span> <a class="code" href="classConfigReader.html#a2">~ConfigReader</a>(); +00346 std::string <a class="code" href="classConfigReader.html#a3">ReadValue</a>(std::string tag, std::string name, <span class="keywordtype">int</span> index); +00353 <span class="keywordtype">int</span> <a class="code" href="classConfigReader.html#a4">Enumerate</a>(std::string tag); +00357 <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#a5">Verify</a>(); +00358 }; +00359 +00360 +00361 +<a name="l00367"></a><a class="code" href="classFileReader.html">00367</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> +00368 { +<a name="l00369"></a><a class="code" href="classFileReader.html#o0">00369</a> <a class="code" href="modules_8h.html#a9">file_cache</a> <a class="code" href="classFileReader.html#o0">fc</a>; +00370 <span class="keyword">public</span>: +00375 <a class="code" href="classFileReader.html#a0">FileReader</a>(); +00381 <a class="code" href="classFileReader.html#a0">FileReader</a>(std::string filename); +00385 <a class="code" href="classFileReader.html#a2">~FileReader</a>(); +00391 <span class="keywordtype">void</span> <a class="code" href="classFileReader.html#a3">LoadFile</a>(std::string filename); +00396 <span class="keywordtype">bool</span> <a class="code" href="classFileReader.html#a4">Exists</a>(); +00397 std::string <a class="code" href="classFileReader.html#a5">GetLine</a>(<span class="keywordtype">int</span> x); +00403 <span class="keywordtype">int</span> <a class="code" href="classFileReader.html#a6">FileSize</a>(); +00404 }; 00405 -<a name="l00406"></a><a class="code" href="modules_8h.html#a11">00406</a> <span class="keyword">typedef</span> DLLFactory<ModuleFactory> <a class="code" href="modules_8h.html#a11">ircd_module</a>; -00407 -00408 <span class="preprocessor">#endif</span> -</pre></div><hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:27 2004 for InspIRCd by +00406 +<a name="l00413"></a><a class="code" href="classModuleFactory.html">00413</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> +00414 { +00415 <span class="keyword">public</span>: +<a name="l00416"></a><a class="code" href="classModuleFactory.html#a0">00416</a> <a class="code" href="classModuleFactory.html#a0">ModuleFactory</a>() { } +<a name="l00417"></a><a class="code" href="classModuleFactory.html#a1">00417</a> <span class="keyword">virtual</span> <a class="code" href="classModuleFactory.html#a1">~ModuleFactory</a>() { } +00422 <span class="keyword">virtual</span> <a class="code" href="classModule.html">Module</a> * <a class="code" href="classModuleFactory.html#a2">CreateModule</a>() = 0; +00423 }; +00424 +00425 +<a name="l00426"></a><a class="code" href="modules_8h.html#a11">00426</a> <span class="keyword">typedef</span> DLLFactory<ModuleFactory> <a class="code" href="modules_8h.html#a11">ircd_module</a>; +00427 +00428 <span class="preprocessor">#endif</span> +</pre></div><hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46: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 2ba5b9dad..95111c43d 100644 --- a/docs/module-doc/modules_8h.html +++ b/docs/module-doc/modules_8h.html @@ -60,6 +60,7 @@ This graph shows which files directly or indirectly include this file:<p><center <tr><td nowrap align=right valign=top>typedef DLLFactory< <a class="el" href="classModuleFactory.html">ModuleFactory</a> > </td><td valign=bottom><a class="el" href="modules_8h.html#a11">ircd_module</a></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="modules_8h.html#a12">createcommand</a> (char *cmd, <a class="el" href="ctables_8h.html#a0">handlerfunc</a> f, char flags, int minparams)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="modules_8h.html#a13">server_mode</a> (char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> </table> <hr><h2>Define Documentation</h2> <a name="a0" doxytag="modules.h::DEBUG"></a><p> @@ -304,7 +305,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#l00029">29</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#l00258">FileReader::FileReader()</a>, and <a class="el" href="modules_8cpp-source.html#l00269">FileReader::LoadFile()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00262">FileReader::FileReader()</a>, and <a class="el" href="modules_8cpp-source.html#l00273">FileReader::LoadFile()</a>. </td> </tr> </table> <a name="a11" doxytag="modules.h::ircd_module"></a><p> @@ -328,7 +329,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00258">FileReader::F <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00406">406</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#l00426">426</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td> </tr> </table> <a name="a10" doxytag="modules.h::string_list"></a><p> @@ -408,7 +409,53 @@ Definition at line <a class="el" href="modules_8h-source.html#l00030">30</a> of Referenced by <a class="el" href="modules_8cpp-source.html#l00123">Server::AddCommand()</a>. </td> </tr> </table> -<hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:31 2004 for InspIRCd by +<a name="a13" doxytag="modules.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> + +<p> +Referenced by <a class="el" href="modules_8cpp-source.html#l00128">Server::SendMode()</a>. </td> + </tr> +</table> +<hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46: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> diff --git a/docs/module-doc/servers_8cpp-source.html b/docs/module-doc/servers_8cpp-source.html index e36a1e279..e44eb231c 100644 --- a/docs/module-doc/servers_8cpp-source.html +++ b/docs/module-doc/servers_8cpp-source.html @@ -46,7 +46,7 @@ 00038 <a class="code" href="classconnection.html#m1">fd</a> = 0; 00039 } 00040 -</pre></div><hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:27 2004 for InspIRCd by +</pre></div><hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46: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 df236e2ef..bc54fba26 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 Fri Apr 2 13:37:31 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46: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/servers_8h-source.html b/docs/module-doc/servers_8h-source.html index 2074436cf..07ed40b5c 100644 --- a/docs/module-doc/servers_8h-source.html +++ b/docs/module-doc/servers_8h-source.html @@ -44,7 +44,7 @@ 00060 00061 <span class="preprocessor">#endif</span> 00062 <span class="preprocessor"></span> -</pre></div><hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:27 2004 for InspIRCd by +</pre></div><hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46: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 7d7049f95..7abb78c1e 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 Fri Apr 2 13:37:32 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46: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/users_8cpp-source.html b/docs/module-doc/users_8cpp-source.html index fa84b42c1..2f77486da 100644 --- a/docs/module-doc/users_8cpp-source.html +++ b/docs/module-doc/users_8cpp-source.html @@ -88,7 +88,7 @@ 00080 } 00081 } 00082 } -</pre></div><hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:27 2004 for InspIRCd by +</pre></div><hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46: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 54a8431a1..096e34fe2 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 Fri Apr 2 13:37:33 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46: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> diff --git a/docs/module-doc/users_8h-source.html b/docs/module-doc/users_8h-source.html index 3934902c8..abea07d3a 100644 --- a/docs/module-doc/users_8h-source.html +++ b/docs/module-doc/users_8h-source.html @@ -92,7 +92,7 @@ 00140 00141 00142 <span class="preprocessor">#endif</span> -</pre></div><hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:27 2004 for InspIRCd by +</pre></div><hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46: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 183608ec4..f833fa2f1 100644 --- a/docs/module-doc/users_8h.html +++ b/docs/module-doc/users_8h.html @@ -245,7 +245,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#l00044">44</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 Fri Apr 2 13:37:33 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46: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> |