diff options
114 files changed, 1009 insertions, 493 deletions
diff --git a/docs/module-doc/annotated.html b/docs/module-doc/annotated.html index 53cfa62ab..ef4e0340e 100644 --- a/docs/module-doc/annotated.html +++ b/docs/module-doc/annotated.html @@ -42,7 +42,7 @@ <tr><td class="indexkey"><a class="el" href="classXLine.html">XLine</a></td><td class="indexvalue">XLine is the base class for ban lines such as G lines and K lines</td></tr> <tr><td class="indexkey"><a class="el" href="classZLine.html">ZLine</a></td><td class="indexvalue">ZLine class</td></tr> </table> -<hr><address style="align: right;"><small>Generated on Sat May 1 17:50:18 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sat May 1 20:57:58 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 84e1ee5ea..3ce91b20c 100644 --- a/docs/module-doc/base_8h-source.html +++ b/docs/module-doc/base_8h-source.html @@ -44,7 +44,7 @@ 00067 00068 <span class="preprocessor">#endif</span> 00069 <span class="preprocessor"></span> -</pre></div><hr><address style="align: right;"><small>Generated on Sat May 1 17:50:06 2004 for InspIRCd by +</pre></div><hr><address style="align: right;"><small>Generated on Sat May 1 20:57:46 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 9c283c306..6eec8b494 100644 --- a/docs/module-doc/base_8h.html +++ b/docs/module-doc/base_8h.html @@ -59,7 +59,7 @@ This graph shows which files directly or indirectly include this file:<p><center Definition at line <a class="el" href="base_8h-source.html#l00013">13</a> of file <a class="el" href="base_8h-source.html">base.h</a>. </td> </tr> </table> -<hr><address style="align: right;"><small>Generated on Sat May 1 17:50:07 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sat May 1 20:57:48 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 index 867825333..c310a1ad4 100644 --- a/docs/module-doc/channels_8cpp-source.html +++ b/docs/module-doc/channels_8cpp-source.html @@ -191,7 +191,7 @@ 00183 } 00184 <span class="keywordflow">return</span> std::string(<span class="stringliteral">""</span>); 00185 } -</pre></div><hr><address style="align: right;"><small>Generated on Sat May 1 17:50:06 2004 for InspIRCd by +</pre></div><hr><address style="align: right;"><small>Generated on Sat May 1 20:57:46 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/channels_8cpp.html b/docs/module-doc/channels_8cpp.html index 45de799ac..f8a4a3fdb 100644 --- a/docs/module-doc/channels_8cpp.html +++ b/docs/module-doc/channels_8cpp.html @@ -60,7 +60,7 @@ Include dependency graph for channels.cpp:<p><center><img src="channels_8cpp__in <tr><td colspan=2><br><h2>Variables</h2></td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="channels_8cpp.html#a1">MODCOUNT</a> = -1</td></tr> <tr><td nowrap align=right valign=top>vector< <a class="el" href="classModule.html">Module</a> * > </td><td valign=bottom><a class="el" href="channels_8cpp.html#a2">modules</a></td></tr> -<tr><td nowrap align=right valign=top>vector< <a class="el" href="modules_8h.html#a25">ircd_module</a> * > </td><td valign=bottom><a class="el" href="channels_8cpp.html#a3">factory</a></td></tr> +<tr><td nowrap align=right valign=top>vector< <a class="el" href="modules_8h.html#a29">ircd_module</a> * > </td><td valign=bottom><a class="el" href="channels_8cpp.html#a3">factory</a></td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="channels_8cpp.html#a4">LogLevel</a></td></tr> <tr><td nowrap align=right valign=top>char </td><td valign=bottom><a class="el" href="channels_8cpp.html#a5">ServerName</a> [MAXBUF]</td></tr> <tr><td nowrap align=right valign=top>char </td><td valign=bottom><a class="el" href="channels_8cpp.html#a6">Network</a> [MAXBUF]</td></tr> @@ -443,7 +443,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00063">63</a> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> vector<<a class="el" href="modules_8h.html#a25">ircd_module</a>*> factory + <td class="md" nowrap valign="top"> vector<<a class="el" href="modules_8h.html#a29">ircd_module</a>*> factory </table> </td> </tr> @@ -626,7 +626,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00087">87</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00652">652</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#l00714">714</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> <a name="a27" doxytag="channels.cpp::module_names"></a><p> @@ -1037,7 +1037,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00067">67</a> Definition at line <a class="el" href="channels_8cpp-source.html#l00066">66</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td> </tr> </table> -<hr><address style="align: right;"><small>Generated on Sat May 1 17:50:08 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sat May 1 20:57:49 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/channels_8h-source.html b/docs/module-doc/channels_8h-source.html index 3016a0db1..facb533e4 100644 --- a/docs/module-doc/channels_8h-source.html +++ b/docs/module-doc/channels_8h-source.html @@ -129,7 +129,7 @@ 00207 00208 <span class="preprocessor">#endif</span> 00209 <span class="preprocessor"></span> -</pre></div><hr><address style="align: right;"><small>Generated on Sat May 1 17:50:06 2004 for InspIRCd by +</pre></div><hr><address style="align: right;"><small>Generated on Sat May 1 20:57:47 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 a48e4e135..81ab391aa 100644 --- a/docs/module-doc/channels_8h.html +++ b/docs/module-doc/channels_8h.html @@ -263,7 +263,7 @@ Holds a complete invite list. Definition at line <a class="el" href="channels_8h-source.html#l00077">77</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td> </tr> </table> -<hr><address style="align: right;"><small>Generated on Sat May 1 17:50:09 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sat May 1 20:57:50 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 d785e2eff..fd95c01fe 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 Sat May 1 17:50:18 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Sat May 1 20:57:59 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 62af6c8ed..e211ac20c 100644 --- a/docs/module-doc/classAdmin.html +++ b/docs/module-doc/classAdmin.html @@ -160,7 +160,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00107">107</a> of </table> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="modules_8h-source.html">modules.h</a><li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul> -<hr><address style="align: right;"><small>Generated on Sat May 1 17:50:18 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sat May 1 20:57:59 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 db972727f..d0d182b61 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 Sat May 1 17:50:19 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Sat May 1 20:57:59 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 9901750d8..ebf42551e 100644 --- a/docs/module-doc/classBanItem.html +++ b/docs/module-doc/classBanItem.html @@ -31,7 +31,7 @@ A subclass of <a class="el" href="classHostItem.html">HostItem</a> designed to h <p> Definition at line <a class="el" href="channels_8h-source.html#l00034">34</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.<hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="channels_8h-source.html">channels.h</a></ul> -<hr><address style="align: right;"><small>Generated on Sat May 1 17:50:19 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sat May 1 20:57:59 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 8dcacacc9..8cff278c8 100644 --- a/docs/module-doc/classConfigReader-members.html +++ b/docs/module-doc/classConfigReader-members.html @@ -12,14 +12,18 @@ <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="classConfigReader.html#a0">ConfigReader</a>()</td><td><a class="el" href="classConfigReader.html">ConfigReader</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classConfigReader.html#a1">ConfigReader</a>(std::string filename)</td><td><a class="el" href="classConfigReader.html">ConfigReader</a></td><td></td></tr> - <tr bgcolor="#f0f0f0"><td><a class="el" href="classConfigReader.html#a4">Enumerate</a>(std::string tag)</td><td><a class="el" href="classConfigReader.html">ConfigReader</a></td><td></td></tr> - <tr bgcolor="#f0f0f0"><td><a class="el" href="classConfigReader.html#a6">EnumerateValues</a>(std::string tag, int index)</td><td><a class="el" href="classConfigReader.html">ConfigReader</a></td><td></td></tr> - <tr bgcolor="#f0f0f0"><td><a class="el" href="classConfigReader.html#n1">error</a></td><td><a class="el" href="classConfigReader.html">ConfigReader</a></td><td><code> [protected]</code></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classConfigReader.html#a7">Enumerate</a>(std::string tag)</td><td><a class="el" href="classConfigReader.html">ConfigReader</a></td><td></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classConfigReader.html#a9">EnumerateValues</a>(std::string tag, int index)</td><td><a class="el" href="classConfigReader.html">ConfigReader</a></td><td></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classConfigReader.html#n2">error</a></td><td><a class="el" href="classConfigReader.html">ConfigReader</a></td><td><code> [protected]</code></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classConfigReader.html#a6">GetError</a>()</td><td><a class="el" href="classConfigReader.html">ConfigReader</a></td><td></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classConfigReader.html#n1">readerror</a></td><td><a class="el" href="classConfigReader.html">ConfigReader</a></td><td><code> [protected]</code></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classConfigReader.html#a4">ReadFlag</a>(std::string tag, std::string name, int index)</td><td><a class="el" href="classConfigReader.html">ConfigReader</a></td><td></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classConfigReader.html#a5">ReadInteger</a>(std::string tag, std::string name, int index, bool needs_unsigned)</td><td><a class="el" href="classConfigReader.html">ConfigReader</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classConfigReader.html#a3">ReadValue</a>(std::string tag, std::string name, int index)</td><td><a class="el" href="classConfigReader.html">ConfigReader</a></td><td></td></tr> - <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="classConfigReader.html#a8">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 Sat May 1 17:50:22 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Sat May 1 20:58:02 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 648d7fd88..5ad5b9aed 100644 --- a/docs/module-doc/classConfigReader.html +++ b/docs/module-doc/classConfigReader.html @@ -30,17 +30,24 @@ Inheritance diagram for ConfigReader:<p><center><img src="classConfigReader__inh <tr><td> </td><td><font size=-1><em>Default destructor.</em> <a href="#a2"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>std::string </td><td valign=bottom><a class="el" href="classConfigReader.html#a3">ReadValue</a> (std::string tag, std::string name, int index)</td></tr> <tr><td> </td><td><font size=-1><em>Retrieves a value from the config file.</em> <a href="#a3"></a><em></em></font><br><br></td></tr> -<tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="classConfigReader.html#a4">Enumerate</a> (std::string tag)</td></tr> -<tr><td> </td><td><font size=-1><em>Counts the number of times a given tag appears in the config file.</em> <a href="#a4"></a><em></em></font><br><br></td></tr> -<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classConfigReader.html#a5">Verify</a> ()</td></tr> -<tr><td> </td><td><font size=-1><em>Returns true if a config file is valid.</em> <a href="#a5"></a><em></em></font><br><br></td></tr> -<tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="classConfigReader.html#a6">EnumerateValues</a> (std::string tag, int index)</td></tr> -<tr><td> </td><td><font size=-1><em>Returns the number of items within a tag.</em> <a href="#a6"></a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classConfigReader.html#a4">ReadFlag</a> (std::string tag, std::string name, int index)</td></tr> +<tr><td> </td><td><font size=-1><em>Retrieves a boolean value from the config file.</em> <a href="#a4"></a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>long </td><td valign=bottom><a class="el" href="classConfigReader.html#a5">ReadInteger</a> (std::string tag, std::string name, int index, bool needs_unsigned)</td></tr> +<tr><td> </td><td><font size=-1><em>Retrieves an integer value from the config file.</em> <a href="#a5"></a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>long </td><td valign=bottom><a class="el" href="classConfigReader.html#a6">GetError</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Returns the last error to occur.</em> <a href="#a6"></a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="classConfigReader.html#a7">Enumerate</a> (std::string tag)</td></tr> +<tr><td> </td><td><font size=-1><em>Counts the number of times a given tag appears in the config file.</em> <a href="#a7"></a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classConfigReader.html#a8">Verify</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Returns true if a config file is valid.</em> <a href="#a8"></a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="classConfigReader.html#a9">EnumerateValues</a> (std::string tag, int index)</td></tr> +<tr><td> </td><td><font size=-1><em>Returns the number of items within a tag.</em> <a href="#a9"></a><em></em></font><br><br></td></tr> <tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr> <tr><td nowrap align=right valign=top>std::stringstream * </td><td valign=bottom><a class="el" href="classConfigReader.html#n0">cache</a></td></tr> <tr><td> </td><td><font size=-1><em>The contents of the configuration file This protected member should never be accessed by a module (and cannot be accessed unless the core is changed).</em> <a href="#n0"></a><em></em></font><br><br></td></tr> -<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classConfigReader.html#n1">error</a></td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classConfigReader.html#n1">readerror</a></td></tr> <tr><td> </td><td><font size=-1><em>Used to store errors.</em> <a href="#n1"></a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>long </td><td valign=bottom><a class="el" href="classConfigReader.html#n2">error</a></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Allows reading of values from configuration files This class allows a module to read from either the main configuration file (inspircd.conf) or from a module-specified configuration file. @@ -49,7 +56,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#l00612">612</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> +Definition at line <a class="el" href="modules_8h-source.html#l00617">617</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> @@ -81,12 +88,14 @@ This constructor initialises the ConfigReader class to read the inspircd.conf fi <p> Definition at line <a class="el" href="modules_8cpp-source.html#l00553">553</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l00620">cache</a>, and <a class="el" href="modules_8h-source.html#l00623">error</a>. +References <a class="el" href="modules_8h-source.html#l00625">cache</a>, <a class="el" href="modules_8h-source.html#l00609">CONF_FILE_NOT_FOUND</a>, <a class="el" href="modules_8h-source.html#l00629">error</a>, and <a class="el" href="modules_8h-source.html#l00628">readerror</a>. <p> <div class="fragment"><pre>00554 { 00555 this-><a class="code" href="classConfigReader.html#n0">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); -00556 this-><a class="code" href="classConfigReader.html#n1">error</a> = LoadConf(CONFIG_FILE,this->cache); -00557 } +00556 this-><a class="code" href="classConfigReader.html#n1">readerror</a> = LoadConf(CONFIG_FILE,this->cache); +00557 <span class="keywordflow">if</span> (!this-><a class="code" href="classConfigReader.html#n1">readerror</a>) +00558 this-><a class="code" href="classConfigReader.html#n2">error</a> = <a class="code" href="modules_8h.html#a25">CONF_FILE_NOT_FOUND</a>; +00559 } </pre></div> </td> </tr> </table> @@ -120,14 +129,16 @@ 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#l00567">567</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#l00569">569</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l00620">cache</a>, and <a class="el" href="modules_8h-source.html#l00623">error</a>. +References <a class="el" href="modules_8h-source.html#l00625">cache</a>, <a class="el" href="modules_8h-source.html#l00609">CONF_FILE_NOT_FOUND</a>, <a class="el" href="modules_8h-source.html#l00629">error</a>, and <a class="el" href="modules_8h-source.html#l00628">readerror</a>. <p> -<div class="fragment"><pre>00568 { -00569 this-><a class="code" href="classConfigReader.html#n0">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); -00570 this-><a class="code" href="classConfigReader.html#n1">error</a> = LoadConf(filename.c_str(),this-><a class="code" href="classConfigReader.html#n0">cache</a>); -00571 }; +<div class="fragment"><pre>00570 { +00571 this-><a class="code" href="classConfigReader.html#n0">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); +00572 this-><a class="code" href="classConfigReader.html#n1">readerror</a> = LoadConf(filename.c_str(),this-><a class="code" href="classConfigReader.html#n0">cache</a>); +00573 <span class="keywordflow">if</span> (!this-><a class="code" href="classConfigReader.html#n1">readerror</a>) +00574 this-><a class="code" href="classConfigReader.html#n2">error</a> = <a class="code" href="modules_8h.html#a25">CONF_FILE_NOT_FOUND</a>; +00575 }; </pre></div> </td> </tr> </table> @@ -160,19 +171,19 @@ Default destructor. <p> This method destroys the ConfigReader class. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00560">560</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#l00562">562</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l00620">cache</a>. +References <a class="el" href="modules_8h-source.html#l00625">cache</a>. <p> -<div class="fragment"><pre>00561 { -00562 <span class="keywordflow">if</span> (this-><a class="code" href="classConfigReader.html#n0">cache</a>) -00563 <span class="keyword">delete</span> this-><a class="code" href="classConfigReader.html#n0">cache</a>; -00564 } +<div class="fragment"><pre>00563 { +00564 <span class="keywordflow">if</span> (this-><a class="code" href="classConfigReader.html#n0">cache</a>) +00565 <span class="keyword">delete</span> this-><a class="code" href="classConfigReader.html#n0">cache</a>; +00566 } </pre></div> </td> </tr> </table> <hr><h2>Member Function Documentation</h2> -<a name="a4" doxytag="ConfigReader::Enumerate"></a><p> +<a name="a7" doxytag="ConfigReader::Enumerate"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> @@ -202,15 +213,15 @@ 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#l00585">585</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#l00647">647</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00586 { -00587 <span class="keywordflow">return</span> EnumConf(cache,tag.c_str()); -00588 } +<div class="fragment"><pre>00648 { +00649 <span class="keywordflow">return</span> EnumConf(cache,tag.c_str()); +00650 } </pre></div> </td> </tr> </table> -<a name="a6" doxytag="ConfigReader::EnumerateValues"></a><p> +<a name="a9" doxytag="ConfigReader::EnumerateValues"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> @@ -249,11 +260,204 @@ Returns the number of items within a tag. <p> For example if the tag was <test tag="blah" data="foo"> then this function would return 2. Spaces and newlines both qualify as valid seperators between values. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00590">590</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#l00652">652</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00591 { -00592 <span class="keywordflow">return</span> EnumValues(cache, tag.c_str(), index); -00593 } +<div class="fragment"><pre>00653 { +00654 <span class="keywordflow">return</span> EnumValues(cache, tag.c_str(), index); +00655 } +</pre></div> </td> + </tr> +</table> +<a name="a6" doxytag="ConfigReader::GetError"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> long ConfigReader::GetError </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Returns the last error to occur. +<p> +Valid errors can be found by looking in <a class="el" href="modules_8h.html">modules.h</a>. Any nonzero value indicates an error condition. A call to <a class="el" href="classConfigReader.html#a6">GetError()</a> resets the error flag back to 0. +<p> +Definition at line <a class="el" href="modules_8cpp-source.html#l00639">639</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="modules_8h-source.html#l00629">error</a>. +<p> +<div class="fragment"><pre>00640 { +00641 <span class="keywordtype">long</span> olderr = this-><a class="code" href="classConfigReader.html#n2">error</a>; +00642 this->error = 0; +00643 <span class="keywordflow">return</span> olderr; +00644 } +</pre></div> </td> + </tr> +</table> +<a name="a4" doxytag="ConfigReader::ReadFlag"></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 ConfigReader::ReadFlag </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">std::string </td> + <td class="mdname" nowrap> <em>tag</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>std::string </td> + <td class="mdname" nowrap> <em>name</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>index</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> +Retrieves a boolean value from the config file. +<p> +This method retrieves a boolean value from the config file. Where multiple copies of the tag exist in the config file, index indicates which of the values to retrieve. The values "1", "yes" and "true" in the config file count as true to ReadFlag, and any other value counts as false. +<p> +Definition at line <a class="el" href="modules_8cpp-source.html#l00593">593</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="modules_8h-source.html#l00608">CONF_VALUE_NOT_FOUND</a>, and <a class="el" href="modules_8h-source.html#l00629">error</a>. +<p> +<div class="fragment"><pre>00594 { +00595 <span class="keywordtype">char</span> val[MAXBUF]; +00596 <span class="keywordtype">char</span> t[MAXBUF]; +00597 <span class="keywordtype">char</span> n[MAXBUF]; +00598 strncpy(t,tag.c_str(),MAXBUF); +00599 strncpy(n,name.c_str(),MAXBUF); +00600 <span class="keywordtype">int</span> res = ReadConf(cache,t,n,index,val); +00601 <span class="keywordflow">if</span> (!res) +00602 { +00603 this-><a class="code" href="classConfigReader.html#n2">error</a> = <a class="code" href="modules_8h.html#a24">CONF_VALUE_NOT_FOUND</a>; +00604 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00605 } +00606 std::string s = val; +00607 <span class="keywordflow">return</span> ((s == <span class="stringliteral">"yes"</span>) || (s == <span class="stringliteral">"YES"</span>) || (s == <span class="stringliteral">"true"</span>) || (s == <span class="stringliteral">"TRUE"</span>) || (s == <span class="stringliteral">"1"</span>)); +00608 } +</pre></div> </td> + </tr> +</table> +<a name="a5" doxytag="ConfigReader::ReadInteger"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> long ConfigReader::ReadInteger </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">std::string </td> + <td class="mdname" nowrap> <em>tag</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>std::string </td> + <td class="mdname" nowrap> <em>name</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>index</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>needs_unsigned</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> +Retrieves an integer value from the config file. +<p> +This method retrieves an integer value from the config file. Where multiple copies of the tag exist in the config file, index indicates which of the values to retrieve. Any invalid integer values in the tag will cause the objects error value to be set, and any call to <a class="el" href="classConfigReader.html#a6">GetError()</a> will return CONF_INVALID_NUMBER to be returned. needs_unsigned is set if the number must be unsigned. If a signed number is placed into a tag which is specified unsigned, 0 will be returned and <a class="el" href="classConfigReader.html#a6">GetError()</a> will return CONF_NOT_UNSIGNED +<p> +Definition at line <a class="el" href="modules_8cpp-source.html#l00610">610</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="modules_8h-source.html#l00606">CONF_NOT_A_NUMBER</a>, <a class="el" href="modules_8h-source.html#l00607">CONF_NOT_UNSIGNED</a>, <a class="el" href="modules_8h-source.html#l00608">CONF_VALUE_NOT_FOUND</a>, and <a class="el" href="modules_8h-source.html#l00629">error</a>. +<p> +<div class="fragment"><pre>00611 { +00612 <span class="keywordtype">char</span> val[MAXBUF]; +00613 <span class="keywordtype">char</span> t[MAXBUF]; +00614 <span class="keywordtype">char</span> n[MAXBUF]; +00615 strncpy(t,tag.c_str(),MAXBUF); +00616 strncpy(n,name.c_str(),MAXBUF); +00617 <span class="keywordtype">int</span> res = ReadConf(cache,t,n,index,val); +00618 <span class="keywordflow">if</span> (!res) +00619 { +00620 this-><a class="code" href="classConfigReader.html#n2">error</a> = <a class="code" href="modules_8h.html#a24">CONF_VALUE_NOT_FOUND</a>; +00621 <span class="keywordflow">return</span> 0; +00622 } +00623 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < strlen(val); i++) +00624 { +00625 <span class="keywordflow">if</span> (!isdigit(val[i])) +00626 { +00627 this-><a class="code" href="classConfigReader.html#n2">error</a> = <a class="code" href="modules_8h.html#a22">CONF_NOT_A_NUMBER</a>; +00628 <span class="keywordflow">return</span> 0; +00629 } +00630 } +00631 <span class="keywordflow">if</span> ((needs_unsigned) && (atoi(val)<0)) +00632 { +00633 this-><a class="code" href="classConfigReader.html#n2">error</a> = <a class="code" href="modules_8h.html#a23">CONF_NOT_UNSIGNED</a>; +00634 <span class="keywordflow">return</span> 0; +00635 } +00636 <span class="keywordflow">return</span> atoi(val); +00637 } </pre></div> </td> </tr> </table> @@ -302,21 +506,28 @@ 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#l00573">573</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. -<p> -<div class="fragment"><pre>00574 { -00575 <span class="keywordtype">char</span> val[MAXBUF]; -00576 <span class="keywordtype">char</span> t[MAXBUF]; -00577 <span class="keywordtype">char</span> n[MAXBUF]; -00578 strncpy(t,tag.c_str(),MAXBUF); -00579 strncpy(n,name.c_str(),MAXBUF); -00580 ReadConf(cache,t,n,index,val); -00581 <span class="keywordflow">return</span> std::string(val); -00582 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00577">577</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="modules_8h-source.html#l00608">CONF_VALUE_NOT_FOUND</a>, and <a class="el" href="modules_8h-source.html#l00629">error</a>. +<p> +<div class="fragment"><pre>00578 { +00579 <span class="keywordtype">char</span> val[MAXBUF]; +00580 <span class="keywordtype">char</span> t[MAXBUF]; +00581 <span class="keywordtype">char</span> n[MAXBUF]; +00582 strncpy(t,tag.c_str(),MAXBUF); +00583 strncpy(n,name.c_str(),MAXBUF); +00584 <span class="keywordtype">int</span> res = ReadConf(cache,t,n,index,val); +00585 <span class="keywordflow">if</span> (!res) +00586 { +00587 this-><a class="code" href="classConfigReader.html#n2">error</a> = <a class="code" href="modules_8h.html#a24">CONF_VALUE_NOT_FOUND</a>; +00588 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; +00589 } +00590 <span class="keywordflow">return</span> std::string(val); +00591 } </pre></div> </td> </tr> </table> -<a name="a5" doxytag="ConfigReader::Verify"></a><p> +<a name="a8" doxytag="ConfigReader::Verify"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> @@ -345,13 +556,13 @@ Returns true if a config file is valid. <p> This method is partially implemented and will only return false if the config file does not exist or could not be opened. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00595">595</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#l00657">657</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l00623">error</a>. +References <a class="el" href="modules_8h-source.html#l00628">readerror</a>. <p> -<div class="fragment"><pre>00596 { -00597 <span class="keywordflow">return</span> this-><a class="code" href="classConfigReader.html#n1">error</a>; -00598 } +<div class="fragment"><pre>00658 { +00659 <span class="keywordflow">return</span> this-><a class="code" href="classConfigReader.html#n1">readerror</a>; +00660 } </pre></div> </td> </tr> </table> @@ -379,18 +590,44 @@ The contents of the configuration file This protected member should never be acc <p> It will contain a pointer to the configuration file data with unneeded data (such as comments) stripped from it. <p> -Definition at line <a class="el" href="modules_8h-source.html#l00620">620</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#l00625">625</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#l00553">ConfigReader()</a>, and <a class="el" href="modules_8cpp-source.html#l00562">~ConfigReader()</a>. </td> + </tr> +</table> +<a name="n2" doxytag="ConfigReader::error"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> long ConfigReader::error<code> [protected]</code> + </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_8h-source.html#l00629">629</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#l00553">ConfigReader()</a>, and <a class="el" href="modules_8cpp-source.html#l00560">~ConfigReader()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00553">ConfigReader()</a>, <a class="el" href="modules_8cpp-source.html#l00639">GetError()</a>, <a class="el" href="modules_8cpp-source.html#l00593">ReadFlag()</a>, <a class="el" href="modules_8cpp-source.html#l00610">ReadInteger()</a>, and <a class="el" href="modules_8cpp-source.html#l00577">ReadValue()</a>. </td> </tr> </table> -<a name="n1" doxytag="ConfigReader::error"></a><p> +<a name="n1" doxytag="ConfigReader::readerror"></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 ConfigReader::error<code> [protected]</code> + <td class="md" nowrap valign="top"> bool ConfigReader::readerror<code> [protected]</code> </table> </td> </tr> @@ -407,14 +644,14 @@ Used to store errors. <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00623">623</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#l00628">628</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#l00553">ConfigReader()</a>, and <a class="el" href="modules_8cpp-source.html#l00595">Verify()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00553">ConfigReader()</a>, and <a class="el" href="modules_8cpp-source.html#l00657">Verify()</a>. </td> </tr> </table> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="modules_8h-source.html">modules.h</a><li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul> -<hr><address style="align: right;"><small>Generated on Sat May 1 17:50:22 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sat May 1 20:58:02 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__coll__graph.gif b/docs/module-doc/classConfigReader__coll__graph.gif Binary files differindex 24e6715dc..a915ae512 100644 --- a/docs/module-doc/classConfigReader__coll__graph.gif +++ b/docs/module-doc/classConfigReader__coll__graph.gif diff --git a/docs/module-doc/classConnectClass-members.html b/docs/module-doc/classConnectClass-members.html index 7618f37f3..dda065e42 100644 --- a/docs/module-doc/classConnectClass-members.html +++ b/docs/module-doc/classConnectClass-members.html @@ -16,7 +16,7 @@ <tr bgcolor="#f0f0f0"><td><a class="el" href="classConnectClass.html#m1">registration_timeout</a></td><td><a class="el" href="classConnectClass.html">ConnectClass</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classConnectClass.html#m0">type</a></td><td><a class="el" href="classConnectClass.html">ConnectClass</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr><address style="align: right;"><small>Generated on Sat May 1 17:50:22 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Sat May 1 20:58:03 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 ff4ce6153..91a399a82 100644 --- a/docs/module-doc/classConnectClass.html +++ b/docs/module-doc/classConnectClass.html @@ -212,7 +212,7 @@ Definition at line <a class="el" href="users_8h-source.html#l00039">39</a> of fi </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="users_8h-source.html">users.h</a></ul> -<hr><address style="align: right;"><small>Generated on Sat May 1 17:50:22 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sat May 1 20:58:03 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 e6c0c1f07..21759e19b 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 Sat May 1 17:50:24 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Sat May 1 20:58: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/classExemptItem.html b/docs/module-doc/classExemptItem.html index 22bad4370..f010bc39a 100644 --- a/docs/module-doc/classExemptItem.html +++ b/docs/module-doc/classExemptItem.html @@ -31,7 +31,7 @@ A subclass of <a class="el" href="classHostItem.html">HostItem</a> designed to h <p> Definition at line <a class="el" href="channels_8h-source.html#l00042">42</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.<hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="channels_8h-source.html">channels.h</a></ul> -<hr><address style="align: right;"><small>Generated on Sat May 1 17:50:24 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sat May 1 20:58: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/classExtMode-members.html b/docs/module-doc/classExtMode-members.html index 38d2d3719..7aeced309 100644 --- a/docs/module-doc/classExtMode-members.html +++ b/docs/module-doc/classExtMode-members.html @@ -17,7 +17,7 @@ <tr bgcolor="#f0f0f0"><td><a class="el" href="classExtMode.html#m2">params_when_on</a></td><td><a class="el" href="classExtMode.html">ExtMode</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classExtMode.html#m1">type</a></td><td><a class="el" href="classExtMode.html">ExtMode</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr><address style="align: right;"><small>Generated on Sat May 1 17:50:25 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Sat May 1 20:58: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/classExtMode.html b/docs/module-doc/classExtMode.html index f43dbc010..793ba2182 100644 --- a/docs/module-doc/classExtMode.html +++ b/docs/module-doc/classExtMode.html @@ -235,7 +235,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00170">170</a> </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 Sat May 1 17:50:25 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sat May 1 20:58: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/classExtensible-members.html b/docs/module-doc/classExtensible-members.html index 1879a77f2..6f9a666f1 100644 --- a/docs/module-doc/classExtensible-members.html +++ b/docs/module-doc/classExtensible-members.html @@ -14,7 +14,7 @@ <tr bgcolor="#f0f0f0"><td><a class="el" href="classExtensible.html#a2">GetExt</a>(std::string key)</td><td><a class="el" href="classExtensible.html">Extensible</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classExtensible.html#a1">Shrink</a>(std::string key)</td><td><a class="el" href="classExtensible.html">Extensible</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 Sat May 1 17:50:25 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Sat May 1 20:58: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/classExtensible.html b/docs/module-doc/classExtensible.html index 8add77476..ed90cbea9 100644 --- a/docs/module-doc/classExtensible.html +++ b/docs/module-doc/classExtensible.html @@ -177,7 +177,7 @@ Definition at line <a class="el" href="base_8h-source.html#l00042">42</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 Sat May 1 17:50:25 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sat May 1 20:58: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/classFileReader-members.html b/docs/module-doc/classFileReader-members.html index 6f3568105..7fb6e403c 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 Sat May 1 17:50:26 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Sat May 1 20:58: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/classFileReader.html b/docs/module-doc/classFileReader.html index fc98c5761..6c35863a4 100644 --- a/docs/module-doc/classFileReader.html +++ b/docs/module-doc/classFileReader.html @@ -37,7 +37,7 @@ Inheritance diagram for FileReader:<p><center><img src="classFileReader__inherit <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="classFileReader.html#a6">FileSize</a> ()</td></tr> <tr><td> </td><td><font size=-1><em>Returns the size of the file in lines.</em> <a href="#a6"></a><em></em></font><br><br></td></tr> <tr><td colspan=2><br><h2>Private Attributes</h2></td></tr> -<tr><td nowrap align=right valign=top><a class="el" href="modules_8h.html#a22">file_cache</a> </td><td valign=bottom><a class="el" href="classFileReader.html#o0">fc</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="modules_8h.html#a26">file_cache</a> </td><td valign=bottom><a class="el" href="classFileReader.html#o0">fc</a></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Caches a text file into memory and can be used to retrieve lines from it. @@ -46,7 +46,7 @@ This class contains methods for read-only manipulation of a text file in memory. <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00672">672</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#l00698">698</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> <a name="a0" doxytag="FileReader::FileReader"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> @@ -76,10 +76,10 @@ Default constructor. <p> This method does not load any file into memory, you must use the LoadFile method after constructing the class this way. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00608">608</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#l00670">670</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00609 { -00610 } +<div class="fragment"><pre>00671 { +00672 } </pre></div> </td> </tr> </table> @@ -113,15 +113,15 @@ Secondary constructor. <p> This method initialises the class with a file loaded into it ready for GetLine and and other methods to be called. If the file could not be loaded, <a class="el" href="classFileReader.html#a6">FileReader::FileSize</a> returns 0. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00601">601</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#l00663">663</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l00674">fc</a>, and <a class="el" href="modules_8h-source.html#l00050">file_cache</a>. +References <a class="el" href="modules_8h-source.html#l00700">fc</a>, and <a class="el" href="modules_8h-source.html#l00050">file_cache</a>. <p> -<div class="fragment"><pre>00602 { -00603 <a class="code" href="modules_8h.html#a22">file_cache</a> c; -00604 readfile(c,filename.c_str()); -00605 this-><a class="code" href="classFileReader.html#o0">fc</a> = c; -00606 } +<div class="fragment"><pre>00664 { +00665 <a class="code" href="modules_8h.html#a26">file_cache</a> c; +00666 readfile(c,filename.c_str()); +00667 this-><a class="code" href="classFileReader.html#o0">fc</a> = c; +00668 } </pre></div> </td> </tr> </table> @@ -154,10 +154,10 @@ Default destructor. <p> This deletes the memory allocated to the file. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00620">620</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#l00682">682</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00621 { -00622 } +<div class="fragment"><pre>00683 { +00684 } </pre></div> </td> </tr> </table> @@ -191,20 +191,20 @@ Returns true if the file exists This function will return false if the file coul <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00624">624</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#l00686">686</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l00674">fc</a>. +References <a class="el" href="modules_8h-source.html#l00700">fc</a>. <p> -<div class="fragment"><pre>00625 { -00626 <span class="keywordflow">if</span> (<a class="code" href="classFileReader.html#o0">fc</a>.size() == 0) -00627 { -00628 <span class="keywordflow">return</span>(false); -00629 } -00630 <span class="keywordflow">else</span> -00631 { -00632 <span class="keywordflow">return</span>(true); -00633 } -00634 } +<div class="fragment"><pre>00687 { +00688 <span class="keywordflow">if</span> (<a class="code" href="classFileReader.html#o0">fc</a>.size() == 0) +00689 { +00690 <span class="keywordflow">return</span>(false); +00691 } +00692 <span class="keywordflow">else</span> +00693 { +00694 <span class="keywordflow">return</span>(true); +00695 } +00696 } </pre></div> </td> </tr> </table> @@ -237,13 +237,13 @@ Returns the size of the file in lines. <p> This method returns the number of lines in the read file. If it is 0, no lines have been read into memory, either because the file is empty or it does not exist, or cannot be opened due to permission problems. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00643">643</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#l00705">705</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l00674">fc</a>. +References <a class="el" href="modules_8h-source.html#l00700">fc</a>. <p> -<div class="fragment"><pre>00644 { -00645 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#o0">fc</a>.size(); -00646 } +<div class="fragment"><pre>00706 { +00707 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#o0">fc</a>.size(); +00708 } </pre></div> </td> </tr> </table> @@ -277,15 +277,15 @@ Retrieve one line from the file. <p> This method retrieves one line from the text file. If an empty non-NULL string is returned, the index was out of bounds, or the line had no data on it. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00636">636</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#l00698">698</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l00674">fc</a>. +References <a class="el" href="modules_8h-source.html#l00700">fc</a>. <p> -<div class="fragment"><pre>00637 { -00638 <span class="keywordflow">if</span> ((x<0) || (x><a class="code" href="classFileReader.html#o0">fc</a>.size())) -00639 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; -00640 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#o0">fc</a>[x]; -00641 } +<div class="fragment"><pre>00699 { +00700 <span class="keywordflow">if</span> ((x<0) || (x><a class="code" href="classFileReader.html#o0">fc</a>.size())) +00701 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; +00702 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#o0">fc</a>[x]; +00703 } </pre></div> </td> </tr> </table> @@ -319,15 +319,15 @@ Used to load a file. <p> This method loads a file into the class ready for GetLine and and other methods to be called. If the file could not be loaded, <a class="el" href="classFileReader.html#a6">FileReader::FileSize</a> returns 0. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00612">612</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#l00674">674</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l00674">fc</a>, and <a class="el" href="modules_8h-source.html#l00050">file_cache</a>. +References <a class="el" href="modules_8h-source.html#l00700">fc</a>, and <a class="el" href="modules_8h-source.html#l00050">file_cache</a>. <p> -<div class="fragment"><pre>00613 { -00614 <a class="code" href="modules_8h.html#a22">file_cache</a> c; -00615 readfile(c,filename.c_str()); -00616 this-><a class="code" href="classFileReader.html#o0">fc</a> = c; -00617 } +<div class="fragment"><pre>00675 { +00676 <a class="code" href="modules_8h.html#a26">file_cache</a> c; +00677 readfile(c,filename.c_str()); +00678 this-><a class="code" href="classFileReader.html#o0">fc</a> = c; +00679 } </pre></div> </td> </tr> </table> @@ -338,7 +338,7 @@ References <a class="el" href="modules_8h-source.html#l00674">fc</a>, and <a cla <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> <a class="el" href="modules_8h.html#a22">file_cache</a> FileReader::fc<code> [private]</code> + <td class="md" nowrap valign="top"> <a class="el" href="modules_8h.html#a26">file_cache</a> FileReader::fc<code> [private]</code> </table> </td> </tr> @@ -353,14 +353,14 @@ References <a class="el" href="modules_8h-source.html#l00674">fc</a>, and <a cla <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00674">674</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#l00700">700</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#l00624">Exists()</a>, <a class="el" href="modules_8cpp-source.html#l00601">FileReader()</a>, <a class="el" href="modules_8cpp-source.html#l00643">FileSize()</a>, <a class="el" href="modules_8cpp-source.html#l00636">GetLine()</a>, and <a class="el" href="modules_8cpp-source.html#l00612">LoadFile()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00686">Exists()</a>, <a class="el" href="modules_8cpp-source.html#l00663">FileReader()</a>, <a class="el" href="modules_8cpp-source.html#l00705">FileSize()</a>, <a class="el" href="modules_8cpp-source.html#l00698">GetLine()</a>, and <a class="el" href="modules_8cpp-source.html#l00674">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 Sat May 1 17:50:26 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sat May 1 20:58: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/classGLine-members.html b/docs/module-doc/classGLine-members.html index f7e43fa31..d76958f96 100644 --- a/docs/module-doc/classGLine-members.html +++ b/docs/module-doc/classGLine-members.html @@ -16,7 +16,7 @@ <tr bgcolor="#f0f0f0"><td><a class="el" href="classXLine.html#m0">set_time</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classXLine.html#m2">source</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr><address style="align: right;"><small>Generated on Sat May 1 17:50:26 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Sat May 1 20:58: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/classGLine.html b/docs/module-doc/classGLine.html index 0fc6ac6ea..8f9c80e21 100644 --- a/docs/module-doc/classGLine.html +++ b/docs/module-doc/classGLine.html @@ -61,7 +61,7 @@ Definition at line <a class="el" href="xline_8h-source.html#l00063">63</a> of fi </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="xline_8h-source.html">xline.h</a></ul> -<hr><address style="align: right;"><small>Generated on Sat May 1 17:50:26 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sat May 1 20:58: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/classHostItem-members.html b/docs/module-doc/classHostItem-members.html index 0c2e5b73d..d3ff0cb9b 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 Sat May 1 17:50:27 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Sat May 1 20:58: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/classHostItem.html b/docs/module-doc/classHostItem.html index 9aed89e96..1aa169a77 100644 --- a/docs/module-doc/classHostItem.html +++ b/docs/module-doc/classHostItem.html @@ -181,7 +181,7 @@ Definition at line <a class="el" href="channels_8h-source.html#l00021">21</a> of </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="channels_8h-source.html">channels.h</a></ul> -<hr><address style="align: right;"><small>Generated on Sat May 1 17:50:27 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sat May 1 20:58: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/classInviteItem-members.html b/docs/module-doc/classInviteItem-members.html index 771a56e5f..2bab8b4fd 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 Sat May 1 17:50:28 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Sat May 1 20:58: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/classInviteItem.html b/docs/module-doc/classInviteItem.html index 2e441521c..3ccdb9d2e 100644 --- a/docs/module-doc/classInviteItem.html +++ b/docs/module-doc/classInviteItem.html @@ -31,7 +31,7 @@ A subclass of <a class="el" href="classHostItem.html">HostItem</a> designed to h <p> Definition at line <a class="el" href="channels_8h-source.html#l00050">50</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.<hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="channels_8h-source.html">channels.h</a></ul> -<hr><address style="align: right;"><small>Generated on Sat May 1 17:50:28 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sat May 1 20:58: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/classInvited-members.html b/docs/module-doc/classInvited-members.html index ae303b76d..9e0faab17 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 Sat May 1 17:50:28 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Sat May 1 20:58: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/classInvited.html b/docs/module-doc/classInvited.html index 9920893e0..627811f69 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#l00068">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 Sat May 1 17:50:28 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sat May 1 20:58: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/classKLine-members.html b/docs/module-doc/classKLine-members.html index 2c149418a..f20f2d0ce 100644 --- a/docs/module-doc/classKLine-members.html +++ b/docs/module-doc/classKLine-members.html @@ -16,7 +16,7 @@ <tr bgcolor="#f0f0f0"><td><a class="el" href="classXLine.html#m0">set_time</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classXLine.html#m2">source</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr><address style="align: right;"><small>Generated on Sat May 1 17:50:29 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Sat May 1 20:58: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/classKLine.html b/docs/module-doc/classKLine.html index bb769f93b..bfd6a1232 100644 --- a/docs/module-doc/classKLine.html +++ b/docs/module-doc/classKLine.html @@ -61,7 +61,7 @@ Definition at line <a class="el" href="xline_8h-source.html#l00052">52</a> of fi </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="xline_8h-source.html">xline.h</a></ul> -<hr><address style="align: right;"><small>Generated on Sat May 1 17:50:29 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sat May 1 20:58: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/classModeParameter-members.html b/docs/module-doc/classModeParameter-members.html index 2243a3896..47d50f31b 100644 --- a/docs/module-doc/classModeParameter-members.html +++ b/docs/module-doc/classModeParameter-members.html @@ -13,7 +13,7 @@ <tr bgcolor="#f0f0f0"><td><a class="el" href="classModeParameter.html#m0">mode</a></td><td><a class="el" href="classModeParameter.html">ModeParameter</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classModeParameter.html#m1">parameter</a></td><td><a class="el" href="classModeParameter.html">ModeParameter</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr><address style="align: right;"><small>Generated on Sat May 1 17:50:30 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Sat May 1 20:58: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/classModeParameter.html b/docs/module-doc/classModeParameter.html index bdf6890b8..b0d18d435 100644 --- a/docs/module-doc/classModeParameter.html +++ b/docs/module-doc/classModeParameter.html @@ -114,7 +114,7 @@ Referenced by <a class="el" href="channels_8cpp-source.html#l00135">chanrec::Set </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="channels_8h-source.html">channels.h</a></ul> -<hr><address style="align: right;"><small>Generated on Sat May 1 17:50:30 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sat May 1 20:58: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/classModule-members.html b/docs/module-doc/classModule-members.html index 267439d68..6a7142b05 100644 --- a/docs/module-doc/classModule-members.html +++ b/docs/module-doc/classModule-members.html @@ -32,7 +32,7 @@ <tr bgcolor="#f0f0f0"><td><a class="el" href="classModule.html#a15">OnWhois</a>(userrec *source, userrec *dest)</td><td><a class="el" href="classModule.html">Module</a></td><td><code> [virtual]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classModule.html#a1">~Module</a>()</td><td><a class="el" href="classModule.html">Module</a></td><td><code> [virtual]</code></td></tr> -</table><hr><address style="align: right;"><small>Generated on Sat May 1 17:50:31 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Sat May 1 20:58: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/classModule.html b/docs/module-doc/classModule.html index 078603f8a..881eca446 100644 --- a/docs/module-doc/classModule.html +++ b/docs/module-doc/classModule.html @@ -44,7 +44,7 @@ Inheritance diagram for Module:<p><center><img src="classModule__inherit__graph. <tr><td> </td><td><font size=-1><em>Called on rehash.</em> <a href="#a9"></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="classModule.html#a10">OnServerRaw</a> (std::string &raw, bool inbound, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> <tr><td> </td><td><font size=-1><em>Called when a raw command is transmitted or received.</em> <a href="#a10"></a><em></em></font><br><br></td></tr> -<tr><td nowrap align=right valign=top>virtual int </td><td valign=bottom><a class="el" href="classModule.html#a11">OnExtendedMode</a> (<a class="el" href="classuserrec.html">userrec</a> *user, void *target, char modechar, int type, bool mode_on, <a class="el" href="modules_8h.html#a23">string_list</a> &params)</td></tr> +<tr><td nowrap align=right valign=top>virtual int </td><td valign=bottom><a class="el" href="classModule.html#a11">OnExtendedMode</a> (<a class="el" href="classuserrec.html">userrec</a> *user, void *target, char modechar, int type, bool mode_on, <a class="el" href="modules_8h.html#a27">string_list</a> &params)</td></tr> <tr><td> </td><td><font size=-1><em>Called whenever an extended mode is to be processed.</em> <a href="#a11"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>virtual int </td><td valign=bottom><a class="el" href="classModule.html#a12">OnUserPreJoin</a> (<a class="el" href="classuserrec.html">userrec</a> *user, <a class="el" href="classchanrec.html">chanrec</a> *chan, const char *cname)</td></tr> <tr><td> </td><td><font size=-1><em>Called whenever a user is about to join a channel, before any processing is done.</em> <a href="#a12"></a><em></em></font><br><br></td></tr> @@ -62,9 +62,9 @@ Inheritance diagram for Module:<p><center><img src="classModule__inherit__graph. <tr><td> </td><td><font size=-1><em>Called before any nickchange, local or remote.</em> <a href="#a18"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>virtual int </td><td valign=bottom><a class="el" href="classModule.html#a19">OnAccessCheck</a> (<a class="el" href="classuserrec.html">userrec</a> *source, <a class="el" href="classuserrec.html">userrec</a> *dest, <a class="el" href="classchanrec.html">chanrec</a> *channel, int access_type)</td></tr> <tr><td> </td><td><font size=-1><em>Called before an action which requires a channel privilage check.</em> <a href="#a19"></a><em></em></font><br><br></td></tr> -<tr><td nowrap align=right valign=top>virtual <a class="el" href="modules_8h.html#a23">string_list</a> </td><td valign=bottom><a class="el" href="classModule.html#a20">OnUserSync</a> (<a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> +<tr><td nowrap align=right valign=top>virtual <a class="el" href="modules_8h.html#a27">string_list</a> </td><td valign=bottom><a class="el" href="classModule.html#a20">OnUserSync</a> (<a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> <tr><td> </td><td><font size=-1><em>Called during a netburst to sync user data.</em> <a href="#a20"></a><em></em></font><br><br></td></tr> -<tr><td nowrap align=right valign=top>virtual <a class="el" href="modules_8h.html#a23">string_list</a> </td><td valign=bottom><a class="el" href="classModule.html#a21">OnChannelSync</a> (<a class="el" href="classchanrec.html">chanrec</a> *chan)</td></tr> +<tr><td nowrap align=right valign=top>virtual <a class="el" href="modules_8h.html#a27">string_list</a> </td><td valign=bottom><a class="el" href="classModule.html#a21">OnChannelSync</a> (<a class="el" href="classchanrec.html">chanrec</a> *chan)</td></tr> <tr><td> </td><td><font size=-1><em>Called during a netburst to sync channel data.</em> <a href="#a21"></a><em></em></font><br><br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> @@ -258,7 +258,7 @@ References <a class="el" href="modules_8h-source.html#l00027">ACR_DEFAULT</a>. <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> <a class="el" href="modules_8h.html#a23">string_list</a> Module::OnChannelSync </td> + <td class="md" nowrap valign="top"> <a class="el" href="modules_8h.html#a27">string_list</a> Module::OnChannelSync </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classchanrec.html">chanrec</a> * </td> <td class="mdname1" valign="top" nowrap> <em>chan</em> </td> @@ -286,7 +286,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00306">306</a> <p> References <a class="el" href="modules_8h-source.html#l00051">string_list</a>. <p> -<div class="fragment"><pre>00306 { <a class="code" href="modules_8h.html#a23">string_list</a> empty; <span class="keywordflow">return</span> empty; } +<div class="fragment"><pre>00306 { <a class="code" href="modules_8h.html#a27">string_list</a> empty; <span class="keywordflow">return</span> empty; } </pre></div> </td> </tr> </table> @@ -328,7 +328,7 @@ References <a class="el" href="modules_8h-source.html#l00051">string_list</a>. <tr> <td></td> <td></td> - <td class="md" nowrap><a class="el" href="modules_8h.html#a23">string_list</a> & </td> + <td class="md" nowrap><a class="el" href="modules_8h.html#a27">string_list</a> & </td> <td class="mdname" nowrap> <em>params</em></td> </tr> <tr> @@ -970,7 +970,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00288">288</a> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> <a class="el" href="modules_8h.html#a23">string_list</a> Module::OnUserSync </td> + <td class="md" nowrap valign="top"> <a class="el" href="modules_8h.html#a27">string_list</a> Module::OnUserSync </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td> <td class="mdname1" valign="top" nowrap> <em>user</em> </td> @@ -998,7 +998,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00305">305</a> <p> References <a class="el" href="modules_8h-source.html#l00051">string_list</a>. <p> -<div class="fragment"><pre>00305 { <a class="code" href="modules_8h.html#a23">string_list</a> empty; <span class="keywordflow">return</span> empty; } +<div class="fragment"><pre>00305 { <a class="code" href="modules_8h.html#a27">string_list</a> empty; <span class="keywordflow">return</span> empty; } </pre></div> </td> </tr> </table> @@ -1049,7 +1049,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00300">300</a> </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 Sat May 1 17:50:31 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sat May 1 20:58: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/classModuleFactory-members.html b/docs/module-doc/classModuleFactory-members.html index 9584e3d7a..504db8296 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 Sat May 1 17:50:31 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Sat May 1 20:58: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/classModuleFactory.html b/docs/module-doc/classModuleFactory.html index 00704bd21..0a6a21eb8 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#l00727">727</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#l00753">753</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#l00727">727</a> of <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00730">730</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#l00756">756</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. <p> -<div class="fragment"><pre>00730 { } +<div class="fragment"><pre>00756 { } </pre></div> </td> </tr> </table> @@ -95,9 +95,9 @@ Definition at line <a class="el" href="modules_8h-source.html#l00730">730</a> of <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00731">731</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#l00757">757</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. <p> -<div class="fragment"><pre>00731 { } +<div class="fragment"><pre>00757 { } </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 Sat May 1 17:50:31 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sat May 1 20:58: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/classQLine-members.html b/docs/module-doc/classQLine-members.html index a112e1b17..2e7e76c0d 100644 --- a/docs/module-doc/classQLine-members.html +++ b/docs/module-doc/classQLine-members.html @@ -17,7 +17,7 @@ <tr bgcolor="#f0f0f0"><td><a class="el" href="classXLine.html#m0">set_time</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classXLine.html#m2">source</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr><address style="align: right;"><small>Generated on Sat May 1 17:50:32 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Sat May 1 20:58: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/classQLine.html b/docs/module-doc/classQLine.html index d0f20f3b4..d16c7b8af 100644 --- a/docs/module-doc/classQLine.html +++ b/docs/module-doc/classQLine.html @@ -89,7 +89,7 @@ Definition at line <a class="el" href="xline_8h-source.html#l00089">89</a> of fi </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="xline_8h-source.html">xline.h</a></ul> -<hr><address style="align: right;"><small>Generated on Sat May 1 17:50:32 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sat May 1 20:58: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/classServer-members.html b/docs/module-doc/classServer-members.html index fc5851ad8..17f149944 100644 --- a/docs/module-doc/classServer-members.html +++ b/docs/module-doc/classServer-members.html @@ -46,7 +46,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 Sat May 1 17:50:33 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Sat May 1 20:58: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/classServer.html b/docs/module-doc/classServer.html index b38e48866..04faf2163 100644 --- a/docs/module-doc/classServer.html +++ b/docs/module-doc/classServer.html @@ -92,7 +92,7 @@ Inheritance diagram for Server:<p><center><img src="classServer__inherit__graph. <tr><td> </td><td><font size=-1><em>Change GECOS (fullname) of a user.</em> <a href="#a33"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="classServer.html#a34">IsUlined</a> (std::string server)</td></tr> <tr><td> </td><td><font size=-1><em>Returns true if the servername you give is ulined.</em> <a href="#a34"></a><em></em></font><br><br></td></tr> -<tr><td nowrap align=right valign=top>virtual <a class="el" href="modules_8h.html#a24">chanuserlist</a> </td><td valign=bottom><a class="el" href="classServer.html#a35">GetUsers</a> (<a class="el" href="classchanrec.html">chanrec</a> *chan)</td></tr> +<tr><td nowrap align=right valign=top>virtual <a class="el" href="modules_8h.html#a28">chanuserlist</a> </td><td valign=bottom><a class="el" href="classServer.html#a35">GetUsers</a> (<a class="el" href="classchanrec.html">chanrec</a> *chan)</td></tr> <tr><td> </td><td><font size=-1><em>Fetches the userlist of a channel.</em> <a href="#a35"></a><em></em></font><br><br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> @@ -231,10 +231,10 @@ When the command is typed, the parameters will be placed into the parameters arr <p> Definition at line <a class="el" href="modules_8cpp-source.html#l00394">394</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h.html#a26">createcommand()</a>. +References <a class="el" href="modules_8h.html#a30">createcommand()</a>. <p> <div class="fragment"><pre>00395 { -00396 <a class="code" href="modules_8h.html#a26">createcommand</a>(cmd,f,flags,minparams); +00396 <a class="code" href="modules_8h.html#a30">createcommand</a>(cmd,f,flags,minparams); 00397 } </pre></div> </td> </tr> @@ -903,7 +903,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00502">502</a> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> <a class="el" href="modules_8h.html#a24">chanuserlist</a> Server::GetUsers </td> + <td class="md" nowrap valign="top"> <a class="el" href="modules_8h.html#a28">chanuserlist</a> Server::GetUsers </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classchanrec.html">chanrec</a> * </td> <td class="mdname1" valign="top" nowrap> <em>chan</em> </td> @@ -932,7 +932,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00349">349</a> References <a class="el" href="modules_8h-source.html#l00055">chanuserlist</a>, <a class="el" href="modules_8cpp-source.html#l00155">clientlist</a>, <a class="el" href="message_8h.html#a16">has_channel()</a>, and <a class="el" href="message_8h.html#a13">isnick()</a>. <p> <div class="fragment"><pre>00350 { -00351 <a class="code" href="modules_8h.html#a24">chanuserlist</a> userl; +00351 <a class="code" href="modules_8h.html#a28">chanuserlist</a> userl; 00352 userl.clear(); 00353 <span class="keywordflow">for</span> (user_hash::const_iterator i = <a class="code" href="modules_8cpp.html#a42">clientlist</a>.begin(); i != <a class="code" href="modules_8cpp.html#a42">clientlist</a>.end(); i++) 00354 { @@ -1616,10 +1616,10 @@ The modes will originate from the server where the command was issued, however r <p> Definition at line <a class="el" href="modules_8cpp-source.html#l00399">399</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h.html#a27">server_mode()</a>. +References <a class="el" href="modules_8h.html#a31">server_mode()</a>. <p> <div class="fragment"><pre>00400 { -00401 <a class="code" href="modules_8h.html#a27">server_mode</a>(parameters,pcnt,user); +00401 <a class="code" href="modules_8h.html#a31">server_mode</a>(parameters,pcnt,user); 00402 } </pre></div> </td> </tr> @@ -1881,7 +1881,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00462">462</a> </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 Sat May 1 17:50:33 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sat May 1 20:58: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/classVersion-members.html b/docs/module-doc/classVersion-members.html index 9b128a552..5286d1df0 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 Sat May 1 17:50:36 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Sat May 1 20:58: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/classVersion.html b/docs/module-doc/classVersion.html index 79f62d7a1..263f51389 100644 --- a/docs/module-doc/classVersion.html +++ b/docs/module-doc/classVersion.html @@ -191,7 +191,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00095">95</a> of </table> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="modules_8h-source.html">modules.h</a><li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul> -<hr><address style="align: right;"><small>Generated on Sat May 1 17:50:36 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sat May 1 20:58: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/classXLine-members.html b/docs/module-doc/classXLine-members.html index 9edb965c9..3fccd2c03 100644 --- a/docs/module-doc/classXLine-members.html +++ b/docs/module-doc/classXLine-members.html @@ -15,7 +15,7 @@ <tr bgcolor="#f0f0f0"><td><a class="el" href="classXLine.html#m0">set_time</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classXLine.html#m2">source</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr><address style="align: right;"><small>Generated on Sat May 1 17:50:37 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Sat May 1 20:58: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/classXLine.html b/docs/module-doc/classXLine.html index 60fb230f1..bc15dd430 100644 --- a/docs/module-doc/classXLine.html +++ b/docs/module-doc/classXLine.html @@ -175,7 +175,7 @@ Definition at line <a class="el" href="xline_8h-source.html#l00032">32</a> of fi </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="xline_8h-source.html">xline.h</a></ul> -<hr><address style="align: right;"><small>Generated on Sat May 1 17:50:37 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sat May 1 20:58: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/classZLine-members.html b/docs/module-doc/classZLine-members.html index fa65024d1..bd3b311b8 100644 --- a/docs/module-doc/classZLine-members.html +++ b/docs/module-doc/classZLine-members.html @@ -17,7 +17,7 @@ <tr bgcolor="#f0f0f0"><td><a class="el" href="classXLine.html#m0">set_time</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classXLine.html#m2">source</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr><address style="align: right;"><small>Generated on Sat May 1 17:50:37 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Sat May 1 20:58: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/classZLine.html b/docs/module-doc/classZLine.html index 46bf05ddb..40aaef089 100644 --- a/docs/module-doc/classZLine.html +++ b/docs/module-doc/classZLine.html @@ -89,7 +89,7 @@ Definition at line <a class="el" href="xline_8h-source.html#l00078">78</a> of fi </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="xline_8h-source.html">xline.h</a></ul> -<hr><address style="align: right;"><small>Generated on Sat May 1 17:50:37 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sat May 1 20:58: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/classchanrec-members.html b/docs/module-doc/classchanrec-members.html index 5fe341785..be1ad9d55 100644 --- a/docs/module-doc/classchanrec-members.html +++ b/docs/module-doc/classchanrec-members.html @@ -34,7 +34,7 @@ <tr bgcolor="#f0f0f0"><td><a class="el" href="classchanrec.html#m4">topicset</a></td><td><a class="el" href="classchanrec.html">chanrec</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classchanrec.html#a5">~chanrec</a>()</td><td><a class="el" href="classchanrec.html">chanrec</a></td><td><code> [inline, virtual]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr><address style="align: right;"><small>Generated on Sat May 1 17:50:20 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Sat May 1 20:58:00 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 ff4e28cfb..310b4e1a6 100644 --- a/docs/module-doc/classchanrec.html +++ b/docs/module-doc/classchanrec.html @@ -810,7 +810,7 @@ Referenced by <a class="el" href="channels_8cpp-source.html#l00096">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 Sat May 1 17:50:20 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sat May 1 20:58:00 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 9d3e9cbf0..e3ad74648 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 Sat May 1 17:50:20 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Sat May 1 20:58:01 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 341411bf6..61ad1c36e 100644 --- a/docs/module-doc/classclassbase.html +++ b/docs/module-doc/classclassbase.html @@ -144,7 +144,7 @@ Definition at line <a class="el" href="base_8h-source.html#l00022">22</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 Sat May 1 17:50:20 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sat May 1 20:58:01 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 4b7a9f236..86ffd6fd4 100644 --- a/docs/module-doc/classcommand__t-members.html +++ b/docs/module-doc/classcommand__t-members.html @@ -19,7 +19,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 Sat May 1 17:50:21 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Sat May 1 20:58:02 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 3e5fe694f..16adbdb26 100644 --- a/docs/module-doc/classcommand__t.html +++ b/docs/module-doc/classcommand__t.html @@ -200,7 +200,7 @@ Definition at line <a class="el" href="ctables_8h-source.html#l00042">42</a> of </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="ctables_8h-source.html">ctables.h</a></ul> -<hr><address style="align: right;"><small>Generated on Sat May 1 17:50:21 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sat May 1 20:58:02 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 73f814ba7..f9281a5fa 100644 --- a/docs/module-doc/classconnection-members.html +++ b/docs/module-doc/classconnection-members.html @@ -42,7 +42,7 @@ <tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m11">state</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#a4">TerminateLink</a>(char *targethost)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr><address style="align: right;"><small>Generated on Sat May 1 17:50:23 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Sat May 1 20:58: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/classconnection.html b/docs/module-doc/classconnection.html index cadaca1b3..fe0d14550 100644 --- a/docs/module-doc/classconnection.html +++ b/docs/module-doc/classconnection.html @@ -1011,7 +1011,7 @@ Definition at line <a class="el" href="connection_8h-source.html#l00212">212</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 Sat May 1 17:50:23 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sat May 1 20:58: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/classes.html b/docs/module-doc/classes.html index c25abfa29..49a52fbab 100644 --- a/docs/module-doc/classes.html +++ b/docs/module-doc/classes.html @@ -24,7 +24,7 @@ </td><td><a class="el" href="classXLine.html">XLine</a> </td></tr><tr><td><a class="el" href="classConfigReader.html">ConfigReader</a> </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> H </div></td></tr></table> </td><td><a class="el" href="classKLine.html">KLine</a> </td><td><a class="el" href="classServer.html">Server</a> </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> Z </div></td></tr></table> </td></tr><tr><td><a class="el" href="classConnectClass.html">ConnectClass</a> </td><td><a class="el" href="structnspace_1_1nspace_1_1hash_3_01in__addr_01_4.html">hash< in_addr ></a> (<a class="el" href="namespacenspace.html">nspace</a>) </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> M </div></td></tr></table> -</td><td><a class="el" href="classserverrec.html">serverrec</a> </td><td><a class="el" href="classZLine.html">ZLine</a> </td></tr><tr><td><a class="el" href="classconnection.html">connection</a> </td></tr></table><hr><address style="align: right;"><small>Generated on Sat May 1 17:50:18 2004 for InspIRCd by +</td><td><a class="el" href="classserverrec.html">serverrec</a> </td><td><a class="el" href="classZLine.html">ZLine</a> </td></tr><tr><td><a class="el" href="classconnection.html">connection</a> </td></tr></table><hr><address style="align: right;"><small>Generated on Sat May 1 20:57:58 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classircd__connector-members.html b/docs/module-doc/classircd__connector-members.html index 3b1e822cd..f7421d908 100644 --- a/docs/module-doc/classircd__connector-members.html +++ b/docs/module-doc/classircd__connector-members.html @@ -36,7 +36,7 @@ <tr bgcolor="#f0f0f0"><td><a class="el" href="classExtensible.html#a1">Shrink</a>(std::string key)</td><td><a class="el" href="classExtensible.html">Extensible</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classircd__connector.html#o4">state</a></td><td><a class="el" href="classircd__connector.html">ircd_connector</a></td><td><code> [private]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr><address style="align: right;"><small>Generated on Sat May 1 17:50:29 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Sat May 1 20:58: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/classircd__connector.html b/docs/module-doc/classircd__connector.html index 1c8298918..c3bccdb70 100644 --- a/docs/module-doc/classircd__connector.html +++ b/docs/module-doc/classircd__connector.html @@ -777,7 +777,7 @@ Definition at line <a class="el" href="connection_8h-source.html#l00063">63</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 Sat May 1 17:50:29 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sat May 1 20:58: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/classpacket-members.html b/docs/module-doc/classpacket-members.html index 015873b3d..1771c20b6 100644 --- a/docs/module-doc/classpacket-members.html +++ b/docs/module-doc/classpacket-members.html @@ -10,7 +10,7 @@ <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#m0">age</a></td><td><a class="el" href="classclassbase.html">classbase</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a0">classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr><address style="align: right;"><small>Generated on Sat May 1 17:50:32 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Sat May 1 20:58: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/classpacket.html b/docs/module-doc/classpacket.html index a6c998f05..a97e02624 100644 --- a/docs/module-doc/classpacket.html +++ b/docs/module-doc/classpacket.html @@ -31,7 +31,7 @@ This declaration is preserved here to maintain documentation only. <p> Definition at line <a class="el" href="connection_8h-source.html#l00155">155</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.<hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="connection_8h-source.html">connection.h</a></ul> -<hr><address style="align: right;"><small>Generated on Sat May 1 17:50:32 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sat May 1 20:58: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/classserverrec-members.html b/docs/module-doc/classserverrec-members.html index cfccf86f0..d1f0ccb67 100644 --- a/docs/module-doc/classserverrec-members.html +++ b/docs/module-doc/classserverrec-members.html @@ -55,7 +55,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 Sat May 1 17:50:34 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Sat May 1 20:58: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/classserverrec.html b/docs/module-doc/classserverrec.html index 2a07b6951..0808910d1 100644 --- a/docs/module-doc/classserverrec.html +++ b/docs/module-doc/classserverrec.html @@ -480,7 +480,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 Sat May 1 17:50:34 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sat May 1 20:58: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/classucrec-members.html b/docs/module-doc/classucrec-members.html index 3489f6f21..f1007fbf5 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 Sat May 1 17:50:35 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Sat May 1 20:58: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/classucrec.html b/docs/module-doc/classucrec.html index 87ad2c57d..8009ad83d 100644 --- a/docs/module-doc/classucrec.html +++ b/docs/module-doc/classucrec.html @@ -164,7 +164,7 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00013">userrec::userre </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="channels_8h-source.html">channels.h</a></ul> -<hr><address style="align: right;"><small>Generated on Sat May 1 17:50:35 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sat May 1 20:58: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/classuserrec-members.html b/docs/module-doc/classuserrec-members.html index 1dc94288f..c1825f830 100644 --- a/docs/module-doc/classuserrec-members.html +++ b/docs/module-doc/classuserrec-members.html @@ -63,7 +63,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 Sat May 1 17:50:36 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Sat May 1 20:58: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/classuserrec.html b/docs/module-doc/classuserrec.html index 0cee7cba2..07fffb9a9 100644 --- a/docs/module-doc/classuserrec.html +++ b/docs/module-doc/classuserrec.html @@ -831,7 +831,7 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00013">userrec()</a>. </table> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="users_8h-source.html">users.h</a><li><a class="el" href="users_8cpp-source.html">users.cpp</a></ul> -<hr><address style="align: right;"><small>Generated on Sat May 1 17:50:35 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sat May 1 20:58: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/commands_8h-source.html b/docs/module-doc/commands_8h-source.html index 84c651278..18b2f2346 100644 --- a/docs/module-doc/commands_8h-source.html +++ b/docs/module-doc/commands_8h-source.html @@ -98,7 +98,7 @@ 00098 <span class="keywordtype">bool</span> <a class="code" href="commands_8h.html#a70">is_uline</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* server); 00099 00100 <span class="preprocessor">#endif</span> -</pre></div><hr><address style="align: right;"><small>Generated on Sat May 1 17:50:06 2004 for InspIRCd by +</pre></div><hr><address style="align: right;"><small>Generated on Sat May 1 20:57:47 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/commands_8h.html b/docs/module-doc/commands_8h.html index b4390f2cf..6c0d3d79e 100644 --- a/docs/module-doc/commands_8h.html +++ b/docs/module-doc/commands_8h.html @@ -3517,7 +3517,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00379">Server::IsUli </td> </tr> </table> -<hr><address style="align: right;"><small>Generated on Sat May 1 17:50:10 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sat May 1 20:57:50 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 9787c9d2d..4228ba2d5 100644 --- a/docs/module-doc/connection_8h-source.html +++ b/docs/module-doc/connection_8h-source.html @@ -157,7 +157,7 @@ 00288 00289 <span class="preprocessor">#endif</span> 00290 <span class="preprocessor"></span> -</pre></div><hr><address style="align: right;"><small>Generated on Sat May 1 17:50:06 2004 for InspIRCd by +</pre></div><hr><address style="align: right;"><small>Generated on Sat May 1 20:57:47 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 d89c6d21b..d2f202488 100644 --- a/docs/module-doc/connection_8h.html +++ b/docs/module-doc/connection_8h.html @@ -198,7 +198,7 @@ Definition at line <a class="el" href="connection_8h-source.html#l00027">27</a> Definition at line <a class="el" href="connection_8h-source.html#l00024">24</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> </tr> </table> -<hr><address style="align: right;"><small>Generated on Sat May 1 17:50:11 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sat May 1 20:57:51 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 fe2503299..e6cd5a4ca 100644 --- a/docs/module-doc/ctables_8h-source.html +++ b/docs/module-doc/ctables_8h-source.html @@ -41,7 +41,7 @@ 00047 00048 <span class="preprocessor">#endif</span> 00049 <span class="preprocessor"></span> -</pre></div><hr><address style="align: right;"><small>Generated on Sat May 1 17:50:06 2004 for InspIRCd by +</pre></div><hr><address style="align: right;"><small>Generated on Sat May 1 20:57:47 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 5aee02962..41d57c5c4 100644 --- a/docs/module-doc/ctables_8h.html +++ b/docs/module-doc/ctables_8h.html @@ -31,7 +31,7 @@ This graph shows which files directly or indirectly include this file:<p><center <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classcommand__t.html">command_t</a></td></tr> <tr><td> </td><td><font size=-1><em>A structure that defines a command.</em> <a href="classcommand__t.html#_details">More...</a><em></em></font><br><br></td></tr> </table> -<hr><address style="align: right;"><small>Generated on Sat May 1 17:50:11 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sat May 1 20:57:52 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/files.html b/docs/module-doc/files.html index 0cdfbd278..570f918d9 100644 --- a/docs/module-doc/files.html +++ b/docs/module-doc/files.html @@ -23,7 +23,7 @@ <tr><td class="indexkey"><a class="el" href="users_8h.html">users.h</a> <a href="users_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> <tr><td class="indexkey"><a class="el" href="xline_8h.html">xline.h</a> <a href="xline_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> </table> -<hr><address style="align: right;"><small>Generated on Sat May 1 17:50:06 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sat May 1 20:57:46 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 d061f50cc..fa3ea5950 100644 --- a/docs/module-doc/functions.html +++ b/docs/module-doc/functions.html @@ -68,9 +68,9 @@ Here is a list of all class members with links to the classes they belong to:<h3 </h3><ul> <li>Email : <a class="el" href="classAdmin.html#m1">Admin</a><li>Enumerate() -: <a class="el" href="classConfigReader.html#a4">ConfigReader</a><li>EnumerateValues() -: <a class="el" href="classConfigReader.html#a6">ConfigReader</a><li>error -: <a class="el" href="classConfigReader.html#n1">ConfigReader</a><li>Exists() +: <a class="el" href="classConfigReader.html#a7">ConfigReader</a><li>EnumerateValues() +: <a class="el" href="classConfigReader.html#a9">ConfigReader</a><li>error +: <a class="el" href="classConfigReader.html#n2">ConfigReader</a><li>Exists() : <a class="el" href="classFileReader.html#a4">FileReader</a><li>Extend() : <a class="el" href="classExtensible.html#a0">Extensible</a><li>Extension_Items : <a class="el" href="classExtensible.html#o0">Extensible</a><li>ExtMode() @@ -94,7 +94,8 @@ Here is a list of all class members with links to the classes they belong to:<h3 : <a class="el" href="classconnection.html#a9">connection</a><li>GetAdmin() : <a class="el" href="classServer.html#a20">Server</a><li>GetDescription() : <a class="el" href="classircd__connector.html#a8">ircd_connector</a><li>GetDescriptor() -: <a class="el" href="classircd__connector.html#a3">ircd_connector</a><li>GetExt() +: <a class="el" href="classircd__connector.html#a3">ircd_connector</a><li>GetError() +: <a class="el" href="classConfigReader.html#a6">ConfigReader</a><li>GetExt() : <a class="el" href="classExtensible.html#a2">Extensible</a><li>GetFullHost() : <a class="el" href="classuserrec.html#a2">userrec</a><li>GetFullRealHost() : <a class="el" href="classuserrec.html#a3">userrec</a><li>GetLine() @@ -220,7 +221,10 @@ Here is a list of all class members with links to the classes they belong to:<h3 : <a class="el" href="classServer.html#a29">Server</a></ul> <h3><a name="index_r">- r -</a> </h3><ul> -<li>ReadValue() +<li>readerror +: <a class="el" href="classConfigReader.html#n1">ConfigReader</a><li>ReadFlag() +: <a class="el" href="classConfigReader.html#a4">ConfigReader</a><li>ReadInteger() +: <a class="el" href="classConfigReader.html#a5">ConfigReader</a><li>ReadValue() : <a class="el" href="classConfigReader.html#a3">ConfigReader</a><li>reason : <a class="el" href="classXLine.html#m3">XLine</a><li>RecvPacket() : <a class="el" href="classconnection.html#a6">connection</a><li>registered @@ -244,9 +248,9 @@ Here is a list of all class members with links to the classes they belong to:<h3 : <a class="el" href="classServer.html#a5">Server</a><li>SendTo() : <a class="el" href="classServer.html#a7">Server</a><li>SendToModeMask() : <a class="el" href="classServer.html#a25">Server</a><li>SendWallops() -: <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>servername +: <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>servername : <a class="el" href="classircd__connector.html#o2">ircd_connector</a><li>serverrec() : <a class="el" href="classserverrec.html#a1">serverrec</a><li>set_by : <a class="el" href="classHostItem.html#m1">HostItem</a><li>set_time @@ -288,9 +292,9 @@ Here is a list of all class members with links to the classes they belong to:<h3 <h3><a name="index_v">- v -</a> </h3><ul> <li>Verify() -: <a class="el" href="classConfigReader.html#a5">ConfigReader</a><li>Version() -: <a class="el" href="classVersion.html#a0">Version</a><li>version -: <a class="el" href="classserverrec.html#m6">serverrec</a></ul> +: <a class="el" href="classConfigReader.html#a8">ConfigReader</a><li>version +: <a class="el" href="classserverrec.html#m6">serverrec</a><li>Version() +: <a class="el" href="classVersion.html#a0">Version</a></ul> <h3><a name="index_~">- ~ -</a> </h3><ul> <li>~chanrec() @@ -305,7 +309,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 Sat May 1 17:50:18 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sat May 1 20:57:58 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 327a5d9f0..403389a6a 100644 --- a/docs/module-doc/globals.html +++ b/docs/module-doc/globals.html @@ -54,7 +54,7 @@ Here is a list of all file members with links to the files they belong to:<h3><a : <a class="el" href="message_8h.html#a11">message.h</a><li>ChangeName() : <a class="el" href="message_8h.html#a10">message.h</a><li>chanlist : <a class="el" href="modules_8cpp.html#a43">modules.cpp</a><li>chanuserlist -: <a class="el" href="modules_8h.html#a24">modules.h</a><li>chlist() +: <a class="el" href="modules_8h.html#a28">modules.h</a><li>chlist() : <a class="el" href="message_8h.html#a18">message.h</a><li>chop() : <a class="el" href="message_8h.html#a1">message.h</a><li>ClassVector : <a class="el" href="users_8h.html#a7">users.h</a><li>CleanAndResolve() @@ -63,9 +63,13 @@ Here is a list of all file members with links to the files they belong to:<h3><a : <a class="el" href="modules_8cpp.html#a45">modules.cpp</a><li>cmode() : <a class="el" href="message_8h.html#a14">message.h</a><li>command_table : <a class="el" href="modules_8cpp.html#a41">modules.cpp</a><li>common_channels() -: <a class="el" href="message_8h.html#a0">message.h</a><li>config_f +: <a class="el" href="message_8h.html#a0">message.h</a><li>CONF_FILE_NOT_FOUND +: <a class="el" href="modules_8h.html#a25">modules.h</a><li>CONF_NOT_A_NUMBER +: <a class="el" href="modules_8h.html#a22">modules.h</a><li>CONF_NOT_UNSIGNED +: <a class="el" href="modules_8h.html#a23">modules.h</a><li>CONF_VALUE_NOT_FOUND +: <a class="el" href="modules_8h.html#a24">modules.h</a><li>config_f : <a class="el" href="users_8cpp.html#a0">users.cpp</a>, <a class="el" href="modules_8cpp.html#a35">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a35">channels.cpp</a><li>createcommand() -: <a class="el" href="modules_8h.html#a26">modules.h</a><li>cstatus() +: <a class="el" href="modules_8h.html#a30">modules.h</a><li>cstatus() : <a class="el" href="message_8h.html#a15">message.h</a><li>custom_mode_params : <a class="el" href="channels_8cpp.html#a38">channels.cpp</a></ul> <h3><a name="index_d">- d -</a> @@ -96,7 +100,7 @@ Here is a list of all file members with links to the files they belong to:<h3><a <li>factory : <a class="el" href="modules_8cpp.html#a60">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a3">channels.cpp</a><li>fd_reap : <a class="el" href="modules_8cpp.html#a26">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a26">channels.cpp</a><li>file_cache -: <a class="el" href="modules_8h.html#a22">modules.h</a><li>FOREACH_MOD +: <a class="el" href="modules_8h.html#a26">modules.h</a><li>FOREACH_MOD : <a class="el" href="modules_8h.html#a20">modules.h</a><li>FOREACH_RESULT : <a class="el" href="modules_8h.html#a21">modules.h</a></ul> <h3><a name="index_g">- g -</a> @@ -135,9 +139,9 @@ Here is a list of all file members with links to the files they belong to:<h3><a : <a class="el" href="commands_8h.html#a46">commands.h</a><li>handle_links() : <a class="el" href="commands_8h.html#a38">commands.h</a><li>handle_list() : <a class="el" href="commands_8h.html#a20">commands.h</a><li>handle_lusers() -: <a class="el" href="commands_8h.html#a22">commands.h</a><li>handle_M() -: <a class="el" href="commands_8h.html#a64">commands.h</a><li>handle_m() -: <a class="el" href="commands_8h.html#a63">commands.h</a><li>handle_map() +: <a class="el" href="commands_8h.html#a22">commands.h</a><li>handle_m() +: <a class="el" href="commands_8h.html#a63">commands.h</a><li>handle_M() +: <a class="el" href="commands_8h.html#a64">commands.h</a><li>handle_map() : <a class="el" href="commands_8h.html#a39">commands.h</a><li>handle_mode() : <a class="el" href="mode_8h.html#a11">mode.h</a><li>handle_modules() : <a class="el" href="commands_8h.html#a34">commands.h</a><li>handle_motd() @@ -187,7 +191,7 @@ Here is a list of all file members with links to the files they belong to:<h3><a : <a class="el" href="users_8h.html#a6">users.h</a><li>InviteList : <a class="el" href="channels_8h.html#a7">channels.h</a><li>IP : <a class="el" href="modules_8cpp.html#a48">modules.cpp</a><li>ircd_module -: <a class="el" href="modules_8h.html#a25">modules.h</a><li>is_uline() +: <a class="el" href="modules_8h.html#a29">modules.h</a><li>is_uline() : <a class="el" href="commands_8h.html#a70">commands.h</a><li>isident() : <a class="el" href="message_8h.html#a12">message.h</a><li>isnick() : <a class="el" href="message_8h.html#a13">message.h</a></ul> @@ -218,9 +222,9 @@ Here is a list of all file members with links to the files they belong to:<h3><a : <a class="el" href="modules_8cpp.html#a53">modules.cpp</a><li>ModeMakeList() : <a class="el" href="modules_8cpp.html#a58">modules.cpp</a><li>module_names : <a class="el" href="modules_8cpp.html#a27">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a27">channels.cpp</a><li>modules -: <a class="el" href="modules_8cpp.html#a59">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a2">channels.cpp</a><li>motd -: <a class="el" href="modules_8cpp.html#a13">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a13">channels.cpp</a><li>MOTD -: <a class="el" href="modules_8cpp.html#a46">modules.cpp</a><li>MT_CHANNEL +: <a class="el" href="modules_8cpp.html#a59">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a2">channels.cpp</a><li>MOTD +: <a class="el" href="modules_8cpp.html#a46">modules.cpp</a><li>motd +: <a class="el" href="modules_8cpp.html#a13">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a13">channels.cpp</a><li>MT_CHANNEL : <a class="el" href="modules_8h.html#a5">modules.h</a><li>MT_CLIENT : <a class="el" href="modules_8h.html#a6">modules.h</a><li>MT_SERVER : <a class="el" href="modules_8h.html#a7">modules.h</a></ul> @@ -251,15 +255,15 @@ Here is a list of all file members with links to the files they belong to:<h3><a </h3><ul> <li>read_xline_defaults() : <a class="el" href="xline_8h.html#a0">xline.h</a><li>restartpass -: <a class="el" href="modules_8cpp.html#a12">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a12">channels.cpp</a><li>RULES -: <a class="el" href="modules_8cpp.html#a47">modules.cpp</a><li>rules -: <a class="el" href="modules_8cpp.html#a14">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a14">channels.cpp</a></ul> +: <a class="el" href="modules_8cpp.html#a12">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a12">channels.cpp</a><li>rules +: <a class="el" href="modules_8cpp.html#a14">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a14">channels.cpp</a><li>RULES +: <a class="el" href="modules_8cpp.html#a47">modules.cpp</a></ul> <h3><a name="index_s">- s -</a> </h3><ul> <li>safedelete() : <a class="el" href="message_8h.html#a4">message.h</a><li>send_network_quit() : <a class="el" href="message_8h.html#a19">message.h</a><li>server_mode() -: <a class="el" href="modules_8h.html#a27">modules.h</a>, <a class="el" href="mode_8h.html#a12">mode.h</a><li>ServerDesc +: <a class="el" href="modules_8h.html#a31">modules.h</a>, <a class="el" href="mode_8h.html#a12">mode.h</a><li>ServerDesc : <a class="el" href="modules_8cpp.html#a7">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a7">channels.cpp</a><li>ServerName : <a class="el" href="modules_8cpp.html#a5">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a5">channels.cpp</a><li>SPARSE : <a class="el" href="modules_8h.html#a3">modules.h</a><li>startup_time @@ -278,7 +282,7 @@ Here is a list of all file members with links to the files they belong to:<h3><a : <a class="el" href="users_8h.html#a3">users.h</a><li>STATUS_OP : <a class="el" href="users_8h.html#a0">users.h</a><li>STATUS_VOICE : <a class="el" href="users_8h.html#a2">users.h</a><li>string_list -: <a class="el" href="modules_8h.html#a23">modules.h</a><li>sync_xlines() +: <a class="el" href="modules_8h.html#a27">modules.h</a><li>sync_xlines() : <a class="el" href="xline_8h.html#a24">xline.h</a></ul> <h3><a name="index_t">- t -</a> </h3><ul> @@ -315,7 +319,7 @@ Here is a list of all file members with links to the files they belong to:<h3><a <li>zline_make_global() : <a class="el" href="xline_8h.html#a22">xline.h</a><li>zline_set_creation_time() : <a class="el" href="xline_8h.html#a21">xline.h</a></ul> -<hr><address style="align: right;"><small>Generated on Sat May 1 17:50:38 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sat May 1 20:58: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/graph_legend.html b/docs/module-doc/graph_legend.html index cb5ca6514..77250f345 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 Sat May 1 17:50:38 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sat May 1 20:58: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/hierarchy.html b/docs/module-doc/hierarchy.html index 264b1e07a..cfe47c67d 100644 --- a/docs/module-doc/hierarchy.html +++ b/docs/module-doc/hierarchy.html @@ -54,7 +54,7 @@ This inheritance list is sorted roughly, but not completely, alphabetically:<ul> <li><a class="el" href="structInAddr__HashComp.html">InAddr_HashComp</a> <li><a class="el" href="structStrHashComp.html">StrHashComp</a> </ul> -<hr><address style="align: right;"><small>Generated on Sat May 1 17:50:18 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sat May 1 20:57:58 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/inherits.html b/docs/module-doc/inherits.html index b1b7fca58..2882d92ff 100644 --- a/docs/module-doc/inherits.html +++ b/docs/module-doc/inherits.html @@ -59,7 +59,7 @@ <area href="structStrHashComp.html" shape="rect" coords="17,5,111,26" alt=""> </map></td></tr> </table> -<hr><address style="align: right;"><small>Generated on Sat May 1 17:50:39 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sat May 1 20:58: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/main.html b/docs/module-doc/main.html index aa404610e..ff8ade870 100644 --- a/docs/module-doc/main.html +++ b/docs/module-doc/main.html @@ -8,7 +8,7 @@ <a class="qindex" href="main.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center> <hr><h1>InspIRCd Documentation</h1> <p> -<hr><address style="align: right;"><small>Generated on Sat May 1 17:50:06 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sat May 1 20:57:46 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/message_8h-source.html b/docs/module-doc/message_8h-source.html index a17476c3c..797eb26b9 100644 --- a/docs/module-doc/message_8h-source.html +++ b/docs/module-doc/message_8h-source.html @@ -42,7 +42,7 @@ 00034 <span class="keywordtype">void</span> <a class="code" href="message_8h.html#a19">send_network_quit</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* nick, <span class="keyword">const</span> <span class="keywordtype">char</span>* reason); 00035 00036 <span class="preprocessor">#endif</span> -</pre></div><hr><address style="align: right;"><small>Generated on Sat May 1 17:50:06 2004 for InspIRCd by +</pre></div><hr><address style="align: right;"><small>Generated on Sat May 1 20:57:47 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/message_8h.html b/docs/module-doc/message_8h.html index 0c180087e..40df803ab 100644 --- a/docs/module-doc/message_8h.html +++ b/docs/module-doc/message_8h.html @@ -731,7 +731,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00373">Server::QuitU </td> </tr> </table> -<hr><address style="align: right;"><small>Generated on Sat May 1 17:50:12 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sat May 1 20:57:52 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/mode_8h-source.html b/docs/module-doc/mode_8h-source.html index a68f160e6..71cf4fadd 100644 --- a/docs/module-doc/mode_8h-source.html +++ b/docs/module-doc/mode_8h-source.html @@ -33,13 +33,13 @@ 00025 <span class="keywordtype">bool</span> <a class="code" href="mode_8h.html#a9">allowed_umode</a>(<span class="keywordtype">char</span> umode, <span class="keywordtype">char</span>* sourcemodes,<span class="keywordtype">bool</span> adding); 00026 <span class="keywordtype">bool</span> <a class="code" href="mode_8h.html#a10">process_module_umode</a>(<span class="keywordtype">char</span> umode, <a class="code" href="classuserrec.html">userrec</a>* source, <span class="keywordtype">void</span>* dest, <span class="keywordtype">bool</span> adding); 00027 <span class="keywordtype">void</span> <a class="code" href="mode_8h.html#a11">handle_mode</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); -00028 <span class="keywordtype">void</span> <a class="code" href="modules_8h.html#a27">server_mode</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00028 <span class="keywordtype">void</span> <a class="code" href="modules_8h.html#a31">server_mode</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); 00029 <span class="keywordtype">void</span> <a class="code" href="mode_8h.html#a13">merge_mode</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt); 00030 <span class="keywordtype">void</span> <a class="code" href="mode_8h.html#a14">merge_mode2</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a>* user); 00031 00032 00033 <span class="preprocessor">#endif</span> -</pre></div><hr><address style="align: right;"><small>Generated on Sat May 1 17:50:06 2004 for InspIRCd by +</pre></div><hr><address style="align: right;"><small>Generated on Sat May 1 20:57:47 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/mode_8h.html b/docs/module-doc/mode_8h.html index 929a1cd2a..11f355edb 100644 --- a/docs/module-doc/mode_8h.html +++ b/docs/module-doc/mode_8h.html @@ -789,7 +789,7 @@ This graph shows which files directly or indirectly include this file:<p><center </td> </tr> </table> -<hr><address style="align: right;"><small>Generated on Sat May 1 17:50:13 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sat May 1 20:57:53 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 5d6a33b5e..6e6939978 100644 --- a/docs/module-doc/modules_8cpp-source.html +++ b/docs/module-doc/modules_8cpp-source.html @@ -164,8 +164,8 @@ <a name="l00156"></a><a class="code" href="modules_8cpp.html#a43">00156</a> <span class="keyword">extern</span> <a class="code" href="modules_8cpp.html#a39">chan_hash</a> <a class="code" href="modules_8cpp.html#a43">chanlist</a>; <a name="l00157"></a><a class="code" href="modules_8cpp.html#a44">00157</a> <span class="keyword">extern</span> <a class="code" href="modules_8cpp.html#a38">user_hash</a> <a class="code" href="modules_8cpp.html#a44">whowas</a>; <a name="l00158"></a><a class="code" href="modules_8cpp.html#a45">00158</a> <span class="keyword">extern</span> <a class="code" href="modules_8cpp.html#a41">command_table</a> <a class="code" href="modules_8cpp.html#a45">cmdlist</a>; -<a name="l00159"></a><a class="code" href="modules_8cpp.html#a46">00159</a> <span class="keyword">extern</span> <a class="code" href="modules_8h.html#a22">file_cache</a> <a class="code" href="modules_8cpp.html#a46">MOTD</a>; -<a name="l00160"></a><a class="code" href="modules_8cpp.html#a47">00160</a> <span class="keyword">extern</span> <a class="code" href="modules_8h.html#a22">file_cache</a> <a class="code" href="modules_8cpp.html#a47">RULES</a>; +<a name="l00159"></a><a class="code" href="modules_8cpp.html#a46">00159</a> <span class="keyword">extern</span> <a class="code" href="modules_8h.html#a26">file_cache</a> <a class="code" href="modules_8cpp.html#a46">MOTD</a>; +<a name="l00160"></a><a class="code" href="modules_8cpp.html#a47">00160</a> <span class="keyword">extern</span> <a class="code" href="modules_8h.html#a26">file_cache</a> <a class="code" href="modules_8cpp.html#a47">RULES</a>; <a name="l00161"></a><a class="code" href="modules_8cpp.html#a48">00161</a> <span class="keyword">extern</span> <a class="code" href="modules_8cpp.html#a40">address_cache</a> <a class="code" href="modules_8cpp.html#a48">IP</a>; 00162 00163 @@ -310,8 +310,8 @@ <a name="l00302"></a><a class="code" href="classModule.html#a17">00302</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a17">Module::OnUserPreNotice</a>(<a class="code" href="classuserrec.html">userrec</a>* user,<span class="keywordtype">void</span>* dest,<span class="keywordtype">int</span> target_type, std::string text) { <span class="keywordflow">return</span> 0; }; <a name="l00303"></a><a class="code" href="classModule.html#a18">00303</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a18">Module::OnUserPreNick</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string newnick) { <span class="keywordflow">return</span> 0; }; <a name="l00304"></a><a class="code" href="classModule.html#a19">00304</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a19">Module::OnAccessCheck</a>(<a class="code" href="classuserrec.html">userrec</a>* source,<a class="code" href="classuserrec.html">userrec</a>* dest,<a class="code" href="classchanrec.html">chanrec</a>* channel,<span class="keywordtype">int</span> access_type) { <span class="keywordflow">return</span> <a class="code" href="modules_8h.html#a8">ACR_DEFAULT</a>; }; -<a name="l00305"></a><a class="code" href="classModule.html#a20">00305</a> <a class="code" href="modules_8h.html#a23">string_list</a> <a class="code" href="classModule.html#a20">Module::OnUserSync</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { <a class="code" href="modules_8h.html#a23">string_list</a> empty; <span class="keywordflow">return</span> empty; } -<a name="l00306"></a><a class="code" href="classModule.html#a21">00306</a> <a class="code" href="modules_8h.html#a23">string_list</a> <a class="code" href="classModule.html#a21">Module::OnChannelSync</a>(<a class="code" href="classchanrec.html">chanrec</a>* chan) { <a class="code" href="modules_8h.html#a23">string_list</a> empty; <span class="keywordflow">return</span> empty; } +<a name="l00305"></a><a class="code" href="classModule.html#a20">00305</a> <a class="code" href="modules_8h.html#a27">string_list</a> <a class="code" href="classModule.html#a20">Module::OnUserSync</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { <a class="code" href="modules_8h.html#a27">string_list</a> empty; <span class="keywordflow">return</span> empty; } +<a name="l00306"></a><a class="code" href="classModule.html#a21">00306</a> <a class="code" href="modules_8h.html#a27">string_list</a> <a class="code" href="classModule.html#a21">Module::OnChannelSync</a>(<a class="code" href="classchanrec.html">chanrec</a>* chan) { <a class="code" href="modules_8h.html#a27">string_list</a> empty; <span class="keywordflow">return</span> empty; } 00307 00308 00309 <span class="comment">// server is a wrapper class that provides methods to all of the C-style</span> @@ -354,9 +354,9 @@ 00346 <span class="keywordflow">return</span> del_channel(user,cname.c_str(),reason.c_str(),<span class="keyword">false</span>); 00347 } 00348 -<a name="l00349"></a><a class="code" href="classServer.html#a35">00349</a> <a class="code" href="modules_8h.html#a24">chanuserlist</a> <a class="code" href="classServer.html#a35">Server::GetUsers</a>(<a class="code" href="classchanrec.html">chanrec</a>* chan) +<a name="l00349"></a><a class="code" href="classServer.html#a35">00349</a> <a class="code" href="modules_8h.html#a28">chanuserlist</a> <a class="code" href="classServer.html#a35">Server::GetUsers</a>(<a class="code" href="classchanrec.html">chanrec</a>* chan) 00350 { -00351 <a class="code" href="modules_8h.html#a24">chanuserlist</a> userl; +00351 <a class="code" href="modules_8h.html#a28">chanuserlist</a> userl; 00352 userl.clear(); 00353 <span class="keywordflow">for</span> (user_hash::const_iterator i = <a class="code" href="modules_8cpp.html#a42">clientlist</a>.begin(); i != <a class="code" href="modules_8cpp.html#a42">clientlist</a>.end(); i++) 00354 { @@ -401,12 +401,12 @@ 00393 <a name="l00394"></a><a class="code" href="classServer.html#a23">00394</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a23">Server::AddCommand</a>(<span class="keywordtype">char</span>* cmd, handlerfunc f, <span class="keywordtype">char</span> flags, <span class="keywordtype">int</span> minparams) 00395 { -00396 <a class="code" href="modules_8h.html#a26">createcommand</a>(cmd,f,flags,minparams); +00396 <a class="code" href="modules_8h.html#a30">createcommand</a>(cmd,f,flags,minparams); 00397 } 00398 <a name="l00399"></a><a class="code" href="classServer.html#a24">00399</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a24">Server::SendMode</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user) 00400 { -00401 <a class="code" href="modules_8h.html#a27">server_mode</a>(parameters,pcnt,user); +00401 <a class="code" href="modules_8h.html#a31">server_mode</a>(parameters,pcnt,user); 00402 } 00403 <a name="l00404"></a><a class="code" href="classServer.html#a4">00404</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) @@ -561,106 +561,168 @@ <a name="l00553"></a><a class="code" href="classConfigReader.html#a0">00553</a> <a class="code" href="classConfigReader.html#a0">ConfigReader::ConfigReader</a>() 00554 { 00555 this-><a class="code" href="classConfigReader.html#n0">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); -00556 this-><a class="code" href="classConfigReader.html#n1">error</a> = LoadConf(CONFIG_FILE,this->cache); -00557 } -00558 -00559 -<a name="l00560"></a><a class="code" href="classConfigReader.html#a2">00560</a> <a class="code" href="classConfigReader.html#a2">ConfigReader::~ConfigReader</a>() -00561 { -00562 <span class="keywordflow">if</span> (this-><a class="code" href="classConfigReader.html#n0">cache</a>) -00563 <span class="keyword">delete</span> this-><a class="code" href="classConfigReader.html#n0">cache</a>; -00564 } -00565 -00566 -<a name="l00567"></a><a class="code" href="classConfigReader.html#a1">00567</a> <a class="code" href="classConfigReader.html#a0">ConfigReader::ConfigReader</a>(std::string filename) -00568 { -00569 this-><a class="code" href="classConfigReader.html#n0">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); -00570 this-><a class="code" href="classConfigReader.html#n1">error</a> = LoadConf(filename.c_str(),this-><a class="code" href="classConfigReader.html#n0">cache</a>); -00571 }; -00572 -<a name="l00573"></a><a class="code" href="classConfigReader.html#a3">00573</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) -00574 { -00575 <span class="keywordtype">char</span> val[MAXBUF]; -00576 <span class="keywordtype">char</span> t[MAXBUF]; -00577 <span class="keywordtype">char</span> n[MAXBUF]; -00578 strncpy(t,tag.c_str(),MAXBUF); -00579 strncpy(n,name.c_str(),MAXBUF); -00580 ReadConf(cache,t,n,index,val); -00581 <span class="keywordflow">return</span> std::string(val); -00582 } -00583 -00584 -<a name="l00585"></a><a class="code" href="classConfigReader.html#a4">00585</a> <span class="keywordtype">int</span> <a class="code" href="classConfigReader.html#a4">ConfigReader::Enumerate</a>(std::string tag) -00586 { -00587 <span class="keywordflow">return</span> EnumConf(cache,tag.c_str()); -00588 } -00589 -<a name="l00590"></a><a class="code" href="classConfigReader.html#a6">00590</a> <span class="keywordtype">int</span> <a class="code" href="classConfigReader.html#a6">ConfigReader::EnumerateValues</a>(std::string tag, <span class="keywordtype">int</span> index) -00591 { -00592 <span class="keywordflow">return</span> EnumValues(cache, tag.c_str(), index); -00593 } -00594 -<a name="l00595"></a><a class="code" href="classConfigReader.html#a5">00595</a> <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#a5">ConfigReader::Verify</a>() -00596 { -00597 <span class="keywordflow">return</span> this-><a class="code" href="classConfigReader.html#n1">error</a>; -00598 } -00599 -00600 -<a name="l00601"></a><a class="code" href="classFileReader.html#a1">00601</a> <a class="code" href="classFileReader.html#a0">FileReader::FileReader</a>(std::string filename) -00602 { -00603 <a class="code" href="modules_8h.html#a22">file_cache</a> c; -00604 readfile(c,filename.c_str()); -00605 this-><a class="code" href="classFileReader.html#o0">fc</a> = c; -00606 } -00607 -<a name="l00608"></a><a class="code" href="classFileReader.html#a0">00608</a> <a class="code" href="classFileReader.html#a0">FileReader::FileReader</a>() -00609 { -00610 } -00611 -<a name="l00612"></a><a class="code" href="classFileReader.html#a3">00612</a> <span class="keywordtype">void</span> <a class="code" href="classFileReader.html#a3">FileReader::LoadFile</a>(std::string filename) -00613 { -00614 <a class="code" href="modules_8h.html#a22">file_cache</a> c; -00615 readfile(c,filename.c_str()); -00616 this-><a class="code" href="classFileReader.html#o0">fc</a> = c; -00617 } -00618 -00619 -<a name="l00620"></a><a class="code" href="classFileReader.html#a2">00620</a> <a class="code" href="classFileReader.html#a2">FileReader::~FileReader</a>() -00621 { -00622 } -00623 -<a name="l00624"></a><a class="code" href="classFileReader.html#a4">00624</a> <span class="keywordtype">bool</span> <a class="code" href="classFileReader.html#a4">FileReader::Exists</a>() -00625 { -00626 <span class="keywordflow">if</span> (<a class="code" href="classFileReader.html#o0">fc</a>.size() == 0) -00627 { -00628 <span class="keywordflow">return</span>(false); -00629 } -00630 <span class="keywordflow">else</span> -00631 { -00632 <span class="keywordflow">return</span>(true); -00633 } -00634 } -00635 -<a name="l00636"></a><a class="code" href="classFileReader.html#a5">00636</a> std::string <a class="code" href="classFileReader.html#a5">FileReader::GetLine</a>(<span class="keywordtype">int</span> x) -00637 { -00638 <span class="keywordflow">if</span> ((x<0) || (x><a class="code" href="classFileReader.html#o0">fc</a>.size())) -00639 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; -00640 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#o0">fc</a>[x]; -00641 } -00642 -<a name="l00643"></a><a class="code" href="classFileReader.html#a6">00643</a> <span class="keywordtype">int</span> <a class="code" href="classFileReader.html#a6">FileReader::FileSize</a>() -00644 { -00645 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#o0">fc</a>.size(); -00646 } -00647 -00648 -00649 std::vector<Module*> <a class="code" href="modules_8cpp.html#a59">modules</a>(255); -00650 std::vector<ircd_module*> <a class="code" href="modules_8cpp.html#a60">factory</a>(255); +00556 this-><a class="code" href="classConfigReader.html#n1">readerror</a> = LoadConf(CONFIG_FILE,this->cache); +00557 <span class="keywordflow">if</span> (!this-><a class="code" href="classConfigReader.html#n1">readerror</a>) +00558 this-><a class="code" href="classConfigReader.html#n2">error</a> = <a class="code" href="modules_8h.html#a25">CONF_FILE_NOT_FOUND</a>; +00559 } +00560 +00561 +<a name="l00562"></a><a class="code" href="classConfigReader.html#a2">00562</a> <a class="code" href="classConfigReader.html#a2">ConfigReader::~ConfigReader</a>() +00563 { +00564 <span class="keywordflow">if</span> (this-><a class="code" href="classConfigReader.html#n0">cache</a>) +00565 <span class="keyword">delete</span> this-><a class="code" href="classConfigReader.html#n0">cache</a>; +00566 } +00567 +00568 +<a name="l00569"></a><a class="code" href="classConfigReader.html#a1">00569</a> <a class="code" href="classConfigReader.html#a0">ConfigReader::ConfigReader</a>(std::string filename) +00570 { +00571 this-><a class="code" href="classConfigReader.html#n0">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); +00572 this-><a class="code" href="classConfigReader.html#n1">readerror</a> = LoadConf(filename.c_str(),this-><a class="code" href="classConfigReader.html#n0">cache</a>); +00573 <span class="keywordflow">if</span> (!this-><a class="code" href="classConfigReader.html#n1">readerror</a>) +00574 this-><a class="code" href="classConfigReader.html#n2">error</a> = <a class="code" href="modules_8h.html#a25">CONF_FILE_NOT_FOUND</a>; +00575 }; +00576 +<a name="l00577"></a><a class="code" href="classConfigReader.html#a3">00577</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) +00578 { +00579 <span class="keywordtype">char</span> val[MAXBUF]; +00580 <span class="keywordtype">char</span> t[MAXBUF]; +00581 <span class="keywordtype">char</span> n[MAXBUF]; +00582 strncpy(t,tag.c_str(),MAXBUF); +00583 strncpy(n,name.c_str(),MAXBUF); +00584 <span class="keywordtype">int</span> res = ReadConf(cache,t,n,index,val); +00585 <span class="keywordflow">if</span> (!res) +00586 { +00587 this-><a class="code" href="classConfigReader.html#n2">error</a> = <a class="code" href="modules_8h.html#a24">CONF_VALUE_NOT_FOUND</a>; +00588 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; +00589 } +00590 <span class="keywordflow">return</span> std::string(val); +00591 } +00592 +<a name="l00593"></a><a class="code" href="classConfigReader.html#a4">00593</a> <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#a4">ConfigReader::ReadFlag</a>(std::string tag, std::string name, <span class="keywordtype">int</span> index) +00594 { +00595 <span class="keywordtype">char</span> val[MAXBUF]; +00596 <span class="keywordtype">char</span> t[MAXBUF]; +00597 <span class="keywordtype">char</span> n[MAXBUF]; +00598 strncpy(t,tag.c_str(),MAXBUF); +00599 strncpy(n,name.c_str(),MAXBUF); +00600 <span class="keywordtype">int</span> res = ReadConf(cache,t,n,index,val); +00601 <span class="keywordflow">if</span> (!res) +00602 { +00603 this-><a class="code" href="classConfigReader.html#n2">error</a> = <a class="code" href="modules_8h.html#a24">CONF_VALUE_NOT_FOUND</a>; +00604 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00605 } +00606 std::string s = val; +00607 <span class="keywordflow">return</span> ((s == <span class="stringliteral">"yes"</span>) || (s == <span class="stringliteral">"YES"</span>) || (s == <span class="stringliteral">"true"</span>) || (s == <span class="stringliteral">"TRUE"</span>) || (s == <span class="stringliteral">"1"</span>)); +00608 } +00609 +<a name="l00610"></a><a class="code" href="classConfigReader.html#a5">00610</a> <span class="keywordtype">long</span> <a class="code" href="classConfigReader.html#a5">ConfigReader::ReadInteger</a>(std::string tag, std::string name, <span class="keywordtype">int</span> index, <span class="keywordtype">bool</span> needs_unsigned) +00611 { +00612 <span class="keywordtype">char</span> val[MAXBUF]; +00613 <span class="keywordtype">char</span> t[MAXBUF]; +00614 <span class="keywordtype">char</span> n[MAXBUF]; +00615 strncpy(t,tag.c_str(),MAXBUF); +00616 strncpy(n,name.c_str(),MAXBUF); +00617 <span class="keywordtype">int</span> res = ReadConf(cache,t,n,index,val); +00618 <span class="keywordflow">if</span> (!res) +00619 { +00620 this-><a class="code" href="classConfigReader.html#n2">error</a> = <a class="code" href="modules_8h.html#a24">CONF_VALUE_NOT_FOUND</a>; +00621 <span class="keywordflow">return</span> 0; +00622 } +00623 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < strlen(val); i++) +00624 { +00625 <span class="keywordflow">if</span> (!isdigit(val[i])) +00626 { +00627 this-><a class="code" href="classConfigReader.html#n2">error</a> = <a class="code" href="modules_8h.html#a22">CONF_NOT_A_NUMBER</a>; +00628 <span class="keywordflow">return</span> 0; +00629 } +00630 } +00631 <span class="keywordflow">if</span> ((needs_unsigned) && (atoi(val)<0)) +00632 { +00633 this-><a class="code" href="classConfigReader.html#n2">error</a> = <a class="code" href="modules_8h.html#a23">CONF_NOT_UNSIGNED</a>; +00634 <span class="keywordflow">return</span> 0; +00635 } +00636 <span class="keywordflow">return</span> atoi(val); +00637 } +00638 +<a name="l00639"></a><a class="code" href="classConfigReader.html#a6">00639</a> <span class="keywordtype">long</span> <a class="code" href="classConfigReader.html#a6">ConfigReader::GetError</a>() +00640 { +00641 <span class="keywordtype">long</span> olderr = this-><a class="code" href="classConfigReader.html#n2">error</a>; +00642 this->error = 0; +00643 <span class="keywordflow">return</span> olderr; +00644 } +00645 +00646 +<a name="l00647"></a><a class="code" href="classConfigReader.html#a7">00647</a> <span class="keywordtype">int</span> <a class="code" href="classConfigReader.html#a7">ConfigReader::Enumerate</a>(std::string tag) +00648 { +00649 <span class="keywordflow">return</span> EnumConf(cache,tag.c_str()); +00650 } 00651 -<a name="l00652"></a><a class="code" href="modules_8cpp.html#a1">00652</a> <span class="keywordtype">int</span> <a class="code" href="modules_8cpp.html#a1">MODCOUNT</a> = -1; -00653 -00654 -</pre></div><hr><address style="align: right;"><small>Generated on Sat May 1 17:50:06 2004 for InspIRCd by +<a name="l00652"></a><a class="code" href="classConfigReader.html#a9">00652</a> <span class="keywordtype">int</span> <a class="code" href="classConfigReader.html#a9">ConfigReader::EnumerateValues</a>(std::string tag, <span class="keywordtype">int</span> index) +00653 { +00654 <span class="keywordflow">return</span> EnumValues(cache, tag.c_str(), index); +00655 } +00656 +<a name="l00657"></a><a class="code" href="classConfigReader.html#a8">00657</a> <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#a8">ConfigReader::Verify</a>() +00658 { +00659 <span class="keywordflow">return</span> this-><a class="code" href="classConfigReader.html#n1">readerror</a>; +00660 } +00661 +00662 +<a name="l00663"></a><a class="code" href="classFileReader.html#a1">00663</a> <a class="code" href="classFileReader.html#a0">FileReader::FileReader</a>(std::string filename) +00664 { +00665 <a class="code" href="modules_8h.html#a26">file_cache</a> c; +00666 readfile(c,filename.c_str()); +00667 this-><a class="code" href="classFileReader.html#o0">fc</a> = c; +00668 } +00669 +<a name="l00670"></a><a class="code" href="classFileReader.html#a0">00670</a> <a class="code" href="classFileReader.html#a0">FileReader::FileReader</a>() +00671 { +00672 } +00673 +<a name="l00674"></a><a class="code" href="classFileReader.html#a3">00674</a> <span class="keywordtype">void</span> <a class="code" href="classFileReader.html#a3">FileReader::LoadFile</a>(std::string filename) +00675 { +00676 <a class="code" href="modules_8h.html#a26">file_cache</a> c; +00677 readfile(c,filename.c_str()); +00678 this-><a class="code" href="classFileReader.html#o0">fc</a> = c; +00679 } +00680 +00681 +<a name="l00682"></a><a class="code" href="classFileReader.html#a2">00682</a> <a class="code" href="classFileReader.html#a2">FileReader::~FileReader</a>() +00683 { +00684 } +00685 +<a name="l00686"></a><a class="code" href="classFileReader.html#a4">00686</a> <span class="keywordtype">bool</span> <a class="code" href="classFileReader.html#a4">FileReader::Exists</a>() +00687 { +00688 <span class="keywordflow">if</span> (<a class="code" href="classFileReader.html#o0">fc</a>.size() == 0) +00689 { +00690 <span class="keywordflow">return</span>(false); +00691 } +00692 <span class="keywordflow">else</span> +00693 { +00694 <span class="keywordflow">return</span>(true); +00695 } +00696 } +00697 +<a name="l00698"></a><a class="code" href="classFileReader.html#a5">00698</a> std::string <a class="code" href="classFileReader.html#a5">FileReader::GetLine</a>(<span class="keywordtype">int</span> x) +00699 { +00700 <span class="keywordflow">if</span> ((x<0) || (x><a class="code" href="classFileReader.html#o0">fc</a>.size())) +00701 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; +00702 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#o0">fc</a>[x]; +00703 } +00704 +<a name="l00705"></a><a class="code" href="classFileReader.html#a6">00705</a> <span class="keywordtype">int</span> <a class="code" href="classFileReader.html#a6">FileReader::FileSize</a>() +00706 { +00707 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#o0">fc</a>.size(); +00708 } +00709 +00710 +00711 std::vector<Module*> <a class="code" href="modules_8cpp.html#a59">modules</a>(255); +00712 std::vector<ircd_module*> <a class="code" href="modules_8cpp.html#a60">factory</a>(255); +00713 +<a name="l00714"></a><a class="code" href="modules_8cpp.html#a1">00714</a> <span class="keywordtype">int</span> <a class="code" href="modules_8cpp.html#a1">MODCOUNT</a> = -1; +00715 +00716 +</pre></div><hr><address style="align: right;"><small>Generated on Sat May 1 20:57:47 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 cb9caaa72..8585df921 100644 --- a/docs/module-doc/modules_8cpp.html +++ b/docs/module-doc/modules_8cpp.html @@ -85,11 +85,11 @@ Include dependency graph for modules.cpp:<p><center><img src="modules_8cpp__incl <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="modules_8cpp.html#a57">DoAddExtendedMode</a> (char modechar, int type, bool requires_oper, int params_on, int params_off)</td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="modules_8cpp.html#a58">ModeMakeList</a> (char modechar)</td></tr> <tr><td nowrap align=right valign=top>std::vector< <a class="el" href="classModule.html">Module</a> * > </td><td valign=bottom><a class="el" href="modules_8cpp.html#a59">modules</a> (255)</td></tr> -<tr><td nowrap align=right valign=top>std::vector< <a class="el" href="modules_8h.html#a25">ircd_module</a> * > </td><td valign=bottom><a class="el" href="modules_8cpp.html#a60">factory</a> (255)</td></tr> +<tr><td nowrap align=right valign=top>std::vector< <a class="el" href="modules_8h.html#a29">ircd_module</a> * > </td><td valign=bottom><a class="el" href="modules_8cpp.html#a60">factory</a> (255)</td></tr> <tr><td colspan=2><br><h2>Variables</h2></td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="modules_8cpp.html#a1">MODCOUNT</a> = -1</td></tr> <tr><td nowrap align=right valign=top>vector< <a class="el" href="classModule.html">Module</a> * > </td><td valign=bottom><a class="el" href="modules_8cpp.html#a2">modules</a></td></tr> -<tr><td nowrap align=right valign=top>vector< <a class="el" href="modules_8h.html#a25">ircd_module</a> * > </td><td valign=bottom><a class="el" href="modules_8cpp.html#a3">factory</a></td></tr> +<tr><td nowrap align=right valign=top>vector< <a class="el" href="modules_8h.html#a29">ircd_module</a> * > </td><td valign=bottom><a class="el" href="modules_8cpp.html#a3">factory</a></td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="modules_8cpp.html#a4">LogLevel</a></td></tr> <tr><td nowrap align=right valign=top>char </td><td valign=bottom><a class="el" href="modules_8cpp.html#a5">ServerName</a> [MAXBUF]</td></tr> <tr><td nowrap align=right valign=top>char </td><td valign=bottom><a class="el" href="modules_8cpp.html#a6">Network</a> [MAXBUF]</td></tr> @@ -128,8 +128,8 @@ Include dependency graph for modules.cpp:<p><center><img src="modules_8cpp__incl <tr><td nowrap align=right valign=top><a class="el" href="modules_8cpp.html#a39">chan_hash</a> </td><td valign=bottom><a class="el" href="modules_8cpp.html#a43">chanlist</a></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="modules_8cpp.html#a38">user_hash</a> </td><td valign=bottom><a class="el" href="modules_8cpp.html#a44">whowas</a></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="modules_8cpp.html#a41">command_table</a> </td><td valign=bottom><a class="el" href="modules_8cpp.html#a45">cmdlist</a></td></tr> -<tr><td nowrap align=right valign=top><a class="el" href="modules_8h.html#a22">file_cache</a> </td><td valign=bottom><a class="el" href="modules_8cpp.html#a46">MOTD</a></td></tr> -<tr><td nowrap align=right valign=top><a class="el" href="modules_8h.html#a22">file_cache</a> </td><td valign=bottom><a class="el" href="modules_8cpp.html#a47">RULES</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="modules_8h.html#a26">file_cache</a> </td><td valign=bottom><a class="el" href="modules_8cpp.html#a46">MOTD</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="modules_8h.html#a26">file_cache</a> </td><td valign=bottom><a class="el" href="modules_8cpp.html#a47">RULES</a></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="modules_8cpp.html#a40">address_cache</a> </td><td valign=bottom><a class="el" href="modules_8cpp.html#a48">IP</a></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="modules_8cpp.html#a49">ExtModeList</a> </td><td valign=bottom><a class="el" href="modules_8cpp.html#a51">EMode</a></td></tr> </table> @@ -383,7 +383,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00539">Server::AddEx <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> std::vector<<a class="el" href="modules_8h.html#a25">ircd_module</a>*> factory </td> + <td class="md" nowrap valign="top"> std::vector<<a class="el" href="modules_8h.html#a29">ircd_module</a>*> factory </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">255 </td> <td class="mdname1" valign="top" nowrap> </td> @@ -1156,7 +1156,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00254">DoAddExtended <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> vector<<a class="el" href="modules_8h.html#a25">ircd_module</a>*> factory + <td class="md" nowrap valign="top"> vector<<a class="el" href="modules_8h.html#a29">ircd_module</a>*> factory </table> </td> </tr> @@ -1363,7 +1363,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00088">88</a> o <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00652">652</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#l00714">714</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> <a name="a27" doxytag="modules.cpp::module_names"></a><p> @@ -1420,7 +1420,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00048">48</a> o <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> <a class="el" href="modules_8h.html#a22">file_cache</a> MOTD + <td class="md" nowrap valign="top"> <a class="el" href="modules_8h.html#a26">file_cache</a> MOTD </table> </td> </tr> @@ -1636,7 +1636,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00059">59</a> o <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> <a class="el" href="modules_8h.html#a22">file_cache</a> RULES + <td class="md" nowrap valign="top"> <a class="el" href="modules_8h.html#a26">file_cache</a> RULES </table> </td> </tr> @@ -1846,7 +1846,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00068">68</a> o Definition at line <a class="el" href="modules_8cpp-source.html#l00067">67</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<hr><address style="align: right;"><small>Generated on Sat May 1 17:50:14 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sat May 1 20:57:55 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 6868c47b5..bb6affe99 100644 --- a/docs/module-doc/modules_8h-source.html +++ b/docs/module-doc/modules_8h-source.html @@ -53,10 +53,10 @@ 00045 <span class="preprocessor">#include <deque></span> 00046 <span class="preprocessor">#include <sstream></span> 00047 -<a name="l00050"></a><a class="code" href="modules_8h.html#a22">00050</a> <span class="keyword">typedef</span> std::deque<std::string> <a class="code" href="modules_8h.html#a22">file_cache</a>; -<a name="l00051"></a><a class="code" href="modules_8h.html#a23">00051</a> <span class="keyword">typedef</span> <a class="code" href="modules_8h.html#a22">file_cache</a> <a class="code" href="modules_8h.html#a23">string_list</a>; +<a name="l00050"></a><a class="code" href="modules_8h.html#a26">00050</a> <span class="keyword">typedef</span> std::deque<std::string> <a class="code" href="modules_8h.html#a26">file_cache</a>; +<a name="l00051"></a><a class="code" href="modules_8h.html#a27">00051</a> <span class="keyword">typedef</span> <a class="code" href="modules_8h.html#a26">file_cache</a> <a class="code" href="modules_8h.html#a27">string_list</a>; 00052 -<a name="l00055"></a><a class="code" href="modules_8h.html#a24">00055</a> <span class="keyword">typedef</span> std::deque<userrec*> <a class="code" href="modules_8h.html#a24">chanuserlist</a>; +<a name="l00055"></a><a class="code" href="modules_8h.html#a28">00055</a> <span class="keyword">typedef</span> std::deque<userrec*> <a class="code" href="modules_8h.html#a28">chanuserlist</a>; 00056 00057 00058 <span class="comment">// This #define allows us to call a method in all</span> @@ -83,8 +83,8 @@ 00079 <span class="preprocessor"></span> 00080 <span class="comment">// *********************************************************************************************</span> 00081 -00082 <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="modules_8h.html#a26">createcommand</a>(<span class="keywordtype">char</span>* cmd, handlerfunc f, <span class="keywordtype">char</span> flags, <span class="keywordtype">int</span> minparams); -00083 <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="modules_8h.html#a27">server_mode</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00082 <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="modules_8h.html#a30">createcommand</a>(<span class="keywordtype">char</span>* cmd, handlerfunc f, <span class="keywordtype">char</span> flags, <span class="keywordtype">int</span> minparams); +00083 <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="modules_8h.html#a31">server_mode</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); 00084 00085 <span class="comment">// class Version holds the version information of a Module, returned</span> 00086 <span class="comment">// by Module::GetVersion (thanks RD)</span> @@ -147,9 +147,9 @@ 00267 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a18">OnUserPreNick</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string newnick); 00268 00291 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a19">OnAccessCheck</a>(<a class="code" href="classuserrec.html">userrec</a>* source,<a class="code" href="classuserrec.html">userrec</a>* dest,<a class="code" href="classchanrec.html">chanrec</a>* channel,<span class="keywordtype">int</span> access_type); -00297 <span class="keyword">virtual</span> <a class="code" href="modules_8h.html#a23">string_list</a> <a class="code" href="classModule.html#a20">OnUserSync</a>(<a class="code" href="classuserrec.html">userrec</a>* user); +00297 <span class="keyword">virtual</span> <a class="code" href="modules_8h.html#a27">string_list</a> <a class="code" href="classModule.html#a20">OnUserSync</a>(<a class="code" href="classuserrec.html">userrec</a>* user); 00298 -00304 <span class="keyword">virtual</span> <a class="code" href="modules_8h.html#a23">string_list</a> <a class="code" href="classModule.html#a21">OnChannelSync</a>(<a class="code" href="classchanrec.html">chanrec</a>* chan); +00304 <span class="keyword">virtual</span> <a class="code" href="modules_8h.html#a27">string_list</a> <a class="code" href="classModule.html#a21">OnChannelSync</a>(<a class="code" href="classchanrec.html">chanrec</a>* chan); 00305 }; 00306 00307 @@ -207,62 +207,71 @@ 00588 00597 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a34">IsUlined</a>(std::string server); 00598 -00602 <span class="keyword">virtual</span> <a class="code" href="modules_8h.html#a24">chanuserlist</a> <a class="code" href="classServer.html#a35">GetUsers</a>(<a class="code" href="classchanrec.html">chanrec</a>* chan); +00602 <span class="keyword">virtual</span> <a class="code" href="modules_8h.html#a28">chanuserlist</a> <a class="code" href="classServer.html#a35">GetUsers</a>(<a class="code" href="classchanrec.html">chanrec</a>* chan); 00603 00604 }; 00605 -<a name="l00612"></a><a class="code" href="classConfigReader.html">00612</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> -00613 { -00614 <span class="keyword">protected</span>: -<a name="l00620"></a><a class="code" href="classConfigReader.html#n0">00620</a> std::stringstream *<a class="code" href="classConfigReader.html#n0">cache</a>; -<a name="l00623"></a><a class="code" href="classConfigReader.html#n1">00623</a> <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#n1">error</a>; -00624 -00625 <span class="keyword">public</span>: -00630 <a class="code" href="classConfigReader.html#a0">ConfigReader</a>(); <span class="comment">// default constructor reads ircd.conf</span> -00634 <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> -00638 <span class="comment"></span> <a class="code" href="classConfigReader.html#a2">~ConfigReader</a>(); -00643 std::string <a class="code" href="classConfigReader.html#a3">ReadValue</a>(std::string tag, std::string name, <span class="keywordtype">int</span> index); -00650 <span class="keywordtype">int</span> <a class="code" href="classConfigReader.html#a4">Enumerate</a>(std::string tag); -00655 <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#a5">Verify</a>(); -00656 -00662 <span class="keywordtype">int</span> <a class="code" href="classConfigReader.html#a6">EnumerateValues</a>(std::string tag, <span class="keywordtype">int</span> index); -00663 }; -00664 -00665 -00666 -<a name="l00672"></a><a class="code" href="classFileReader.html">00672</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> -00673 { -<a name="l00674"></a><a class="code" href="classFileReader.html#o0">00674</a> <a class="code" href="modules_8h.html#a22">file_cache</a> <a class="code" href="classFileReader.html#o0">fc</a>; -00675 <span class="keyword">public</span>: -00680 <a class="code" href="classFileReader.html#a0">FileReader</a>(); -00681 -00687 <a class="code" href="classFileReader.html#a0">FileReader</a>(std::string filename); -00688 -00692 <a class="code" href="classFileReader.html#a2">~FileReader</a>(); -00693 -00699 <span class="keywordtype">void</span> <a class="code" href="classFileReader.html#a3">LoadFile</a>(std::string filename); -00700 -00704 <span class="keywordtype">bool</span> <a class="code" href="classFileReader.html#a4">Exists</a>(); -00705 -00710 std::string <a class="code" href="classFileReader.html#a5">GetLine</a>(<span class="keywordtype">int</span> x); -00711 -00717 <span class="keywordtype">int</span> <a class="code" href="classFileReader.html#a6">FileSize</a>(); -00718 }; +<a name="l00606"></a><a class="code" href="modules_8h.html#a22">00606</a> <span class="preprocessor">#define CONF_NOT_A_NUMBER 0x000010</span> +<a name="l00607"></a><a class="code" href="modules_8h.html#a23">00607</a> <span class="preprocessor"></span><span class="preprocessor">#define CONF_NOT_UNSIGNED 0x000080</span> +<a name="l00608"></a><a class="code" href="modules_8h.html#a24">00608</a> <span class="preprocessor"></span><span class="preprocessor">#define CONF_VALUE_NOT_FOUND 0x000100</span> +<a name="l00609"></a><a class="code" href="modules_8h.html#a25">00609</a> <span class="preprocessor"></span><span class="preprocessor">#define CONF_FILE_NOT_FOUND 0x000200</span> +00610 <span class="preprocessor"></span> +<a name="l00617"></a><a class="code" href="classConfigReader.html">00617</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> +00618 { +00619 <span class="keyword">protected</span>: +<a name="l00625"></a><a class="code" href="classConfigReader.html#n0">00625</a> std::stringstream *<a class="code" href="classConfigReader.html#n0">cache</a>; +<a name="l00628"></a><a class="code" href="classConfigReader.html#n1">00628</a> <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#n1">readerror</a>; +<a name="l00629"></a><a class="code" href="classConfigReader.html#n2">00629</a> <span class="keywordtype">long</span> <a class="code" href="classConfigReader.html#n2">error</a>; +00630 +00631 <span class="keyword">public</span>: +00636 <a class="code" href="classConfigReader.html#a0">ConfigReader</a>(); <span class="comment">// default constructor reads ircd.conf</span> +00640 <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> +00644 <span class="comment"></span> <a class="code" href="classConfigReader.html#a2">~ConfigReader</a>(); +00649 std::string <a class="code" href="classConfigReader.html#a3">ReadValue</a>(std::string tag, std::string name, <span class="keywordtype">int</span> index); +00655 <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#a4">ReadFlag</a>(std::string tag, std::string name, <span class="keywordtype">int</span> index); +00664 <span class="keywordtype">long</span> <a class="code" href="classConfigReader.html#a5">ReadInteger</a>(std::string tag, std::string name, <span class="keywordtype">int</span> index, <span class="keywordtype">bool</span> needs_unsigned); +00669 <span class="keywordtype">long</span> <a class="code" href="classConfigReader.html#a6">GetError</a>(); +00676 <span class="keywordtype">int</span> <a class="code" href="classConfigReader.html#a7">Enumerate</a>(std::string tag); +00681 <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#a8">Verify</a>(); +00682 +00688 <span class="keywordtype">int</span> <a class="code" href="classConfigReader.html#a9">EnumerateValues</a>(std::string tag, <span class="keywordtype">int</span> index); +00689 }; +00690 +00691 +00692 +<a name="l00698"></a><a class="code" href="classFileReader.html">00698</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> +00699 { +<a name="l00700"></a><a class="code" href="classFileReader.html#o0">00700</a> <a class="code" href="modules_8h.html#a26">file_cache</a> <a class="code" href="classFileReader.html#o0">fc</a>; +00701 <span class="keyword">public</span>: +00706 <a class="code" href="classFileReader.html#a0">FileReader</a>(); +00707 +00713 <a class="code" href="classFileReader.html#a0">FileReader</a>(std::string filename); +00714 +00718 <a class="code" href="classFileReader.html#a2">~FileReader</a>(); 00719 -00720 -<a name="l00727"></a><a class="code" href="classModuleFactory.html">00727</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> -00728 { -00729 <span class="keyword">public</span>: -<a name="l00730"></a><a class="code" href="classModuleFactory.html#a0">00730</a> <a class="code" href="classModuleFactory.html#a0">ModuleFactory</a>() { } -<a name="l00731"></a><a class="code" href="classModuleFactory.html#a1">00731</a> <span class="keyword">virtual</span> <a class="code" href="classModuleFactory.html#a1">~ModuleFactory</a>() { } -00736 <span class="keyword">virtual</span> <a class="code" href="classModule.html">Module</a> * <a class="code" href="classModuleFactory.html#a2">CreateModule</a>() = 0; -00737 }; -00738 -00739 -<a name="l00740"></a><a class="code" href="modules_8h.html#a25">00740</a> <span class="keyword">typedef</span> DLLFactory<ModuleFactory> <a class="code" href="modules_8h.html#a25">ircd_module</a>; -00741 -00742 <span class="preprocessor">#endif</span> -</pre></div><hr><address style="align: right;"><small>Generated on Sat May 1 17:50:07 2004 for InspIRCd by +00725 <span class="keywordtype">void</span> <a class="code" href="classFileReader.html#a3">LoadFile</a>(std::string filename); +00726 +00730 <span class="keywordtype">bool</span> <a class="code" href="classFileReader.html#a4">Exists</a>(); +00731 +00736 std::string <a class="code" href="classFileReader.html#a5">GetLine</a>(<span class="keywordtype">int</span> x); +00737 +00743 <span class="keywordtype">int</span> <a class="code" href="classFileReader.html#a6">FileSize</a>(); +00744 }; +00745 +00746 +<a name="l00753"></a><a class="code" href="classModuleFactory.html">00753</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> +00754 { +00755 <span class="keyword">public</span>: +<a name="l00756"></a><a class="code" href="classModuleFactory.html#a0">00756</a> <a class="code" href="classModuleFactory.html#a0">ModuleFactory</a>() { } +<a name="l00757"></a><a class="code" href="classModuleFactory.html#a1">00757</a> <span class="keyword">virtual</span> <a class="code" href="classModuleFactory.html#a1">~ModuleFactory</a>() { } +00762 <span class="keyword">virtual</span> <a class="code" href="classModule.html">Module</a> * <a class="code" href="classModuleFactory.html#a2">CreateModule</a>() = 0; +00763 }; +00764 +00765 +<a name="l00766"></a><a class="code" href="modules_8h.html#a29">00766</a> <span class="keyword">typedef</span> DLLFactory<ModuleFactory> <a class="code" href="modules_8h.html#a29">ircd_module</a>; +00767 +00768 <span class="preprocessor">#endif</span> +</pre></div><hr><address style="align: right;"><small>Generated on Sat May 1 20:57:47 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 99ac7ab9b..b587a938e 100644 --- a/docs/module-doc/modules_8h.html +++ b/docs/module-doc/modules_8h.html @@ -68,16 +68,20 @@ This graph shows which files directly or indirectly include this file:<p><center <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="modules_8h.html#a19">AC_GENERAL_MODE</a> 8</td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="modules_8h.html#a20">FOREACH_MOD</a> for (int i = 0; i <= <a class="el" href="modules_8cpp.html#a1">MODCOUNT</a>; i++) modules[i]-></td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="modules_8h.html#a21">FOREACH_RESULT</a>(x)</td></tr> +<tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="modules_8h.html#a22">CONF_NOT_A_NUMBER</a> 0x000010</td></tr> +<tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="modules_8h.html#a23">CONF_NOT_UNSIGNED</a> 0x000080</td></tr> +<tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="modules_8h.html#a24">CONF_VALUE_NOT_FOUND</a> 0x000100</td></tr> +<tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="modules_8h.html#a25">CONF_FILE_NOT_FOUND</a> 0x000200</td></tr> <tr><td colspan=2><br><h2>Typedefs</h2></td></tr> -<tr><td nowrap align=right valign=top>typedef std::deque< std::string > </td><td valign=bottom><a class="el" href="modules_8h.html#a22">file_cache</a></td></tr> -<tr><td> </td><td><font size=-1><em>Low level definition of a <a class="el" href="classFileReader.html">FileReader</a> classes file cache area.</em> <a href="#a22"></a><em></em></font><br><br></td></tr> -<tr><td nowrap align=right valign=top>typedef <a class="el" href="modules_8h.html#a22">file_cache</a> </td><td valign=bottom><a class="el" href="modules_8h.html#a23">string_list</a></td></tr> -<tr><td nowrap align=right valign=top>typedef std::deque< <a class="el" href="classuserrec.html">userrec</a> * > </td><td valign=bottom><a class="el" href="modules_8h.html#a24">chanuserlist</a></td></tr> -<tr><td> </td><td><font size=-1><em>Holds a list of users in a channel.</em> <a href="#a24"></a><em></em></font><br><br></td></tr> -<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#a25">ircd_module</a></td></tr> +<tr><td nowrap align=right valign=top>typedef std::deque< std::string > </td><td valign=bottom><a class="el" href="modules_8h.html#a26">file_cache</a></td></tr> +<tr><td> </td><td><font size=-1><em>Low level definition of a <a class="el" href="classFileReader.html">FileReader</a> classes file cache area.</em> <a href="#a26"></a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>typedef <a class="el" href="modules_8h.html#a26">file_cache</a> </td><td valign=bottom><a class="el" href="modules_8h.html#a27">string_list</a></td></tr> +<tr><td nowrap align=right valign=top>typedef std::deque< <a class="el" href="classuserrec.html">userrec</a> * > </td><td valign=bottom><a class="el" href="modules_8h.html#a28">chanuserlist</a></td></tr> +<tr><td> </td><td><font size=-1><em>Holds a list of users in a channel.</em> <a href="#a28"></a><em></em></font><br><br></td></tr> +<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#a29">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#a26">createcommand</a> (char *cmd, handlerfunc 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#a27">server_mode</a> (char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="modules_8h.html#a30">createcommand</a> (char *cmd, handlerfunc 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#a31">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="a17" doxytag="modules.h::AC_DEHALFOP"></a><p> @@ -370,6 +374,110 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00304">Module::OnAcc Definition at line <a class="el" href="modules_8h-source.html#l00028">28</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td> </tr> </table> +<a name="a25" doxytag="modules.h::CONF_FILE_NOT_FOUND"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> #define CONF_FILE_NOT_FOUND 0x000200 + </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_8h-source.html#l00609">609</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#l00553">ConfigReader::ConfigReader()</a>. </td> + </tr> +</table> +<a name="a22" doxytag="modules.h::CONF_NOT_A_NUMBER"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> #define CONF_NOT_A_NUMBER 0x000010 + </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_8h-source.html#l00606">606</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#l00610">ConfigReader::ReadInteger()</a>. </td> + </tr> +</table> +<a name="a23" doxytag="modules.h::CONF_NOT_UNSIGNED"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> #define CONF_NOT_UNSIGNED 0x000080 + </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_8h-source.html#l00607">607</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#l00610">ConfigReader::ReadInteger()</a>. </td> + </tr> +</table> +<a name="a24" doxytag="modules.h::CONF_VALUE_NOT_FOUND"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> #define CONF_VALUE_NOT_FOUND 0x000100 + </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_8h-source.html#l00608">608</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#l00593">ConfigReader::ReadFlag()</a>, <a class="el" href="modules_8cpp-source.html#l00610">ConfigReader::ReadInteger()</a>, and <a class="el" href="modules_8cpp-source.html#l00577">ConfigReader::ReadValue()</a>. </td> + </tr> +</table> <a name="a0" doxytag="modules.h::DEBUG"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> @@ -631,7 +739,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00014">14</a> of </tr> </table> <hr><h2>Typedef Documentation</h2> -<a name="a24" doxytag="modules.h::chanuserlist"></a><p> +<a name="a28" doxytag="modules.h::chanuserlist"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> @@ -659,7 +767,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00055">55</a> of Referenced by <a class="el" href="modules_8cpp-source.html#l00349">Server::GetUsers()</a>. </td> </tr> </table> -<a name="a22" doxytag="modules.h::file_cache"></a><p> +<a name="a26" doxytag="modules.h::file_cache"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> @@ -684,10 +792,10 @@ Low level definition of a <a class="el" href="classFileReader.html">FileReader</ <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>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00601">FileReader::FileReader()</a>, and <a class="el" href="modules_8cpp-source.html#l00612">FileReader::LoadFile()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00663">FileReader::FileReader()</a>, and <a class="el" href="modules_8cpp-source.html#l00674">FileReader::LoadFile()</a>. </td> </tr> </table> -<a name="a25" doxytag="modules.h::ircd_module"></a><p> +<a name="a29" doxytag="modules.h::ircd_module"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> @@ -708,16 +816,16 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00601">FileReader::F <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00740">740</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#l00766">766</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td> </tr> </table> -<a name="a23" doxytag="modules.h::string_list"></a><p> +<a name="a27" doxytag="modules.h::string_list"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> typedef <a class="el" href="modules_8h.html#a22">file_cache</a> string_list + <td class="md" nowrap valign="top"> typedef <a class="el" href="modules_8h.html#a26">file_cache</a> string_list </table> </td> </tr> @@ -738,7 +846,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00306">Module::OnCha </tr> </table> <hr><h2>Function Documentation</h2> -<a name="a26" doxytag="modules.h::createcommand"></a><p> +<a name="a30" doxytag="modules.h::createcommand"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> @@ -790,7 +898,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00306">Module::OnCha Referenced by <a class="el" href="modules_8cpp-source.html#l00394">Server::AddCommand()</a>. </td> </tr> </table> -<a name="a27" doxytag="modules.h::server_mode"></a><p> +<a name="a31" doxytag="modules.h::server_mode"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> @@ -836,7 +944,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00394">Server::AddCo Referenced by <a class="el" href="modules_8cpp-source.html#l00399">Server::SendMode()</a>. </td> </tr> </table> -<hr><address style="align: right;"><small>Generated on Sat May 1 17:50:15 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sat May 1 20:57:55 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/namespacenspace.html b/docs/module-doc/namespacenspace.html index c43d6904a..279c33498 100644 --- a/docs/module-doc/namespacenspace.html +++ b/docs/module-doc/namespacenspace.html @@ -14,7 +14,7 @@ <tr><td nowrap align=right valign=top>struct </td><td valign=bottom><a class="el" href="structnspace_1_1nspace_1_1hash_3_01in__addr_01_4.html">hash< in_addr ></a></td></tr> <tr><td nowrap align=right valign=top>struct </td><td valign=bottom><a class="el" href="structnspace_1_1nspace_1_1hash_3_01string_01_4.html">hash< string ></a></td></tr> </table> -<hr><address style="align: right;"><small>Generated on Sat May 1 17:50:37 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sat May 1 20:58: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/namespaces.html b/docs/module-doc/namespaces.html index 66d75ef86..36f0ef03a 100644 --- a/docs/module-doc/namespaces.html +++ b/docs/module-doc/namespaces.html @@ -10,7 +10,7 @@ <tr><td class="indexkey"><a class="el" href="namespacenspace.html">nspace</a></td><td class="indexvalue"></td></tr> <tr><td class="indexkey"><a class="el" href="namespacestd.html">std</a></td><td class="indexvalue"></td></tr> </table> -<hr><address style="align: right;"><small>Generated on Sat May 1 17:50:37 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sat May 1 20:58: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/namespacestd.html b/docs/module-doc/namespacestd.html index 865a77e0d..9220c5807 100644 --- a/docs/module-doc/namespacestd.html +++ b/docs/module-doc/namespacestd.html @@ -11,7 +11,7 @@ <table border=0 cellpadding=0 cellspacing=0> <tr><td></td></tr> </table> -<hr><address style="align: right;"><small>Generated on Sat May 1 17:50:38 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sat May 1 20:58: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/servers_8cpp-source.html b/docs/module-doc/servers_8cpp-source.html index 8056ab048..ad6c82cfd 100644 --- a/docs/module-doc/servers_8cpp-source.html +++ b/docs/module-doc/servers_8cpp-source.html @@ -48,7 +48,7 @@ 00040 <a class="code" href="classserverrec.html#m9">sync_soon</a> = <span class="keyword">false</span>; 00041 } 00042 -</pre></div><hr><address style="align: right;"><small>Generated on Sat May 1 17:50:07 2004 for InspIRCd by +</pre></div><hr><address style="align: right;"><small>Generated on Sat May 1 20:57:47 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 d79623de4..99b4397a1 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 Sat May 1 17:50:15 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sat May 1 20:57:56 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 a50589257..8cc0f5e23 100644 --- a/docs/module-doc/servers_8h-source.html +++ b/docs/module-doc/servers_8h-source.html @@ -49,7 +49,7 @@ 00067 00068 <span class="preprocessor">#endif</span> 00069 <span class="preprocessor"></span> -</pre></div><hr><address style="align: right;"><small>Generated on Sat May 1 17:50:07 2004 for InspIRCd by +</pre></div><hr><address style="align: right;"><small>Generated on Sat May 1 20:57:47 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 bbd42b91a..9e68e9870 100644 --- a/docs/module-doc/servers_8h.html +++ b/docs/module-doc/servers_8h.html @@ -84,7 +84,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 Sat May 1 17:50:16 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sat May 1 20:57:56 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/structInAddr__HashComp-members.html b/docs/module-doc/structInAddr__HashComp-members.html index 574135070..22199d53f 100644 --- a/docs/module-doc/structInAddr__HashComp-members.html +++ b/docs/module-doc/structInAddr__HashComp-members.html @@ -8,7 +8,7 @@ <a class="qindex" href="main.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center> <hr><h1>InAddr_HashComp Member List</h1>This is the complete list of members for <a class="el" href="structInAddr__HashComp.html">InAddr_HashComp</a>, including all inherited members.<table> <tr bgcolor="#f0f0f0"><td><a class="el" href="structInAddr__HashComp.html#a0">operator()</a>(const in_addr &s1, const in_addr &s2) const</td><td><a class="el" href="structInAddr__HashComp.html">InAddr_HashComp</a></td><td><code> [inline]</code></td></tr> -</table><hr><address style="align: right;"><small>Generated on Sat May 1 17:50:27 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Sat May 1 20:58: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/structInAddr__HashComp.html b/docs/module-doc/structInAddr__HashComp.html index ce21c53e3..da3046281 100644 --- a/docs/module-doc/structInAddr__HashComp.html +++ b/docs/module-doc/structInAddr__HashComp.html @@ -65,7 +65,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00135">135</a> </table> <hr>The documentation for this struct 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 Sat May 1 17:50:27 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sat May 1 20:58: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/structStrHashComp-members.html b/docs/module-doc/structStrHashComp-members.html index dd56c00e5..2fd178d10 100644 --- a/docs/module-doc/structStrHashComp-members.html +++ b/docs/module-doc/structStrHashComp-members.html @@ -8,7 +8,7 @@ <a class="qindex" href="main.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center> <hr><h1>StrHashComp Member List</h1>This is the complete list of members for <a class="el" href="structStrHashComp.html">StrHashComp</a>, including all inherited members.<table> <tr bgcolor="#f0f0f0"><td><a class="el" href="structStrHashComp.html#a0">operator()</a>(const string &s1, const string &s2) const</td><td><a class="el" href="structStrHashComp.html">StrHashComp</a></td><td><code> [inline]</code></td></tr> -</table><hr><address style="align: right;"><small>Generated on Sat May 1 17:50:34 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Sat May 1 20:58: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/structStrHashComp.html b/docs/module-doc/structStrHashComp.html index 03fb5a0f3..586f4f17f 100644 --- a/docs/module-doc/structStrHashComp.html +++ b/docs/module-doc/structStrHashComp.html @@ -62,7 +62,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00122">122</a> </table> <hr>The documentation for this struct 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 Sat May 1 17:50:34 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sat May 1 20:58: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/structnspace_1_1nspace_1_1hash_3_01in__addr_01_4-members.html b/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01in__addr_01_4-members.html index a54a649c3..ed4abbb6f 100644 --- a/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01in__addr_01_4-members.html +++ b/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01in__addr_01_4-members.html @@ -8,7 +8,7 @@ <a class="qindex" href="main.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center> <hr><h1>nspace::hash< in_addr > Member List</h1>This is the complete list of members for <a class="el" href="structnspace_1_1nspace_1_1hash_3_01in__addr_01_4.html">nspace::hash< in_addr ></a>, including all inherited members.<table> <tr bgcolor="#f0f0f0"><td><a class="el" href="structnspace_1_1nspace_1_1hash_3_01in__addr_01_4.html#a0">operator()</a>(const struct in_addr &a) const</td><td><a class="el" href="structnspace_1_1nspace_1_1hash_3_01in__addr_01_4.html">nspace::hash< in_addr ></a></td><td><code> [inline]</code></td></tr> -</table><hr><address style="align: right;"><small>Generated on Sat May 1 17:50:38 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Sat May 1 20:58: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/structnspace_1_1nspace_1_1hash_3_01in__addr_01_4.html b/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01in__addr_01_4.html index 782fa03c0..e5625e70b 100644 --- a/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01in__addr_01_4.html +++ b/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01in__addr_01_4.html @@ -55,7 +55,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00097">97</a> o </table> <hr>The documentation for this struct 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 Sat May 1 17:50:37 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sat May 1 20:58: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/structnspace_1_1nspace_1_1hash_3_01string_01_4-members.html b/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01string_01_4-members.html index 56f56c347..8c4d9899d 100644 --- a/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01string_01_4-members.html +++ b/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01string_01_4-members.html @@ -8,7 +8,7 @@ <a class="qindex" href="main.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center> <hr><h1>nspace::hash< string > Member List</h1>This is the complete list of members for <a class="el" href="structnspace_1_1nspace_1_1hash_3_01string_01_4.html">nspace::hash< string ></a>, including all inherited members.<table> <tr bgcolor="#f0f0f0"><td><a class="el" href="structnspace_1_1nspace_1_1hash_3_01string_01_4.html#a0">operator()</a>(const string &s) const</td><td><a class="el" href="structnspace_1_1nspace_1_1hash_3_01string_01_4.html">nspace::hash< string ></a></td><td><code> [inline]</code></td></tr> -</table><hr><address style="align: right;"><small>Generated on Sat May 1 17:50:38 2004 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Sat May 1 20:58: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/structnspace_1_1nspace_1_1hash_3_01string_01_4.html b/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01string_01_4.html index caf3bcb4f..7ee75dfc3 100644 --- a/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01string_01_4.html +++ b/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01string_01_4.html @@ -57,7 +57,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00107">107</a> </table> <hr>The documentation for this struct 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 Sat May 1 17:50:38 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sat May 1 20:58: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/users_8cpp-source.html b/docs/module-doc/users_8cpp-source.html index 3445cc0c3..fc5df2498 100644 --- a/docs/module-doc/users_8cpp-source.html +++ b/docs/module-doc/users_8cpp-source.html @@ -155,7 +155,7 @@ 00147 } 00148 00149 -</pre></div><hr><address style="align: right;"><small>Generated on Sat May 1 17:50:07 2004 for InspIRCd by +</pre></div><hr><address style="align: right;"><small>Generated on Sat May 1 20:57:47 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 90bb7b37c..0f17dbdc0 100644 --- a/docs/module-doc/users_8cpp.html +++ b/docs/module-doc/users_8cpp.html @@ -52,7 +52,7 @@ Include dependency graph for users.cpp:<p><center><img src="users_8cpp__incl.gif Definition at line <a class="el" href="users_8cpp-source.html#l00011">11</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. </td> </tr> </table> -<hr><address style="align: right;"><small>Generated on Sat May 1 17:50:16 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sat May 1 20:57:57 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 676a7681d..fe8424580 100644 --- a/docs/module-doc/users_8h-source.html +++ b/docs/module-doc/users_8h-source.html @@ -110,7 +110,7 @@ 00185 00186 00187 <span class="preprocessor">#endif</span> -</pre></div><hr><address style="align: right;"><small>Generated on Sat May 1 17:50:07 2004 for InspIRCd by +</pre></div><hr><address style="align: right;"><small>Generated on Sat May 1 20:57:47 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 374109a47..b0bc65cf5 100644 --- a/docs/module-doc/users_8h.html +++ b/docs/module-doc/users_8h.html @@ -251,7 +251,7 @@ Holds a complete list of all channels to which a user has been invited and has n Definition at line <a class="el" href="users_8h-source.html#l00064">64</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td> </tr> </table> -<hr><address style="align: right;"><small>Generated on Sat May 1 17:50:17 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sat May 1 20:57:57 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/xline_8h-source.html b/docs/module-doc/xline_8h-source.html index de5d5a897..904d522b9 100644 --- a/docs/module-doc/xline_8h-source.html +++ b/docs/module-doc/xline_8h-source.html @@ -100,7 +100,7 @@ 00130 <span class="preprocessor">#endif</span> 00131 <span class="preprocessor"></span> 00132 -</pre></div><hr><address style="align: right;"><small>Generated on Sat May 1 17:50:07 2004 for InspIRCd by +</pre></div><hr><address style="align: right;"><small>Generated on Sat May 1 20:57:47 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/xline_8h.html b/docs/module-doc/xline_8h.html index 1961894d5..3c8bbeabd 100644 --- a/docs/module-doc/xline_8h.html +++ b/docs/module-doc/xline_8h.html @@ -914,7 +914,7 @@ This graph shows which files directly or indirectly include this file:<p><center </td> </tr> </table> -<hr><address style="align: right;"><small>Generated on Sat May 1 17:50:18 2004 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Sat May 1 20:57:58 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/include/modules.h b/include/modules.h index 48e360114..60d951623 100644 --- a/include/modules.h +++ b/include/modules.h @@ -603,6 +603,11 @@ class Server : public classbase }; +#define CONF_NOT_A_NUMBER 0x000010 +#define CONF_NOT_UNSIGNED 0x000080 +#define CONF_VALUE_NOT_FOUND 0x000100 +#define CONF_FILE_NOT_FOUND 0x000200 + /** Allows reading of values from configuration files * This class allows a module to read from either the main configuration file (inspircd.conf) or from * a module-specified configuration file. It may either be instantiated with one parameter or none. @@ -620,7 +625,8 @@ class ConfigReader : public classbase std::stringstream *cache; /** Used to store errors */ - bool error; + bool readerror; + long error; public: /** Default constructor. @@ -641,6 +647,26 @@ class ConfigReader : public classbase * exist in the config file, index indicates which of the values to retrieve. */ std::string ReadValue(std::string tag, std::string name, int index); + /** Retrieves a boolean value from the config file. + * This method retrieves a boolean value from the config file. Where multiple copies of the tag + * exist in the config file, index indicates which of the values to retrieve. The values "1", "yes" + * and "true" in the config file count as true to ReadFlag, and any other value counts as false. + */ + bool ReadFlag(std::string tag, std::string name, int index); + /** Retrieves an integer value from the config file. + * This method retrieves an integer value from the config file. Where multiple copies of the tag + * exist in the config file, index indicates which of the values to retrieve. Any invalid integer + * values in the tag will cause the objects error value to be set, and any call to GetError() will + * return CONF_INVALID_NUMBER to be returned. needs_unsigned is set if the number must be unsigned. + * If a signed number is placed into a tag which is specified unsigned, 0 will be returned and GetError() + * will return CONF_NOT_UNSIGNED + */ + long ReadInteger(std::string tag, std::string name, int index, bool needs_unsigned); + /** Returns the last error to occur. + * Valid errors can be found by looking in modules.h. Any nonzero value indicates an error condition. + * A call to GetError() resets the error flag back to 0. + */ + long GetError(); /** Counts the number of times a given tag appears in the config file. * 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 diff --git a/src/InspIRCd.layout b/src/InspIRCd.layout index 97a83473e..2588ce0bc 100644 --- a/src/InspIRCd.layout +++ b/src/InspIRCd.layout @@ -1,5 +1,5 @@ [Editors] -Focused=-1 +Focused=4 Order=2,4,6,3,7,25,5,24,39,42,43,-1,1,46,0,49 [Editor_0] @@ -13,9 +13,9 @@ LeftChar=1 [Editor_1] Open=1 Top=0 -CursorCol=40 -CursorRow=2952 -TopLine=2928 +CursorCol=1 +CursorRow=1 +TopLine=1 LeftChar=1 [Editor_2] @@ -23,7 +23,7 @@ Open=1 Top=0 CursorCol=18 CursorRow=354 -TopLine=327 +TopLine=110 LeftChar=1 [Editor_3] @@ -36,10 +36,10 @@ LeftChar=1 [Editor_4] Open=1 -Top=0 -CursorCol=48 -CursorRow=160 -TopLine=132 +Top=1 +CursorCol=7 +CursorRow=557 +TopLine=545 LeftChar=1 [Editor_5] @@ -101,9 +101,9 @@ LeftChar=1 [Editor_12] Open=1 Top=0 -CursorCol=1 -CursorRow=16 -TopLine=1 +CursorCol=9 +CursorRow=193 +TopLine=45 LeftChar=1 [Editor_13] @@ -165,9 +165,9 @@ LeftChar=1 [Editor_20] Open=1 Top=0 -CursorCol=71 -CursorRow=279 -TopLine=259 +CursorCol=13 +CursorRow=629 +TopLine=592 LeftChar=1 [Editor_21] @@ -180,10 +180,10 @@ LeftChar=1 [Editor_22] Open=1 -Top=1 +Top=0 CursorCol=1 -CursorRow=190 -TopLine=135 +CursorRow=22 +TopLine=3 LeftChar=1 [Editor_23] @@ -205,8 +205,8 @@ LeftChar=1 Open=1 Top=0 CursorCol=1 -CursorRow=1 -TopLine=1 +CursorRow=134 +TopLine=116 LeftChar=1 [Editor_26] Open=1 @@ -330,16 +330,16 @@ LeftChar=1 [Editor_43] Open=1 Top=0 -CursorCol=1 -CursorRow=90 -TopLine=52 +CursorCol=4 +CursorRow=688 +TopLine=661 LeftChar=1 [Editor_44] Open=1 Top=0 -CursorCol=63 -CursorRow=63 -TopLine=16 +CursorCol=6 +CursorRow=98 +TopLine=44 LeftChar=1 [Editor_45] Open=1 @@ -380,6 +380,6 @@ LeftChar=1 Open=1 Top=0 CursorCol=2 -CursorRow=250 -TopLine=196 +CursorRow=301 +TopLine=248 LeftChar=1 diff --git a/src/modules.cpp b/src/modules.cpp index e05ab4566..23b45e8aa 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -553,7 +553,9 @@ int Server::CountUsers(chanrec* c) ConfigReader::ConfigReader() { this->cache = new std::stringstream(std::stringstream::in | std::stringstream::out); - this->error = LoadConf(CONFIG_FILE,this->cache); + this->readerror = LoadConf(CONFIG_FILE,this->cache); + if (!this->readerror) + this->error = CONF_FILE_NOT_FOUND; } @@ -567,7 +569,9 @@ ConfigReader::~ConfigReader() ConfigReader::ConfigReader(std::string filename) { this->cache = new std::stringstream(std::stringstream::in | std::stringstream::out); - this->error = LoadConf(filename.c_str(),this->cache); + this->readerror = LoadConf(filename.c_str(),this->cache); + if (!this->readerror) + this->error = CONF_FILE_NOT_FOUND; }; std::string ConfigReader::ReadValue(std::string tag, std::string name, int index) @@ -577,10 +581,68 @@ std::string ConfigReader::ReadValue(std::string tag, std::string name, int index char n[MAXBUF]; strncpy(t,tag.c_str(),MAXBUF); strncpy(n,name.c_str(),MAXBUF); - ReadConf(cache,t,n,index,val); + int res = ReadConf(cache,t,n,index,val); + if (!res) + { + this->error = CONF_VALUE_NOT_FOUND; + return ""; + } return std::string(val); } +bool ConfigReader::ReadFlag(std::string tag, std::string name, int index) +{ + char val[MAXBUF]; + char t[MAXBUF]; + char n[MAXBUF]; + strncpy(t,tag.c_str(),MAXBUF); + strncpy(n,name.c_str(),MAXBUF); + int res = ReadConf(cache,t,n,index,val); + if (!res) + { + this->error = CONF_VALUE_NOT_FOUND; + return false; + } + std::string s = val; + return ((s == "yes") || (s == "YES") || (s == "true") || (s == "TRUE") || (s == "1")); +} + +long ConfigReader::ReadInteger(std::string tag, std::string name, int index, bool needs_unsigned) +{ + char val[MAXBUF]; + char t[MAXBUF]; + char n[MAXBUF]; + strncpy(t,tag.c_str(),MAXBUF); + strncpy(n,name.c_str(),MAXBUF); + int res = ReadConf(cache,t,n,index,val); + if (!res) + { + this->error = CONF_VALUE_NOT_FOUND; + return 0; + } + for (int i = 0; i < strlen(val); i++) + { + if (!isdigit(val[i])) + { + this->error = CONF_NOT_A_NUMBER; + return 0; + } + } + if ((needs_unsigned) && (atoi(val)<0)) + { + this->error = CONF_NOT_UNSIGNED; + return 0; + } + return atoi(val); +} + +long ConfigReader::GetError() +{ + long olderr = this->error; + this->error = 0; + return olderr; +} + int ConfigReader::Enumerate(std::string tag) { @@ -594,7 +656,7 @@ int ConfigReader::EnumerateValues(std::string tag, int index) bool ConfigReader::Verify() { - return this->error; + return this->readerror; } |