diff options
Diffstat (limited to 'docs/module-doc')
247 files changed, 3936 insertions, 2532 deletions
diff --git a/docs/module-doc/annotated.html b/docs/module-doc/annotated.html index bd438814f..e74a92089 100644 --- a/docs/module-doc/annotated.html +++ b/docs/module-doc/annotated.html @@ -41,6 +41,7 @@ <tr><td class="indexkey"><a class="el" href="classQLine.html">QLine</a></td><td class="indexvalue">QLine class </td></tr> <tr><td class="indexkey"><a class="el" href="classRequest.html">Request</a></td><td class="indexvalue">Unicast message directed at a given module </td></tr> <tr><td class="indexkey"><a class="el" href="classServer.html">Server</a></td><td class="indexvalue">Allows server output and query functions This class contains methods which allow a module to query the state of the irc server, and produce output to users and other servers </td></tr> + <tr><td class="indexkey"><a class="el" href="classSocketEngine.html">SocketEngine</a></td><td class="indexvalue">The actual socketengine class presents the same interface on all operating systems, but its private members and internal behaviour should be treated as blackboxed, and vary from system to system and upon the config settings chosen by the server admin </td></tr> <tr><td class="indexkey"><a class="el" href="structirc_1_1StrHashComp.html">irc::StrHashComp</a></td><td class="indexvalue">This class returns true if two strings match </td></tr> <tr><td class="indexkey"><a class="el" href="classucrec.html">ucrec</a></td><td class="indexvalue">Holds a user's modes on a channel This class associates a users privilages with a channel by creating a pointer link between a userrec and chanrec class </td></tr> <tr><td class="indexkey"><a class="el" href="classuserrec.html">userrec</a></td><td class="indexvalue">Holds all information about a user This class stores all information about a user connected to the irc server </td></tr> @@ -49,7 +50,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 size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/base_8h-source.html b/docs/module-doc/base_8h-source.html index 3a161dafb..5a410a39a 100644 --- a/docs/module-doc/base_8h-source.html +++ b/docs/module-doc/base_8h-source.html @@ -88,7 +88,7 @@ <a name="l00161"></a>00161 <a name="l00162"></a>00162 <span class="preprocessor">#endif</span> <a name="l00163"></a>00163 <span class="preprocessor"></span> -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:03 2005 for InspIRCd by +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:08 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/base_8h.html b/docs/module-doc/base_8h.html index 775e3da7e..16588bd44 100644 --- a/docs/module-doc/base_8h.html +++ b/docs/module-doc/base_8h.html @@ -76,7 +76,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#l00026">26</a> of file <a class="el" href="base_8h-source.html">base.h</a>. </td> </tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:04 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:08 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/channels_8cpp-source.html b/docs/module-doc/channels_8cpp-source.html index 2d0f5739d..6306fdb45 100644 --- a/docs/module-doc/channels_8cpp-source.html +++ b/docs/module-doc/channels_8cpp-source.html @@ -225,7 +225,7 @@ <a name="l00216"></a>00216 { <a name="l00217"></a>00217 <span class="keywordflow">return</span> &<a class="code" href="classchanrec.html#internal_5Fuserlist">internal_userlist</a>; <a name="l00218"></a>00218 } -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:03 2005 for InspIRCd by +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:08 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/channels_8cpp.html b/docs/module-doc/channels_8cpp.html index 5d78dcae2..e9048af4e 100644 --- a/docs/module-doc/channels_8cpp.html +++ b/docs/module-doc/channels_8cpp.html @@ -430,7 +430,7 @@ Referenced by <a class="el" href="channels_8cpp-source.html#l00175">chanrec::Get <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00453">Server::GetUsers()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00445">Server::GetUsers()</a>. </td> </tr> </table> <a class="anchor" name="log_5Ffile"></a><!-- doxytag: member="channels.cpp::log_file" ref="log_5Ffile" args="" --><p> @@ -526,9 +526,9 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00081">81</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l01032">1032</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#l01005">1005</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00822">Server::FindModule()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00795">Server::FindModule()</a>. </td> </tr> </table> <a class="anchor" name="module_5Fnames"></a><!-- doxytag: member="channels.cpp::module_names" ref="module_5Fnames" args="" --><p> @@ -553,7 +553,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00822">Server::FindM <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00822">Server::FindModule()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00795">Server::FindModule()</a>. </td> </tr> </table> <a class="anchor" name="modules"></a><!-- doxytag: member="channels.cpp::modules" ref="modules" args="" --><p> @@ -578,7 +578,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00822">Server::FindM <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00822">Server::FindModule()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00795">Server::FindModule()</a>. </td> </tr> </table> <a class="anchor" name="motd_5BMAXBUF_5D"></a><!-- doxytag: member="channels.cpp::motd" ref="motd_5BMAXBUF_5D" args="[MAXBUF]" --><p> @@ -930,7 +930,7 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00038">userrec::userre </td> </tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:05 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:08 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/channels_8h-source.html b/docs/module-doc/channels_8h-source.html index 26d81b34d..324652b3b 100644 --- a/docs/module-doc/channels_8h-source.html +++ b/docs/module-doc/channels_8h-source.html @@ -148,7 +148,7 @@ <a name="l00257"></a>00257 <a name="l00258"></a>00258 <span class="preprocessor">#endif</span> <a name="l00259"></a>00259 <span class="preprocessor"></span> -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:03 2005 for InspIRCd by +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:08 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/channels_8h.html b/docs/module-doc/channels_8h.html index 2374c6875..1d85b92c7 100644 --- a/docs/module-doc/channels_8h.html +++ b/docs/module-doc/channels_8h.html @@ -449,7 +449,7 @@ Holds a complete invite list. Definition at line <a class="el" href="channels_8h-source.html#l00095">95</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td> </tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:06 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:08 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classAdmin-members.html b/docs/module-doc/classAdmin-members.html index f00b7f227..095fa7680 100644 --- a/docs/module-doc/classAdmin-members.html +++ b/docs/module-doc/classAdmin-members.html @@ -13,7 +13,7 @@ <tr class="memlist"><td><a class="el" href="classAdmin.html#Name">Name</a></td><td><a class="el" href="classAdmin.html">Admin</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classAdmin.html#Nick">Nick</a></td><td><a class="el" href="classAdmin.html">Admin</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#_7Eclassbase_28_29">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classAdmin.html b/docs/module-doc/classAdmin.html index 2dba3923c..6632e2016 100644 --- a/docs/module-doc/classAdmin.html +++ b/docs/module-doc/classAdmin.html @@ -81,7 +81,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00125">125</a> of <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00250">250</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00250"></a>00250 : <a class="code" href="classAdmin.html#Name">Name</a>(name), <a class="code" href="classAdmin.html#Email">Email</a>(email), <a class="code" href="classAdmin.html#Nick">Nick</a>(nick) { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00244">244</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00244"></a>00244 : <a class="code" href="classAdmin.html#Name">Name</a>(name), <a class="code" href="classAdmin.html#Email">Email</a>(email), <a class="code" href="classAdmin.html#Nick">Nick</a>(nick) { }; </pre></div> <p> </td> @@ -165,7 +165,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00128">128</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 size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classBanItem-members.html b/docs/module-doc/classBanItem-members.html index 6f4b5a8c3..c66067064 100644 --- a/docs/module-doc/classBanItem-members.html +++ b/docs/module-doc/classBanItem-members.html @@ -14,7 +14,7 @@ <tr class="memlist"><td><a class="el" href="classHostItem.html#set_5Ftime">set_time</a></td><td><a class="el" href="classHostItem.html">HostItem</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#_7Eclassbase_28_29">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr class="memlist"><td><a class="el" href="classHostItem.html#_7EHostItem_28_29">~HostItem</a>()</td><td><a class="el" href="classHostItem.html">HostItem</a></td><td><code> [inline, virtual]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classBanItem.html b/docs/module-doc/classBanItem.html index a485356af..b41bd32c8 100644 --- a/docs/module-doc/classBanItem.html +++ b/docs/module-doc/classBanItem.html @@ -30,7 +30,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#l00052">52</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 size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classBoolSet-members.html b/docs/module-doc/classBoolSet-members.html index 9a39a66b9..986778b33 100644 --- a/docs/module-doc/classBoolSet-members.html +++ b/docs/module-doc/classBoolSet-members.html @@ -17,7 +17,7 @@ <tr class="memlist"><td><a class="el" href="classBoolSet.html#operator_7C_28BoolSet_20other_29">operator|</a>(BoolSet other)</td><td><a class="el" href="classBoolSet.html">BoolSet</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classBoolSet.html#Set_28int_20number_29">Set</a>(int number)</td><td><a class="el" href="classBoolSet.html">BoolSet</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classBoolSet.html#Unset_28int_20number_29">Unset</a>(int number)</td><td><a class="el" href="classBoolSet.html">BoolSet</a></td><td></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classBoolSet.html b/docs/module-doc/classBoolSet.html index 5cf4610b1..56a7b8aa4 100644 --- a/docs/module-doc/classBoolSet.html +++ b/docs/module-doc/classBoolSet.html @@ -405,7 +405,7 @@ Definition at line <a class="el" href="base_8h-source.html#l00106">106</a> of fi </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 size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classConfigReader-members.html b/docs/module-doc/classConfigReader-members.html index ad8fb8962..459e786fb 100644 --- a/docs/module-doc/classConfigReader-members.html +++ b/docs/module-doc/classConfigReader-members.html @@ -24,7 +24,7 @@ <tr class="memlist"><td><a class="el" href="classConfigReader.html#Verify_28_29">Verify</a>()</td><td><a class="el" href="classConfigReader.html">ConfigReader</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#_7Eclassbase_28_29">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr class="memlist"><td><a class="el" href="classConfigReader.html#_7EConfigReader_28_29">~ConfigReader</a>()</td><td><a class="el" href="classConfigReader.html">ConfigReader</a></td><td></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classConfigReader.html b/docs/module-doc/classConfigReader.html index 6a8a95db9..fee5b1e48 100644 --- a/docs/module-doc/classConfigReader.html +++ b/docs/module-doc/classConfigReader.html @@ -102,16 +102,16 @@ Default constructor. <p> This constructor initialises the ConfigReader class to read the inspircd.conf file as specified when running ./configure. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00834">834</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. -<p> -References <a class="el" href="modules_8h-source.html#l01518">cache</a>, <a class="el" href="modules_8h-source.html#l01501">CONF_FILE_NOT_FOUND</a>, <a class="el" href="modules_8h-source.html#l01523">error</a>, <a class="el" href="modules_8h-source.html#l01519">errorlog</a>, <a class="el" href="modules_8cpp.html#include_5Fstack">include_stack</a>, and <a class="el" href="modules_8h-source.html#l01522">readerror</a>.<div class="fragment"><pre class="fragment"><a name="l00835"></a>00835 { -<a name="l00836"></a>00836 <a class="code" href="modules_8cpp.html#include_5Fstack">include_stack</a>.clear(); -<a name="l00837"></a>00837 this-><a class="code" href="classConfigReader.html#cache">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); -<a name="l00838"></a>00838 this-><a class="code" href="classConfigReader.html#errorlog">errorlog</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); -<a name="l00839"></a>00839 this-><a class="code" href="classConfigReader.html#readerror">readerror</a> = LoadConf(CONFIG_FILE,this->cache,this->errorlog); -<a name="l00840"></a>00840 <span class="keywordflow">if</span> (!this->readerror) -<a name="l00841"></a>00841 this-><a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FFILE_5FNOT_5FFOUND">CONF_FILE_NOT_FOUND</a>; -<a name="l00842"></a>00842 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00807">807</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="modules_8h-source.html#l01518">cache</a>, <a class="el" href="modules_8h-source.html#l01501">CONF_FILE_NOT_FOUND</a>, <a class="el" href="modules_8h-source.html#l01523">error</a>, <a class="el" href="modules_8h-source.html#l01519">errorlog</a>, <a class="el" href="modules_8cpp.html#include_5Fstack">include_stack</a>, and <a class="el" href="modules_8h-source.html#l01522">readerror</a>.<div class="fragment"><pre class="fragment"><a name="l00808"></a>00808 { +<a name="l00809"></a>00809 <a class="code" href="modules_8cpp.html#include_5Fstack">include_stack</a>.clear(); +<a name="l00810"></a>00810 this-><a class="code" href="classConfigReader.html#cache">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); +<a name="l00811"></a>00811 this-><a class="code" href="classConfigReader.html#errorlog">errorlog</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); +<a name="l00812"></a>00812 this-><a class="code" href="classConfigReader.html#readerror">readerror</a> = LoadConf(CONFIG_FILE,this->cache,this->errorlog); +<a name="l00813"></a>00813 <span class="keywordflow">if</span> (!this->readerror) +<a name="l00814"></a>00814 this-><a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FFILE_5FNOT_5FFOUND">CONF_FILE_NOT_FOUND</a>; +<a name="l00815"></a>00815 } </pre></div> <p> </td> @@ -146,15 +146,15 @@ 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#l00854">854</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#l00827">827</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l01518">cache</a>, <a class="el" href="modules_8h-source.html#l01501">CONF_FILE_NOT_FOUND</a>, <a class="el" href="modules_8h-source.html#l01523">error</a>, <a class="el" href="modules_8h-source.html#l01519">errorlog</a>, and <a class="el" href="modules_8h-source.html#l01522">readerror</a>.<div class="fragment"><pre class="fragment"><a name="l00855"></a>00855 { -<a name="l00856"></a>00856 this-><a class="code" href="classConfigReader.html#cache">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); -<a name="l00857"></a>00857 this-><a class="code" href="classConfigReader.html#errorlog">errorlog</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); -<a name="l00858"></a>00858 this-><a class="code" href="classConfigReader.html#readerror">readerror</a> = LoadConf(filename.c_str(),this-><a class="code" href="classConfigReader.html#cache">cache</a>,this-><a class="code" href="classConfigReader.html#errorlog">errorlog</a>); -<a name="l00859"></a>00859 <span class="keywordflow">if</span> (!this->readerror) -<a name="l00860"></a>00860 this-><a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FFILE_5FNOT_5FFOUND">CONF_FILE_NOT_FOUND</a>; -<a name="l00861"></a>00861 }; +References <a class="el" href="modules_8h-source.html#l01518">cache</a>, <a class="el" href="modules_8h-source.html#l01501">CONF_FILE_NOT_FOUND</a>, <a class="el" href="modules_8h-source.html#l01523">error</a>, <a class="el" href="modules_8h-source.html#l01519">errorlog</a>, and <a class="el" href="modules_8h-source.html#l01522">readerror</a>.<div class="fragment"><pre class="fragment"><a name="l00828"></a>00828 { +<a name="l00829"></a>00829 this-><a class="code" href="classConfigReader.html#cache">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); +<a name="l00830"></a>00830 this-><a class="code" href="classConfigReader.html#errorlog">errorlog</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); +<a name="l00831"></a>00831 this-><a class="code" href="classConfigReader.html#readerror">readerror</a> = LoadConf(filename.c_str(),this-><a class="code" href="classConfigReader.html#cache">cache</a>,this-><a class="code" href="classConfigReader.html#errorlog">errorlog</a>); +<a name="l00832"></a>00832 <span class="keywordflow">if</span> (!this->readerror) +<a name="l00833"></a>00833 this-><a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FFILE_5FNOT_5FFOUND">CONF_FILE_NOT_FOUND</a>; +<a name="l00834"></a>00834 }; </pre></div> <p> </td> @@ -188,14 +188,14 @@ Default destructor. <p> This method destroys the ConfigReader class. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00845">845</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#l00818">818</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l01518">cache</a>, and <a class="el" href="modules_8h-source.html#l01519">errorlog</a>.<div class="fragment"><pre class="fragment"><a name="l00846"></a>00846 { -<a name="l00847"></a>00847 <span class="keywordflow">if</span> (this->cache) -<a name="l00848"></a>00848 <span class="keyword">delete</span> this-><a class="code" href="classConfigReader.html#cache">cache</a>; -<a name="l00849"></a>00849 <span class="keywordflow">if</span> (this->errorlog) -<a name="l00850"></a>00850 <span class="keyword">delete</span> this-><a class="code" href="classConfigReader.html#errorlog">errorlog</a>; -<a name="l00851"></a>00851 } +References <a class="el" href="modules_8h-source.html#l01518">cache</a>, and <a class="el" href="modules_8h-source.html#l01519">errorlog</a>.<div class="fragment"><pre class="fragment"><a name="l00819"></a>00819 { +<a name="l00820"></a>00820 <span class="keywordflow">if</span> (this->cache) +<a name="l00821"></a>00821 <span class="keyword">delete</span> this-><a class="code" href="classConfigReader.html#cache">cache</a>; +<a name="l00822"></a>00822 <span class="keywordflow">if</span> (this->errorlog) +<a name="l00823"></a>00823 <span class="keyword">delete</span> this-><a class="code" href="classConfigReader.html#errorlog">errorlog</a>; +<a name="l00824"></a>00824 } </pre></div> <p> </td> @@ -240,38 +240,38 @@ Dumps the list of errors in a config file to an output location. <p> If bail is true, then the program will abort. If bail is false and user points to a valid user record, the error report will be spooled to the given user by means of NOTICE. if bool is false AND user is false, the error report will be spooled to all opers by means of a NOTICE to all opers. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00932">932</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. -<p> -References <a class="el" href="modules_8h-source.html#l01519">errorlog</a>, <a class="el" href="connection_8h-source.html#l00042">connection::fd</a>, and <a class="el" href="users_8h-source.html#l00124">userrec::nick</a>.<div class="fragment"><pre class="fragment"><a name="l00933"></a>00933 { -<a name="l00934"></a>00934 <span class="keywordflow">if</span> (bail) -<a name="l00935"></a>00935 { -<a name="l00936"></a>00936 printf(<span class="stringliteral">"There were errors in your configuration:\n%s"</span>,<a class="code" href="classConfigReader.html#errorlog">errorlog</a>->str().c_str()); -<a name="l00937"></a>00937 exit(0); -<a name="l00938"></a>00938 } -<a name="l00939"></a>00939 <span class="keywordflow">else</span> -<a name="l00940"></a>00940 { -<a name="l00941"></a>00941 <span class="keywordtype">char</span> dataline[1024]; -<a name="l00942"></a>00942 <span class="keywordflow">if</span> (user) -<a name="l00943"></a>00943 { -<a name="l00944"></a>00944 WriteServ(user-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"NOTICE %s :There were errors in the configuration file:"</span>,user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>); -<a name="l00945"></a>00945 <span class="keywordflow">while</span> (!<a class="code" href="classConfigReader.html#errorlog">errorlog</a>->eof()) -<a name="l00946"></a>00946 { -<a name="l00947"></a>00947 <a class="code" href="classConfigReader.html#errorlog">errorlog</a>->getline(dataline,1024); -<a name="l00948"></a>00948 WriteServ(user-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"NOTICE %s :%s"</span>,user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>,dataline); -<a name="l00949"></a>00949 } -<a name="l00950"></a>00950 } -<a name="l00951"></a>00951 <span class="keywordflow">else</span> -<a name="l00952"></a>00952 { -<a name="l00953"></a>00953 WriteOpers(<span class="stringliteral">"There were errors in the configuration file:"</span>,user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>); -<a name="l00954"></a>00954 <span class="keywordflow">while</span> (!<a class="code" href="classConfigReader.html#errorlog">errorlog</a>->eof()) -<a name="l00955"></a>00955 { -<a name="l00956"></a>00956 <a class="code" href="classConfigReader.html#errorlog">errorlog</a>->getline(dataline,1024); -<a name="l00957"></a>00957 WriteOpers(dataline); -<a name="l00958"></a>00958 } -<a name="l00959"></a>00959 } -<a name="l00960"></a>00960 <span class="keywordflow">return</span>; -<a name="l00961"></a>00961 } -<a name="l00962"></a>00962 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00905">905</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="modules_8h-source.html#l01519">errorlog</a>, <a class="el" href="connection_8h-source.html#l00042">connection::fd</a>, and <a class="el" href="users_8h-source.html#l00124">userrec::nick</a>.<div class="fragment"><pre class="fragment"><a name="l00906"></a>00906 { +<a name="l00907"></a>00907 <span class="keywordflow">if</span> (bail) +<a name="l00908"></a>00908 { +<a name="l00909"></a>00909 printf(<span class="stringliteral">"There were errors in your configuration:\n%s"</span>,<a class="code" href="classConfigReader.html#errorlog">errorlog</a>->str().c_str()); +<a name="l00910"></a>00910 exit(0); +<a name="l00911"></a>00911 } +<a name="l00912"></a>00912 <span class="keywordflow">else</span> +<a name="l00913"></a>00913 { +<a name="l00914"></a>00914 <span class="keywordtype">char</span> dataline[1024]; +<a name="l00915"></a>00915 <span class="keywordflow">if</span> (user) +<a name="l00916"></a>00916 { +<a name="l00917"></a>00917 WriteServ(user-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"NOTICE %s :There were errors in the configuration file:"</span>,user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>); +<a name="l00918"></a>00918 <span class="keywordflow">while</span> (!<a class="code" href="classConfigReader.html#errorlog">errorlog</a>->eof()) +<a name="l00919"></a>00919 { +<a name="l00920"></a>00920 <a class="code" href="classConfigReader.html#errorlog">errorlog</a>->getline(dataline,1024); +<a name="l00921"></a>00921 WriteServ(user-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"NOTICE %s :%s"</span>,user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>,dataline); +<a name="l00922"></a>00922 } +<a name="l00923"></a>00923 } +<a name="l00924"></a>00924 <span class="keywordflow">else</span> +<a name="l00925"></a>00925 { +<a name="l00926"></a>00926 WriteOpers(<span class="stringliteral">"There were errors in the configuration file:"</span>,user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>); +<a name="l00927"></a>00927 <span class="keywordflow">while</span> (!<a class="code" href="classConfigReader.html#errorlog">errorlog</a>->eof()) +<a name="l00928"></a>00928 { +<a name="l00929"></a>00929 <a class="code" href="classConfigReader.html#errorlog">errorlog</a>->getline(dataline,1024); +<a name="l00930"></a>00930 WriteOpers(dataline); +<a name="l00931"></a>00931 } +<a name="l00932"></a>00932 } +<a name="l00933"></a>00933 <span class="keywordflow">return</span>; +<a name="l00934"></a>00934 } +<a name="l00935"></a>00935 } </pre></div> <p> </td> @@ -306,11 +306,11 @@ Counts the number of times a given tag appears in the config file. <p> This method counts the number of times a tag appears in a config file, for use where there are several tags of the same kind, e.g. with opers and connect types. It can be used with the index value of <a class="el" href="classConfigReader.html#ReadValue_28std_3A_3Astring_20tag_2C_20std_3A_3Astring_20name_2C_20int_20index_29">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#l00965">965</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#l00938">938</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l01518">cache</a>.<div class="fragment"><pre class="fragment"><a name="l00966"></a>00966 { -<a name="l00967"></a>00967 <span class="keywordflow">return</span> EnumConf(<a class="code" href="classConfigReader.html#cache">cache</a>,tag.c_str()); -<a name="l00968"></a>00968 } +References <a class="el" href="modules_8h-source.html#l01518">cache</a>.<div class="fragment"><pre class="fragment"><a name="l00939"></a>00939 { +<a name="l00940"></a>00940 <span class="keywordflow">return</span> EnumConf(<a class="code" href="classConfigReader.html#cache">cache</a>,tag.c_str()); +<a name="l00941"></a>00941 } </pre></div> <p> </td> @@ -354,11 +354,11 @@ Returns the number of items within a tag. <p> For example if the tag was <test tag="blah" data="foo"> then this function would return 2. Spaces and newlines both qualify as valid seperators between values. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00970">970</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#l00943">943</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l01518">cache</a>.<div class="fragment"><pre class="fragment"><a name="l00971"></a>00971 { -<a name="l00972"></a>00972 <span class="keywordflow">return</span> EnumValues(<a class="code" href="classConfigReader.html#cache">cache</a>, tag.c_str(), index); -<a name="l00973"></a>00973 } +References <a class="el" href="modules_8h-source.html#l01518">cache</a>.<div class="fragment"><pre class="fragment"><a name="l00944"></a>00944 { +<a name="l00945"></a>00945 <span class="keywordflow">return</span> EnumValues(<a class="code" href="classConfigReader.html#cache">cache</a>, tag.c_str(), index); +<a name="l00946"></a>00946 } </pre></div> <p> </td> @@ -392,13 +392,13 @@ 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#GetError_28_29">GetError()</a> resets the error flag back to 0. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00925">925</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#l00898">898</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l01523">error</a>.<div class="fragment"><pre class="fragment"><a name="l00926"></a>00926 { -<a name="l00927"></a>00927 <span class="keywordtype">long</span> olderr = this-><a class="code" href="classConfigReader.html#error">error</a>; -<a name="l00928"></a>00928 this-><a class="code" href="classConfigReader.html#error">error</a> = 0; -<a name="l00929"></a>00929 <span class="keywordflow">return</span> olderr; -<a name="l00930"></a>00930 } +References <a class="el" href="modules_8h-source.html#l01523">error</a>.<div class="fragment"><pre class="fragment"><a name="l00899"></a>00899 { +<a name="l00900"></a>00900 <span class="keywordtype">long</span> olderr = this-><a class="code" href="classConfigReader.html#error">error</a>; +<a name="l00901"></a>00901 this-><a class="code" href="classConfigReader.html#error">error</a> = 0; +<a name="l00902"></a>00902 <span class="keywordflow">return</span> olderr; +<a name="l00903"></a>00903 } </pre></div> <p> </td> @@ -448,23 +448,23 @@ 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#l00879">879</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. -<p> -References <a class="el" href="modules_8h-source.html#l01518">cache</a>, <a class="el" href="modules_8h-source.html#l01500">CONF_VALUE_NOT_FOUND</a>, and <a class="el" href="modules_8h-source.html#l01523">error</a>.<div class="fragment"><pre class="fragment"><a name="l00880"></a>00880 { -<a name="l00881"></a>00881 <span class="keywordtype">char</span> val[MAXBUF]; -<a name="l00882"></a>00882 <span class="keywordtype">char</span> t[MAXBUF]; -<a name="l00883"></a>00883 <span class="keywordtype">char</span> n[MAXBUF]; -<a name="l00884"></a>00884 strlcpy(t,tag.c_str(),MAXBUF); -<a name="l00885"></a>00885 strlcpy(n,name.c_str(),MAXBUF); -<a name="l00886"></a>00886 <span class="keywordtype">int</span> res = ReadConf(<a class="code" href="classConfigReader.html#cache">cache</a>,t,n,index,val); -<a name="l00887"></a>00887 <span class="keywordflow">if</span> (!res) -<a name="l00888"></a>00888 { -<a name="l00889"></a>00889 this-><a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FVALUE_5FNOT_5FFOUND">CONF_VALUE_NOT_FOUND</a>; -<a name="l00890"></a>00890 <span class="keywordflow">return</span> <span class="keyword">false</span>; -<a name="l00891"></a>00891 } -<a name="l00892"></a>00892 <a class="code" href="namespaceirc.html#string">std::string</a> s = val; -<a name="l00893"></a>00893 <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>)); -<a name="l00894"></a>00894 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00852">852</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="modules_8h-source.html#l01518">cache</a>, <a class="el" href="modules_8h-source.html#l01500">CONF_VALUE_NOT_FOUND</a>, and <a class="el" href="modules_8h-source.html#l01523">error</a>.<div class="fragment"><pre class="fragment"><a name="l00853"></a>00853 { +<a name="l00854"></a>00854 <span class="keywordtype">char</span> val[MAXBUF]; +<a name="l00855"></a>00855 <span class="keywordtype">char</span> t[MAXBUF]; +<a name="l00856"></a>00856 <span class="keywordtype">char</span> n[MAXBUF]; +<a name="l00857"></a>00857 strlcpy(t,tag.c_str(),MAXBUF); +<a name="l00858"></a>00858 strlcpy(n,name.c_str(),MAXBUF); +<a name="l00859"></a>00859 <span class="keywordtype">int</span> res = ReadConf(<a class="code" href="classConfigReader.html#cache">cache</a>,t,n,index,val); +<a name="l00860"></a>00860 <span class="keywordflow">if</span> (!res) +<a name="l00861"></a>00861 { +<a name="l00862"></a>00862 this-><a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FVALUE_5FNOT_5FFOUND">CONF_VALUE_NOT_FOUND</a>; +<a name="l00863"></a>00863 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00864"></a>00864 } +<a name="l00865"></a>00865 <a class="code" href="namespaceirc.html#string">std::string</a> s = val; +<a name="l00866"></a>00866 <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>)); +<a name="l00867"></a>00867 } </pre></div> <p> </td> @@ -520,35 +520,35 @@ 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#GetError_28_29">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#GetError_28_29">GetError()</a> will return CONF_NOT_UNSIGNED <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00896">896</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. -<p> -References <a class="el" href="modules_8h-source.html#l01518">cache</a>, <a class="el" href="modules_8h-source.html#l01498">CONF_NOT_A_NUMBER</a>, <a class="el" href="modules_8h-source.html#l01499">CONF_NOT_UNSIGNED</a>, <a class="el" href="modules_8h-source.html#l01500">CONF_VALUE_NOT_FOUND</a>, and <a class="el" href="modules_8h-source.html#l01523">error</a>.<div class="fragment"><pre class="fragment"><a name="l00897"></a>00897 { -<a name="l00898"></a>00898 <span class="keywordtype">char</span> val[MAXBUF]; -<a name="l00899"></a>00899 <span class="keywordtype">char</span> t[MAXBUF]; -<a name="l00900"></a>00900 <span class="keywordtype">char</span> n[MAXBUF]; -<a name="l00901"></a>00901 strlcpy(t,tag.c_str(),MAXBUF); -<a name="l00902"></a>00902 strlcpy(n,name.c_str(),MAXBUF); -<a name="l00903"></a>00903 <span class="keywordtype">int</span> res = ReadConf(<a class="code" href="classConfigReader.html#cache">cache</a>,t,n,index,val); -<a name="l00904"></a>00904 <span class="keywordflow">if</span> (!res) -<a name="l00905"></a>00905 { -<a name="l00906"></a>00906 this-><a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FVALUE_5FNOT_5FFOUND">CONF_VALUE_NOT_FOUND</a>; -<a name="l00907"></a>00907 <span class="keywordflow">return</span> 0; -<a name="l00908"></a>00908 } -<a name="l00909"></a>00909 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i < strlen(val); i++) -<a name="l00910"></a>00910 { -<a name="l00911"></a>00911 <span class="keywordflow">if</span> (!isdigit(val[i])) -<a name="l00912"></a>00912 { -<a name="l00913"></a>00913 this-><a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FNOT_5FA_5FNUMBER">CONF_NOT_A_NUMBER</a>; -<a name="l00914"></a>00914 <span class="keywordflow">return</span> 0; -<a name="l00915"></a>00915 } -<a name="l00916"></a>00916 } -<a name="l00917"></a>00917 <span class="keywordflow">if</span> ((needs_unsigned) && (atoi(val)<0)) -<a name="l00918"></a>00918 { -<a name="l00919"></a>00919 this-><a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FNOT_5FUNSIGNED">CONF_NOT_UNSIGNED</a>; -<a name="l00920"></a>00920 <span class="keywordflow">return</span> 0; -<a name="l00921"></a>00921 } -<a name="l00922"></a>00922 <span class="keywordflow">return</span> atoi(val); -<a name="l00923"></a>00923 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00869">869</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="modules_8h-source.html#l01518">cache</a>, <a class="el" href="modules_8h-source.html#l01498">CONF_NOT_A_NUMBER</a>, <a class="el" href="modules_8h-source.html#l01499">CONF_NOT_UNSIGNED</a>, <a class="el" href="modules_8h-source.html#l01500">CONF_VALUE_NOT_FOUND</a>, and <a class="el" href="modules_8h-source.html#l01523">error</a>.<div class="fragment"><pre class="fragment"><a name="l00870"></a>00870 { +<a name="l00871"></a>00871 <span class="keywordtype">char</span> val[MAXBUF]; +<a name="l00872"></a>00872 <span class="keywordtype">char</span> t[MAXBUF]; +<a name="l00873"></a>00873 <span class="keywordtype">char</span> n[MAXBUF]; +<a name="l00874"></a>00874 strlcpy(t,tag.c_str(),MAXBUF); +<a name="l00875"></a>00875 strlcpy(n,name.c_str(),MAXBUF); +<a name="l00876"></a>00876 <span class="keywordtype">int</span> res = ReadConf(<a class="code" href="classConfigReader.html#cache">cache</a>,t,n,index,val); +<a name="l00877"></a>00877 <span class="keywordflow">if</span> (!res) +<a name="l00878"></a>00878 { +<a name="l00879"></a>00879 this-><a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FVALUE_5FNOT_5FFOUND">CONF_VALUE_NOT_FOUND</a>; +<a name="l00880"></a>00880 <span class="keywordflow">return</span> 0; +<a name="l00881"></a>00881 } +<a name="l00882"></a>00882 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i < strlen(val); i++) +<a name="l00883"></a>00883 { +<a name="l00884"></a>00884 <span class="keywordflow">if</span> (!isdigit(val[i])) +<a name="l00885"></a>00885 { +<a name="l00886"></a>00886 this-><a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FNOT_5FA_5FNUMBER">CONF_NOT_A_NUMBER</a>; +<a name="l00887"></a>00887 <span class="keywordflow">return</span> 0; +<a name="l00888"></a>00888 } +<a name="l00889"></a>00889 } +<a name="l00890"></a>00890 <span class="keywordflow">if</span> ((needs_unsigned) && (atoi(val)<0)) +<a name="l00891"></a>00891 { +<a name="l00892"></a>00892 this-><a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FNOT_5FUNSIGNED">CONF_NOT_UNSIGNED</a>; +<a name="l00893"></a>00893 <span class="keywordflow">return</span> 0; +<a name="l00894"></a>00894 } +<a name="l00895"></a>00895 <span class="keywordflow">return</span> atoi(val); +<a name="l00896"></a>00896 } </pre></div> <p> </td> @@ -598,22 +598,22 @@ 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#l00863">863</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. -<p> -References <a class="el" href="modules_8h-source.html#l01518">cache</a>, <a class="el" href="modules_8h-source.html#l01500">CONF_VALUE_NOT_FOUND</a>, and <a class="el" href="modules_8h-source.html#l01523">error</a>.<div class="fragment"><pre class="fragment"><a name="l00864"></a>00864 { -<a name="l00865"></a>00865 <span class="keywordtype">char</span> val[MAXBUF]; -<a name="l00866"></a>00866 <span class="keywordtype">char</span> t[MAXBUF]; -<a name="l00867"></a>00867 <span class="keywordtype">char</span> n[MAXBUF]; -<a name="l00868"></a>00868 strlcpy(t,tag.c_str(),MAXBUF); -<a name="l00869"></a>00869 strlcpy(n,name.c_str(),MAXBUF); -<a name="l00870"></a>00870 <span class="keywordtype">int</span> res = ReadConf(<a class="code" href="classConfigReader.html#cache">cache</a>,t,n,index,val); -<a name="l00871"></a>00871 <span class="keywordflow">if</span> (!res) -<a name="l00872"></a>00872 { -<a name="l00873"></a>00873 this-><a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FVALUE_5FNOT_5FFOUND">CONF_VALUE_NOT_FOUND</a>; -<a name="l00874"></a>00874 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; -<a name="l00875"></a>00875 } -<a name="l00876"></a>00876 <span class="keywordflow">return</span> val; -<a name="l00877"></a>00877 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00836">836</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="modules_8h-source.html#l01518">cache</a>, <a class="el" href="modules_8h-source.html#l01500">CONF_VALUE_NOT_FOUND</a>, and <a class="el" href="modules_8h-source.html#l01523">error</a>.<div class="fragment"><pre class="fragment"><a name="l00837"></a>00837 { +<a name="l00838"></a>00838 <span class="keywordtype">char</span> val[MAXBUF]; +<a name="l00839"></a>00839 <span class="keywordtype">char</span> t[MAXBUF]; +<a name="l00840"></a>00840 <span class="keywordtype">char</span> n[MAXBUF]; +<a name="l00841"></a>00841 strlcpy(t,tag.c_str(),MAXBUF); +<a name="l00842"></a>00842 strlcpy(n,name.c_str(),MAXBUF); +<a name="l00843"></a>00843 <span class="keywordtype">int</span> res = ReadConf(<a class="code" href="classConfigReader.html#cache">cache</a>,t,n,index,val); +<a name="l00844"></a>00844 <span class="keywordflow">if</span> (!res) +<a name="l00845"></a>00845 { +<a name="l00846"></a>00846 this-><a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FVALUE_5FNOT_5FFOUND">CONF_VALUE_NOT_FOUND</a>; +<a name="l00847"></a>00847 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; +<a name="l00848"></a>00848 } +<a name="l00849"></a>00849 <span class="keywordflow">return</span> val; +<a name="l00850"></a>00850 } </pre></div> <p> </td> @@ -647,11 +647,11 @@ 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#l00975">975</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#l00948">948</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l01522">readerror</a>.<div class="fragment"><pre class="fragment"><a name="l00976"></a>00976 { -<a name="l00977"></a>00977 <span class="keywordflow">return</span> this-><a class="code" href="classConfigReader.html#readerror">readerror</a>; -<a name="l00978"></a>00978 } +References <a class="el" href="modules_8h-source.html#l01522">readerror</a>.<div class="fragment"><pre class="fragment"><a name="l00949"></a>00949 { +<a name="l00950"></a>00950 <span class="keywordflow">return</span> this-><a class="code" href="classConfigReader.html#readerror">readerror</a>; +<a name="l00951"></a>00951 } </pre></div> <p> </td> @@ -684,7 +684,7 @@ It will contain a pointer to the configuration file data with unneeded data (suc <p> Definition at line <a class="el" href="modules_8h-source.html#l01518">1518</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#l00834">ConfigReader()</a>, <a class="el" href="modules_8cpp-source.html#l00965">Enumerate()</a>, <a class="el" href="modules_8cpp-source.html#l00970">EnumerateValues()</a>, <a class="el" href="modules_8cpp-source.html#l00879">ReadFlag()</a>, <a class="el" href="modules_8cpp-source.html#l00896">ReadInteger()</a>, <a class="el" href="modules_8cpp-source.html#l00863">ReadValue()</a>, and <a class="el" href="modules_8cpp-source.html#l00845">~ConfigReader()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00807">ConfigReader()</a>, <a class="el" href="modules_8cpp-source.html#l00938">Enumerate()</a>, <a class="el" href="modules_8cpp-source.html#l00943">EnumerateValues()</a>, <a class="el" href="modules_8cpp-source.html#l00852">ReadFlag()</a>, <a class="el" href="modules_8cpp-source.html#l00869">ReadInteger()</a>, <a class="el" href="modules_8cpp-source.html#l00836">ReadValue()</a>, and <a class="el" href="modules_8cpp-source.html#l00818">~ConfigReader()</a>. </td> </tr> </table> <a class="anchor" name="error"></a><!-- doxytag: member="ConfigReader::error" ref="error" args="" --><p> @@ -711,7 +711,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00834">ConfigReader( <p> Definition at line <a class="el" href="modules_8h-source.html#l01523">1523</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#l00834">ConfigReader()</a>, <a class="el" href="modules_8cpp-source.html#l00925">GetError()</a>, <a class="el" href="modules_8cpp-source.html#l00879">ReadFlag()</a>, <a class="el" href="modules_8cpp-source.html#l00896">ReadInteger()</a>, and <a class="el" href="modules_8cpp-source.html#l00863">ReadValue()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00807">ConfigReader()</a>, <a class="el" href="modules_8cpp-source.html#l00898">GetError()</a>, <a class="el" href="modules_8cpp-source.html#l00852">ReadFlag()</a>, <a class="el" href="modules_8cpp-source.html#l00869">ReadInteger()</a>, and <a class="el" href="modules_8cpp-source.html#l00836">ReadValue()</a>. </td> </tr> </table> <a class="anchor" name="errorlog"></a><!-- doxytag: member="ConfigReader::errorlog" ref="errorlog" args="" --><p> @@ -738,7 +738,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00834">ConfigReader( <p> Definition at line <a class="el" href="modules_8h-source.html#l01519">1519</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#l00834">ConfigReader()</a>, <a class="el" href="modules_8cpp-source.html#l00932">DumpErrors()</a>, and <a class="el" href="modules_8cpp-source.html#l00845">~ConfigReader()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00807">ConfigReader()</a>, <a class="el" href="modules_8cpp-source.html#l00905">DumpErrors()</a>, and <a class="el" href="modules_8cpp-source.html#l00818">~ConfigReader()</a>. </td> </tr> </table> <a class="anchor" name="readerror"></a><!-- doxytag: member="ConfigReader::readerror" ref="readerror" args="" --><p> @@ -767,12 +767,12 @@ Used to store errors. <p> Definition at line <a class="el" href="modules_8h-source.html#l01522">1522</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#l00834">ConfigReader()</a>, and <a class="el" href="modules_8cpp-source.html#l00975">Verify()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00807">ConfigReader()</a>, and <a class="el" href="modules_8cpp-source.html#l00948">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 size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classConnectClass-members.html b/docs/module-doc/classConnectClass-members.html index ee728b9b1..d467d32ed 100644 --- a/docs/module-doc/classConnectClass-members.html +++ b/docs/module-doc/classConnectClass-members.html @@ -19,7 +19,7 @@ <tr class="memlist"><td><a class="el" href="classConnectClass.html#threshold">threshold</a></td><td><a class="el" href="classConnectClass.html">ConnectClass</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classConnectClass.html#type">type</a></td><td><a class="el" href="classConnectClass.html">ConnectClass</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#_7Eclassbase_28_29">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classConnectClass.html b/docs/module-doc/classConnectClass.html index ad1f05e34..d37f5e875 100644 --- a/docs/module-doc/classConnectClass.html +++ b/docs/module-doc/classConnectClass.html @@ -363,7 +363,7 @@ Definition at line <a class="el" href="users_8h-source.html#l00053">53</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 size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classDNS-members.html b/docs/module-doc/classDNS-members.html index 168801c8c..dda275b64 100644 --- a/docs/module-doc/classDNS-members.html +++ b/docs/module-doc/classDNS-members.html @@ -28,6 +28,7 @@ <tr class="memlist"><td><a class="el" href="classDNS.html#GetResult_28_29">GetResult</a>()</td><td><a class="el" href="classDNS.html">DNS</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classDNS.html#GetResultIP_28_29">GetResultIP</a>()</td><td><a class="el" href="classDNS.html">DNS</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classDNS.html#HasResult_28_29">HasResult</a>()</td><td><a class="el" href="classDNS.html">DNS</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classDNS.html#HasResult_28int_20fd_29">HasResult</a>(int fd)</td><td><a class="el" href="classDNS.html">DNS</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classDNS.html#localbuf_5B_31_30_32_34_5D">localbuf</a></td><td><a class="el" href="classDNS.html">DNS</a></td><td><code> [private]</code></td></tr> <tr class="memlist"><td><a class="el" href="classDNS.html#myfd">myfd</a></td><td><a class="el" href="classDNS.html">DNS</a></td><td><code> [private]</code></td></tr> <tr class="memlist"><td><a class="el" href="classDNS.html#result">result</a></td><td><a class="el" href="classDNS.html">DNS</a></td><td><code> [private]</code></td></tr> @@ -35,7 +36,7 @@ <tr class="memlist"><td><a class="el" href="classDNS.html#SetNS_28std_3A_3Astring_20dnsserver_29">SetNS</a>(std::string dnsserver)</td><td><a class="el" href="classDNS.html">DNS</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classDNS.html#t">t</a></td><td><a class="el" href="classDNS.html">DNS</a></td><td><code> [private]</code></td></tr> <tr class="memlist"><td><a class="el" href="classDNS.html#_7EDNS_28_29">~DNS</a>()</td><td><a class="el" href="classDNS.html">DNS</a></td><td></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classDNS.html b/docs/module-doc/classDNS.html index 56c81e054..11214801e 100644 --- a/docs/module-doc/classDNS.html +++ b/docs/module-doc/classDNS.html @@ -32,6 +32,9 @@ Collaboration diagram for DNS:<p><center><img src="classDNS__coll__graph.gif" bo <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classDNS.html#HasResult_28_29">HasResult</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">This method will return true when the lookup is completed. <a href="#HasResult_28_29"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classDNS.html#HasResult_28int_20fd_29">HasResult</a> (int fd)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">This method will return true if the lookup's fd matches the one provided. <a href="#HasResult_28int_20fd_29"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="namespaceirc.html#string">std::string</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDNS.html#GetResult_28_29">GetResult</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">This method returns the result of your query as a string, depending upon wether you called <a class="el" href="classDNS.html#ReverseLookup_28std_3A_3Astring_20ip_29">DNS::ReverseLookup()</a> or <a class="el" href="classDNS.html#ForwardLookup_28std_3A_3Astring_20host_29">DNS::ForwardLookup</a>. <a href="#GetResult_28_29"></a><br></td></tr> @@ -713,6 +716,36 @@ This method returns the result of your query as a string, depending upon wether </td> </tr> </table> +<a class="anchor" name="HasResult_28int_20fd_29"></a><!-- doxytag: member="DNS::HasResult" ref="HasResult_28int_20fd_29" args="(int fd)" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">bool DNS::HasResult </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">int </td> + <td class="mdname1" valign="top" nowrap> <em>fd</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> +This method will return true if the lookup's fd matches the one provided. +<p> + </td> + </tr> +</table> <a class="anchor" name="HasResult_28_29"></a><!-- doxytag: member="DNS::HasResult" ref="HasResult_28_29" args="()" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> @@ -928,7 +961,7 @@ Definition at line <a class="el" href="dns_8h-source.html#l00041">41</a> of file </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="dns_8h-source.html">dns.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classELine-members.html b/docs/module-doc/classELine-members.html index a89e471aa..9d6c2aeb9 100644 --- a/docs/module-doc/classELine-members.html +++ b/docs/module-doc/classELine-members.html @@ -15,7 +15,7 @@ <tr class="memlist"><td><a class="el" href="classXLine.html#set_5Ftime">set_time</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classXLine.html#source_5B_32_35_36_5D">source</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#_7Eclassbase_28_29">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classELine.html b/docs/module-doc/classELine.html index 5a9afa2b1..7a46d4c39 100644 --- a/docs/module-doc/classELine.html +++ b/docs/module-doc/classELine.html @@ -59,7 +59,7 @@ Definition at line <a class="el" href="xline_8h-source.html#l00088">88</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 size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classEvent-members.html b/docs/module-doc/classEvent-members.html index bf5d0ea7d..4bc7a9ebf 100644 --- a/docs/module-doc/classEvent-members.html +++ b/docs/module-doc/classEvent-members.html @@ -18,7 +18,7 @@ <tr class="memlist"><td><a class="el" href="classEvent.html#source">source</a></td><td><a class="el" href="classEvent.html">Event</a></td><td><code> [protected]</code></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#_7Eclassbase_28_29">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr class="memlist"><td><a class="el" href="classModuleMessage.html#_7EModuleMessage_28_29">~ModuleMessage</a>()</td><td><a class="el" href="classModuleMessage.html">ModuleMessage</a></td><td><code> [inline, virtual]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classEvent.html b/docs/module-doc/classEvent.html index cba0e76e8..882fb8422 100644 --- a/docs/module-doc/classEvent.html +++ b/docs/module-doc/classEvent.html @@ -102,7 +102,7 @@ Create a new Event. <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00281">281</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00281"></a>00281 : <a class="code" href="classEvent.html#data">data</a>(anydata), <a class="code" href="classEvent.html#source">source</a>(src), <a class="code" href="classEvent.html#id">id</a>(eventid) { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00275">275</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00275"></a>00275 : <a class="code" href="classEvent.html#data">data</a>(anydata), <a class="code" href="classEvent.html#source">source</a>(src), <a class="code" href="classEvent.html#id">id</a>(eventid) { }; </pre></div> <p> </td> @@ -137,11 +137,11 @@ Get the Event data. <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00283">283</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00277">277</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l00202">data</a>.<div class="fragment"><pre class="fragment"><a name="l00284"></a>00284 { -<a name="l00285"></a>00285 <span class="keywordflow">return</span> this-><a class="code" href="classEvent.html#data">data</a>; -<a name="l00286"></a>00286 } +References <a class="el" href="modules_8h-source.html#l00202">data</a>.<div class="fragment"><pre class="fragment"><a name="l00278"></a>00278 { +<a name="l00279"></a>00279 <span class="keywordflow">return</span> this-><a class="code" href="classEvent.html#data">data</a>; +<a name="l00280"></a>00280 } </pre></div> <p> </td> @@ -175,11 +175,11 @@ Get the event ID. <p> Use this to determine the event type for safe casting of the data <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00299">299</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#l00293">293</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l00211">id</a>.<div class="fragment"><pre class="fragment"><a name="l00300"></a>00300 { -<a name="l00301"></a>00301 <span class="keywordflow">return</span> this-><a class="code" href="classEvent.html#id">id</a>; -<a name="l00302"></a>00302 } +References <a class="el" href="modules_8h-source.html#l00211">id</a>.<div class="fragment"><pre class="fragment"><a name="l00294"></a>00294 { +<a name="l00295"></a>00295 <span class="keywordflow">return</span> this-><a class="code" href="classEvent.html#id">id</a>; +<a name="l00296"></a>00296 } </pre></div> <p> </td> @@ -213,11 +213,11 @@ Get the event Source. <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00288">288</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00282">282</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l00206">source</a>.<div class="fragment"><pre class="fragment"><a name="l00289"></a>00289 { -<a name="l00290"></a>00290 <span class="keywordflow">return</span> this-><a class="code" href="classEvent.html#source">source</a>; -<a name="l00291"></a>00291 } +References <a class="el" href="modules_8h-source.html#l00206">source</a>.<div class="fragment"><pre class="fragment"><a name="l00283"></a>00283 { +<a name="l00284"></a>00284 <span class="keywordflow">return</span> this-><a class="code" href="classEvent.html#source">source</a>; +<a name="l00285"></a>00285 } </pre></div> <p> </td> @@ -253,12 +253,12 @@ The return result of an <a class="el" href="classEvent.html#Send_28_29">Event::S <p> Implements <a class="el" href="classModuleMessage.html#Send_28_29_3D_30">ModuleMessage</a>. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00293">293</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00287">287</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l00081">FOREACH_MOD</a>.<div class="fragment"><pre class="fragment"><a name="l00294"></a>00294 { -<a name="l00295"></a>00295 <a class="code" href="modules_8h.html#FOREACH_5FMOD">FOREACH_MOD</a> OnEvent(<span class="keyword">this</span>); -<a name="l00296"></a>00296 <span class="keywordflow">return</span> NULL; -<a name="l00297"></a>00297 } +References <a class="el" href="modules_8h-source.html#l00081">FOREACH_MOD</a>.<div class="fragment"><pre class="fragment"><a name="l00288"></a>00288 { +<a name="l00289"></a>00289 <a class="code" href="modules_8h.html#FOREACH_5FMOD">FOREACH_MOD</a> OnEvent(<span class="keyword">this</span>); +<a name="l00290"></a>00290 <span class="keywordflow">return</span> NULL; +<a name="l00291"></a>00291 } </pre></div> <p> </td> @@ -291,7 +291,7 @@ This member holds a pointer to arbitary data set by the emitter of the message. <p> Definition at line <a class="el" href="modules_8h-source.html#l00202">202</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#l00283">GetData()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00277">GetData()</a>. </td> </tr> </table> <a class="anchor" name="id"></a><!-- doxytag: member="Event::id" ref="id" args="" --><p> @@ -320,7 +320,7 @@ This is arbitary text which should be used to distinguish one type of event from <p> Definition at line <a class="el" href="modules_8h-source.html#l00211">211</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#l00299">GetEventID()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00293">GetEventID()</a>. </td> </tr> </table> <a class="anchor" name="source"></a><!-- doxytag: member="Event::source" ref="source" args="" --><p> @@ -349,12 +349,12 @@ This is a pointer to the sender of the message, which can be used to directly tr <p> Definition at line <a class="el" href="modules_8h-source.html#l00206">206</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#l00288">GetSource()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00282">GetSource()</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 size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classExemptItem-members.html b/docs/module-doc/classExemptItem-members.html index fda27de54..23065b8dd 100644 --- a/docs/module-doc/classExemptItem-members.html +++ b/docs/module-doc/classExemptItem-members.html @@ -14,7 +14,7 @@ <tr class="memlist"><td><a class="el" href="classHostItem.html#set_5Ftime">set_time</a></td><td><a class="el" href="classHostItem.html">HostItem</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#_7Eclassbase_28_29">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr class="memlist"><td><a class="el" href="classHostItem.html#_7EHostItem_28_29">~HostItem</a>()</td><td><a class="el" href="classHostItem.html">HostItem</a></td><td><code> [inline, virtual]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classExemptItem.html b/docs/module-doc/classExemptItem.html index c49acaf37..e57ec8a7c 100644 --- a/docs/module-doc/classExemptItem.html +++ b/docs/module-doc/classExemptItem.html @@ -30,7 +30,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#l00060">60</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 size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classExtMode-members.html b/docs/module-doc/classExtMode-members.html index 21efddd55..93e0a3037 100644 --- a/docs/module-doc/classExtMode-members.html +++ b/docs/module-doc/classExtMode-members.html @@ -16,7 +16,7 @@ <tr class="memlist"><td><a class="el" href="classExtMode.html#params_5Fwhen_5Fon">params_when_on</a></td><td><a class="el" href="classExtMode.html">ExtMode</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classExtMode.html#type">type</a></td><td><a class="el" href="classExtMode.html">ExtMode</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#_7Eclassbase_28_29">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:12 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classExtMode.html b/docs/module-doc/classExtMode.html index c643babee..55db0a3df 100644 --- a/docs/module-doc/classExtMode.html +++ b/docs/module-doc/classExtMode.html @@ -37,7 +37,7 @@ <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00139">139</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<hr><h2>Constructor & Destructor Documentation</h2> +Definition at line <a class="el" href="modules_8cpp-source.html#l00133">133</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="ExtMode_28char_20mc_2C_20int_20ty_2C_20bool_20oper_2C_20int_20p_5Fon_2C_20int_20p_5Foff_29"></a><!-- doxytag: member="ExtMode::ExtMode" ref="ExtMode_28char_20mc_2C_20int_20ty_2C_20bool_20oper_2C_20int_20p_5Fon_2C_20int_20p_5Foff_29" args="(char mc, int ty, bool oper, int p_on, int p_off)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> @@ -92,7 +92,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00139">139</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00148">148</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00148"></a>00148 : <a class="code" href="classExtMode.html#modechar">modechar</a>(mc), <a class="code" href="classExtMode.html#type">type</a>(ty), <a class="code" href="classExtMode.html#needsoper">needsoper</a>(oper), <a class="code" href="classExtMode.html#params_5Fwhen_5Fon">params_when_on</a>(p_on), <a class="code" href="classExtMode.html#params_5Fwhen_5Foff">params_when_off</a>(p_off) { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00142">142</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00142"></a>00142 : <a class="code" href="classExtMode.html#modechar">modechar</a>(mc), <a class="code" href="classExtMode.html#type">type</a>(ty), <a class="code" href="classExtMode.html#needsoper">needsoper</a>(oper), <a class="code" href="classExtMode.html#params_5Fwhen_5Fon">params_when_on</a>(p_on), <a class="code" href="classExtMode.html#params_5Fwhen_5Foff">params_when_off</a>(p_off) { }; </pre></div> <p> </td> @@ -121,7 +121,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00148">148</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00147">147</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#l00141">141</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> <a class="anchor" name="modechar"></a><!-- doxytag: member="ExtMode::modechar" ref="modechar" args="" --><p> @@ -146,7 +146,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00147">147</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00142">142</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#l00136">136</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> <a class="anchor" name="needsoper"></a><!-- doxytag: member="ExtMode::needsoper" ref="needsoper" args="" --><p> @@ -171,7 +171,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00142">142</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00144">144</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00138">138</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> <a class="anchor" name="params_5Fwhen_5Foff"></a><!-- doxytag: member="ExtMode::params_when_off" ref="params_5Fwhen_5Foff" args="" --><p> @@ -196,7 +196,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00144">144</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00146">146</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00140">140</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> <a class="anchor" name="params_5Fwhen_5Fon"></a><!-- doxytag: member="ExtMode::params_when_on" ref="params_5Fwhen_5Fon" args="" --><p> @@ -221,7 +221,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00146">146</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00145">145</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#l00139">139</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> <a class="anchor" name="type"></a><!-- doxytag: member="ExtMode::type" ref="type" args="" --><p> @@ -246,12 +246,12 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00145">145</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00143">143</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00137">137</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:12 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classExtensible-members.html b/docs/module-doc/classExtensible-members.html index fb1606799..13c5133d7 100644 --- a/docs/module-doc/classExtensible-members.html +++ b/docs/module-doc/classExtensible-members.html @@ -14,7 +14,7 @@ <tr class="memlist"><td><a class="el" href="classExtensible.html#GetExtList_28std_3A_3Adeque_3C_20std_3A_3Astring_20_3E_20_26list_29">GetExtList</a>(std::deque< std::string > &list)</td><td><a class="el" href="classExtensible.html">Extensible</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classExtensible.html#Shrink_28std_3A_3Astring_20key_29">Shrink</a>(std::string key)</td><td><a class="el" href="classExtensible.html">Extensible</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#_7Eclassbase_28_29">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classExtensible.html b/docs/module-doc/classExtensible.html index 0deebba1a..051166e14 100644 --- a/docs/module-doc/classExtensible.html +++ b/docs/module-doc/classExtensible.html @@ -236,7 +236,7 @@ Definition at line <a class="el" href="base_8h-source.html#l00055">55</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 size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classFileReader-members.html b/docs/module-doc/classFileReader-members.html index da64ad375..c3082972b 100644 --- a/docs/module-doc/classFileReader-members.html +++ b/docs/module-doc/classFileReader-members.html @@ -17,7 +17,7 @@ <tr class="memlist"><td><a class="el" href="classFileReader.html#LoadFile_28std_3A_3Astring_20filename_29">LoadFile</a>(std::string filename)</td><td><a class="el" href="classFileReader.html">FileReader</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#_7Eclassbase_28_29">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr class="memlist"><td><a class="el" href="classFileReader.html#_7EFileReader_28_29">~FileReader</a>()</td><td><a class="el" href="classFileReader.html">FileReader</a></td><td></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:12 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classFileReader.html b/docs/module-doc/classFileReader.html index afa717b3b..26db36d52 100644 --- a/docs/module-doc/classFileReader.html +++ b/docs/module-doc/classFileReader.html @@ -82,8 +82,8 @@ 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#l00988">988</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00989"></a>00989 { -<a name="l00990"></a>00990 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00961">961</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00962"></a>00962 { +<a name="l00963"></a>00963 } </pre></div> <p> </td> @@ -118,13 +118,13 @@ 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#FileSize_28_29">FileReader::FileSize</a> returns 0. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00981">981</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#l00954">954</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l01601">fc</a>.<div class="fragment"><pre class="fragment"><a name="l00982"></a>00982 { -<a name="l00983"></a>00983 <a class="code" href="modules_8h.html#file_5Fcache">file_cache</a> c; -<a name="l00984"></a>00984 readfile(c,filename.c_str()); -<a name="l00985"></a>00985 this-><a class="code" href="classFileReader.html#fc">fc</a> = c; -<a name="l00986"></a>00986 } +References <a class="el" href="modules_8h-source.html#l01601">fc</a>.<div class="fragment"><pre class="fragment"><a name="l00955"></a>00955 { +<a name="l00956"></a>00956 <a class="code" href="modules_8h.html#file_5Fcache">file_cache</a> c; +<a name="l00957"></a>00957 readfile(c,filename.c_str()); +<a name="l00958"></a>00958 this-><a class="code" href="classFileReader.html#fc">fc</a> = c; +<a name="l00959"></a>00959 } </pre></div> <p> </td> @@ -158,8 +158,8 @@ Default destructor. <p> This deletes the memory allocated to the file. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l01000">1000</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l01001"></a>01001 { -<a name="l01002"></a>01002 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00973">973</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00974"></a>00974 { +<a name="l00975"></a>00975 } </pre></div> <p> </td> @@ -194,18 +194,18 @@ 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#l01004">1004</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. -<p> -References <a class="el" href="modules_8h-source.html#l01601">fc</a>.<div class="fragment"><pre class="fragment"><a name="l01005"></a>01005 { -<a name="l01006"></a>01006 <span class="keywordflow">if</span> (<a class="code" href="classFileReader.html#fc">fc</a>.size() == 0) -<a name="l01007"></a>01007 { -<a name="l01008"></a>01008 <span class="keywordflow">return</span>(<span class="keyword">false</span>); -<a name="l01009"></a>01009 } -<a name="l01010"></a>01010 <span class="keywordflow">else</span> -<a name="l01011"></a>01011 { -<a name="l01012"></a>01012 <span class="keywordflow">return</span>(<span class="keyword">true</span>); -<a name="l01013"></a>01013 } -<a name="l01014"></a>01014 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00977">977</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="modules_8h-source.html#l01601">fc</a>.<div class="fragment"><pre class="fragment"><a name="l00978"></a>00978 { +<a name="l00979"></a>00979 <span class="keywordflow">if</span> (<a class="code" href="classFileReader.html#fc">fc</a>.size() == 0) +<a name="l00980"></a>00980 { +<a name="l00981"></a>00981 <span class="keywordflow">return</span>(<span class="keyword">false</span>); +<a name="l00982"></a>00982 } +<a name="l00983"></a>00983 <span class="keywordflow">else</span> +<a name="l00984"></a>00984 { +<a name="l00985"></a>00985 <span class="keywordflow">return</span>(<span class="keyword">true</span>); +<a name="l00986"></a>00986 } +<a name="l00987"></a>00987 } </pre></div> <p> </td> @@ -239,11 +239,11 @@ 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#l01023">1023</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#l00996">996</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l01601">fc</a>.<div class="fragment"><pre class="fragment"><a name="l01024"></a>01024 { -<a name="l01025"></a>01025 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#fc">fc</a>.size(); -<a name="l01026"></a>01026 } +References <a class="el" href="modules_8h-source.html#l01601">fc</a>.<div class="fragment"><pre class="fragment"><a name="l00997"></a>00997 { +<a name="l00998"></a>00998 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#fc">fc</a>.size(); +<a name="l00999"></a>00999 } </pre></div> <p> </td> @@ -278,13 +278,13 @@ 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#l01016">1016</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#l00989">989</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l01601">fc</a>.<div class="fragment"><pre class="fragment"><a name="l01017"></a>01017 { -<a name="l01018"></a>01018 <span class="keywordflow">if</span> ((x<0) || ((<span class="keywordtype">unsigned</span>)x><a class="code" href="classFileReader.html#fc">fc</a>.size())) -<a name="l01019"></a>01019 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; -<a name="l01020"></a>01020 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#fc">fc</a>[x]; -<a name="l01021"></a>01021 } +References <a class="el" href="modules_8h-source.html#l01601">fc</a>.<div class="fragment"><pre class="fragment"><a name="l00990"></a>00990 { +<a name="l00991"></a>00991 <span class="keywordflow">if</span> ((x<0) || ((<span class="keywordtype">unsigned</span>)x><a class="code" href="classFileReader.html#fc">fc</a>.size())) +<a name="l00992"></a>00992 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; +<a name="l00993"></a>00993 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#fc">fc</a>[x]; +<a name="l00994"></a>00994 } </pre></div> <p> </td> @@ -319,13 +319,13 @@ 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#FileSize_28_29">FileReader::FileSize</a> returns 0. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00992">992</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#l00965">965</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l01601">fc</a>.<div class="fragment"><pre class="fragment"><a name="l00993"></a>00993 { -<a name="l00994"></a>00994 <a class="code" href="modules_8h.html#file_5Fcache">file_cache</a> c; -<a name="l00995"></a>00995 readfile(c,filename.c_str()); -<a name="l00996"></a>00996 this-><a class="code" href="classFileReader.html#fc">fc</a> = c; -<a name="l00997"></a>00997 } +References <a class="el" href="modules_8h-source.html#l01601">fc</a>.<div class="fragment"><pre class="fragment"><a name="l00966"></a>00966 { +<a name="l00967"></a>00967 <a class="code" href="modules_8h.html#file_5Fcache">file_cache</a> c; +<a name="l00968"></a>00968 readfile(c,filename.c_str()); +<a name="l00969"></a>00969 this-><a class="code" href="classFileReader.html#fc">fc</a> = c; +<a name="l00970"></a>00970 } </pre></div> <p> </td> @@ -356,12 +356,12 @@ References <a class="el" href="modules_8h-source.html#l01601">fc</a>.<div class= <p> Definition at line <a class="el" href="modules_8h-source.html#l01601">1601</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#l01004">Exists()</a>, <a class="el" href="modules_8cpp-source.html#l00981">FileReader()</a>, <a class="el" href="modules_8cpp-source.html#l01023">FileSize()</a>, <a class="el" href="modules_8cpp-source.html#l01016">GetLine()</a>, and <a class="el" href="modules_8cpp-source.html#l00992">LoadFile()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00977">Exists()</a>, <a class="el" href="modules_8cpp-source.html#l00954">FileReader()</a>, <a class="el" href="modules_8cpp-source.html#l00996">FileSize()</a>, <a class="el" href="modules_8cpp-source.html#l00989">GetLine()</a>, and <a class="el" href="modules_8cpp-source.html#l00965">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 size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:12 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classGLine-members.html b/docs/module-doc/classGLine-members.html index 7b280769c..137f2d424 100644 --- a/docs/module-doc/classGLine-members.html +++ b/docs/module-doc/classGLine-members.html @@ -15,7 +15,7 @@ <tr class="memlist"><td><a class="el" href="classXLine.html#set_5Ftime">set_time</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classXLine.html#source_5B_32_35_36_5D">source</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#_7Eclassbase_28_29">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:12 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classGLine.html b/docs/module-doc/classGLine.html index 87544b0d1..1a7ddd6bb 100644 --- a/docs/module-doc/classGLine.html +++ b/docs/module-doc/classGLine.html @@ -62,7 +62,7 @@ Definition at line <a class="el" href="xline_8h-source.html#l00079">79</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 size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:12 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classHostItem-members.html b/docs/module-doc/classHostItem-members.html index 5c90d36c3..4779a7e82 100644 --- a/docs/module-doc/classHostItem-members.html +++ b/docs/module-doc/classHostItem-members.html @@ -14,7 +14,7 @@ <tr class="memlist"><td><a class="el" href="classHostItem.html#set_5Ftime">set_time</a></td><td><a class="el" href="classHostItem.html">HostItem</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#_7Eclassbase_28_29">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr class="memlist"><td><a class="el" href="classHostItem.html#_7EHostItem_28_29">~HostItem</a>()</td><td><a class="el" href="classHostItem.html">HostItem</a></td><td><code> [inline, virtual]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:12 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classHostItem.html b/docs/module-doc/classHostItem.html index e22456404..79d1af478 100644 --- a/docs/module-doc/classHostItem.html +++ b/docs/module-doc/classHostItem.html @@ -186,7 +186,7 @@ Definition at line <a class="el" href="channels_8h-source.html#l00039">39</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 size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:12 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classInspSocket-members.html b/docs/module-doc/classInspSocket-members.html index efbe82517..af7e785ba 100644 --- a/docs/module-doc/classInspSocket-members.html +++ b/docs/module-doc/classInspSocket-members.html @@ -11,6 +11,7 @@ <tr class="memlist"><td><a class="el" href="classInspSocket.html#client">client</a></td><td><a class="el" href="classInspSocket.html">InspSocket</a></td><td><code> [private]</code></td></tr> <tr class="memlist"><td><a class="el" href="classInspSocket.html#Close_28_29">Close</a>()</td><td><a class="el" href="classInspSocket.html">InspSocket</a></td><td><code> [virtual]</code></td></tr> <tr class="memlist"><td><a class="el" href="classInspSocket.html#fd">fd</a></td><td><a class="el" href="classInspSocket.html">InspSocket</a></td><td><code> [private]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classInspSocket.html#GetFd_28_29">GetFd</a>()</td><td><a class="el" href="classInspSocket.html">InspSocket</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classInspSocket.html#GetIP_28_29">GetIP</a>()</td><td><a class="el" href="classInspSocket.html">InspSocket</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classInspSocket.html#GetState_28_29">GetState</a>()</td><td><a class="el" href="classInspSocket.html">InspSocket</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classInspSocket.html#host">host</a></td><td><a class="el" href="classInspSocket.html">InspSocket</a></td><td><code> [private]</code></td></tr> @@ -38,7 +39,7 @@ <tr class="memlist"><td><a class="el" href="classInspSocket.html#timeout_5Fend">timeout_end</a></td><td><a class="el" href="classInspSocket.html">InspSocket</a></td><td><code> [private]</code></td></tr> <tr class="memlist"><td><a class="el" href="classInspSocket.html#Write_28std_3A_3Astring_20data_29">Write</a>(std::string data)</td><td><a class="el" href="classInspSocket.html">InspSocket</a></td><td><code> [virtual]</code></td></tr> <tr class="memlist"><td><a class="el" href="classInspSocket.html#_7EInspSocket_28_29">~InspSocket</a>()</td><td><a class="el" href="classInspSocket.html">InspSocket</a></td><td><code> [virtual]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:12 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:12 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classInspSocket.html b/docs/module-doc/classInspSocket.html index 6aee4b7e0..b4c7e7fba 100644 --- a/docs/module-doc/classInspSocket.html +++ b/docs/module-doc/classInspSocket.html @@ -43,6 +43,8 @@ Collaboration diagram for InspSocket:<p><center><img src="classInspSocket__coll_ <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classInspSocket.html#Poll_28_29">Poll</a> ()</td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classInspSocket.html#GetFd_28_29">GetFd</a> ()</td></tr> + <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classInspSocket.html#Close_28_29">Close</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classInspSocket.html#_7EInspSocket_28_29">~InspSocket</a> ()</td></tr> @@ -109,11 +111,11 @@ Definition at line <a class="el" href="socket_8h-source.html#l00030">30</a> of f <p> <p> -Definition at line <a class="el" href="socket_8cpp-source.html#l00046">46</a> of file <a class="el" href="socket_8cpp-source.html">socket.cpp</a>. +Definition at line <a class="el" href="socket_8cpp-source.html#l00049">49</a> of file <a class="el" href="socket_8cpp-source.html">socket.cpp</a>. <p> -References <a class="el" href="socket_8h.html#InspSocketStateI_5FDISCONNECTED">I_DISCONNECTED</a>, and <a class="el" href="socket_8h-source.html#l00036">state</a>.<div class="fragment"><pre class="fragment"><a name="l00047"></a>00047 { -<a name="l00048"></a>00048 this-><a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FDISCONNECTED">I_DISCONNECTED</a>; -<a name="l00049"></a>00049 } +References <a class="el" href="socket_8h.html#InspSocketStateI_5FDISCONNECTED">I_DISCONNECTED</a>, and <a class="el" href="socket_8h-source.html#l00036">state</a>.<div class="fragment"><pre class="fragment"><a name="l00050"></a>00050 { +<a name="l00051"></a>00051 this-><a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FDISCONNECTED">I_DISCONNECTED</a>; +<a name="l00052"></a>00052 } </pre></div> <p> </td> @@ -155,13 +157,14 @@ References <a class="el" href="socket_8h.html#InspSocketStateI_5FDISCONNECTED">I <p> <p> -Definition at line <a class="el" href="socket_8cpp-source.html#l00051">51</a> of file <a class="el" href="socket_8cpp-source.html">socket.cpp</a>. +Definition at line <a class="el" href="socket_8cpp-source.html#l00054">54</a> of file <a class="el" href="socket_8cpp-source.html">socket.cpp</a>. <p> -References <a class="el" href="socket_8h-source.html#l00033">fd</a>, <a class="el" href="socket_8h.html#InspSocketStateI_5FCONNECTED">I_CONNECTED</a>, <a class="el" href="socket_8h-source.html#l00043">IP</a>, and <a class="el" href="socket_8h-source.html#l00036">state</a>.<div class="fragment"><pre class="fragment"><a name="l00052"></a>00052 { -<a name="l00053"></a>00053 this-><a class="code" href="classInspSocket.html#fd">fd</a> = newfd; -<a name="l00054"></a>00054 this-><a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FCONNECTED">I_CONNECTED</a>; -<a name="l00055"></a>00055 this-><a class="code" href="classInspSocket.html#IP">IP</a> = ip; -<a name="l00056"></a>00056 } +References <a class="el" href="socketengine_8cpp-source.html#l00065">SocketEngine::AddFd()</a>, <a class="el" href="socket_8h-source.html#l00033">fd</a>, <a class="el" href="socket_8h.html#InspSocketStateI_5FCONNECTED">I_CONNECTED</a>, <a class="el" href="socket_8h-source.html#l00043">IP</a>, <a class="el" href="socket_8h-source.html#l00036">state</a>, and <a class="el" href="socketengine_8h-source.html#l00044">X_ESTAB_MODULE</a>.<div class="fragment"><pre class="fragment"><a name="l00055"></a>00055 { +<a name="l00056"></a>00056 this-><a class="code" href="classInspSocket.html#fd">fd</a> = newfd; +<a name="l00057"></a>00057 this-><a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FCONNECTED">I_CONNECTED</a>; +<a name="l00058"></a>00058 this-><a class="code" href="classInspSocket.html#IP">IP</a> = ip; +<a name="l00059"></a>00059 <a class="code" href="modules_8cpp.html#SE">SE</a>-><a class="code" href="classSocketEngine.html#AddFd_28int_20fd_2C_20bool_20readable_2C_20char_20type_29">AddFd</a>(this->fd,<span class="keyword">true</span>,<a class="code" href="socketengine_8h.html#X_5FESTAB_5FMODULE">X_ESTAB_MODULE</a>); +<a name="l00060"></a>00060 } </pre></div> <p> </td> @@ -215,81 +218,83 @@ References <a class="el" href="socket_8h-source.html#l00033">fd</a>, <a class="e <p> <p> -Definition at line <a class="el" href="socket_8cpp-source.html#l00058">58</a> of file <a class="el" href="socket_8cpp-source.html">socket.cpp</a>. -<p> -References <a class="el" href="socket_8h-source.html#l00037">addr</a>, <a class="el" href="socket_8h-source.html#l00038">addy</a>, <a class="el" href="socket_8cpp-source.html#l00133">Close()</a>, <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, <a class="el" href="socket_8h-source.html#l00033">fd</a>, <a class="el" href="socket_8h.html#InspSocketStateI_5FCONNECTING">I_CONNECTING</a>, <a class="el" href="socket_8h.html#InspSocketErrorI_5FERR_5FBIND">I_ERR_BIND</a>, <a class="el" href="socket_8h.html#InspSocketErrorI_5FERR_5FCONNECT">I_ERR_CONNECT</a>, <a class="el" href="socket_8h.html#InspSocketErrorI_5FERR_5FSOCKET">I_ERR_SOCKET</a>, <a class="el" href="socket_8h.html#InspSocketStateI_5FERROR">I_ERROR</a>, <a class="el" href="socket_8h.html#InspSocketStateI_5FLISTENING">I_LISTENING</a>, <a class="el" href="socket_8h-source.html#l00043">IP</a>, <a class="el" href="socket_8cpp-source.html#l00247">OnError()</a>, <a class="el" href="socket_8h-source.html#l00036">state</a>, <a class="el" href="socket_8h-source.html#l00040">timeout</a>, and <a class="el" href="socket_8h-source.html#l00039">timeout_end</a>.<div class="fragment"><pre class="fragment"><a name="l00059"></a>00059 { -<a name="l00060"></a>00060 <span class="keywordflow">if</span> (listening) { -<a name="l00061"></a>00061 <span class="keywordflow">if</span> ((this->fd = OpenTCPSocket()) == ERROR) -<a name="l00062"></a>00062 { -<a name="l00063"></a>00063 this-><a class="code" href="classInspSocket.html#fd">fd</a> = -1; -<a name="l00064"></a>00064 this-><a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FERROR">I_ERROR</a>; -<a name="l00065"></a>00065 this-><a class="code" href="classInspSocket.html#OnError_28InspSocketError_20e_29">OnError</a>(<a class="code" href="socket_8h.html#InspSocketErrorI_5FERR_5FSOCKET">I_ERR_SOCKET</a>); -<a name="l00066"></a>00066 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"OpenTCPSocket() error"</span>); -<a name="l00067"></a>00067 <span class="keywordflow">return</span>; -<a name="l00068"></a>00068 } -<a name="l00069"></a>00069 <span class="keywordflow">else</span> -<a name="l00070"></a>00070 { -<a name="l00071"></a>00071 <span class="keywordflow">if</span> (BindSocket(this->fd,this->client,this->server,<a class="code" href="classInspSocket.html#port">port</a>,(<span class="keywordtype">char</span>*)<a class="code" href="classInspSocket.html#host">host</a>.c_str()) == ERROR) -<a name="l00072"></a>00072 { -<a name="l00073"></a>00073 this-><a class="code" href="classInspSocket.html#Close_28_29">Close</a>(); -<a name="l00074"></a>00074 this-><a class="code" href="classInspSocket.html#fd">fd</a> = -1; -<a name="l00075"></a>00075 this-><a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FERROR">I_ERROR</a>; -<a name="l00076"></a>00076 this-><a class="code" href="classInspSocket.html#OnError_28InspSocketError_20e_29">OnError</a>(<a class="code" href="socket_8h.html#InspSocketErrorI_5FERR_5FBIND">I_ERR_BIND</a>); -<a name="l00077"></a>00077 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"BindSocket() error %s"</span>,strerror(errno)); -<a name="l00078"></a>00078 <span class="keywordflow">return</span>; -<a name="l00079"></a>00079 } -<a name="l00080"></a>00080 <span class="keywordflow">else</span> -<a name="l00081"></a>00081 { -<a name="l00082"></a>00082 this-><a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FLISTENING">I_LISTENING</a>; -<a name="l00083"></a>00083 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"New socket now in I_LISTENING state"</span>); -<a name="l00084"></a>00084 <span class="keywordflow">return</span>; -<a name="l00085"></a>00085 } -<a name="l00086"></a>00086 } -<a name="l00087"></a>00087 } <span class="keywordflow">else</span> { -<a name="l00088"></a>00088 <span class="keywordtype">char</span>* ip; -<a name="l00089"></a>00089 this-><a class="code" href="classInspSocket.html#host">host</a> = <a class="code" href="classInspSocket.html#host">host</a>; -<a name="l00090"></a>00090 hostent* hoste = gethostbyname(<a class="code" href="classInspSocket.html#host">host</a>.c_str()); -<a name="l00091"></a>00091 <span class="keywordflow">if</span> (!hoste) { -<a name="l00092"></a>00092 ip = (<span class="keywordtype">char</span>*)<a class="code" href="classInspSocket.html#host">host</a>.c_str(); -<a name="l00093"></a>00093 } <span class="keywordflow">else</span> { -<a name="l00094"></a>00094 <span class="keyword">struct </span>in_addr* ia = (in_addr*)hoste->h_addr; -<a name="l00095"></a>00095 ip = inet_ntoa(*ia); -<a name="l00096"></a>00096 } -<a name="l00097"></a>00097 -<a name="l00098"></a>00098 this-><a class="code" href="classInspSocket.html#IP">IP</a> = ip; -<a name="l00099"></a>00099 -<a name="l00100"></a>00100 <a class="code" href="classInspSocket.html#timeout_5Fend">timeout_end</a> = time(NULL)+maxtime; -<a name="l00101"></a>00101 <a class="code" href="classInspSocket.html#timeout">timeout</a> = <span class="keyword">false</span>; -<a name="l00102"></a>00102 <span class="keywordflow">if</span> ((this->fd = socket(AF_INET, SOCK_STREAM, 0)) == -1) -<a name="l00103"></a>00103 { -<a name="l00104"></a>00104 this-><a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FERROR">I_ERROR</a>; -<a name="l00105"></a>00105 this-><a class="code" href="classInspSocket.html#OnError_28InspSocketError_20e_29">OnError</a>(<a class="code" href="socket_8h.html#InspSocketErrorI_5FERR_5FSOCKET">I_ERR_SOCKET</a>); -<a name="l00106"></a>00106 <span class="keywordflow">return</span>; -<a name="l00107"></a>00107 } -<a name="l00108"></a>00108 this-><a class="code" href="classInspSocket.html#port">port</a> = <a class="code" href="classInspSocket.html#port">port</a>; -<a name="l00109"></a>00109 inet_aton(ip,&<a class="code" href="classInspSocket.html#addy">addy</a>); -<a name="l00110"></a>00110 <a class="code" href="classInspSocket.html#addr">addr</a>.sin_family = AF_INET; -<a name="l00111"></a>00111 <a class="code" href="classInspSocket.html#addr">addr</a>.sin_addr = <a class="code" href="classInspSocket.html#addy">addy</a>; -<a name="l00112"></a>00112 <a class="code" href="classInspSocket.html#addr">addr</a>.sin_port = htons(this->port); -<a name="l00113"></a>00113 -<a name="l00114"></a>00114 <span class="keywordtype">int</span> flags; -<a name="l00115"></a>00115 flags = fcntl(this->fd, F_GETFL, 0); -<a name="l00116"></a>00116 fcntl(this->fd, F_SETFL, flags | O_NONBLOCK); -<a name="l00117"></a>00117 -<a name="l00118"></a>00118 <span class="keywordflow">if</span>(connect(this->fd, (sockaddr*)&this->addr,<span class="keyword">sizeof</span>(this->addr)) == -1) -<a name="l00119"></a>00119 { -<a name="l00120"></a>00120 <span class="keywordflow">if</span> (errno != EINPROGRESS) -<a name="l00121"></a>00121 { -<a name="l00122"></a>00122 this-><a class="code" href="classInspSocket.html#Close_28_29">Close</a>(); -<a name="l00123"></a>00123 this-><a class="code" href="classInspSocket.html#OnError_28InspSocketError_20e_29">OnError</a>(<a class="code" href="socket_8h.html#InspSocketErrorI_5FERR_5FCONNECT">I_ERR_CONNECT</a>); -<a name="l00124"></a>00124 this-><a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FERROR">I_ERROR</a>; -<a name="l00125"></a>00125 <span class="keywordflow">return</span>; -<a name="l00126"></a>00126 } -<a name="l00127"></a>00127 } -<a name="l00128"></a>00128 this-><a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FCONNECTING">I_CONNECTING</a>; -<a name="l00129"></a>00129 <span class="keywordflow">return</span>; -<a name="l00130"></a>00130 } -<a name="l00131"></a>00131 } +Definition at line <a class="el" href="socket_8cpp-source.html#l00062">62</a> of file <a class="el" href="socket_8cpp-source.html">socket.cpp</a>. +<p> +References <a class="el" href="socketengine_8cpp-source.html#l00065">SocketEngine::AddFd()</a>, <a class="el" href="socket_8h-source.html#l00037">addr</a>, <a class="el" href="socket_8h-source.html#l00038">addy</a>, <a class="el" href="socket_8cpp-source.html#l00139">Close()</a>, <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, <a class="el" href="socket_8h-source.html#l00033">fd</a>, <a class="el" href="socket_8h.html#InspSocketStateI_5FCONNECTING">I_CONNECTING</a>, <a class="el" href="socket_8h.html#InspSocketErrorI_5FERR_5FBIND">I_ERR_BIND</a>, <a class="el" href="socket_8h.html#InspSocketErrorI_5FERR_5FCONNECT">I_ERR_CONNECT</a>, <a class="el" href="socket_8h.html#InspSocketErrorI_5FERR_5FSOCKET">I_ERR_SOCKET</a>, <a class="el" href="socket_8h.html#InspSocketStateI_5FERROR">I_ERROR</a>, <a class="el" href="socket_8h.html#InspSocketStateI_5FLISTENING">I_LISTENING</a>, <a class="el" href="socket_8h-source.html#l00043">IP</a>, <a class="el" href="socket_8cpp-source.html#l00258">OnError()</a>, <a class="el" href="socket_8h-source.html#l00036">state</a>, <a class="el" href="socket_8h-source.html#l00040">timeout</a>, <a class="el" href="socket_8h-source.html#l00039">timeout_end</a>, and <a class="el" href="socketengine_8h-source.html#l00044">X_ESTAB_MODULE</a>.<div class="fragment"><pre class="fragment"><a name="l00063"></a>00063 { +<a name="l00064"></a>00064 <span class="keywordflow">if</span> (listening) { +<a name="l00065"></a>00065 <span class="keywordflow">if</span> ((this->fd = OpenTCPSocket()) == ERROR) +<a name="l00066"></a>00066 { +<a name="l00067"></a>00067 this-><a class="code" href="classInspSocket.html#fd">fd</a> = -1; +<a name="l00068"></a>00068 this-><a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FERROR">I_ERROR</a>; +<a name="l00069"></a>00069 this-><a class="code" href="classInspSocket.html#OnError_28InspSocketError_20e_29">OnError</a>(<a class="code" href="socket_8h.html#InspSocketErrorI_5FERR_5FSOCKET">I_ERR_SOCKET</a>); +<a name="l00070"></a>00070 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"OpenTCPSocket() error"</span>); +<a name="l00071"></a>00071 <span class="keywordflow">return</span>; +<a name="l00072"></a>00072 } +<a name="l00073"></a>00073 <span class="keywordflow">else</span> +<a name="l00074"></a>00074 { +<a name="l00075"></a>00075 <span class="keywordflow">if</span> (BindSocket(this->fd,this->client,this->server,<a class="code" href="classInspSocket.html#port">port</a>,(<span class="keywordtype">char</span>*)<a class="code" href="classInspSocket.html#host">host</a>.c_str()) == ERROR) +<a name="l00076"></a>00076 { +<a name="l00077"></a>00077 this-><a class="code" href="classInspSocket.html#Close_28_29">Close</a>(); +<a name="l00078"></a>00078 this-><a class="code" href="classInspSocket.html#fd">fd</a> = -1; +<a name="l00079"></a>00079 this-><a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FERROR">I_ERROR</a>; +<a name="l00080"></a>00080 this-><a class="code" href="classInspSocket.html#OnError_28InspSocketError_20e_29">OnError</a>(<a class="code" href="socket_8h.html#InspSocketErrorI_5FERR_5FBIND">I_ERR_BIND</a>); +<a name="l00081"></a>00081 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"BindSocket() error %s"</span>,strerror(errno)); +<a name="l00082"></a>00082 <span class="keywordflow">return</span>; +<a name="l00083"></a>00083 } +<a name="l00084"></a>00084 <span class="keywordflow">else</span> +<a name="l00085"></a>00085 { +<a name="l00086"></a>00086 this-><a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FLISTENING">I_LISTENING</a>; +<a name="l00087"></a>00087 <a class="code" href="modules_8cpp.html#SE">SE</a>-><a class="code" href="classSocketEngine.html#AddFd_28int_20fd_2C_20bool_20readable_2C_20char_20type_29">AddFd</a>(this->fd,<span class="keyword">true</span>,<a class="code" href="socketengine_8h.html#X_5FESTAB_5FMODULE">X_ESTAB_MODULE</a>); +<a name="l00088"></a>00088 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"New socket now in I_LISTENING state"</span>); +<a name="l00089"></a>00089 <span class="keywordflow">return</span>; +<a name="l00090"></a>00090 } +<a name="l00091"></a>00091 } +<a name="l00092"></a>00092 } <span class="keywordflow">else</span> { +<a name="l00093"></a>00093 <span class="keywordtype">char</span>* ip; +<a name="l00094"></a>00094 this-><a class="code" href="classInspSocket.html#host">host</a> = <a class="code" href="classInspSocket.html#host">host</a>; +<a name="l00095"></a>00095 hostent* hoste = gethostbyname(<a class="code" href="classInspSocket.html#host">host</a>.c_str()); +<a name="l00096"></a>00096 <span class="keywordflow">if</span> (!hoste) { +<a name="l00097"></a>00097 ip = (<span class="keywordtype">char</span>*)<a class="code" href="classInspSocket.html#host">host</a>.c_str(); +<a name="l00098"></a>00098 } <span class="keywordflow">else</span> { +<a name="l00099"></a>00099 <span class="keyword">struct </span>in_addr* ia = (in_addr*)hoste->h_addr; +<a name="l00100"></a>00100 ip = inet_ntoa(*ia); +<a name="l00101"></a>00101 } +<a name="l00102"></a>00102 +<a name="l00103"></a>00103 this-><a class="code" href="classInspSocket.html#IP">IP</a> = ip; +<a name="l00104"></a>00104 +<a name="l00105"></a>00105 <a class="code" href="classInspSocket.html#timeout_5Fend">timeout_end</a> = time(NULL)+maxtime; +<a name="l00106"></a>00106 <a class="code" href="classInspSocket.html#timeout">timeout</a> = <span class="keyword">false</span>; +<a name="l00107"></a>00107 <span class="keywordflow">if</span> ((this->fd = socket(AF_INET, SOCK_STREAM, 0)) == -1) +<a name="l00108"></a>00108 { +<a name="l00109"></a>00109 this-><a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FERROR">I_ERROR</a>; +<a name="l00110"></a>00110 this-><a class="code" href="classInspSocket.html#OnError_28InspSocketError_20e_29">OnError</a>(<a class="code" href="socket_8h.html#InspSocketErrorI_5FERR_5FSOCKET">I_ERR_SOCKET</a>); +<a name="l00111"></a>00111 <span class="keywordflow">return</span>; +<a name="l00112"></a>00112 } +<a name="l00113"></a>00113 this-><a class="code" href="classInspSocket.html#port">port</a> = <a class="code" href="classInspSocket.html#port">port</a>; +<a name="l00114"></a>00114 inet_aton(ip,&<a class="code" href="classInspSocket.html#addy">addy</a>); +<a name="l00115"></a>00115 <a class="code" href="classInspSocket.html#addr">addr</a>.sin_family = AF_INET; +<a name="l00116"></a>00116 <a class="code" href="classInspSocket.html#addr">addr</a>.sin_addr = <a class="code" href="classInspSocket.html#addy">addy</a>; +<a name="l00117"></a>00117 <a class="code" href="classInspSocket.html#addr">addr</a>.sin_port = htons(this->port); +<a name="l00118"></a>00118 +<a name="l00119"></a>00119 <span class="keywordtype">int</span> flags; +<a name="l00120"></a>00120 flags = fcntl(this->fd, F_GETFL, 0); +<a name="l00121"></a>00121 fcntl(this->fd, F_SETFL, flags | O_NONBLOCK); +<a name="l00122"></a>00122 +<a name="l00123"></a>00123 <span class="keywordflow">if</span>(connect(this->fd, (sockaddr*)&this->addr,<span class="keyword">sizeof</span>(this->addr)) == -1) +<a name="l00124"></a>00124 { +<a name="l00125"></a>00125 <span class="keywordflow">if</span> (errno != EINPROGRESS) +<a name="l00126"></a>00126 { +<a name="l00127"></a>00127 this-><a class="code" href="classInspSocket.html#Close_28_29">Close</a>(); +<a name="l00128"></a>00128 this-><a class="code" href="classInspSocket.html#OnError_28InspSocketError_20e_29">OnError</a>(<a class="code" href="socket_8h.html#InspSocketErrorI_5FERR_5FCONNECT">I_ERR_CONNECT</a>); +<a name="l00129"></a>00129 this-><a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FERROR">I_ERROR</a>; +<a name="l00130"></a>00130 <span class="keywordflow">return</span>; +<a name="l00131"></a>00131 } +<a name="l00132"></a>00132 } +<a name="l00133"></a>00133 this-><a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FCONNECTING">I_CONNECTING</a>; +<a name="l00134"></a>00134 <a class="code" href="modules_8cpp.html#SE">SE</a>-><a class="code" href="classSocketEngine.html#AddFd_28int_20fd_2C_20bool_20readable_2C_20char_20type_29">AddFd</a>(this->fd,<span class="keyword">false</span>,<a class="code" href="socketengine_8h.html#X_5FESTAB_5FMODULE">X_ESTAB_MODULE</a>); +<a name="l00135"></a>00135 <span class="keywordflow">return</span>; +<a name="l00136"></a>00136 } +<a name="l00137"></a>00137 } </pre></div> <p> </td> @@ -321,11 +326,11 @@ References <a class="el" href="socket_8h-source.html#l00037">addr</a>, <a class= <p> <p> -Definition at line <a class="el" href="socket_8cpp-source.html#l00254">254</a> of file <a class="el" href="socket_8cpp-source.html">socket.cpp</a>. +Definition at line <a class="el" href="socket_8cpp-source.html#l00265">265</a> of file <a class="el" href="socket_8cpp-source.html">socket.cpp</a>. <p> -References <a class="el" href="socket_8cpp-source.html#l00133">Close()</a>.<div class="fragment"><pre class="fragment"><a name="l00255"></a>00255 { -<a name="l00256"></a>00256 this-><a class="code" href="classInspSocket.html#Close_28_29">Close</a>(); -<a name="l00257"></a>00257 } +References <a class="el" href="socket_8cpp-source.html#l00139">Close()</a>.<div class="fragment"><pre class="fragment"><a name="l00266"></a>00266 { +<a name="l00267"></a>00267 this-><a class="code" href="classInspSocket.html#Close_28_29">Close</a>(); +<a name="l00268"></a>00268 } </pre></div> <p> </td> @@ -358,19 +363,55 @@ References <a class="el" href="socket_8cpp-source.html#l00133">Close()</a>.<div <p> <p> -Definition at line <a class="el" href="socket_8cpp-source.html#l00133">133</a> of file <a class="el" href="socket_8cpp-source.html">socket.cpp</a>. +Definition at line <a class="el" href="socket_8cpp-source.html#l00139">139</a> of file <a class="el" href="socket_8cpp-source.html">socket.cpp</a>. +<p> +References <a class="el" href="socket_8h-source.html#l00033">fd</a>, and <a class="el" href="socket_8cpp-source.html#l00263">OnClose()</a>. +<p> +Referenced by <a class="el" href="socket_8cpp-source.html#l00062">InspSocket()</a>, and <a class="el" href="socket_8cpp-source.html#l00265">~InspSocket()</a>.<div class="fragment"><pre class="fragment"><a name="l00140"></a>00140 { +<a name="l00141"></a>00141 <span class="keywordflow">if</span> (this->fd != -1) +<a name="l00142"></a>00142 { +<a name="l00143"></a>00143 this-><a class="code" href="classInspSocket.html#OnClose_28_29">OnClose</a>(); +<a name="l00144"></a>00144 shutdown(this->fd,2); +<a name="l00145"></a>00145 close(this->fd); +<a name="l00146"></a>00146 this-><a class="code" href="classInspSocket.html#fd">fd</a> = -1; +<a name="l00147"></a>00147 } +<a name="l00148"></a>00148 } +</pre></div> +<p> + </td> + </tr> +</table> +<a class="anchor" name="GetFd_28_29"></a><!-- doxytag: member="InspSocket::GetFd" ref="GetFd_28_29" args="()" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">int InspSocket::GetFd </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> + <p> -References <a class="el" href="socket_8h-source.html#l00033">fd</a>, and <a class="el" href="socket_8cpp-source.html#l00252">OnClose()</a>. +Definition at line <a class="el" href="socket_8cpp-source.html#l00252">252</a> of file <a class="el" href="socket_8cpp-source.html">socket.cpp</a>. <p> -Referenced by <a class="el" href="socket_8cpp-source.html#l00058">InspSocket()</a>, and <a class="el" href="socket_8cpp-source.html#l00254">~InspSocket()</a>.<div class="fragment"><pre class="fragment"><a name="l00134"></a>00134 { -<a name="l00135"></a>00135 <span class="keywordflow">if</span> (this->fd != -1) -<a name="l00136"></a>00136 { -<a name="l00137"></a>00137 this-><a class="code" href="classInspSocket.html#OnClose_28_29">OnClose</a>(); -<a name="l00138"></a>00138 shutdown(this->fd,2); -<a name="l00139"></a>00139 close(this->fd); -<a name="l00140"></a>00140 this-><a class="code" href="classInspSocket.html#fd">fd</a> = -1; -<a name="l00141"></a>00141 } -<a name="l00142"></a>00142 } +References <a class="el" href="socket_8h-source.html#l00033">fd</a>.<div class="fragment"><pre class="fragment"><a name="l00253"></a>00253 { +<a name="l00254"></a>00254 <span class="keywordflow">return</span> this-><a class="code" href="classInspSocket.html#fd">fd</a>; +<a name="l00255"></a>00255 } </pre></div> <p> </td> @@ -402,11 +443,11 @@ Referenced by <a class="el" href="socket_8cpp-source.html#l00058">InspSocket()</ <p> <p> -Definition at line <a class="el" href="socket_8cpp-source.html#l00144">144</a> of file <a class="el" href="socket_8cpp-source.html">socket.cpp</a>. +Definition at line <a class="el" href="socket_8cpp-source.html#l00150">150</a> of file <a class="el" href="socket_8cpp-source.html">socket.cpp</a>. <p> -References <a class="el" href="socket_8h-source.html#l00043">IP</a>.<div class="fragment"><pre class="fragment"><a name="l00145"></a>00145 { -<a name="l00146"></a>00146 <span class="keywordflow">return</span> this-><a class="code" href="classInspSocket.html#IP">IP</a>; -<a name="l00147"></a>00147 } +References <a class="el" href="socket_8h-source.html#l00043">IP</a>.<div class="fragment"><pre class="fragment"><a name="l00151"></a>00151 { +<a name="l00152"></a>00152 <span class="keywordflow">return</span> this-><a class="code" href="classInspSocket.html#IP">IP</a>; +<a name="l00153"></a>00153 } </pre></div> <p> </td> @@ -438,11 +479,11 @@ References <a class="el" href="socket_8h-source.html#l00043">IP</a>.<div class=" <p> <p> -Definition at line <a class="el" href="socket_8cpp-source.html#l00241">241</a> of file <a class="el" href="socket_8cpp-source.html">socket.cpp</a>. +Definition at line <a class="el" href="socket_8cpp-source.html#l00247">247</a> of file <a class="el" href="socket_8cpp-source.html">socket.cpp</a>. <p> -References <a class="el" href="socket_8h-source.html#l00036">state</a>.<div class="fragment"><pre class="fragment"><a name="l00242"></a>00242 { -<a name="l00243"></a>00243 <span class="keywordflow">return</span> this-><a class="code" href="classInspSocket.html#state">state</a>; -<a name="l00244"></a>00244 } +References <a class="el" href="socket_8h-source.html#l00036">state</a>.<div class="fragment"><pre class="fragment"><a name="l00248"></a>00248 { +<a name="l00249"></a>00249 <span class="keywordflow">return</span> this-><a class="code" href="classInspSocket.html#state">state</a>; +<a name="l00250"></a>00250 } </pre></div> <p> </td> @@ -474,9 +515,9 @@ References <a class="el" href="socket_8h-source.html#l00036">state</a>.<div clas <p> <p> -Definition at line <a class="el" href="socket_8cpp-source.html#l00252">252</a> of file <a class="el" href="socket_8cpp-source.html">socket.cpp</a>. +Definition at line <a class="el" href="socket_8cpp-source.html#l00263">263</a> of file <a class="el" href="socket_8cpp-source.html">socket.cpp</a>. <p> -Referenced by <a class="el" href="socket_8cpp-source.html#l00133">Close()</a>.<div class="fragment"><pre class="fragment"><a name="l00252"></a>00252 { <span class="keywordflow">return</span>; } +Referenced by <a class="el" href="socket_8cpp-source.html#l00139">Close()</a>.<div class="fragment"><pre class="fragment"><a name="l00263"></a>00263 { <span class="keywordflow">return</span>; } </pre></div> <p> </td> @@ -508,9 +549,9 @@ Referenced by <a class="el" href="socket_8cpp-source.html#l00133">Close()</a>.<d <p> <p> -Definition at line <a class="el" href="socket_8cpp-source.html#l00246">246</a> of file <a class="el" href="socket_8cpp-source.html">socket.cpp</a>. +Definition at line <a class="el" href="socket_8cpp-source.html#l00257">257</a> of file <a class="el" href="socket_8cpp-source.html">socket.cpp</a>. <p> -Referenced by <a class="el" href="socket_8cpp-source.html#l00191">Poll()</a>.<div class="fragment"><pre class="fragment"><a name="l00246"></a>00246 { <span class="keywordflow">return</span> <span class="keyword">true</span>; } +Referenced by <a class="el" href="socket_8cpp-source.html#l00197">Poll()</a>.<div class="fragment"><pre class="fragment"><a name="l00257"></a>00257 { <span class="keywordflow">return</span> <span class="keyword">true</span>; } </pre></div> <p> </td> @@ -542,9 +583,9 @@ Referenced by <a class="el" href="socket_8cpp-source.html#l00191">Poll()</a>.<di <p> <p> -Definition at line <a class="el" href="socket_8cpp-source.html#l00250">250</a> of file <a class="el" href="socket_8cpp-source.html">socket.cpp</a>. +Definition at line <a class="el" href="socket_8cpp-source.html#l00261">261</a> of file <a class="el" href="socket_8cpp-source.html">socket.cpp</a>. <p> -Referenced by <a class="el" href="socket_8cpp-source.html#l00191">Poll()</a>.<div class="fragment"><pre class="fragment"><a name="l00250"></a>00250 { <span class="keywordflow">return</span> <span class="keyword">true</span>; } +Referenced by <a class="el" href="socket_8cpp-source.html#l00197">Poll()</a>.<div class="fragment"><pre class="fragment"><a name="l00261"></a>00261 { <span class="keywordflow">return</span> <span class="keyword">true</span>; } </pre></div> <p> </td> @@ -576,7 +617,7 @@ Referenced by <a class="el" href="socket_8cpp-source.html#l00191">Poll()</a>.<di <p> <p> -Definition at line <a class="el" href="socket_8cpp-source.html#l00248">248</a> of file <a class="el" href="socket_8cpp-source.html">socket.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00248"></a>00248 { <span class="keywordflow">return</span> 0; } +Definition at line <a class="el" href="socket_8cpp-source.html#l00259">259</a> of file <a class="el" href="socket_8cpp-source.html">socket.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00259"></a>00259 { <span class="keywordflow">return</span> 0; } </pre></div> <p> </td> @@ -609,9 +650,9 @@ Definition at line <a class="el" href="socket_8cpp-source.html#l00248">248</a> o <p> <p> -Definition at line <a class="el" href="socket_8cpp-source.html#l00247">247</a> of file <a class="el" href="socket_8cpp-source.html">socket.cpp</a>. +Definition at line <a class="el" href="socket_8cpp-source.html#l00258">258</a> of file <a class="el" href="socket_8cpp-source.html">socket.cpp</a>. <p> -Referenced by <a class="el" href="socket_8cpp-source.html#l00058">InspSocket()</a>, and <a class="el" href="socket_8cpp-source.html#l00191">Poll()</a>.<div class="fragment"><pre class="fragment"><a name="l00247"></a>00247 { <span class="keywordflow">return</span>; } +Referenced by <a class="el" href="socket_8cpp-source.html#l00062">InspSocket()</a>, and <a class="el" href="socket_8cpp-source.html#l00197">Poll()</a>.<div class="fragment"><pre class="fragment"><a name="l00258"></a>00258 { <span class="keywordflow">return</span>; } </pre></div> <p> </td> @@ -653,9 +694,9 @@ Referenced by <a class="el" href="socket_8cpp-source.html#l00058">InspSocket()</ <p> <p> -Definition at line <a class="el" href="socket_8cpp-source.html#l00249">249</a> of file <a class="el" href="socket_8cpp-source.html">socket.cpp</a>. +Definition at line <a class="el" href="socket_8cpp-source.html#l00260">260</a> of file <a class="el" href="socket_8cpp-source.html">socket.cpp</a>. <p> -Referenced by <a class="el" href="socket_8cpp-source.html#l00191">Poll()</a>.<div class="fragment"><pre class="fragment"><a name="l00249"></a>00249 { <span class="keywordflow">return</span> 0; } +Referenced by <a class="el" href="socket_8cpp-source.html#l00197">Poll()</a>.<div class="fragment"><pre class="fragment"><a name="l00260"></a>00260 { <span class="keywordflow">return</span> 0; } </pre></div> <p> </td> @@ -687,9 +728,9 @@ Referenced by <a class="el" href="socket_8cpp-source.html#l00191">Poll()</a>.<di <p> <p> -Definition at line <a class="el" href="socket_8cpp-source.html#l00251">251</a> of file <a class="el" href="socket_8cpp-source.html">socket.cpp</a>. +Definition at line <a class="el" href="socket_8cpp-source.html#l00262">262</a> of file <a class="el" href="socket_8cpp-source.html">socket.cpp</a>. <p> -Referenced by <a class="el" href="socket_8cpp-source.html#l00191">Poll()</a>.<div class="fragment"><pre class="fragment"><a name="l00251"></a>00251 { <span class="keywordflow">return</span>; } +Referenced by <a class="el" href="socket_8cpp-source.html#l00197">Poll()</a>.<div class="fragment"><pre class="fragment"><a name="l00262"></a>00262 { <span class="keywordflow">return</span>; } </pre></div> <p> </td> @@ -721,50 +762,50 @@ Referenced by <a class="el" href="socket_8cpp-source.html#l00191">Poll()</a>.<di <p> <p> -Definition at line <a class="el" href="socket_8cpp-source.html#l00191">191</a> of file <a class="el" href="socket_8cpp-source.html">socket.cpp</a>. -<p> -References <a class="el" href="socket_8h-source.html#l00044">client</a>, <a class="el" href="socket_8h-source.html#l00033">fd</a>, <a class="el" href="socket_8h.html#InspSocketStateI_5FCONNECTED">I_CONNECTED</a>, <a class="el" href="socket_8h.html#InspSocketStateI_5FCONNECTING">I_CONNECTING</a>, <a class="el" href="socket_8h.html#InspSocketErrorI_5FERR_5FTIMEOUT">I_ERR_TIMEOUT</a>, <a class="el" href="socket_8h.html#InspSocketStateI_5FERROR">I_ERROR</a>, <a class="el" href="socket_8h.html#InspSocketStateI_5FLISTENING">I_LISTENING</a>, <a class="el" href="socket_8h-source.html#l00046">length</a>, <a class="el" href="socket_8cpp-source.html#l00246">OnConnected()</a>, <a class="el" href="socket_8cpp-source.html#l00250">OnDataReady()</a>, <a class="el" href="socket_8cpp-source.html#l00247">OnError()</a>, <a class="el" href="socket_8cpp-source.html#l00249">OnIncomingConnection()</a>, <a class="el" href="socket_8cpp-source.html#l00251">OnTimeout()</a>, <a class="el" href="socket_8h-source.html#l00041">polls</a>, <a class="el" href="socket_8cpp-source.html#l00235">SetState()</a>, <a class="el" href="socket_8h-source.html#l00036">state</a>, <a class="el" href="socket_8h-source.html#l00040">timeout</a>, and <a class="el" href="socket_8h-source.html#l00039">timeout_end</a>.<div class="fragment"><pre class="fragment"><a name="l00192"></a>00192 { -<a name="l00193"></a>00193 <span class="keywordflow">if</span> ((time(NULL) > <a class="code" href="classInspSocket.html#timeout_5Fend">timeout_end</a>) && (this->state == <a class="code" href="socket_8h.html#InspSocketStateI_5FCONNECTING">I_CONNECTING</a>)) -<a name="l00194"></a>00194 { -<a name="l00195"></a>00195 <span class="comment">// for non-listening sockets, the timeout can occur</span> -<a name="l00196"></a>00196 <span class="comment">// which causes termination of the connection after</span> -<a name="l00197"></a>00197 <span class="comment">// the given number of seconds without a successful</span> -<a name="l00198"></a>00198 <span class="comment">// connection.</span> -<a name="l00199"></a>00199 this-><a class="code" href="classInspSocket.html#OnTimeout_28_29">OnTimeout</a>(); -<a name="l00200"></a>00200 this-><a class="code" href="classInspSocket.html#OnError_28InspSocketError_20e_29">OnError</a>(<a class="code" href="socket_8h.html#InspSocketErrorI_5FERR_5FTIMEOUT">I_ERR_TIMEOUT</a>); -<a name="l00201"></a>00201 <a class="code" href="classInspSocket.html#timeout">timeout</a> = <span class="keyword">true</span>; -<a name="l00202"></a>00202 this-><a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FERROR">I_ERROR</a>; -<a name="l00203"></a>00203 <span class="keywordflow">return</span> <span class="keyword">false</span>; -<a name="l00204"></a>00204 } -<a name="l00205"></a>00205 <a class="code" href="classInspSocket.html#polls">polls</a>.fd = this-><a class="code" href="classInspSocket.html#fd">fd</a>; -<a name="l00206"></a>00206 <a class="code" href="classInspSocket.html#state">state</a> == <a class="code" href="socket_8h.html#InspSocketStateI_5FCONNECTING">I_CONNECTING</a> ? <a class="code" href="classInspSocket.html#polls">polls</a>.events = POLLOUT : <a class="code" href="classInspSocket.html#polls">polls</a>.events = POLLIN; -<a name="l00207"></a>00207 <span class="keywordtype">int</span> ret = poll(&<a class="code" href="classInspSocket.html#polls">polls</a>,1,1); -<a name="l00208"></a>00208 -<a name="l00209"></a>00209 <span class="keywordflow">if</span> (ret > 0) -<a name="l00210"></a>00210 { -<a name="l00211"></a>00211 <span class="keywordtype">int</span> incoming = -1; -<a name="l00212"></a>00212 -<a name="l00213"></a>00213 <span class="keywordflow">switch</span> (this->state) -<a name="l00214"></a>00214 { -<a name="l00215"></a>00215 <span class="keywordflow">case</span> <a class="code" href="socket_8h.html#InspSocketStateI_5FCONNECTING">I_CONNECTING</a>: -<a name="l00216"></a>00216 this-><a class="code" href="classInspSocket.html#SetState_28InspSocketState_20s_29">SetState</a>(<a class="code" href="socket_8h.html#InspSocketStateI_5FCONNECTED">I_CONNECTED</a>); -<a name="l00217"></a>00217 <span class="keywordflow">return</span> this-><a class="code" href="classInspSocket.html#OnConnected_28_29">OnConnected</a>(); -<a name="l00218"></a>00218 <span class="keywordflow">break</span>; -<a name="l00219"></a>00219 <span class="keywordflow">case</span> <a class="code" href="socket_8h.html#InspSocketStateI_5FLISTENING">I_LISTENING</a>: -<a name="l00220"></a>00220 <a class="code" href="classInspSocket.html#length">length</a> = <span class="keyword">sizeof</span> (<a class="code" href="classInspSocket.html#client">client</a>); -<a name="l00221"></a>00221 incoming = accept (this->fd, (sockaddr*)&<a class="code" href="classInspSocket.html#client">client</a>,&<a class="code" href="classInspSocket.html#length">length</a>); -<a name="l00222"></a>00222 this-><a class="code" href="classInspSocket.html#OnIncomingConnection_28int_20newfd_2C_20char_20_2Aip_29">OnIncomingConnection</a>(incoming,inet_ntoa(<a class="code" href="classInspSocket.html#client">client</a>.sin_addr)); -<a name="l00223"></a>00223 <span class="keywordflow">return</span> <span class="keyword">true</span>; -<a name="l00224"></a>00224 <span class="keywordflow">break</span>; -<a name="l00225"></a>00225 <span class="keywordflow">case</span> <a class="code" href="socket_8h.html#InspSocketStateI_5FCONNECTED">I_CONNECTED</a>: -<a name="l00226"></a>00226 <span class="keywordflow">return</span> this-><a class="code" href="classInspSocket.html#OnDataReady_28_29">OnDataReady</a>(); -<a name="l00227"></a>00227 <span class="keywordflow">break</span>; -<a name="l00228"></a>00228 <span class="keywordflow">default</span>: -<a name="l00229"></a>00229 <span class="keywordflow">break</span>; -<a name="l00230"></a>00230 } -<a name="l00231"></a>00231 } -<a name="l00232"></a>00232 <span class="keywordflow">return</span> <span class="keyword">true</span>; -<a name="l00233"></a>00233 } +Definition at line <a class="el" href="socket_8cpp-source.html#l00197">197</a> of file <a class="el" href="socket_8cpp-source.html">socket.cpp</a>. +<p> +References <a class="el" href="socketengine_8cpp-source.html#l00065">SocketEngine::AddFd()</a>, <a class="el" href="socket_8h-source.html#l00044">client</a>, <a class="el" href="socketengine_8cpp-source.html#l00103">SocketEngine::DelFd()</a>, <a class="el" href="socket_8h.html#InspSocketStateI_5FCONNECTED">I_CONNECTED</a>, <a class="el" href="socket_8h.html#InspSocketStateI_5FCONNECTING">I_CONNECTING</a>, <a class="el" href="socket_8h.html#InspSocketErrorI_5FERR_5FTIMEOUT">I_ERR_TIMEOUT</a>, <a class="el" href="socket_8h.html#InspSocketStateI_5FERROR">I_ERROR</a>, <a class="el" href="socket_8h.html#InspSocketStateI_5FLISTENING">I_LISTENING</a>, <a class="el" href="socket_8h-source.html#l00046">length</a>, <a class="el" href="socket_8cpp-source.html#l00257">OnConnected()</a>, <a class="el" href="socket_8cpp-source.html#l00261">OnDataReady()</a>, <a class="el" href="socket_8cpp-source.html#l00258">OnError()</a>, <a class="el" href="socket_8cpp-source.html#l00260">OnIncomingConnection()</a>, <a class="el" href="socket_8cpp-source.html#l00262">OnTimeout()</a>, <a class="el" href="socket_8cpp-source.html#l00241">SetState()</a>, <a class="el" href="socket_8h-source.html#l00036">state</a>, <a class="el" href="socket_8h-source.html#l00040">timeout</a>, <a class="el" href="socket_8h-source.html#l00039">timeout_end</a>, and <a class="el" href="socketengine_8h-source.html#l00044">X_ESTAB_MODULE</a>.<div class="fragment"><pre class="fragment"><a name="l00198"></a>00198 { +<a name="l00199"></a>00199 <span class="keywordflow">if</span> ((time(NULL) > <a class="code" href="classInspSocket.html#timeout_5Fend">timeout_end</a>) && (this->state == <a class="code" href="socket_8h.html#InspSocketStateI_5FCONNECTING">I_CONNECTING</a>)) +<a name="l00200"></a>00200 { +<a name="l00201"></a>00201 <span class="comment">// for non-listening sockets, the timeout can occur</span> +<a name="l00202"></a>00202 <span class="comment">// which causes termination of the connection after</span> +<a name="l00203"></a>00203 <span class="comment">// the given number of seconds without a successful</span> +<a name="l00204"></a>00204 <span class="comment">// connection.</span> +<a name="l00205"></a>00205 this-><a class="code" href="classInspSocket.html#OnTimeout_28_29">OnTimeout</a>(); +<a name="l00206"></a>00206 this-><a class="code" href="classInspSocket.html#OnError_28InspSocketError_20e_29">OnError</a>(<a class="code" href="socket_8h.html#InspSocketErrorI_5FERR_5FTIMEOUT">I_ERR_TIMEOUT</a>); +<a name="l00207"></a>00207 <a class="code" href="classInspSocket.html#timeout">timeout</a> = <span class="keyword">true</span>; +<a name="l00208"></a>00208 this-><a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FERROR">I_ERROR</a>; +<a name="l00209"></a>00209 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00210"></a>00210 } +<a name="l00211"></a>00211 +<a name="l00212"></a>00212 <span class="keywordtype">int</span> incoming = -1; +<a name="l00213"></a>00213 +<a name="l00214"></a>00214 <span class="keywordflow">switch</span> (this->state) +<a name="l00215"></a>00215 { +<a name="l00216"></a>00216 <span class="keywordflow">case</span> <a class="code" href="socket_8h.html#InspSocketStateI_5FCONNECTING">I_CONNECTING</a>: +<a name="l00217"></a>00217 this-><a class="code" href="classInspSocket.html#SetState_28InspSocketState_20s_29">SetState</a>(<a class="code" href="socket_8h.html#InspSocketStateI_5FCONNECTED">I_CONNECTED</a>); +<a name="l00218"></a>00218 <span class="comment">/* Our socket was in write-state, so delete it and re-add it</span> +<a name="l00219"></a>00219 <span class="comment"> * in read-state.</span> +<a name="l00220"></a>00220 <span class="comment"> */</span> +<a name="l00221"></a>00221 <a class="code" href="modules_8cpp.html#SE">SE</a>-><a class="code" href="classSocketEngine.html#DelFd_28int_20fd_29">DelFd</a>(this->fd); +<a name="l00222"></a>00222 <a class="code" href="modules_8cpp.html#SE">SE</a>-><a class="code" href="classSocketEngine.html#AddFd_28int_20fd_2C_20bool_20readable_2C_20char_20type_29">AddFd</a>(this->fd,<span class="keyword">true</span>,<a class="code" href="socketengine_8h.html#X_5FESTAB_5FMODULE">X_ESTAB_MODULE</a>); +<a name="l00223"></a>00223 <span class="keywordflow">return</span> this-><a class="code" href="classInspSocket.html#OnConnected_28_29">OnConnected</a>(); +<a name="l00224"></a>00224 <span class="keywordflow">break</span>; +<a name="l00225"></a>00225 <span class="keywordflow">case</span> <a class="code" href="socket_8h.html#InspSocketStateI_5FLISTENING">I_LISTENING</a>: +<a name="l00226"></a>00226 <a class="code" href="classInspSocket.html#length">length</a> = <span class="keyword">sizeof</span> (<a class="code" href="classInspSocket.html#client">client</a>); +<a name="l00227"></a>00227 incoming = accept (this->fd, (sockaddr*)&<a class="code" href="classInspSocket.html#client">client</a>,&<a class="code" href="classInspSocket.html#length">length</a>); +<a name="l00228"></a>00228 this-><a class="code" href="classInspSocket.html#OnIncomingConnection_28int_20newfd_2C_20char_20_2Aip_29">OnIncomingConnection</a>(incoming,inet_ntoa(<a class="code" href="classInspSocket.html#client">client</a>.sin_addr)); +<a name="l00229"></a>00229 <span class="keywordflow">return</span> <span class="keyword">true</span>; +<a name="l00230"></a>00230 <span class="keywordflow">break</span>; +<a name="l00231"></a>00231 <span class="keywordflow">case</span> <a class="code" href="socket_8h.html#InspSocketStateI_5FCONNECTED">I_CONNECTED</a>: +<a name="l00232"></a>00232 <span class="keywordflow">return</span> this-><a class="code" href="classInspSocket.html#OnDataReady_28_29">OnDataReady</a>(); +<a name="l00233"></a>00233 <span class="keywordflow">break</span>; +<a name="l00234"></a>00234 <span class="keywordflow">default</span>: +<a name="l00235"></a>00235 <span class="keywordflow">break</span>; +<a name="l00236"></a>00236 } +<a name="l00237"></a>00237 +<a name="l00238"></a>00238 <span class="keywordflow">return</span> <span class="keyword">true</span>; +<a name="l00239"></a>00239 } </pre></div> <p> </td> @@ -796,21 +837,21 @@ References <a class="el" href="socket_8h-source.html#l00044">client</a>, <a clas <p> <p> -Definition at line <a class="el" href="socket_8cpp-source.html#l00149">149</a> of file <a class="el" href="socket_8cpp-source.html">socket.cpp</a>. +Definition at line <a class="el" href="socket_8cpp-source.html#l00155">155</a> of file <a class="el" href="socket_8cpp-source.html">socket.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, and <a class="el" href="socket_8h-source.html#l00042">ibuf</a>.<div class="fragment"><pre class="fragment"><a name="l00150"></a>00150 { -<a name="l00151"></a>00151 <span class="keywordtype">int</span> n = recv(this->fd,this->ibuf,<span class="keyword">sizeof</span>(this->ibuf),0); -<a name="l00152"></a>00152 <span class="keywordflow">if</span> (n > 0) -<a name="l00153"></a>00153 { -<a name="l00154"></a>00154 <a class="code" href="classInspSocket.html#ibuf_5B_31_36_33_38_34_5D">ibuf</a>[n] = 0; -<a name="l00155"></a>00155 <span class="keywordflow">return</span> <a class="code" href="classInspSocket.html#ibuf_5B_31_36_33_38_34_5D">ibuf</a>; -<a name="l00156"></a>00156 } -<a name="l00157"></a>00157 <span class="keywordflow">else</span> -<a name="l00158"></a>00158 { -<a name="l00159"></a>00159 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"EOF or error on socket"</span>); -<a name="l00160"></a>00160 <span class="keywordflow">return</span> NULL; -<a name="l00161"></a>00161 } -<a name="l00162"></a>00162 } +References <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, and <a class="el" href="socket_8h-source.html#l00042">ibuf</a>.<div class="fragment"><pre class="fragment"><a name="l00156"></a>00156 { +<a name="l00157"></a>00157 <span class="keywordtype">int</span> n = recv(this->fd,this->ibuf,<span class="keyword">sizeof</span>(this->ibuf),0); +<a name="l00158"></a>00158 <span class="keywordflow">if</span> (n > 0) +<a name="l00159"></a>00159 { +<a name="l00160"></a>00160 <a class="code" href="classInspSocket.html#ibuf_5B_31_36_33_38_34_5D">ibuf</a>[n] = 0; +<a name="l00161"></a>00161 <span class="keywordflow">return</span> <a class="code" href="classInspSocket.html#ibuf_5B_31_36_33_38_34_5D">ibuf</a>; +<a name="l00162"></a>00162 } +<a name="l00163"></a>00163 <span class="keywordflow">else</span> +<a name="l00164"></a>00164 { +<a name="l00165"></a>00165 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"EOF or error on socket"</span>); +<a name="l00166"></a>00166 <span class="keywordflow">return</span> NULL; +<a name="l00167"></a>00167 } +<a name="l00168"></a>00168 } </pre></div> <p> </td> @@ -843,14 +884,14 @@ References <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, and <a <p> <p> -Definition at line <a class="el" href="socket_8cpp-source.html#l00235">235</a> of file <a class="el" href="socket_8cpp-source.html">socket.cpp</a>. +Definition at line <a class="el" href="socket_8cpp-source.html#l00241">241</a> of file <a class="el" href="socket_8cpp-source.html">socket.cpp</a>. <p> References <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, and <a class="el" href="socket_8h-source.html#l00036">state</a>. <p> -Referenced by <a class="el" href="socket_8cpp-source.html#l00191">Poll()</a>.<div class="fragment"><pre class="fragment"><a name="l00236"></a>00236 { -<a name="l00237"></a>00237 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Socket state change"</span>); -<a name="l00238"></a>00238 this-><a class="code" href="classInspSocket.html#state">state</a> = s; -<a name="l00239"></a>00239 } +Referenced by <a class="el" href="socket_8cpp-source.html#l00197">Poll()</a>.<div class="fragment"><pre class="fragment"><a name="l00242"></a>00242 { +<a name="l00243"></a>00243 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Socket state change"</span>); +<a name="l00244"></a>00244 this-><a class="code" href="classInspSocket.html#state">state</a> = s; +<a name="l00245"></a>00245 } </pre></div> <p> </td> @@ -883,27 +924,27 @@ Referenced by <a class="el" href="socket_8cpp-source.html#l00191">Poll()</a>.<di <p> <p> -Definition at line <a class="el" href="socket_8cpp-source.html#l00168">168</a> of file <a class="el" href="socket_8cpp-source.html">socket.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00169"></a>00169 { -<a name="l00170"></a>00170 <span class="keywordtype">char</span>* d = (<span class="keywordtype">char</span>*)data.c_str(); -<a name="l00171"></a>00171 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> written = 0; -<a name="l00172"></a>00172 <span class="keywordtype">int</span> n = 0; -<a name="l00173"></a>00173 <span class="keywordtype">int</span> s = data.length(); -<a name="l00174"></a>00174 <span class="keywordflow">while</span> ((written < data.length()) && (n >= 0)) -<a name="l00175"></a>00175 { -<a name="l00176"></a>00176 n = send(this->fd,d,s,0); -<a name="l00177"></a>00177 <span class="keywordflow">if</span> (n > 0) -<a name="l00178"></a>00178 { -<a name="l00179"></a>00179 <span class="comment">// If we didnt write everything, advance</span> -<a name="l00180"></a>00180 <span class="comment">// the pointers so that when we retry</span> -<a name="l00181"></a>00181 <span class="comment">// the next time around the loop, we try</span> -<a name="l00182"></a>00182 <span class="comment">// to write what we failed to write before.</span> -<a name="l00183"></a>00183 written += n; -<a name="l00184"></a>00184 s -= n; -<a name="l00185"></a>00185 d += n; -<a name="l00186"></a>00186 } -<a name="l00187"></a>00187 } -<a name="l00188"></a>00188 <span class="keywordflow">return</span> written; -<a name="l00189"></a>00189 } +Definition at line <a class="el" href="socket_8cpp-source.html#l00174">174</a> of file <a class="el" href="socket_8cpp-source.html">socket.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00175"></a>00175 { +<a name="l00176"></a>00176 <span class="keywordtype">char</span>* d = (<span class="keywordtype">char</span>*)data.c_str(); +<a name="l00177"></a>00177 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> written = 0; +<a name="l00178"></a>00178 <span class="keywordtype">int</span> n = 0; +<a name="l00179"></a>00179 <span class="keywordtype">int</span> s = data.length(); +<a name="l00180"></a>00180 <span class="keywordflow">while</span> ((written < data.length()) && (n >= 0)) +<a name="l00181"></a>00181 { +<a name="l00182"></a>00182 n = send(this->fd,d,s,0); +<a name="l00183"></a>00183 <span class="keywordflow">if</span> (n > 0) +<a name="l00184"></a>00184 { +<a name="l00185"></a>00185 <span class="comment">// If we didnt write everything, advance</span> +<a name="l00186"></a>00186 <span class="comment">// the pointers so that when we retry</span> +<a name="l00187"></a>00187 <span class="comment">// the next time around the loop, we try</span> +<a name="l00188"></a>00188 <span class="comment">// to write what we failed to write before.</span> +<a name="l00189"></a>00189 written += n; +<a name="l00190"></a>00190 s -= n; +<a name="l00191"></a>00191 d += n; +<a name="l00192"></a>00192 } +<a name="l00193"></a>00193 } +<a name="l00194"></a>00194 <span class="keywordflow">return</span> written; +<a name="l00195"></a>00195 } </pre></div> <p> </td> @@ -934,7 +975,7 @@ Definition at line <a class="el" href="socket_8cpp-source.html#l00168">168</a> o <p> Definition at line <a class="el" href="socket_8h-source.html#l00037">37</a> of file <a class="el" href="socket_8h-source.html">socket.h</a>. <p> -Referenced by <a class="el" href="socket_8cpp-source.html#l00058">InspSocket()</a>. </td> +Referenced by <a class="el" href="socket_8cpp-source.html#l00062">InspSocket()</a>. </td> </tr> </table> <a class="anchor" name="addy"></a><!-- doxytag: member="InspSocket::addy" ref="addy" args="" --><p> @@ -961,7 +1002,7 @@ Referenced by <a class="el" href="socket_8cpp-source.html#l00058">InspSocket()</ <p> Definition at line <a class="el" href="socket_8h-source.html#l00038">38</a> of file <a class="el" href="socket_8h-source.html">socket.h</a>. <p> -Referenced by <a class="el" href="socket_8cpp-source.html#l00058">InspSocket()</a>. </td> +Referenced by <a class="el" href="socket_8cpp-source.html#l00062">InspSocket()</a>. </td> </tr> </table> <a class="anchor" name="client"></a><!-- doxytag: member="InspSocket::client" ref="client" args="" --><p> @@ -988,7 +1029,7 @@ Referenced by <a class="el" href="socket_8cpp-source.html#l00058">InspSocket()</ <p> Definition at line <a class="el" href="socket_8h-source.html#l00044">44</a> of file <a class="el" href="socket_8h-source.html">socket.h</a>. <p> -Referenced by <a class="el" href="socket_8cpp-source.html#l00191">Poll()</a>. </td> +Referenced by <a class="el" href="socket_8cpp-source.html#l00197">Poll()</a>. </td> </tr> </table> <a class="anchor" name="fd"></a><!-- doxytag: member="InspSocket::fd" ref="fd" args="" --><p> @@ -1015,7 +1056,7 @@ Referenced by <a class="el" href="socket_8cpp-source.html#l00191">Poll()</a>. <p> Definition at line <a class="el" href="socket_8h-source.html#l00033">33</a> of file <a class="el" href="socket_8h-source.html">socket.h</a>. <p> -Referenced by <a class="el" href="socket_8cpp-source.html#l00133">Close()</a>, <a class="el" href="socket_8cpp-source.html#l00051">InspSocket()</a>, and <a class="el" href="socket_8cpp-source.html#l00191">Poll()</a>. </td> +Referenced by <a class="el" href="socket_8cpp-source.html#l00139">Close()</a>, <a class="el" href="socket_8cpp-source.html#l00252">GetFd()</a>, and <a class="el" href="socket_8cpp-source.html#l00054">InspSocket()</a>. </td> </tr> </table> <a class="anchor" name="host"></a><!-- doxytag: member="InspSocket::host" ref="host" args="" --><p> @@ -1067,7 +1108,7 @@ Definition at line <a class="el" href="socket_8h-source.html#l00034">34</a> of f <p> Definition at line <a class="el" href="socket_8h-source.html#l00042">42</a> of file <a class="el" href="socket_8h-source.html">socket.h</a>. <p> -Referenced by <a class="el" href="socket_8cpp-source.html#l00149">Read()</a>. </td> +Referenced by <a class="el" href="socket_8cpp-source.html#l00155">Read()</a>. </td> </tr> </table> <a class="anchor" name="IP"></a><!-- doxytag: member="InspSocket::IP" ref="IP" args="" --><p> @@ -1094,7 +1135,7 @@ Referenced by <a class="el" href="socket_8cpp-source.html#l00149">Read()</a>. <p> Definition at line <a class="el" href="socket_8h-source.html#l00043">43</a> of file <a class="el" href="socket_8h-source.html">socket.h</a>. <p> -Referenced by <a class="el" href="socket_8cpp-source.html#l00144">GetIP()</a>, and <a class="el" href="socket_8cpp-source.html#l00051">InspSocket()</a>. </td> +Referenced by <a class="el" href="socket_8cpp-source.html#l00150">GetIP()</a>, and <a class="el" href="socket_8cpp-source.html#l00054">InspSocket()</a>. </td> </tr> </table> <a class="anchor" name="length"></a><!-- doxytag: member="InspSocket::length" ref="length" args="" --><p> @@ -1121,7 +1162,7 @@ Referenced by <a class="el" href="socket_8cpp-source.html#l00144">GetIP()</a>, a <p> Definition at line <a class="el" href="socket_8h-source.html#l00046">46</a> of file <a class="el" href="socket_8h-source.html">socket.h</a>. <p> -Referenced by <a class="el" href="socket_8cpp-source.html#l00191">Poll()</a>. </td> +Referenced by <a class="el" href="socket_8cpp-source.html#l00197">Poll()</a>. </td> </tr> </table> <a class="anchor" name="polls"></a><!-- doxytag: member="InspSocket::polls" ref="polls" args="" --><p> @@ -1146,9 +1187,7 @@ Referenced by <a class="el" href="socket_8cpp-source.html#l00191">Poll()</a>. <p> <p> -Definition at line <a class="el" href="socket_8h-source.html#l00041">41</a> of file <a class="el" href="socket_8h-source.html">socket.h</a>. -<p> -Referenced by <a class="el" href="socket_8cpp-source.html#l00191">Poll()</a>. </td> +Definition at line <a class="el" href="socket_8h-source.html#l00041">41</a> of file <a class="el" href="socket_8h-source.html">socket.h</a>. </td> </tr> </table> <a class="anchor" name="port"></a><!-- doxytag: member="InspSocket::port" ref="port" args="" --><p> @@ -1225,7 +1264,7 @@ Definition at line <a class="el" href="socket_8h-source.html#l00045">45</a> of f <p> Definition at line <a class="el" href="socket_8h-source.html#l00036">36</a> of file <a class="el" href="socket_8h-source.html">socket.h</a>. <p> -Referenced by <a class="el" href="socket_8cpp-source.html#l00241">GetState()</a>, <a class="el" href="socket_8cpp-source.html#l00046">InspSocket()</a>, <a class="el" href="socket_8cpp-source.html#l00191">Poll()</a>, and <a class="el" href="socket_8cpp-source.html#l00235">SetState()</a>. </td> +Referenced by <a class="el" href="socket_8cpp-source.html#l00247">GetState()</a>, <a class="el" href="socket_8cpp-source.html#l00049">InspSocket()</a>, <a class="el" href="socket_8cpp-source.html#l00197">Poll()</a>, and <a class="el" href="socket_8cpp-source.html#l00241">SetState()</a>. </td> </tr> </table> <a class="anchor" name="timeout"></a><!-- doxytag: member="InspSocket::timeout" ref="timeout" args="" --><p> @@ -1252,7 +1291,7 @@ Referenced by <a class="el" href="socket_8cpp-source.html#l00241">GetState()</a> <p> Definition at line <a class="el" href="socket_8h-source.html#l00040">40</a> of file <a class="el" href="socket_8h-source.html">socket.h</a>. <p> -Referenced by <a class="el" href="socket_8cpp-source.html#l00058">InspSocket()</a>, and <a class="el" href="socket_8cpp-source.html#l00191">Poll()</a>. </td> +Referenced by <a class="el" href="socket_8cpp-source.html#l00062">InspSocket()</a>, and <a class="el" href="socket_8cpp-source.html#l00197">Poll()</a>. </td> </tr> </table> <a class="anchor" name="timeout_5Fend"></a><!-- doxytag: member="InspSocket::timeout_end" ref="timeout_5Fend" args="" --><p> @@ -1279,12 +1318,12 @@ Referenced by <a class="el" href="socket_8cpp-source.html#l00058">InspSocket()</ <p> Definition at line <a class="el" href="socket_8h-source.html#l00039">39</a> of file <a class="el" href="socket_8h-source.html">socket.h</a>. <p> -Referenced by <a class="el" href="socket_8cpp-source.html#l00058">InspSocket()</a>, and <a class="el" href="socket_8cpp-source.html#l00191">Poll()</a>. </td> +Referenced by <a class="el" href="socket_8cpp-source.html#l00062">InspSocket()</a>, and <a class="el" href="socket_8cpp-source.html#l00197">Poll()</a>. </td> </tr> </table> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="socket_8h-source.html">socket.h</a><li><a class="el" href="socket_8cpp-source.html">socket.cpp</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:12 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:12 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classInviteItem-members.html b/docs/module-doc/classInviteItem-members.html index b63f569dc..07a439605 100644 --- a/docs/module-doc/classInviteItem-members.html +++ b/docs/module-doc/classInviteItem-members.html @@ -14,7 +14,7 @@ <tr class="memlist"><td><a class="el" href="classHostItem.html#set_5Ftime">set_time</a></td><td><a class="el" href="classHostItem.html">HostItem</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#_7Eclassbase_28_29">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr class="memlist"><td><a class="el" href="classHostItem.html#_7EHostItem_28_29">~HostItem</a>()</td><td><a class="el" href="classHostItem.html">HostItem</a></td><td><code> [inline, virtual]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:12 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:12 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classInviteItem.html b/docs/module-doc/classInviteItem.html index b1f14360b..6abd07eb1 100644 --- a/docs/module-doc/classInviteItem.html +++ b/docs/module-doc/classInviteItem.html @@ -30,7 +30,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#l00068">68</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 size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:12 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:12 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classInvited-members.html b/docs/module-doc/classInvited-members.html index 7c4b21450..3f859a681 100644 --- a/docs/module-doc/classInvited-members.html +++ b/docs/module-doc/classInvited-members.html @@ -10,7 +10,7 @@ <tr class="memlist"><td><a class="el" href="classInvited.html#channel_5BCHANMAX_5D">channel</a></td><td><a class="el" href="classInvited.html">Invited</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#classbase_28_29">classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#_7Eclassbase_28_29">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:12 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:12 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classInvited.html b/docs/module-doc/classInvited.html index 8b0434bb5..bd78ba927 100644 --- a/docs/module-doc/classInvited.html +++ b/docs/module-doc/classInvited.html @@ -59,7 +59,7 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00122">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 size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:12 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:12 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classKLine-members.html b/docs/module-doc/classKLine-members.html index e0006eebb..aabe88fbd 100644 --- a/docs/module-doc/classKLine-members.html +++ b/docs/module-doc/classKLine-members.html @@ -15,7 +15,7 @@ <tr class="memlist"><td><a class="el" href="classXLine.html#set_5Ftime">set_time</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classXLine.html#source_5B_32_35_36_5D">source</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#_7Eclassbase_28_29">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:12 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:12 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classKLine.html b/docs/module-doc/classKLine.html index 4a3660712..2329fd01f 100644 --- a/docs/module-doc/classKLine.html +++ b/docs/module-doc/classKLine.html @@ -62,7 +62,7 @@ Definition at line <a class="el" href="xline_8h-source.html#l00068">68</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 size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:12 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:12 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classModeParameter-members.html b/docs/module-doc/classModeParameter-members.html index 8ed231973..2648a18a1 100644 --- a/docs/module-doc/classModeParameter-members.html +++ b/docs/module-doc/classModeParameter-members.html @@ -12,7 +12,7 @@ <tr class="memlist"><td><a class="el" href="classModeParameter.html#mode">mode</a></td><td><a class="el" href="classModeParameter.html">ModeParameter</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classModeParameter.html#parameter_5BMAXBUF_5D">parameter</a></td><td><a class="el" href="classModeParameter.html">ModeParameter</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#_7Eclassbase_28_29">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:12 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:12 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classModeParameter.html b/docs/module-doc/classModeParameter.html index 8cd857a03..1f19cfcac 100644 --- a/docs/module-doc/classModeParameter.html +++ b/docs/module-doc/classModeParameter.html @@ -119,7 +119,7 @@ Referenced by <a class="el" href="channels_8cpp-source.html#l00138">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 size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:12 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:12 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classModule-members.html b/docs/module-doc/classModule-members.html index 368a410c1..8c7e9bc47 100644 --- a/docs/module-doc/classModule-members.html +++ b/docs/module-doc/classModule-members.html @@ -89,7 +89,7 @@ <tr class="memlist"><td><a class="el" href="classModule.html#ProtoSendMode_28void_20_2Aopaque_2C_20int_20target_5Ftype_2C_20void_20_2Atarget_2C_20std_3A_3Astring_20modeline_29">ProtoSendMode</a>(void *opaque, int target_type, void *target, std::string modeline)</td><td><a class="el" href="classModule.html">Module</a></td><td><code> [virtual]</code></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#_7Eclassbase_28_29">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr class="memlist"><td><a class="el" href="classModule.html#_7EModule_28_29">~Module</a>()</td><td><a class="el" href="classModule.html">Module</a></td><td><code> [virtual]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:12 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:12 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classModule.html b/docs/module-doc/classModule.html index deef06e8c..5a348e263 100644 --- a/docs/module-doc/classModule.html +++ b/docs/module-doc/classModule.html @@ -302,7 +302,7 @@ Default constructor Creates a module class. </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00307">307</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00307"></a>00307 { } +Definition at line <a class="el" href="modules_8cpp-source.html#l00301">301</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00301"></a>00301 { } </pre></div> <p> </td> @@ -336,7 +336,7 @@ Default destructor destroys a module class. <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00308">308</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00308"></a>00308 { } +Definition at line <a class="el" href="modules_8cpp-source.html#l00302">302</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00302"></a>00302 { } </pre></div> <p> </td> @@ -371,9 +371,9 @@ Returns the version number of a Module. <p> The method should return a <a class="el" href="classVersion.html">Version</a> object with its version information assigned via <a class="el" href="classVersion.html#Version_28int_20major_2C_20int_20minor_2C_20int_20revision_2C_20int_20build_2C_20int_20flags_29">Version::Version</a> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00321">321</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#l00313">313</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l00053">VF_VENDOR</a>.<div class="fragment"><pre class="fragment"><a name="l00321"></a>00321 { <span class="keywordflow">return</span> <a class="code" href="classVersion.html">Version</a>(1,0,0,0,<a class="code" href="modules_8h.html#VF_5FVENDOR">VF_VENDOR</a>); } +References <a class="el" href="modules_8h-source.html#l00053">VF_VENDOR</a>.<div class="fragment"><pre class="fragment"><a name="l00313"></a>00313 { <span class="keywordflow">return</span> <a class="code" href="classVersion.html">Version</a>(1,0,0,0,<a class="code" href="modules_8h.html#VF_5FVENDOR">VF_VENDOR</a>); } </pre></div> <p> </td> @@ -413,7 +413,7 @@ The module should modify the 005 numeric if needed to indicate its features. <dl </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00331">331</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00331"></a>00331 { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00323">323</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00323"></a>00323 { }; </pre></div> <p> </td> @@ -488,9 +488,9 @@ This function is called before many functions which check a users status on a ch </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00330">330</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00322">322</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l00037">ACR_DEFAULT</a>.<div class="fragment"><pre class="fragment"><a name="l00330"></a>00330 { <span class="keywordflow">return</span> <a class="code" href="modules_8h.html#ACR_5FDEFAULT">ACR_DEFAULT</a>; }; +References <a class="el" href="modules_8h-source.html#l00037">ACR_DEFAULT</a>.<div class="fragment"><pre class="fragment"><a name="l00322"></a>00322 { <span class="keywordflow">return</span> <a class="code" href="modules_8h.html#ACR_5FDEFAULT">ACR_DEFAULT</a>; }; </pre></div> <p> </td> @@ -548,7 +548,7 @@ Return a non-zero value to 'eat' the mode change and prevent the ban from being <dl compact><dt><b>Returns:</b></dt><dd>1 to block the ban, 0 to continue as normal</dd></dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00356">356</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00356"></a>00356 { <span class="keywordflow">return</span> 0; }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00348">348</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00348"></a>00348 { <span class="keywordflow">return</span> 0; }; </pre></div> <p> </td> @@ -612,7 +612,7 @@ This method is triggered after the line is added. <dl compact><dt><b>Parameters: </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00382">382</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00382"></a>00382 { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00374">374</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00374"></a>00374 { }; </pre></div> <p> </td> @@ -676,7 +676,7 @@ This method is triggered after the line is added. <dl compact><dt><b>Parameters: </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00378">378</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00378"></a>00378 { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00370">370</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00370"></a>00370 { }; </pre></div> <p> </td> @@ -740,7 +740,7 @@ This method is triggered after the line is added. <dl compact><dt><b>Parameters: </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00380">380</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00380"></a>00380 { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00372">372</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00372"></a>00372 { }; </pre></div> <p> </td> @@ -804,7 +804,7 @@ This method is triggered after the line is added. <dl compact><dt><b>Parameters: </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00381">381</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00381"></a>00381 { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00373">373</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00373"></a>00373 { }; </pre></div> <p> </td> @@ -868,7 +868,7 @@ This method is triggered after the line is added. <dl compact><dt><b>Parameters: </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00379">379</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00379"></a>00379 { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00371">371</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00371"></a>00371 { }; </pre></div> <p> </td> @@ -908,7 +908,7 @@ This timer can be used to control timed features. Its period is not accurate eno </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00335">335</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00335"></a>00335 { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00327">327</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00327"></a>00327 { }; </pre></div> <p> </td> @@ -958,7 +958,7 @@ This event triggers after the host has been set. <dl compact><dt><b>Parameters:< </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00376">376</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00376"></a>00376 { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00368">368</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00368"></a>00368 { }; </pre></div> <p> </td> @@ -1009,7 +1009,7 @@ return 1 to deny the name change, or 0 to allow it. <dl compact><dt><b>Parameter <dl compact><dt><b>Returns:</b></dt><dd>1 to deny the GECOS change, 0 to allow</dd></dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00349">349</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00349"></a>00349 { <span class="keywordflow">return</span> 0; }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00341">341</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00341"></a>00341 { <span class="keywordflow">return</span> 0; }; </pre></div> <p> </td> @@ -1060,7 +1060,7 @@ Return 1 to deny the host change, or 0 to allow it. <dl compact><dt><b>Parameter <dl compact><dt><b>Returns:</b></dt><dd>1 to deny the host change, 0 to allow</dd></dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00348">348</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00348"></a>00348 { <span class="keywordflow">return</span> 0; }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00340">340</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00340"></a>00340 { <span class="keywordflow">return</span> 0; }; </pre></div> <p> </td> @@ -1110,7 +1110,7 @@ This event triggers after the name has been set. <dl compact><dt><b>Parameters:< </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00377">377</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00377"></a>00377 { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00369">369</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00369"></a>00369 { }; </pre></div> <p> </td> @@ -1161,7 +1161,7 @@ This method will always be called for each join, wether or not the user actually <dl compact><dt><b>Returns:</b></dt><dd>1 to explicitly allow the join, 0 to proceed as normal</dd></dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00346">346</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00346"></a>00346 { <span class="keywordflow">return</span> 0; }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00338">338</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00338"></a>00338 { <span class="keywordflow">return</span> 0; }; </pre></div> <p> </td> @@ -1212,7 +1212,7 @@ This method will always be called for each join, wether or not the channel is ac <dl compact><dt><b>Returns:</b></dt><dd>1 to explicitly allow the join, 0 to proceed as normal</dd></dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00343">343</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00343"></a>00343 { <span class="keywordflow">return</span> 0; }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00335">335</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00335"></a>00335 { <span class="keywordflow">return</span> 0; }; </pre></div> <p> </td> @@ -1269,7 +1269,7 @@ This method will always be called for each join, wether or not the channel is ac <dl compact><dt><b>Returns:</b></dt><dd>1 to explicitly allow the join, 0 to proceed as normal</dd></dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00344">344</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00344"></a>00344 { <span class="keywordflow">return</span> 0; }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00336">336</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00336"></a>00336 { <span class="keywordflow">return</span> 0; }; </pre></div> <p> </td> @@ -1320,7 +1320,7 @@ This method will always be called for each join, wether or not the channel is ac <dl compact><dt><b>Returns:</b></dt><dd>1 to explicitly allow the join, 0 to proceed as normal</dd></dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00345">345</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00345"></a>00345 { <span class="keywordflow">return</span> 0; }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00337">337</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00337"></a>00337 { <span class="keywordflow">return</span> 0; }; </pre></div> <p> </td> @@ -1361,7 +1361,7 @@ For example a module which implements ident lookups will continue to return fals <dl compact><dt><b>Returns:</b></dt><dd>true to indicate readiness, false if otherwise</dd></dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00338">338</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00338"></a>00338 { <span class="keywordflow">return</span> <span class="keyword">true</span>; }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00330">330</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00330"></a>00330 { <span class="keywordflow">return</span> <span class="keyword">true</span>; }; </pre></div> <p> </td> @@ -1411,7 +1411,7 @@ This method is called once for every user and channel on the network, so that wh </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00388">388</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00388"></a>00388 { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00380">380</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00380"></a>00380 { }; </pre></div> <p> </td> @@ -1475,7 +1475,7 @@ Please see src/modules/m_swhois.cpp for a working example of how to use this met </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00373">373</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00373"></a>00373 { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00365">365</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00365"></a>00365 { }; </pre></div> <p> </td> @@ -1533,7 +1533,7 @@ Return a non-zero value to 'eat' the mode change and prevent the ban from being <dl compact><dt><b>Returns:</b></dt><dd>1 to block the unban, 0 to continue as normal</dd></dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00357">357</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00357"></a>00357 { <span class="keywordflow">return</span> 0; }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00349">349</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00349"></a>00349 { <span class="keywordflow">return</span> 0; }; </pre></div> <p> </td> @@ -1583,7 +1583,7 @@ This method is triggered after the line is deleted. <dl compact><dt><b>Parameter </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00387">387</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00387"></a>00387 { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00379">379</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00379"></a>00379 { }; </pre></div> <p> </td> @@ -1633,7 +1633,7 @@ This method is triggered after the line is deleted. <dl compact><dt><b>Parameter </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00383">383</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00383"></a>00383 { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00375">375</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00375"></a>00375 { }; </pre></div> <p> </td> @@ -1683,7 +1683,7 @@ This method is triggered after the line is deleted. <dl compact><dt><b>Parameter </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00385">385</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00385"></a>00385 { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00377">377</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00377"></a>00377 { }; </pre></div> <p> </td> @@ -1733,7 +1733,7 @@ This method is triggered after the line is deleted. <dl compact><dt><b>Parameter </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00386">386</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00386"></a>00386 { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00378">378</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00378"></a>00378 { }; </pre></div> <p> </td> @@ -1783,7 +1783,7 @@ This method is triggered after the line is deleted. <dl compact><dt><b>Parameter </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00384">384</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00384"></a>00384 { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00376">376</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00376"></a>00376 { }; </pre></div> <p> </td> @@ -1823,7 +1823,7 @@ Please see the documentation of <a class="el" href="classEvent.html#Send_28_29"> </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00351">351</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00351"></a>00351 { <span class="keywordflow">return</span>; }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00343">343</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00343"></a>00343 { <span class="keywordflow">return</span>; }; </pre></div> <p> </td> @@ -1901,7 +1901,7 @@ The type parameter is MT_SERVER, MT_CLIENT or MT_CHANNEL, dependent on where the </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00319">319</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00319"></a>00319 { <span class="keywordflow">return</span> <span class="keyword">false</span>; } +Definition at line <a class="el" href="modules_8cpp-source.html#l00311">311</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00311"></a>00311 { <span class="keywordflow">return</span> <span class="keyword">false</span>; } </pre></div> <p> </td> @@ -1951,7 +1951,7 @@ You may change or define the description given in <a class="el" href="namespacei </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00367">367</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00367"></a>00367 { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00359">359</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00359"></a>00359 { }; </pre></div> <p> </td> @@ -1991,7 +1991,7 @@ This event is informational only. You should not change any user information in </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00355">355</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00355"></a>00355 { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00347">347</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00347"></a>00347 { }; </pre></div> <p> </td> @@ -2031,7 +2031,7 @@ You cannot override this and prevent it from happening as it is already happened </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00354">354</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00354"></a>00354 { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00346">346</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00346"></a>00346 { }; </pre></div> <p> </td> @@ -2073,7 +2073,7 @@ The userrec will contain the information of the user who typed the command. Modu </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00323">323</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00323"></a>00323 { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00315">315</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00315"></a>00315 { }; </pre></div> <p> </td> @@ -2131,7 +2131,7 @@ If a client is killed by a server, e.g. a nickname collision or protocol error, <dl compact><dt><b>Returns:</b></dt><dd>1 to prevent the kill, 0 to allow</dd></dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00332">332</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00332"></a>00332 { <span class="keywordflow">return</span> 0; }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00324">324</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00324"></a>00324 { <span class="keywordflow">return</span> 0; }; </pre></div> <p> </td> @@ -2181,7 +2181,7 @@ mod will contain a pointer to the module, and string will contain its name, for </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00333">333</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00333"></a>00333 { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00325">325</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00325"></a>00325 { }; </pre></div> <p> </td> @@ -2239,7 +2239,7 @@ Return 1 to deny the topic change, or 0 to allow it. <dl compact><dt><b>Paramete </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00350">350</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00350"></a>00350 { <span class="keywordflow">return</span> 0; }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00342">342</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00342"></a>00342 { <span class="keywordflow">return</span> 0; }; </pre></div> <p> </td> @@ -2303,7 +2303,7 @@ The text variable contains the remainder of the mode string after the target, e. </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00320">320</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00320"></a>00320 { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00312">312</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00312"></a>00312 { }; </pre></div> <p> </td> @@ -2353,7 +2353,7 @@ The userrec will contain the oper mode 'o' as this function is called after any </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00322">322</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00322"></a>00322 { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00314">314</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00314"></a>00314 { }; </pre></div> <p> </td> @@ -2404,7 +2404,7 @@ The password field (from the config file) is in 'password' and is to be compared <dl compact><dt><b>Returns:</b></dt><dd>1 to match the passwords, 0 to do nothing</dd></dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00353">353</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00353"></a>00353 { <span class="keywordflow">return</span> 0; }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00345">345</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00345"></a>00345 { <span class="keywordflow">return</span> 0; }; </pre></div> <p> </td> @@ -2461,7 +2461,7 @@ To block topic changes you must use OnLocalTopicChange instead. <dl compact><dt> </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00366">366</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00366"></a>00366 { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00358">358</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00358"></a>00358 { }; </pre></div> <p> </td> @@ -2526,7 +2526,7 @@ This event occurs for all registered commands, wether they are registered in the <dl compact><dt><b>Returns:</b></dt><dd>1 to block the command, 0 to allow</dd></dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00337">337</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00337"></a>00337 { <span class="keywordflow">return</span> 0; }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00329">329</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00329"></a>00329 { <span class="keywordflow">return</span> 0; }; </pre></div> <p> </td> @@ -2605,7 +2605,7 @@ Return 1 from this function to block the mode character from being processed ent <dl compact><dt><b>Returns:</b></dt><dd>1 to deny the mode, 0 to allow</dd></dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00342">342</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00342"></a>00342 { <span class="keywordflow">return</span> 0; }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00334">334</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00334"></a>00334 { <span class="keywordflow">return</span> 0; }; </pre></div> <p> </td> @@ -2662,7 +2662,7 @@ This is intended for raw socket processing (e.g. modules which wrap the tcp conn </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00358">358</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00358"></a>00358 { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00350">350</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00350"></a>00350 { }; </pre></div> <p> </td> @@ -2702,7 +2702,7 @@ When this event is called, shutdown() has not yet been called on the socket. <dl </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00360">360</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00360"></a>00360 { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00352">352</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00352"></a>00352 { }; </pre></div> <p> </td> @@ -2767,7 +2767,7 @@ This occurs AFTER the select() or poll() so there is always data waiting to be r <dl compact><dt><b>Returns:</b></dt><dd>nonzero if the event was handled, in which case readresult must be valid on exit</dd></dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00361">361</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00361"></a>00361 { <span class="keywordflow">return</span> 0; }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00353">353</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00353"></a>00353 { <span class="keywordflow">return</span> 0; }; </pre></div> <p> </td> @@ -2825,7 +2825,7 @@ Because this event is a low level event no user information is associated with i <dl compact><dt><b>Returns:</b></dt><dd>Number of characters actually written or 0 if you didn't handle the operation</dd></dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00359">359</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00359"></a>00359 { <span class="keywordflow">return</span> 0; }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00351">351</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00351"></a>00351 { <span class="keywordflow">return</span> 0; }; </pre></div> <p> </td> @@ -2865,7 +2865,7 @@ This method is called prior to a /REHASH or when a SIGHUP is received from the o </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00316">316</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00316"></a>00316 { } +Definition at line <a class="el" href="modules_8cpp-source.html#l00308">308</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00308"></a>00308 { } </pre></div> <p> </td> @@ -2922,7 +2922,7 @@ Called when an oper wants to disconnect a remote user via KILL. </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00364">364</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00364"></a>00364 { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00356">356</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00356"></a>00356 { }; </pre></div> <p> </td> @@ -2962,9 +2962,9 @@ Please see the documentation of <a class="el" href="classRequest.html#Send_28_29 </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00352">352</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#l00344">344</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00269">Request::Send()</a>.<div class="fragment"><pre class="fragment"><a name="l00352"></a>00352 { <span class="keywordflow">return</span> NULL; }; +Referenced by <a class="el" href="modules_8cpp-source.html#l00263">Request::Send()</a>.<div class="fragment"><pre class="fragment"><a name="l00344"></a>00344 { <span class="keywordflow">return</span> NULL; }; </pre></div> <p> </td> @@ -3021,7 +3021,7 @@ For example, when a /MODE channel +b (without any other parameters) is called, i </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00336">336</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00336"></a>00336 { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00328">328</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00328"></a>00328 { }; </pre></div> <p> </td> @@ -3078,7 +3078,7 @@ This method is the lowest level of handler available to a module. It will be cal </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00317">317</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00317"></a>00317 { } +Definition at line <a class="el" href="modules_8cpp-source.html#l00309">309</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00309"></a>00309 { } </pre></div> <p> </td> @@ -3118,7 +3118,7 @@ Called on all /STATS commands This method is triggered for all /STATS use, inclu </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00347">347</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00347"></a>00347 { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00339">339</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00339"></a>00339 { }; </pre></div> <p> </td> @@ -3177,7 +3177,7 @@ For a good example of how to use this function, please see src/modules/m_chanpro </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00369">369</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00369"></a>00369 { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00361">361</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00361"></a>00361 { }; </pre></div> <p> </td> @@ -3231,7 +3231,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00369">369</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00371">371</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00371"></a>00371 { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00363">363</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00363"></a>00363 { }; </pre></div> <p> </td> @@ -3288,7 +3288,7 @@ When this function is called, it will be called from the module which implements </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00368">368</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00368"></a>00368 { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00360">360</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00360"></a>00360 { }; </pre></div> <p> </td> @@ -3342,7 +3342,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00368">368</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00372">372</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00372"></a>00372 { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00364">364</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00364"></a>00364 { }; </pre></div> <p> </td> @@ -3392,7 +3392,7 @@ mod will contain a pointer to the module, and string will contain its name, for </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00334">334</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00334"></a>00334 { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00326">326</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00326"></a>00326 { }; </pre></div> <p> </td> @@ -3432,7 +3432,7 @@ The details of the connecting user are available to you in the parameter userrec </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00309">309</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00309"></a>00309 { } +Definition at line <a class="el" href="modules_8cpp-source.html#l00303">303</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00303"></a>00303 { } </pre></div> <p> </td> @@ -3472,7 +3472,7 @@ The details of the exiting user are available to you in the parameter userrec *u </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00311">311</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00311"></a>00311 { } +Definition at line <a class="el" href="modules_8cpp-source.html#l00305">305</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00305"></a>00305 { } </pre></div> <p> </td> @@ -3529,7 +3529,7 @@ You cannot prevent the invite from occuring using this function, to do that, use </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00365">365</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00365"></a>00365 { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00357">357</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00357"></a>00357 { }; </pre></div> <p> </td> @@ -3579,7 +3579,7 @@ The details of the joining user are available to you in the parameter userrec *u </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00312">312</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00312"></a>00312 { } +Definition at line <a class="el" href="modules_8cpp-source.html#l00306">306</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00306"></a>00306 { } </pre></div> <p> </td> @@ -3643,7 +3643,7 @@ If this method is called, the kick is already underway and cannot be prevented, </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00341">341</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00341"></a>00341 { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00333">333</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00333"></a>00333 { }; </pre></div> <p> </td> @@ -3707,7 +3707,7 @@ The dest variable contains a userrec* if target_type is TYPE_USER and a chanrec* </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00362">362</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00362"></a>00362 { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00354">354</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00354"></a>00354 { }; </pre></div> <p> </td> @@ -3771,7 +3771,7 @@ The dest variable contains a userrec* if target_type is TYPE_USER and a chanrec* </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00363">363</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00363"></a>00363 { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00355">355</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00355"></a>00355 { }; </pre></div> <p> </td> @@ -3821,7 +3821,7 @@ The details of the leaving user are available to you in the parameter userrec *u </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00313">313</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00313"></a>00313 { } +Definition at line <a class="el" href="modules_8cpp-source.html#l00307">307</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00307"></a>00307 { } </pre></div> <p> </td> @@ -3871,7 +3871,7 @@ This can be used to track users after nickchanges have been applied. Please note </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00329">329</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00329"></a>00329 { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00321">321</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00321"></a>00321 { }; </pre></div> <p> </td> @@ -3929,7 +3929,7 @@ Returning 1 from this function stops the process immediately, causing no output <dl compact><dt><b>Returns:</b></dt><dd>1 to deny the invite, 0 to allow</dd></dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00325">325</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00325"></a>00325 { <span class="keywordflow">return</span> 0; }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00317">317</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00317"></a>00317 { <span class="keywordflow">return</span> 0; }; </pre></div> <p> </td> @@ -3988,7 +3988,7 @@ If the user joins a NEW channel which does not exist yet, OnUserPreJoin will be <dl compact><dt><b>Returns:</b></dt><dd>1 To prevent the join, 0 to allow it.</dd></dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00318">318</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00318"></a>00318 { <span class="keywordflow">return</span> 0; } +Definition at line <a class="el" href="modules_8cpp-source.html#l00310">310</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00310"></a>00310 { <span class="keywordflow">return</span> 0; } </pre></div> <p> </td> @@ -4053,7 +4053,7 @@ Returning a value of 1 from this function stops the process immediately, causing <dl compact><dt><b>Returns:</b></dt><dd>1 to prevent the kick, 0 to allow it</dd></dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00340">340</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00340"></a>00340 { <span class="keywordflow">return</span> 0; }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00332">332</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00332"></a>00332 { <span class="keywordflow">return</span> 0; }; </pre></div> <p> </td> @@ -4118,7 +4118,7 @@ Returning any nonzero value from this function stops the process immediately, ca <dl compact><dt><b>Returns:</b></dt><dd>1 to deny the NOTICE, 0 to allow it</dd></dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00326">326</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00326"></a>00326 { <span class="keywordflow">return</span> 0; }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00318">318</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00318"></a>00318 { <span class="keywordflow">return</span> 0; }; </pre></div> <p> </td> @@ -4169,7 +4169,7 @@ This can be used to implement Q-lines etc. Please note that although you can see <dl compact><dt><b>Returns:</b></dt><dd>1 to deny the change, 0 to allow</dd></dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00328">328</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00328"></a>00328 { <span class="keywordflow">return</span> 0; }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00320">320</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00320"></a>00320 { <span class="keywordflow">return</span> 0; }; </pre></div> <p> </td> @@ -4234,7 +4234,7 @@ Returning any nonzero value from this function stops the process immediately, ca <dl compact><dt><b>Returns:</b></dt><dd>1 to deny the NOTICE, 0 to allow it</dd></dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00327">327</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00327"></a>00327 { <span class="keywordflow">return</span> 0; }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00319">319</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00319"></a>00319 { <span class="keywordflow">return</span> 0; }; </pre></div> <p> </td> @@ -4284,7 +4284,7 @@ The details of the exiting user are available to you in the parameter userrec *u </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00310">310</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00310"></a>00310 { } +Definition at line <a class="el" href="modules_8cpp-source.html#l00304">304</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00304"></a>00304 { } </pre></div> <p> </td> @@ -4324,7 +4324,7 @@ before the user is sent the MOTD etc). Modules can use this method if they are p </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00339">339</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00339"></a>00339 { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00331">331</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00331"></a>00331 { }; </pre></div> <p> </td> @@ -4374,7 +4374,7 @@ Called after every WALLOPS command. </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00375">375</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00375"></a>00375 { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00367">367</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00367"></a>00367 { }; </pre></div> <p> </td> @@ -4424,7 +4424,7 @@ The source parameter contains the details of the user who issued the WHOIS comma </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00324">324</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00324"></a>00324 { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00316">316</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00316"></a>00316 { }; </pre></div> <p> </td> @@ -4496,7 +4496,7 @@ More documentation to follow soon. Please see src/modules/m_swhois.cpp for examp </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00374">374</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00374"></a>00374 { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00366">366</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00366"></a>00366 { }; </pre></div> <p> </td> @@ -4562,7 +4562,7 @@ More documentation to follow soon. Please see src/modules/m_chanprotect.cpp for </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00370">370</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00370"></a>00370 { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00362">362</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00362"></a>00362 { }; </pre></div> <p> </td> @@ -4570,7 +4570,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00370">370</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 size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:12 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:12 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classModuleFactory-members.html b/docs/module-doc/classModuleFactory-members.html index 3fe0642ed..04ca15310 100644 --- a/docs/module-doc/classModuleFactory-members.html +++ b/docs/module-doc/classModuleFactory-members.html @@ -12,7 +12,7 @@ <tr class="memlist"><td><a class="el" href="classModuleFactory.html#ModuleFactory_28_29">ModuleFactory</a>()</td><td><a class="el" href="classModuleFactory.html">ModuleFactory</a></td><td><code> [inline]</code></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#_7Eclassbase_28_29">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr class="memlist"><td><a class="el" href="classModuleFactory.html#_7EModuleFactory_28_29">~ModuleFactory</a>()</td><td><a class="el" href="classModuleFactory.html">ModuleFactory</a></td><td><code> [inline, virtual]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:12 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:12 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classModuleFactory.html b/docs/module-doc/classModuleFactory.html index a3dc0a079..60b8b4c16 100644 --- a/docs/module-doc/classModuleFactory.html +++ b/docs/module-doc/classModuleFactory.html @@ -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 size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:12 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:12 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classModuleMessage-members.html b/docs/module-doc/classModuleMessage-members.html index 96103b242..a86d9fcd3 100644 --- a/docs/module-doc/classModuleMessage-members.html +++ b/docs/module-doc/classModuleMessage-members.html @@ -11,7 +11,7 @@ <tr class="memlist"><td><a class="el" href="classModuleMessage.html#Send_28_29_3D_30">Send</a>()=0</td><td><a class="el" href="classModuleMessage.html">ModuleMessage</a></td><td><code> [pure virtual]</code></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#_7Eclassbase_28_29">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr class="memlist"><td><a class="el" href="classModuleMessage.html#_7EModuleMessage_28_29">~ModuleMessage</a>()</td><td><a class="el" href="classModuleMessage.html">ModuleMessage</a></td><td><code> [inline, virtual]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:12 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:12 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classModuleMessage.html b/docs/module-doc/classModuleMessage.html index 1b6c1eb90..07ad51beb 100644 --- a/docs/module-doc/classModuleMessage.html +++ b/docs/module-doc/classModuleMessage.html @@ -101,7 +101,7 @@ Implemented in <a class="el" href="classRequest.html#Send_28_29">Request</a>, an </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 size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:12 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:12 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classQLine-members.html b/docs/module-doc/classQLine-members.html index 67f8cba88..9a56b349d 100644 --- a/docs/module-doc/classQLine-members.html +++ b/docs/module-doc/classQLine-members.html @@ -16,7 +16,7 @@ <tr class="memlist"><td><a class="el" href="classXLine.html#set_5Ftime">set_time</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classXLine.html#source_5B_32_35_36_5D">source</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#_7Eclassbase_28_29">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:12 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:12 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classQLine.html b/docs/module-doc/classQLine.html index 6e7bb430e..1cab68e0e 100644 --- a/docs/module-doc/classQLine.html +++ b/docs/module-doc/classQLine.html @@ -92,7 +92,7 @@ Definition at line <a class="el" href="xline_8h-source.html#l00114">114</a> of f </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 size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:12 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:12 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classRequest-members.html b/docs/module-doc/classRequest-members.html index 6eb061050..3d098099c 100644 --- a/docs/module-doc/classRequest-members.html +++ b/docs/module-doc/classRequest-members.html @@ -18,7 +18,7 @@ <tr class="memlist"><td><a class="el" href="classRequest.html#source">source</a></td><td><a class="el" href="classRequest.html">Request</a></td><td><code> [protected]</code></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#_7Eclassbase_28_29">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr class="memlist"><td><a class="el" href="classModuleMessage.html#_7EModuleMessage_28_29">~ModuleMessage</a>()</td><td><a class="el" href="classModuleMessage.html">ModuleMessage</a></td><td><code> [inline, virtual]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:12 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:12 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classRequest.html b/docs/module-doc/classRequest.html index 8eb92ac45..0e57a5886 100644 --- a/docs/module-doc/classRequest.html +++ b/docs/module-doc/classRequest.html @@ -102,7 +102,7 @@ Create a new Request. <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00252">252</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00252"></a>00252 : <a class="code" href="classRequest.html#data">data</a>(anydata), <a class="code" href="classRequest.html#source">source</a>(src), <a class="code" href="classRequest.html#dest">dest</a>(dst) { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00246">246</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00246"></a>00246 : <a class="code" href="classRequest.html#data">data</a>(anydata), <a class="code" href="classRequest.html#source">source</a>(src), <a class="code" href="classRequest.html#dest">dest</a>(dst) { }; </pre></div> <p> </td> @@ -137,11 +137,11 @@ Fetch the Request data. <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00254">254</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00248">248</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l00162">data</a>.<div class="fragment"><pre class="fragment"><a name="l00255"></a>00255 { -<a name="l00256"></a>00256 <span class="keywordflow">return</span> this-><a class="code" href="classRequest.html#data">data</a>; -<a name="l00257"></a>00257 } +References <a class="el" href="modules_8h-source.html#l00162">data</a>.<div class="fragment"><pre class="fragment"><a name="l00249"></a>00249 { +<a name="l00250"></a>00250 <span class="keywordflow">return</span> this-><a class="code" href="classRequest.html#data">data</a>; +<a name="l00251"></a>00251 } </pre></div> <p> </td> @@ -175,11 +175,11 @@ Fetch the request destination (should be 'this' in the receiving module). <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00264">264</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#l00258">258</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l00169">dest</a>.<div class="fragment"><pre class="fragment"><a name="l00265"></a>00265 { -<a name="l00266"></a>00266 <span class="keywordflow">return</span> this-><a class="code" href="classRequest.html#dest">dest</a>; -<a name="l00267"></a>00267 } +References <a class="el" href="modules_8h-source.html#l00169">dest</a>.<div class="fragment"><pre class="fragment"><a name="l00259"></a>00259 { +<a name="l00260"></a>00260 <span class="keywordflow">return</span> this-><a class="code" href="classRequest.html#dest">dest</a>; +<a name="l00261"></a>00261 } </pre></div> <p> </td> @@ -213,11 +213,11 @@ Fetch the request source. <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00259">259</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#l00253">253</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l00166">source</a>.<div class="fragment"><pre class="fragment"><a name="l00260"></a>00260 { -<a name="l00261"></a>00261 <span class="keywordflow">return</span> this-><a class="code" href="classRequest.html#source">source</a>; -<a name="l00262"></a>00262 } +References <a class="el" href="modules_8h-source.html#l00166">source</a>.<div class="fragment"><pre class="fragment"><a name="l00254"></a>00254 { +<a name="l00255"></a>00255 <span class="keywordflow">return</span> this-><a class="code" href="classRequest.html#source">source</a>; +<a name="l00256"></a>00256 } </pre></div> <p> </td> @@ -253,18 +253,18 @@ Upon returning the result will be arbitary data returned by the module you sent <p> Implements <a class="el" href="classModuleMessage.html#Send_28_29_3D_30">ModuleMessage</a>. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00269">269</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. -<p> -References <a class="el" href="modules_8h-source.html#l00169">dest</a>, and <a class="el" href="modules_8cpp-source.html#l00352">Module::OnRequest()</a>.<div class="fragment"><pre class="fragment"><a name="l00270"></a>00270 { -<a name="l00271"></a>00271 <span class="keywordflow">if</span> (this->dest) -<a name="l00272"></a>00272 { -<a name="l00273"></a>00273 <span class="keywordflow">return</span> <a class="code" href="classRequest.html#dest">dest</a>-><a class="code" href="classModule.html#OnRequest_28Request_20_2Arequest_29">OnRequest</a>(<span class="keyword">this</span>); -<a name="l00274"></a>00274 } -<a name="l00275"></a>00275 <span class="keywordflow">else</span> -<a name="l00276"></a>00276 { -<a name="l00277"></a>00277 <span class="keywordflow">return</span> NULL; -<a name="l00278"></a>00278 } -<a name="l00279"></a>00279 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00263">263</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="modules_8h-source.html#l00169">dest</a>, and <a class="el" href="modules_8cpp-source.html#l00344">Module::OnRequest()</a>.<div class="fragment"><pre class="fragment"><a name="l00264"></a>00264 { +<a name="l00265"></a>00265 <span class="keywordflow">if</span> (this->dest) +<a name="l00266"></a>00266 { +<a name="l00267"></a>00267 <span class="keywordflow">return</span> <a class="code" href="classRequest.html#dest">dest</a>-><a class="code" href="classModule.html#OnRequest_28Request_20_2Arequest_29">OnRequest</a>(<span class="keyword">this</span>); +<a name="l00268"></a>00268 } +<a name="l00269"></a>00269 <span class="keywordflow">else</span> +<a name="l00270"></a>00270 { +<a name="l00271"></a>00271 <span class="keywordflow">return</span> NULL; +<a name="l00272"></a>00272 } +<a name="l00273"></a>00273 } </pre></div> <p> </td> @@ -297,7 +297,7 @@ This member holds a pointer to arbitary data set by the emitter of the message. <p> Definition at line <a class="el" href="modules_8h-source.html#l00162">162</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#l00254">GetData()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00248">GetData()</a>. </td> </tr> </table> <a class="anchor" name="dest"></a><!-- doxytag: member="Request::dest" ref="dest" args="" --><p> @@ -326,7 +326,7 @@ The single destination of the Request. <p> Definition at line <a class="el" href="modules_8h-source.html#l00169">169</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#l00264">GetDest()</a>, and <a class="el" href="modules_8cpp-source.html#l00269">Send()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00258">GetDest()</a>, and <a class="el" href="modules_8cpp-source.html#l00263">Send()</a>. </td> </tr> </table> <a class="anchor" name="source"></a><!-- doxytag: member="Request::source" ref="source" args="" --><p> @@ -355,12 +355,12 @@ This is a pointer to the sender of the message, which can be used to directly tr <p> Definition at line <a class="el" href="modules_8h-source.html#l00166">166</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#l00259">GetSource()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00253">GetSource()</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 size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:12 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:12 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classServer-members.html b/docs/module-doc/classServer-members.html index 1482d4be1..3486a74c3 100644 --- a/docs/module-doc/classServer-members.html +++ b/docs/module-doc/classServer-members.html @@ -67,7 +67,7 @@ <tr class="memlist"><td><a class="el" href="classServer.html#UserToPseudo_28userrec_20_2Auser_2C_20std_3A_3Astring_20message_29">UserToPseudo</a>(userrec *user, std::string message)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#_7Eclassbase_28_29">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr class="memlist"><td><a class="el" href="classServer.html#_7EServer_28_29">~Server</a>()</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:13 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classServer.html b/docs/module-doc/classServer.html index f71644ac0..02d118d20 100644 --- a/docs/module-doc/classServer.html +++ b/docs/module-doc/classServer.html @@ -230,8 +230,8 @@ Default constructor. <p> Creates a Server object. <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>.<div class="fragment"><pre class="fragment"><a name="l00395"></a>00395 { -<a name="l00396"></a>00396 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00386">386</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00387"></a>00387 { +<a name="l00388"></a>00388 } </pre></div> <p> </td> @@ -265,8 +265,8 @@ Default destructor. <p> Destroys a Server object. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00398">398</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00399"></a>00399 { -<a name="l00400"></a>00400 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00390">390</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00391"></a>00391 { +<a name="l00392"></a>00392 } </pre></div> <p> </td> @@ -331,11 +331,11 @@ This allows modules to add extra commands into the command table. You must place typedef void (handlerfunc) (char**, int, userrec*); ... void <a class="el" href="commands_8h.html#handle_5Fkill_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">handle_kill(char **parameters, int pcnt, userrec *user)</a><p> When the command is typed, the parameters will be placed into the parameters array (similar to argv) and the parameter count will be placed into pcnt (similar to argv). There will never be any less parameters than the 'minparams' value you specified when creating the command. The *user parameter is the class of the user which caused the command to trigger, who will always have the flag you specified in 'flags' when creating the initial command. For example to create an oper only command create the commands with flags='o'. The source parameter is used for resource tracking, and should contain the name of your module (with file extension) e.g. "m_blarp.so". If you place the wrong identifier here, you can cause crashes if your module is unloaded. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00495">495</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#l00487">487</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h.html#createcommand_28char_20_2Acmd_2C_20handlerfunc_20f_2C_20char_20flags_2C_20int_20minparams_2C_20char_20_2Asource_29">createcommand()</a>.<div class="fragment"><pre class="fragment"><a name="l00496"></a>00496 { -<a name="l00497"></a>00497 <a class="code" href="modules_8h.html#createcommand_28char_20_2Acmd_2C_20handlerfunc_20f_2C_20char_20flags_2C_20int_20minparams_2C_20char_20_2Asource_29">createcommand</a>(cmd,f,flags,minparams,source); -<a name="l00498"></a>00498 } +References <a class="el" href="modules_8h.html#createcommand_28char_20_2Acmd_2C_20handlerfunc_20f_2C_20char_20flags_2C_20int_20minparams_2C_20char_20_2Asource_29">createcommand()</a>.<div class="fragment"><pre class="fragment"><a name="l00488"></a>00488 { +<a name="l00489"></a>00489 <a class="code" href="modules_8h.html#createcommand_28char_20_2Acmd_2C_20handlerfunc_20f_2C_20char_20flags_2C_20int_20minparams_2C_20char_20_2Asource_29">createcommand</a>(cmd,f,flags,minparams,source); +<a name="l00490"></a>00490 } </pre></div> <p> </td> @@ -391,11 +391,11 @@ Adds a E-line The E-line is enforced as soon as it is added. <p> The duration must be in seconds, however you can use the <a class="el" href="classServer.html#CalcDuration_28std_3A_3Astring_20duration_29">Server::CalcDuration</a> method to convert durations into the 1w2d3h3m6s format used by /GLINE etc. The source is an arbitary string used to indicate who or what sent the data, usually this is the nickname of a person, or a server name. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00758">758</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#l00731">731</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="xline_8h.html#add_5Feline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Ahostmask_29">add_eline()</a>.<div class="fragment"><pre class="fragment"><a name="l00759"></a>00759 { -<a name="l00760"></a>00760 <a class="code" href="xline_8h.html#add_5Feline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Ahostmask_29">add_eline</a>(<a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, source.c_str(), reason.c_str(), hostmask.c_str()); -<a name="l00761"></a>00761 } +References <a class="el" href="xline_8h.html#add_5Feline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Ahostmask_29">add_eline()</a>.<div class="fragment"><pre class="fragment"><a name="l00732"></a>00732 { +<a name="l00733"></a>00733 <a class="code" href="xline_8h.html#add_5Feline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Ahostmask_29">add_eline</a>(<a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, source.c_str(), reason.c_str(), hostmask.c_str()); +<a name="l00734"></a>00734 } </pre></div> <p> </td> @@ -435,14 +435,14 @@ This call is used to implement modes like +q and +a. The characteristics of thes (4) The mode and its parameter are NOT stored in the channels modes structure<p> It is down to the module handling the mode to maintain state and determine what 'items' (e.g. users, or a banlist) have the mode set on them, and process the modes at the correct times, e.g. during access checks on channels, etc. When the extended mode is triggered the OnExtendedMode method will be triggered as above. Note that the target you are given will be a channel, if for example your mode is set 'on a user' (in for example +a) you must use Server::Find to locate the user the mode is operating on. Your mode handler may return 1 to handle the mode AND tell the core to display the mode change, e.g. '+aaa one two three' in the case of the mode for 'two', or it may return -1 to 'eat' the mode change, so the above example would become '+aa one three' after processing. <p> -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>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00655">655</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8cpp-source.html#l00221">DoAddExtendedMode()</a>, <a class="el" href="modules_8cpp-source.html#l00231">ModeMakeList()</a>, and <a class="el" href="modules_8h-source.html#l00031">MT_CHANNEL</a>.<div class="fragment"><pre class="fragment"><a name="l00664"></a>00664 { -<a name="l00665"></a>00665 <span class="keywordtype">bool</span> res = <a class="code" href="modules_8cpp.html#DoAddExtendedMode_28char_20modechar_2C_20int_20type_2C_20bool_20requires_5Foper_2C_20int_20params_5Fon_2C_20int_20params_5Foff_29">DoAddExtendedMode</a>(modechar,<a class="code" href="modules_8h.html#MT_5FCHANNEL">MT_CHANNEL</a>,<span class="keyword">false</span>,1,1); -<a name="l00666"></a>00666 <span class="keywordflow">if</span> (res) -<a name="l00667"></a>00667 <a class="code" href="modules_8cpp.html#ModeMakeList_28char_20modechar_29">ModeMakeList</a>(modechar); -<a name="l00668"></a>00668 <span class="keywordflow">return</span> res; -<a name="l00669"></a>00669 } +References <a class="el" href="modules_8cpp-source.html#l00215">DoAddExtendedMode()</a>, <a class="el" href="modules_8cpp-source.html#l00225">ModeMakeList()</a>, and <a class="el" href="modules_8h-source.html#l00031">MT_CHANNEL</a>.<div class="fragment"><pre class="fragment"><a name="l00656"></a>00656 { +<a name="l00657"></a>00657 <span class="keywordtype">bool</span> res = <a class="code" href="modules_8cpp.html#DoAddExtendedMode_28char_20modechar_2C_20int_20type_2C_20bool_20requires_5Foper_2C_20int_20params_5Fon_2C_20int_20params_5Foff_29">DoAddExtendedMode</a>(modechar,<a class="code" href="modules_8h.html#MT_5FCHANNEL">MT_CHANNEL</a>,<span class="keyword">false</span>,1,1); +<a name="l00658"></a>00658 <span class="keywordflow">if</span> (res) +<a name="l00659"></a>00659 <a class="code" href="modules_8cpp.html#ModeMakeList_28char_20modechar_29">ModeMakeList</a>(modechar); +<a name="l00660"></a>00660 <span class="keywordflow">return</span> res; +<a name="l00661"></a>00661 } </pre></div> <p> </td> @@ -504,34 +504,34 @@ Adds an extended mode letter which is parsed by a module. <p> This allows modules to add extra mode letters, e.g. +x for hostcloak. the "type" parameter is either MT_CHANNEL, MT_CLIENT, or MT_SERVER, to indicate wether the mode is a channel mode, a client mode, or a server mode. requires_oper is used with MT_CLIENT type modes only to indicate the mode can only be set or unset by an oper. If this is used for MT_CHANNEL type modes it is ignored. params_when_on is the number of modes to expect when the mode is turned on (for type MT_CHANNEL only), e.g. with mode +k, this would have a value of 1. the params_when_off value has a similar value to params_when_on, except it indicates the number of parameters to expect when the mode is disabled. Modes which act in a similar way to channel mode +l (e.g. require a parameter to enable, but not to disable) should use this parameter. The function returns false if the mode is unavailable, and will not attempt to allocate another character, as this will confuse users. This also means that as only one module can claim a specific mode character, the core does not need to keep track of which modules own which modes, which speeds up operation of the server. In this version, a mode can have at most one parameter, attempting to use more parameters will have undefined effects. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00635">635</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. -<p> -References <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, <a class="el" href="modules_8cpp-source.html#l00221">DoAddExtendedMode()</a>, <a class="el" href="modules_8h-source.html#l00032">MT_CLIENT</a>, and <a class="el" href="modules_8h-source.html#l00033">MT_SERVER</a>.<div class="fragment"><pre class="fragment"><a name="l00636"></a>00636 { -<a name="l00637"></a>00637 <span class="keywordflow">if</span> (((modechar >= <span class="charliteral">'A'</span>) && (modechar <= <span class="charliteral">'Z'</span>)) || ((modechar >= <span class="charliteral">'a'</span>) && (modechar <= <span class="charliteral">'z'</span>))) -<a name="l00638"></a>00638 { -<a name="l00639"></a>00639 <span class="keywordflow">if</span> (type == <a class="code" href="modules_8h.html#MT_5FSERVER">MT_SERVER</a>) -<a name="l00640"></a>00640 { -<a name="l00641"></a>00641 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** Modes of type MT_SERVER are reserved for future expansion"</span>); -<a name="l00642"></a>00642 <span class="keywordflow">return</span> <span class="keyword">false</span>; -<a name="l00643"></a>00643 } -<a name="l00644"></a>00644 <span class="keywordflow">if</span> (((params_when_on>0) || (params_when_off>0)) && (type == <a class="code" href="modules_8h.html#MT_5FCLIENT">MT_CLIENT</a>)) -<a name="l00645"></a>00645 { -<a name="l00646"></a>00646 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** Parameters on MT_CLIENT modes are not supported"</span>); -<a name="l00647"></a>00647 <span class="keywordflow">return</span> <span class="keyword">false</span>; -<a name="l00648"></a>00648 } -<a name="l00649"></a>00649 <span class="keywordflow">if</span> ((params_when_on>1) || (params_when_off>1)) -<a name="l00650"></a>00650 { -<a name="l00651"></a>00651 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** More than one parameter for an MT_CHANNEL mode is not yet supported"</span>); -<a name="l00652"></a>00652 <span class="keywordflow">return</span> <span class="keyword">false</span>; -<a name="l00653"></a>00653 } -<a name="l00654"></a>00654 <span class="keywordflow">return</span> <a class="code" href="modules_8cpp.html#DoAddExtendedMode_28char_20modechar_2C_20int_20type_2C_20bool_20requires_5Foper_2C_20int_20params_5Fon_2C_20int_20params_5Foff_29">DoAddExtendedMode</a>(modechar,type,requires_oper,params_when_on,params_when_off); -<a name="l00655"></a>00655 } -<a name="l00656"></a>00656 <span class="keywordflow">else</span> -<a name="l00657"></a>00657 { -<a name="l00658"></a>00658 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** Muppet modechar detected."</span>); -<a name="l00659"></a>00659 } -<a name="l00660"></a>00660 <span class="keywordflow">return</span> <span class="keyword">false</span>; -<a name="l00661"></a>00661 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00627">627</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, <a class="el" href="modules_8cpp-source.html#l00215">DoAddExtendedMode()</a>, <a class="el" href="modules_8h-source.html#l00032">MT_CLIENT</a>, and <a class="el" href="modules_8h-source.html#l00033">MT_SERVER</a>.<div class="fragment"><pre class="fragment"><a name="l00628"></a>00628 { +<a name="l00629"></a>00629 <span class="keywordflow">if</span> (((modechar >= <span class="charliteral">'A'</span>) && (modechar <= <span class="charliteral">'Z'</span>)) || ((modechar >= <span class="charliteral">'a'</span>) && (modechar <= <span class="charliteral">'z'</span>))) +<a name="l00630"></a>00630 { +<a name="l00631"></a>00631 <span class="keywordflow">if</span> (type == <a class="code" href="modules_8h.html#MT_5FSERVER">MT_SERVER</a>) +<a name="l00632"></a>00632 { +<a name="l00633"></a>00633 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** Modes of type MT_SERVER are reserved for future expansion"</span>); +<a name="l00634"></a>00634 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00635"></a>00635 } +<a name="l00636"></a>00636 <span class="keywordflow">if</span> (((params_when_on>0) || (params_when_off>0)) && (type == <a class="code" href="modules_8h.html#MT_5FCLIENT">MT_CLIENT</a>)) +<a name="l00637"></a>00637 { +<a name="l00638"></a>00638 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** Parameters on MT_CLIENT modes are not supported"</span>); +<a name="l00639"></a>00639 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00640"></a>00640 } +<a name="l00641"></a>00641 <span class="keywordflow">if</span> ((params_when_on>1) || (params_when_off>1)) +<a name="l00642"></a>00642 { +<a name="l00643"></a>00643 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** More than one parameter for an MT_CHANNEL mode is not yet supported"</span>); +<a name="l00644"></a>00644 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00645"></a>00645 } +<a name="l00646"></a>00646 <span class="keywordflow">return</span> <a class="code" href="modules_8cpp.html#DoAddExtendedMode_28char_20modechar_2C_20int_20type_2C_20bool_20requires_5Foper_2C_20int_20params_5Fon_2C_20int_20params_5Foff_29">DoAddExtendedMode</a>(modechar,type,requires_oper,params_when_on,params_when_off); +<a name="l00647"></a>00647 } +<a name="l00648"></a>00648 <span class="keywordflow">else</span> +<a name="l00649"></a>00649 { +<a name="l00650"></a>00650 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** Muppet modechar detected."</span>); +<a name="l00651"></a>00651 } +<a name="l00652"></a>00652 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00653"></a>00653 } </pre></div> <p> </td> @@ -587,11 +587,11 @@ Adds a G-line The G-line is propogated to all of the servers in the mesh and enf <p> The duration must be in seconds, however you can use the <a class="el" href="classServer.html#CalcDuration_28std_3A_3Astring_20duration_29">Server::CalcDuration</a> method to convert durations into the 1w2d3h3m6s format used by /GLINE etc. The source is an arbitary string used to indicate who or what sent the data, usually this is the nickname of a person, or a server name. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00738">738</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#l00711">711</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="xline_8h.html#add_5Fgline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Ahostmask_29">add_gline()</a>.<div class="fragment"><pre class="fragment"><a name="l00739"></a>00739 { -<a name="l00740"></a>00740 <a class="code" href="xline_8h.html#add_5Fgline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Ahostmask_29">add_gline</a>(<a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, source.c_str(), reason.c_str(), hostmask.c_str()); -<a name="l00741"></a>00741 } +References <a class="el" href="xline_8h.html#add_5Fgline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Ahostmask_29">add_gline()</a>.<div class="fragment"><pre class="fragment"><a name="l00712"></a>00712 { +<a name="l00713"></a>00713 <a class="code" href="xline_8h.html#add_5Fgline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Ahostmask_29">add_gline</a>(<a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, source.c_str(), reason.c_str(), hostmask.c_str()); +<a name="l00714"></a>00714 } </pre></div> <p> </td> @@ -647,11 +647,11 @@ Adds a K-line The K-line is enforced as soon as it is added. <p> The duration must be in seconds, however you can use the <a class="el" href="classServer.html#CalcDuration_28std_3A_3Astring_20duration_29">Server::CalcDuration</a> method to convert durations into the 1w2d3h3m6s format used by /GLINE etc. The source is an arbitary string used to indicate who or what sent the data, usually this is the nickname of a person, or a server name. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00753">753</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#l00726">726</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="xline_8h.html#add_5Fkline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Ahostmask_29">add_kline()</a>.<div class="fragment"><pre class="fragment"><a name="l00754"></a>00754 { -<a name="l00755"></a>00755 <a class="code" href="xline_8h.html#add_5Fkline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Ahostmask_29">add_kline</a>(<a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, source.c_str(), reason.c_str(), hostmask.c_str()); -<a name="l00756"></a>00756 } +References <a class="el" href="xline_8h.html#add_5Fkline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Ahostmask_29">add_kline()</a>.<div class="fragment"><pre class="fragment"><a name="l00727"></a>00727 { +<a name="l00728"></a>00728 <a class="code" href="xline_8h.html#add_5Fkline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Ahostmask_29">add_kline</a>(<a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, source.c_str(), reason.c_str(), hostmask.c_str()); +<a name="l00729"></a>00729 } </pre></div> <p> </td> @@ -707,11 +707,11 @@ Adds a Q-line The Q-line is propogated to all of the servers in the mesh and enf <p> The duration must be in seconds, however you can use the <a class="el" href="classServer.html#CalcDuration_28std_3A_3Astring_20duration_29">Server::CalcDuration</a> method to convert durations into the 1w2d3h3m6s format used by /GLINE etc. The source is an arbitary string used to indicate who or what sent the data, usually this is the nickname of a person, or a server name. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00743">743</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#l00716">716</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="xline_8h.html#add_5Fqline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Anickname_29">add_qline()</a>.<div class="fragment"><pre class="fragment"><a name="l00744"></a>00744 { -<a name="l00745"></a>00745 <a class="code" href="xline_8h.html#add_5Fqline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Anickname_29">add_qline</a>(<a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, source.c_str(), reason.c_str(), nickname.c_str()); -<a name="l00746"></a>00746 } +References <a class="el" href="xline_8h.html#add_5Fqline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Anickname_29">add_qline()</a>.<div class="fragment"><pre class="fragment"><a name="l00717"></a>00717 { +<a name="l00718"></a>00718 <a class="code" href="xline_8h.html#add_5Fqline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Anickname_29">add_qline</a>(<a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, source.c_str(), reason.c_str(), nickname.c_str()); +<a name="l00719"></a>00719 } </pre></div> <p> </td> @@ -746,11 +746,11 @@ Adds a class derived from <a class="el" href="classInspSocket.html">InspSocket</ <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00402">402</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +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_8cpp.html#module_5Fsockets">module_sockets</a>.<div class="fragment"><pre class="fragment"><a name="l00403"></a>00403 { -<a name="l00404"></a>00404 <a class="code" href="modules_8cpp.html#module_5Fsockets">module_sockets</a>.push_back(sock); -<a name="l00405"></a>00405 } +References <a class="el" href="modules_8cpp.html#module_5Fsockets">module_sockets</a>.<div class="fragment"><pre class="fragment"><a name="l00395"></a>00395 { +<a name="l00396"></a>00396 <a class="code" href="modules_8cpp.html#module_5Fsockets">module_sockets</a>.push_back(sock); +<a name="l00397"></a>00397 } </pre></div> <p> </td> @@ -806,11 +806,11 @@ Adds a Z-line The Z-line is propogated to all of the servers in the mesh and enf <p> The duration must be in seconds, however you can use the <a class="el" href="classServer.html#CalcDuration_28std_3A_3Astring_20duration_29">Server::CalcDuration</a> method to convert durations into the 1w2d3h3m6s format used by /GLINE etc. The source is an arbitary string used to indicate who or what sent the data, usually this is the nickname of a person, or a server name. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00748">748</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#l00721">721</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="xline_8h.html#add_5Fzline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Aipaddr_29">add_zline()</a>.<div class="fragment"><pre class="fragment"><a name="l00749"></a>00749 { -<a name="l00750"></a>00750 <a class="code" href="xline_8h.html#add_5Fzline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Aipaddr_29">add_zline</a>(<a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, source.c_str(), reason.c_str(), ipaddr.c_str()); -<a name="l00751"></a>00751 } +References <a class="el" href="xline_8h.html#add_5Fzline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Aipaddr_29">add_zline()</a>.<div class="fragment"><pre class="fragment"><a name="l00722"></a>00722 { +<a name="l00723"></a>00723 <a class="code" href="xline_8h.html#add_5Fzline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Aipaddr_29">add_zline</a>(<a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, source.c_str(), reason.c_str(), ipaddr.c_str()); +<a name="l00724"></a>00724 } </pre></div> <p> </td> @@ -845,11 +845,11 @@ Calculates a duration This method will take a string containing a formatted dura <p> "1w2d") and return its value as a total number of seconds. This is the same function used internally by /GLINE etc to set the ban times. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00788">788</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#l00761">761</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration()</a>.<div class="fragment"><pre class="fragment"><a name="l00789"></a>00789 { -<a name="l00790"></a>00790 <span class="keywordflow">return</span> <a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>(delta.c_str()); -<a name="l00791"></a>00791 } +References <a class="el" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration()</a>.<div class="fragment"><pre class="fragment"><a name="l00762"></a>00762 { +<a name="l00763"></a>00763 <span class="keywordflow">return</span> <a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>(delta.c_str()); +<a name="l00764"></a>00764 } </pre></div> <p> </td> @@ -906,9 +906,9 @@ Calls the handler for a command, either implemented by the core or by another mo You can use this function to trigger other commands in the ircd, such as PRIVMSG, JOIN, KICK etc, or even as a method of callback. By defining command names that are untypeable for users on irc (e.g. those which contain a or <br> ) you may use them as callback identifiers. The first parameter to this method is the name of the command handler you wish to call, e.g. PRIVMSG. This will be a command handler previously registered by the core or wih <a class="el" href="classServer.html#AddCommand_28char_20_2Acmd_2C_20handlerfunc_20f_2C_20char_20flags_2C_20int_20minparams_2C_20char_20_2Asource_29">AddCommand()</a>. The second parameter is an array of parameters, and the third parameter is a count of parameters in the array. If you do not pass enough parameters to meet the minimum needed by the handler, the functiom will silently ignore it. The final parameter is the user executing the command handler, used for privilage checks, etc. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00480">480</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00481"></a>00481 { -<a name="l00482"></a>00482 call_handler(commandname.c_str(),parameters,pcnt,user); -<a name="l00483"></a>00483 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00472">472</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00473"></a>00473 { +<a name="l00474"></a>00474 call_handler(commandname.c_str(),parameters,pcnt,user); +<a name="l00475"></a>00475 } </pre></div> <p> </td> @@ -952,11 +952,11 @@ Change GECOS (fullname) of a user. <p> You should always call this method to change a user's GECOS rather than writing directly to the fullname member of userrec, as any change applied via this method will be propogated to any linked servers. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00578">578</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#l00570">570</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="message_8h.html#ChangeName_28userrec_20_2Auser_2C_20const_20char_20_2Agecos_29">ChangeName()</a>.<div class="fragment"><pre class="fragment"><a name="l00579"></a>00579 { -<a name="l00580"></a>00580 <a class="code" href="message_8h.html#ChangeName_28userrec_20_2Auser_2C_20const_20char_20_2Agecos_29">ChangeName</a>(user,gecos.c_str()); -<a name="l00581"></a>00581 } +References <a class="el" href="message_8h.html#ChangeName_28userrec_20_2Auser_2C_20const_20char_20_2Agecos_29">ChangeName()</a>.<div class="fragment"><pre class="fragment"><a name="l00571"></a>00571 { +<a name="l00572"></a>00572 <a class="code" href="message_8h.html#ChangeName_28userrec_20_2Auser_2C_20const_20char_20_2Agecos_29">ChangeName</a>(user,gecos.c_str()); +<a name="l00573"></a>00573 } </pre></div> <p> </td> @@ -1000,11 +1000,11 @@ Change displayed hostname of a user. <p> You should always call this method to change a user's host rather than writing directly to the dhost member of userrec, as any change applied via this method will be propogated to any linked servers. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00573">573</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#l00565">565</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="message_8h.html#ChangeDisplayedHost_28userrec_20_2Auser_2C_20const_20char_20_2Ahost_29">ChangeDisplayedHost()</a>.<div class="fragment"><pre class="fragment"><a name="l00574"></a>00574 { -<a name="l00575"></a>00575 <a class="code" href="message_8h.html#ChangeDisplayedHost_28userrec_20_2Auser_2C_20const_20char_20_2Ahost_29">ChangeDisplayedHost</a>(user,host.c_str()); -<a name="l00576"></a>00576 } +References <a class="el" href="message_8h.html#ChangeDisplayedHost_28userrec_20_2Auser_2C_20const_20char_20_2Ahost_29">ChangeDisplayedHost()</a>.<div class="fragment"><pre class="fragment"><a name="l00566"></a>00566 { +<a name="l00567"></a>00567 <a class="code" href="message_8h.html#ChangeDisplayedHost_28userrec_20_2Auser_2C_20const_20char_20_2Ahost_29">ChangeDisplayedHost</a>(user,host.c_str()); +<a name="l00568"></a>00568 } </pre></div> <p> </td> @@ -1048,9 +1048,9 @@ Forces a user nickchange. <p> This command works similarly to SVSNICK, and can be used to implement Q-lines etc. If you specify an invalid nickname, the nick change will be dropped and the target user will receive the error numeric for it. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00465">465</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00466"></a>00466 { -<a name="l00467"></a>00467 force_nickchange(user,nickname.c_str()); -<a name="l00468"></a>00468 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00457">457</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00458"></a>00458 { +<a name="l00459"></a>00459 force_nickchange(user,nickname.c_str()); +<a name="l00460"></a>00460 } </pre></div> <p> </td> @@ -1094,11 +1094,11 @@ Attempts to look up a user's privilages on a channel. <p> This function will return a string containing either @, %, +, or an empty string, representing the user's privilages upon the channel you specify. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00603">603</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#l00595">595</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="message_8h.html#cmode_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">cmode()</a>.<div class="fragment"><pre class="fragment"><a name="l00604"></a>00604 { -<a name="l00605"></a>00605 <span class="keywordflow">return</span> <a class="code" href="message_8h.html#cmode_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">cmode</a>(User,Chan); -<a name="l00606"></a>00606 } +References <a class="el" href="message_8h.html#cmode_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">cmode()</a>.<div class="fragment"><pre class="fragment"><a name="l00596"></a>00596 { +<a name="l00597"></a>00597 <span class="keywordflow">return</span> <a class="code" href="message_8h.html#cmode_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">cmode</a>(User,Chan); +<a name="l00598"></a>00598 } </pre></div> <p> </td> @@ -1142,11 +1142,11 @@ Returns true if two users share a common channel. <p> This method is used internally by the NICK and QUIT commands, and the <a class="el" href="classServer.html#SendCommon_28userrec_20_2AUser_2C_20std_3A_3Astring_20text_2C_20bool_20IncludeSender_29">Server::SendCommon</a> method. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00551">551</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#l00543">543</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="message_8h.html#common_5Fchannels_28userrec_20_2Au_2C_20userrec_20_2Au_32_29">common_channels()</a>.<div class="fragment"><pre class="fragment"><a name="l00552"></a>00552 { -<a name="l00553"></a>00553 <span class="keywordflow">return</span> (<a class="code" href="message_8h.html#common_5Fchannels_28userrec_20_2Au_2C_20userrec_20_2Au_32_29">common_channels</a>(u1,u2) != 0); -<a name="l00554"></a>00554 } +References <a class="el" href="message_8h.html#common_5Fchannels_28userrec_20_2Au_2C_20userrec_20_2Au_32_29">common_channels()</a>.<div class="fragment"><pre class="fragment"><a name="l00544"></a>00544 { +<a name="l00545"></a>00545 <span class="keywordflow">return</span> (<a class="code" href="message_8h.html#common_5Fchannels_28userrec_20_2Au_2C_20userrec_20_2Au_32_29">common_channels</a>(u1,u2) != 0); +<a name="l00546"></a>00546 } </pre></div> <p> </td> @@ -1181,9 +1181,9 @@ Returns a count of the number of users on a channel. <p> This will NEVER be 0, as if the chanrec exists, it will have at least one user in the channel. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00671">671</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00672"></a>00672 { -<a name="l00673"></a>00673 <span class="keywordflow">return</span> usercount(c); -<a name="l00674"></a>00674 } +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>.<div class="fragment"><pre class="fragment"><a name="l00664"></a>00664 { +<a name="l00665"></a>00665 <span class="keywordflow">return</span> usercount(c); +<a name="l00666"></a>00666 } </pre></div> <p> </td> @@ -1218,11 +1218,11 @@ Deletes a local E-Line. <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00783">783</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#l00756">756</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="xline_8h.html#del_5Feline_28const_20char_20_2Ahostmask_29">del_eline()</a>.<div class="fragment"><pre class="fragment"><a name="l00784"></a>00784 { -<a name="l00785"></a>00785 <span class="keywordflow">return</span> <a class="code" href="xline_8h.html#del_5Feline_28const_20char_20_2Ahostmask_29">del_eline</a>(hostmask.c_str()); -<a name="l00786"></a>00786 } +References <a class="el" href="xline_8h.html#del_5Feline_28const_20char_20_2Ahostmask_29">del_eline()</a>.<div class="fragment"><pre class="fragment"><a name="l00757"></a>00757 { +<a name="l00758"></a>00758 <span class="keywordflow">return</span> <a class="code" href="xline_8h.html#del_5Feline_28const_20char_20_2Ahostmask_29">del_eline</a>(hostmask.c_str()); +<a name="l00759"></a>00759 } </pre></div> <p> </td> @@ -1257,11 +1257,11 @@ Deletes a G-Line from all servers on the mesh. <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00763">763</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#l00736">736</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="xline_8h.html#del_5Fgline_28const_20char_20_2Ahostmask_29">del_gline()</a>.<div class="fragment"><pre class="fragment"><a name="l00764"></a>00764 { -<a name="l00765"></a>00765 <span class="keywordflow">return</span> <a class="code" href="xline_8h.html#del_5Fgline_28const_20char_20_2Ahostmask_29">del_gline</a>(hostmask.c_str()); -<a name="l00766"></a>00766 } +References <a class="el" href="xline_8h.html#del_5Fgline_28const_20char_20_2Ahostmask_29">del_gline()</a>.<div class="fragment"><pre class="fragment"><a name="l00737"></a>00737 { +<a name="l00738"></a>00738 <span class="keywordflow">return</span> <a class="code" href="xline_8h.html#del_5Fgline_28const_20char_20_2Ahostmask_29">del_gline</a>(hostmask.c_str()); +<a name="l00739"></a>00739 } </pre></div> <p> </td> @@ -1296,11 +1296,11 @@ Deletes a local K-Line. <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00778">778</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#l00751">751</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="xline_8h.html#del_5Fkline_28const_20char_20_2Ahostmask_29">del_kline()</a>.<div class="fragment"><pre class="fragment"><a name="l00779"></a>00779 { -<a name="l00780"></a>00780 <span class="keywordflow">return</span> <a class="code" href="xline_8h.html#del_5Fkline_28const_20char_20_2Ahostmask_29">del_kline</a>(hostmask.c_str()); -<a name="l00781"></a>00781 } +References <a class="el" href="xline_8h.html#del_5Fkline_28const_20char_20_2Ahostmask_29">del_kline()</a>.<div class="fragment"><pre class="fragment"><a name="l00752"></a>00752 { +<a name="l00753"></a>00753 <span class="keywordflow">return</span> <a class="code" href="xline_8h.html#del_5Fkline_28const_20char_20_2Ahostmask_29">del_kline</a>(hostmask.c_str()); +<a name="l00754"></a>00754 } </pre></div> <p> </td> @@ -1335,11 +1335,11 @@ Deletes a Q-Line from all servers on the mesh. <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00768">768</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#l00741">741</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="xline_8h.html#del_5Fqline_28const_20char_20_2Anickname_29">del_qline()</a>.<div class="fragment"><pre class="fragment"><a name="l00769"></a>00769 { -<a name="l00770"></a>00770 <span class="keywordflow">return</span> <a class="code" href="xline_8h.html#del_5Fqline_28const_20char_20_2Anickname_29">del_qline</a>(nickname.c_str()); -<a name="l00771"></a>00771 } +References <a class="el" href="xline_8h.html#del_5Fqline_28const_20char_20_2Anickname_29">del_qline()</a>.<div class="fragment"><pre class="fragment"><a name="l00742"></a>00742 { +<a name="l00743"></a>00743 <span class="keywordflow">return</span> <a class="code" href="xline_8h.html#del_5Fqline_28const_20char_20_2Anickname_29">del_qline</a>(nickname.c_str()); +<a name="l00744"></a>00744 } </pre></div> <p> </td> @@ -1374,18 +1374,18 @@ Deletes a class derived from <a class="el" href="classInspSocket.html">InspSocke <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00413">413</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#l00405">405</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8cpp.html#module_5Fsockets">module_sockets</a>.<div class="fragment"><pre class="fragment"><a name="l00414"></a>00414 { -<a name="l00415"></a>00415 <span class="keywordflow">for</span> (std::vector<InspSocket*>::iterator a = <a class="code" href="modules_8cpp.html#module_5Fsockets">module_sockets</a>.begin(); a < <a class="code" href="modules_8cpp.html#module_5Fsockets">module_sockets</a>.end(); a++) -<a name="l00416"></a>00416 { -<a name="l00417"></a>00417 <span class="keywordflow">if</span> (*a == sock) -<a name="l00418"></a>00418 { -<a name="l00419"></a>00419 <a class="code" href="modules_8cpp.html#module_5Fsockets">module_sockets</a>.erase(a); -<a name="l00420"></a>00420 <span class="keywordflow">return</span>; -<a name="l00421"></a>00421 } -<a name="l00422"></a>00422 } -<a name="l00423"></a>00423 } +References <a class="el" href="modules_8cpp.html#module_5Fsockets">module_sockets</a>.<div class="fragment"><pre class="fragment"><a name="l00406"></a>00406 { +<a name="l00407"></a>00407 <span class="keywordflow">for</span> (std::vector<InspSocket*>::iterator a = <a class="code" href="modules_8cpp.html#module_5Fsockets">module_sockets</a>.begin(); a < <a class="code" href="modules_8cpp.html#module_5Fsockets">module_sockets</a>.end(); a++) +<a name="l00408"></a>00408 { +<a name="l00409"></a>00409 <span class="keywordflow">if</span> (*a == sock) +<a name="l00410"></a>00410 { +<a name="l00411"></a>00411 <a class="code" href="modules_8cpp.html#module_5Fsockets">module_sockets</a>.erase(a); +<a name="l00412"></a>00412 <span class="keywordflow">return</span>; +<a name="l00413"></a>00413 } +<a name="l00414"></a>00414 } +<a name="l00415"></a>00415 } </pre></div> <p> </td> @@ -1420,11 +1420,11 @@ Deletes a Z-Line from all servers on the mesh. <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00773">773</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#l00746">746</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="xline_8h.html#del_5Fzline_28const_20char_20_2Aipaddr_29">del_zline()</a>.<div class="fragment"><pre class="fragment"><a name="l00774"></a>00774 { -<a name="l00775"></a>00775 <span class="keywordflow">return</span> <a class="code" href="xline_8h.html#del_5Fzline_28const_20char_20_2Aipaddr_29">del_zline</a>(ipaddr.c_str()); -<a name="l00776"></a>00776 } +References <a class="el" href="xline_8h.html#del_5Fzline_28const_20char_20_2Aipaddr_29">del_zline()</a>.<div class="fragment"><pre class="fragment"><a name="l00747"></a>00747 { +<a name="l00748"></a>00748 <span class="keywordflow">return</span> <a class="code" href="xline_8h.html#del_5Fzline_28const_20char_20_2Aipaddr_29">del_zline</a>(ipaddr.c_str()); +<a name="l00749"></a>00749 } </pre></div> <p> </td> @@ -1459,9 +1459,9 @@ Attempts to look up a channel and return a pointer to it. <p> This function will return NULL if the channel does not exist. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00598">598</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00599"></a>00599 { -<a name="l00600"></a>00600 <span class="keywordflow">return</span> FindChan(channel.c_str()); -<a name="l00601"></a>00601 } +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>.<div class="fragment"><pre class="fragment"><a name="l00591"></a>00591 { +<a name="l00592"></a>00592 <span class="keywordflow">return</span> FindChan(channel.c_str()); +<a name="l00593"></a>00593 } </pre></div> <p> </td> @@ -1496,9 +1496,9 @@ Attempts to look up a nick using the file descriptor associated with that nick. <p> This function will return NULL if the file descriptor is not associated with a valid user. <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>.<div class="fragment"><pre class="fragment"><a name="l00594"></a>00594 { -<a name="l00595"></a>00595 <span class="keywordflow">return</span> (socket < 65536 ? fd_ref_table[socket] : NULL); -<a name="l00596"></a>00596 } +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>.<div class="fragment"><pre class="fragment"><a name="l00586"></a>00586 { +<a name="l00587"></a>00587 <span class="keywordflow">return</span> (socket < 65536 ? fd_ref_table[socket] : NULL); +<a name="l00588"></a>00588 } </pre></div> <p> </td> @@ -1533,18 +1533,18 @@ This function finds a module by name. <p> You must provide the filename of the module. If the module cannot be found (is not loaded) the function will return NULL. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00822">822</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. -<p> -References <a class="el" href="modules_8cpp-source.html#l01032">MODCOUNT</a>, <a class="el" href="channels_8cpp.html#module_5Fnames">module_names</a>, and <a class="el" href="channels_8cpp.html#modules">modules</a>.<div class="fragment"><pre class="fragment"><a name="l00823"></a>00823 { -<a name="l00824"></a>00824 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i <= <a class="code" href="channels_8cpp.html#MODCOUNT">MODCOUNT</a>; i++) -<a name="l00825"></a>00825 { -<a name="l00826"></a>00826 <span class="keywordflow">if</span> (module_names[i] == name) -<a name="l00827"></a>00827 { -<a name="l00828"></a>00828 <span class="keywordflow">return</span> <a class="code" href="channels_8cpp.html#modules">modules</a>[i]; -<a name="l00829"></a>00829 } -<a name="l00830"></a>00830 } -<a name="l00831"></a>00831 <span class="keywordflow">return</span> NULL; -<a name="l00832"></a>00832 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00795">795</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="modules_8cpp-source.html#l01005">MODCOUNT</a>, <a class="el" href="channels_8cpp.html#module_5Fnames">module_names</a>, and <a class="el" href="channels_8cpp.html#modules">modules</a>.<div class="fragment"><pre class="fragment"><a name="l00796"></a>00796 { +<a name="l00797"></a>00797 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i <= <a class="code" href="channels_8cpp.html#MODCOUNT">MODCOUNT</a>; i++) +<a name="l00798"></a>00798 { +<a name="l00799"></a>00799 <span class="keywordflow">if</span> (module_names[i] == name) +<a name="l00800"></a>00800 { +<a name="l00801"></a>00801 <span class="keywordflow">return</span> <a class="code" href="channels_8cpp.html#modules">modules</a>[i]; +<a name="l00802"></a>00802 } +<a name="l00803"></a>00803 } +<a name="l00804"></a>00804 <span class="keywordflow">return</span> NULL; +<a name="l00805"></a>00805 } </pre></div> <p> </td> @@ -1579,9 +1579,9 @@ Attempts to look up a nick and return a pointer to it. <p> This function will return NULL if the nick does not exist. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00588">588</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00589"></a>00589 { -<a name="l00590"></a>00590 <span class="keywordflow">return</span> Find(nick); -<a name="l00591"></a>00591 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00580">580</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00581"></a>00581 { +<a name="l00582"></a>00582 <span class="keywordflow">return</span> Find(nick); +<a name="l00583"></a>00583 } </pre></div> <p> </td> @@ -1615,9 +1615,9 @@ Returns the information of the server as returned by the /ADMIN command. <p> See the <a class="el" href="classAdmin.html">Admin</a> class for further information of the return value. The members <a class="el" href="classAdmin.html#Nick">Admin::Nick</a>, <a class="el" href="classAdmin.html#Email">Admin::Email</a> and <a class="el" href="classAdmin.html#Name">Admin::Name</a> contain the information for the server where the module is loaded. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00628">628</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00629"></a>00629 { -<a name="l00630"></a>00630 <span class="keywordflow">return</span> <a class="code" href="classAdmin.html">Admin</a>(getadminname(),getadminemail(),getadminnick()); -<a name="l00631"></a>00631 } +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>.<div class="fragment"><pre class="fragment"><a name="l00621"></a>00621 { +<a name="l00622"></a>00622 <span class="keywordflow">return</span> <a class="code" href="classAdmin.html">Admin</a>(getadminname(),getadminemail(),getadminnick()); +<a name="l00623"></a>00623 } </pre></div> <p> </td> @@ -1651,9 +1651,9 @@ Returns the network name, global to all linked servers. <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00618">618</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00619"></a>00619 { -<a name="l00620"></a>00620 <span class="keywordflow">return</span> getnetworkname(); -<a name="l00621"></a>00621 } +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>.<div class="fragment"><pre class="fragment"><a name="l00611"></a>00611 { +<a name="l00612"></a>00612 <span class="keywordflow">return</span> getnetworkname(); +<a name="l00613"></a>00613 } </pre></div> <p> </td> @@ -1687,9 +1687,9 @@ Returns the server description string of the local server. <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00623">623</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00624"></a>00624 { -<a name="l00625"></a>00625 <span class="keywordflow">return</span> getserverdesc(); -<a name="l00626"></a>00626 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00615">615</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00616"></a>00616 { +<a name="l00617"></a>00617 <span class="keywordflow">return</span> getserverdesc(); +<a name="l00618"></a>00618 } </pre></div> <p> </td> @@ -1723,9 +1723,9 @@ Returns the server name of the server where the module is loaded. <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00613">613</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00614"></a>00614 { -<a name="l00615"></a>00615 <span class="keywordflow">return</span> getservername(); -<a name="l00616"></a>00616 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00605">605</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00606"></a>00606 { +<a name="l00607"></a>00607 <span class="keywordflow">return</span> getservername(); +<a name="l00608"></a>00608 } </pre></div> <p> </td> @@ -1760,19 +1760,19 @@ Fetches the userlist of a channel. <p> This function must be here and not a member of userrec or chanrec due to include constraints. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00453">453</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. -<p> -References <a class="el" href="channels_8cpp-source.html#l00215">chanrec::GetUsers()</a>, and <a class="el" href="channels_8cpp.html#list_5BMAXBUF_5D">list</a>.<div class="fragment"><pre class="fragment"><a name="l00454"></a>00454 { -<a name="l00455"></a>00455 <a class="code" href="modules_8h.html#chanuserlist">chanuserlist</a> userl; -<a name="l00456"></a>00456 userl.clear(); -<a name="l00457"></a>00457 std::vector<char*> *<a class="code" href="channels_8cpp.html#list_5BMAXBUF_5D">list</a> = chan-><a class="code" href="classchanrec.html#GetUsers_28_29">GetUsers</a>(); -<a name="l00458"></a>00458 <span class="keywordflow">for</span> (std::vector<char*>::iterator i = list->begin(); i != list->end(); i++) -<a name="l00459"></a>00459 { -<a name="l00460"></a>00460 <span class="keywordtype">char</span>* o = *i; -<a name="l00461"></a>00461 userl.push_back((<a class="code" href="classuserrec.html">userrec</a>*)o); -<a name="l00462"></a>00462 } -<a name="l00463"></a>00463 <span class="keywordflow">return</span> userl; -<a name="l00464"></a>00464 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00445">445</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="channels_8cpp-source.html#l00215">chanrec::GetUsers()</a>, and <a class="el" href="channels_8cpp.html#list_5BMAXBUF_5D">list</a>.<div class="fragment"><pre class="fragment"><a name="l00446"></a>00446 { +<a name="l00447"></a>00447 <a class="code" href="modules_8h.html#chanuserlist">chanuserlist</a> userl; +<a name="l00448"></a>00448 userl.clear(); +<a name="l00449"></a>00449 std::vector<char*> *<a class="code" href="channels_8cpp.html#list_5BMAXBUF_5D">list</a> = chan-><a class="code" href="classchanrec.html#GetUsers_28_29">GetUsers</a>(); +<a name="l00450"></a>00450 <span class="keywordflow">for</span> (std::vector<char*>::iterator i = list->begin(); i != list->end(); i++) +<a name="l00451"></a>00451 { +<a name="l00452"></a>00452 <span class="keywordtype">char</span>* o = *i; +<a name="l00453"></a>00453 userl.push_back((<a class="code" href="classuserrec.html">userrec</a>*)o); +<a name="l00454"></a>00454 } +<a name="l00455"></a>00455 <span class="keywordflow">return</span> userl; +<a name="l00456"></a>00456 } </pre></div> <p> </td> @@ -1807,11 +1807,11 @@ Returns true if a nick is valid. <p> Nicks for unregistered connections will return false. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00583">583</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#l00575">575</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="message_8h.html#isnick_28const_20char_20_2An_29">isnick()</a>.<div class="fragment"><pre class="fragment"><a name="l00584"></a>00584 { -<a name="l00585"></a>00585 <span class="keywordflow">return</span> (<a class="code" href="message_8h.html#isnick_28const_20char_20_2An_29">isnick</a>(nick.c_str()) != 0); -<a name="l00586"></a>00586 } +References <a class="el" href="message_8h.html#isnick_28const_20char_20_2An_29">isnick()</a>.<div class="fragment"><pre class="fragment"><a name="l00576"></a>00576 { +<a name="l00577"></a>00577 <span class="keywordflow">return</span> (<a class="code" href="message_8h.html#isnick_28const_20char_20_2An_29">isnick</a>(nick.c_str()) != 0); +<a name="l00578"></a>00578 } </pre></div> <p> </td> @@ -1855,11 +1855,11 @@ Checks if a user is on a channel. <p> This function will return true or false to indicate if user 'User' is on channel 'Chan'. <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#l00600">600</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="message_8h.html#has_5Fchannel_28userrec_20_2Au_2C_20chanrec_20_2Ac_29">has_channel()</a>.<div class="fragment"><pre class="fragment"><a name="l00609"></a>00609 { -<a name="l00610"></a>00610 <span class="keywordflow">return</span> <a class="code" href="message_8h.html#has_5Fchannel_28userrec_20_2Au_2C_20chanrec_20_2Ac_29">has_channel</a>(User,Chan); -<a name="l00611"></a>00611 } +References <a class="el" href="message_8h.html#has_5Fchannel_28userrec_20_2Au_2C_20chanrec_20_2Ac_29">has_channel()</a>.<div class="fragment"><pre class="fragment"><a name="l00601"></a>00601 { +<a name="l00602"></a>00602 <span class="keywordflow">return</span> <a class="code" href="message_8h.html#has_5Fchannel_28userrec_20_2Au_2C_20chanrec_20_2Ac_29">has_channel</a>(User,Chan); +<a name="l00603"></a>00603 } </pre></div> <p> </td> @@ -1894,11 +1894,11 @@ Returns true if the servername you give is ulined. <p> ULined servers have extra privilages. They are allowed to change nicknames on remote servers, change modes of clients which are on remote servers and set modes of channels where there are no channel operators for that channel on the ulined server, amongst other things. Ulined server data is also broadcast across the mesh at all times as opposed to selectively messaged in the case of normal servers, as many ulined server types (such as services) do not support meshed links and must operate in this manner. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00475">475</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#l00467">467</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="commands_8h.html#is_5Fuline_28const_20char_20_2Aserver_29">is_uline()</a>.<div class="fragment"><pre class="fragment"><a name="l00476"></a>00476 { -<a name="l00477"></a>00477 <span class="keywordflow">return</span> <a class="code" href="commands_8h.html#is_5Fuline_28const_20char_20_2Aserver_29">is_uline</a>(server.c_str()); -<a name="l00478"></a>00478 } +References <a class="el" href="commands_8h.html#is_5Fuline_28const_20char_20_2Aserver_29">is_uline()</a>.<div class="fragment"><pre class="fragment"><a name="l00468"></a>00468 { +<a name="l00469"></a>00469 <span class="keywordflow">return</span> <a class="code" href="commands_8h.html#is_5Fuline_28const_20char_20_2Aserver_29">is_uline</a>(server.c_str()); +<a name="l00470"></a>00470 } </pre></div> <p> </td> @@ -1933,33 +1933,33 @@ Returns true if a nick!ident string is correctly formatted, false if otherwise. <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00793">793</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00794"></a>00794 { -<a name="l00795"></a>00795 <span class="keyword">const</span> <span class="keywordtype">char</span>* dest = mask.c_str(); -<a name="l00796"></a>00796 <span class="keywordflow">if</span> (strchr(dest,<span class="charliteral">'!'</span>)==0) -<a name="l00797"></a>00797 <span class="keywordflow">return</span> <span class="keyword">false</span>; -<a name="l00798"></a>00798 <span class="keywordflow">if</span> (strchr(dest,<span class="charliteral">'@'</span>)==0) -<a name="l00799"></a>00799 <span class="keywordflow">return</span> <span class="keyword">false</span>; -<a name="l00800"></a>00800 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i < strlen(dest); i++) -<a name="l00801"></a>00801 <span class="keywordflow">if</span> (dest[i] < 32) -<a name="l00802"></a>00802 <span class="keywordflow">return</span> <span class="keyword">false</span>; -<a name="l00803"></a>00803 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i < strlen(dest); i++) -<a name="l00804"></a>00804 <span class="keywordflow">if</span> (dest[i] > 126) -<a name="l00805"></a>00805 <span class="keywordflow">return</span> <span class="keyword">false</span>; -<a name="l00806"></a>00806 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> c = 0; -<a name="l00807"></a>00807 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i < strlen(dest); i++) -<a name="l00808"></a>00808 <span class="keywordflow">if</span> (dest[i] == <span class="charliteral">'!'</span>) -<a name="l00809"></a>00809 c++; -<a name="l00810"></a>00810 <span class="keywordflow">if</span> (c>1) -<a name="l00811"></a>00811 <span class="keywordflow">return</span> <span class="keyword">false</span>; -<a name="l00812"></a>00812 c = 0; -<a name="l00813"></a>00813 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i < strlen(dest); i++) -<a name="l00814"></a>00814 <span class="keywordflow">if</span> (dest[i] == <span class="charliteral">'@'</span>) -<a name="l00815"></a>00815 c++; -<a name="l00816"></a>00816 <span class="keywordflow">if</span> (c>1) -<a name="l00817"></a>00817 <span class="keywordflow">return</span> <span class="keyword">false</span>; -<a name="l00818"></a>00818 -<a name="l00819"></a>00819 <span class="keywordflow">return</span> <span class="keyword">true</span>; -<a name="l00820"></a>00820 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00766">766</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00767"></a>00767 { +<a name="l00768"></a>00768 <span class="keyword">const</span> <span class="keywordtype">char</span>* dest = mask.c_str(); +<a name="l00769"></a>00769 <span class="keywordflow">if</span> (strchr(dest,<span class="charliteral">'!'</span>)==0) +<a name="l00770"></a>00770 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00771"></a>00771 <span class="keywordflow">if</span> (strchr(dest,<span class="charliteral">'@'</span>)==0) +<a name="l00772"></a>00772 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00773"></a>00773 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i < strlen(dest); i++) +<a name="l00774"></a>00774 <span class="keywordflow">if</span> (dest[i] < 32) +<a name="l00775"></a>00775 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00776"></a>00776 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i < strlen(dest); i++) +<a name="l00777"></a>00777 <span class="keywordflow">if</span> (dest[i] > 126) +<a name="l00778"></a>00778 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00779"></a>00779 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> c = 0; +<a name="l00780"></a>00780 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i < strlen(dest); i++) +<a name="l00781"></a>00781 <span class="keywordflow">if</span> (dest[i] == <span class="charliteral">'!'</span>) +<a name="l00782"></a>00782 c++; +<a name="l00783"></a>00783 <span class="keywordflow">if</span> (c>1) +<a name="l00784"></a>00784 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00785"></a>00785 c = 0; +<a name="l00786"></a>00786 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i < strlen(dest); i++) +<a name="l00787"></a>00787 <span class="keywordflow">if</span> (dest[i] == <span class="charliteral">'@'</span>) +<a name="l00788"></a>00788 c++; +<a name="l00789"></a>00789 <span class="keywordflow">if</span> (c>1) +<a name="l00790"></a>00790 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00791"></a>00791 +<a name="l00792"></a>00792 <span class="keywordflow">return</span> <span class="keyword">true</span>; +<a name="l00793"></a>00793 } </pre></div> <p> </td> @@ -2007,9 +2007,9 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00793">793</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00485">485</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00486"></a>00486 { -<a name="l00487"></a>00487 <span class="keywordflow">return</span> is_valid_cmd(commandname.c_str(), pcnt, user); -<a name="l00488"></a>00488 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00477">477</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00478"></a>00478 { +<a name="l00479"></a>00479 <span class="keywordflow">return</span> is_valid_cmd(commandname.c_str(), pcnt, user); +<a name="l00480"></a>00480 } </pre></div> <p> </td> @@ -2059,9 +2059,9 @@ Forces a user to join a channel. <p> This is similar to svsjoin and can be used to implement redirection, etc. On success, the return value is a valid pointer to a chanrec* of the channel the user was joined to. On failure, the result is NULL. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00443">443</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00444"></a>00444 { -<a name="l00445"></a>00445 <span class="keywordflow">return</span> add_channel(user,cname.c_str(),key.c_str(),<span class="keyword">false</span>); -<a name="l00446"></a>00446 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00435">435</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00436"></a>00436 { +<a name="l00437"></a>00437 <span class="keywordflow">return</span> add_channel(user,cname.c_str(),key.c_str(),<span class="keyword">false</span>); +<a name="l00438"></a>00438 } </pre></div> <p> </td> @@ -2105,9 +2105,9 @@ Writes a log string. <p> This method writes a line of text to the log. If the level given is lower than the level given in the configuration, this command has no effect. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00490">490</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00491"></a>00491 { -<a name="l00492"></a>00492 log(level,<span class="stringliteral">"%s"</span>,s.c_str()); -<a name="l00493"></a>00493 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00482">482</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00483"></a>00483 { +<a name="l00484"></a>00484 log(level,<span class="stringliteral">"%s"</span>,s.c_str()); +<a name="l00485"></a>00485 } </pre></div> <p> </td> @@ -2151,12 +2151,12 @@ Matches text against a glob pattern. <p> Uses the ircd's internal matching function to match string against a globbing pattern, e.g. *!*@*.com Returns true if the literal successfully matches the pattern, false if otherwise. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00430">430</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00431"></a>00431 { -<a name="l00432"></a>00432 <span class="keywordtype">char</span> literal[MAXBUF],pattern[MAXBUF]; -<a name="l00433"></a>00433 strlcpy(literal,sliteral.c_str(),MAXBUF); -<a name="l00434"></a>00434 strlcpy(pattern,spattern.c_str(),MAXBUF); -<a name="l00435"></a>00435 <span class="keywordflow">return</span> match(literal,pattern); -<a name="l00436"></a>00436 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00422">422</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00423"></a>00423 { +<a name="l00424"></a>00424 <span class="keywordtype">char</span> literal[MAXBUF],pattern[MAXBUF]; +<a name="l00425"></a>00425 strlcpy(literal,sliteral.c_str(),MAXBUF); +<a name="l00426"></a>00426 strlcpy(pattern,spattern.c_str(),MAXBUF); +<a name="l00427"></a>00427 <span class="keywordflow">return</span> match(literal,pattern); +<a name="l00428"></a>00428 } </pre></div> <p> </td> @@ -2206,9 +2206,9 @@ Forces a user to part a channel. <p> This is similar to svspart and can be used to implement redirection, etc. Although the return value of this function is a pointer to a channel record, the returned data is undefined and should not be read or written to. This behaviour may be changed in a future version. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00448">448</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00449"></a>00449 { -<a name="l00450"></a>00450 <span class="keywordflow">return</span> del_channel(user,cname.c_str(),reason.c_str(),<span class="keyword">false</span>); -<a name="l00451"></a>00451 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00440">440</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00441"></a>00441 { +<a name="l00442"></a>00442 <span class="keywordflow">return</span> del_channel(user,cname.c_str(),reason.c_str(),<span class="keyword">false</span>); +<a name="l00443"></a>00443 } </pre></div> <p> </td> @@ -2258,36 +2258,36 @@ This user takes one user, and switches their file descriptor with another user, <p> The user in 'alive' is booted off the server with the given message. The user referred to by 'zombie' should have previously been locked with Server::ZombifyUser, otherwise stale sockets and file descriptor leaks can occur. After this call, the pointer to alive will be invalid, and the pointer to zombie will be equivalent in effect to the old pointer to alive. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00708">708</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. -<p> -References <a class="el" href="channels_8h-source.html#l00252">ucrec::channel</a>, <a class="el" href="users_8h-source.html#l00149">userrec::chans</a>, <a class="el" href="users_8cpp-source.html#l00239">userrec::ClearBuffer()</a>, <a class="el" href="connection_8h-source.html#l00042">connection::fd</a>, <a class="el" href="modules_8h-source.html#l00101">FD_MAGIC_NUMBER</a>, <a class="el" href="connection_8h-source.html#l00046">connection::host</a>, <a class="el" href="users_8h-source.html#l00129">userrec::ident</a>, <a class="el" href="channels_8h-source.html#l00106">chanrec::name</a>, <a class="el" href="users_8h-source.html#l00124">userrec::nick</a>, <a class="el" href="channels_8h-source.html#l00131">chanrec::setby</a>, <a class="el" href="channels_8h-source.html#l00120">chanrec::topic</a>, and <a class="el" href="channels_8h-source.html#l00127">chanrec::topicset</a>.<div class="fragment"><pre class="fragment"><a name="l00709"></a>00709 { -<a name="l00710"></a>00710 zombie-><a class="code" href="classconnection.html#fd">fd</a> = alive-><a class="code" href="classconnection.html#fd">fd</a>; -<a name="l00711"></a>00711 alive-><a class="code" href="classconnection.html#fd">fd</a> = <a class="code" href="modules_8h.html#FD_5FMAGIC_5FNUMBER">FD_MAGIC_NUMBER</a>; -<a name="l00712"></a>00712 alive-><a class="code" href="classuserrec.html#ClearBuffer_28_29">ClearBuffer</a>(); -<a name="l00713"></a>00713 Write(zombie-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">":%s!%s@%s NICK %s"</span>,alive-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>,alive-><a class="code" href="classuserrec.html#ident_5BIDENTMAX_2B_32_5D">ident</a>,alive-><a class="code" href="classconnection.html#host_5B_31_36_30_5D">host</a>,zombie-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>); -<a name="l00714"></a>00714 kill_link(alive,message.c_str()); -<a name="l00715"></a>00715 <a class="code" href="modules_8cpp.html#fd_5Fref_5Ftable_5B_36_35_35_33_36_5D">fd_ref_table</a>[zombie-><a class="code" href="classconnection.html#fd">fd</a>] = zombie; -<a name="l00716"></a>00716 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i != MAXCHANS; i++) -<a name="l00717"></a>00717 { -<a name="l00718"></a>00718 <span class="keywordflow">if</span> (zombie-><a class="code" href="classuserrec.html#chans_5BMAXCHANS_5D">chans</a>[i].<a class="code" href="classucrec.html#channel">channel</a> != NULL) -<a name="l00719"></a>00719 { -<a name="l00720"></a>00720 <span class="keywordflow">if</span> (zombie-><a class="code" href="classuserrec.html#chans_5BMAXCHANS_5D">chans</a>[i].<a class="code" href="classucrec.html#channel">channel</a>-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>) -<a name="l00721"></a>00721 { -<a name="l00722"></a>00722 <a class="code" href="classchanrec.html">chanrec</a>* Ptr = zombie-><a class="code" href="classuserrec.html#chans_5BMAXCHANS_5D">chans</a>[i].<a class="code" href="classucrec.html#channel">channel</a>; -<a name="l00723"></a>00723 WriteFrom(zombie-><a class="code" href="classconnection.html#fd">fd</a>,zombie,<span class="stringliteral">"JOIN %s"</span>,Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); -<a name="l00724"></a>00724 <span class="keywordflow">if</span> (Ptr-><a class="code" href="classchanrec.html#topicset">topicset</a>) -<a name="l00725"></a>00725 { -<a name="l00726"></a>00726 WriteServ(zombie-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"332 %s %s :%s"</span>, zombie-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>, Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>, Ptr-><a class="code" href="classchanrec.html#topic_5BMAXBUF_5D">topic</a>); -<a name="l00727"></a>00727 WriteServ(zombie-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"333 %s %s %s %d"</span>, zombie-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>, Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>, Ptr-><a class="code" href="classchanrec.html#setby_5BNICKMAX_5D">setby</a>, Ptr-><a class="code" href="classchanrec.html#topicset">topicset</a>); -<a name="l00728"></a>00728 } -<a name="l00729"></a>00729 userlist(zombie,Ptr); -<a name="l00730"></a>00730 WriteServ(zombie-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"366 %s %s :End of /NAMES list."</span>, zombie-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>, Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); -<a name="l00731"></a>00731 -<a name="l00732"></a>00732 } -<a name="l00733"></a>00733 } -<a name="l00734"></a>00734 } -<a name="l00735"></a>00735 <span class="keywordflow">return</span> <span class="keyword">true</span>; -<a name="l00736"></a>00736 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00681">681</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="channels_8h-source.html#l00252">ucrec::channel</a>, <a class="el" href="users_8h-source.html#l00149">userrec::chans</a>, <a class="el" href="users_8cpp-source.html#l00239">userrec::ClearBuffer()</a>, <a class="el" href="connection_8h-source.html#l00042">connection::fd</a>, <a class="el" href="modules_8h-source.html#l00101">FD_MAGIC_NUMBER</a>, <a class="el" href="connection_8h-source.html#l00046">connection::host</a>, <a class="el" href="users_8h-source.html#l00129">userrec::ident</a>, <a class="el" href="channels_8h-source.html#l00106">chanrec::name</a>, <a class="el" href="users_8h-source.html#l00124">userrec::nick</a>, <a class="el" href="channels_8h-source.html#l00131">chanrec::setby</a>, <a class="el" href="channels_8h-source.html#l00120">chanrec::topic</a>, and <a class="el" href="channels_8h-source.html#l00127">chanrec::topicset</a>.<div class="fragment"><pre class="fragment"><a name="l00682"></a>00682 { +<a name="l00683"></a>00683 zombie-><a class="code" href="classconnection.html#fd">fd</a> = alive-><a class="code" href="classconnection.html#fd">fd</a>; +<a name="l00684"></a>00684 alive-><a class="code" href="classconnection.html#fd">fd</a> = <a class="code" href="modules_8h.html#FD_5FMAGIC_5FNUMBER">FD_MAGIC_NUMBER</a>; +<a name="l00685"></a>00685 alive-><a class="code" href="classuserrec.html#ClearBuffer_28_29">ClearBuffer</a>(); +<a name="l00686"></a>00686 Write(zombie-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">":%s!%s@%s NICK %s"</span>,alive-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>,alive-><a class="code" href="classuserrec.html#ident_5BIDENTMAX_2B_32_5D">ident</a>,alive-><a class="code" href="classconnection.html#host_5B_31_36_30_5D">host</a>,zombie-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>); +<a name="l00687"></a>00687 kill_link(alive,message.c_str()); +<a name="l00688"></a>00688 <a class="code" href="modules_8cpp.html#fd_5Fref_5Ftable_5B_36_35_35_33_36_5D">fd_ref_table</a>[zombie-><a class="code" href="classconnection.html#fd">fd</a>] = zombie; +<a name="l00689"></a>00689 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i != MAXCHANS; i++) +<a name="l00690"></a>00690 { +<a name="l00691"></a>00691 <span class="keywordflow">if</span> (zombie-><a class="code" href="classuserrec.html#chans_5BMAXCHANS_5D">chans</a>[i].<a class="code" href="classucrec.html#channel">channel</a> != NULL) +<a name="l00692"></a>00692 { +<a name="l00693"></a>00693 <span class="keywordflow">if</span> (zombie-><a class="code" href="classuserrec.html#chans_5BMAXCHANS_5D">chans</a>[i].<a class="code" href="classucrec.html#channel">channel</a>-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>) +<a name="l00694"></a>00694 { +<a name="l00695"></a>00695 <a class="code" href="classchanrec.html">chanrec</a>* Ptr = zombie-><a class="code" href="classuserrec.html#chans_5BMAXCHANS_5D">chans</a>[i].<a class="code" href="classucrec.html#channel">channel</a>; +<a name="l00696"></a>00696 WriteFrom(zombie-><a class="code" href="classconnection.html#fd">fd</a>,zombie,<span class="stringliteral">"JOIN %s"</span>,Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); +<a name="l00697"></a>00697 <span class="keywordflow">if</span> (Ptr-><a class="code" href="classchanrec.html#topicset">topicset</a>) +<a name="l00698"></a>00698 { +<a name="l00699"></a>00699 WriteServ(zombie-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"332 %s %s :%s"</span>, zombie-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>, Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>, Ptr-><a class="code" href="classchanrec.html#topic_5BMAXBUF_5D">topic</a>); +<a name="l00700"></a>00700 WriteServ(zombie-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"333 %s %s %s %d"</span>, zombie-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>, Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>, Ptr-><a class="code" href="classchanrec.html#setby_5BNICKMAX_5D">setby</a>, Ptr-><a class="code" href="classchanrec.html#topicset">topicset</a>); +<a name="l00701"></a>00701 } +<a name="l00702"></a>00702 userlist(zombie,Ptr); +<a name="l00703"></a>00703 WriteServ(zombie-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"366 %s %s :End of /NAMES list."</span>, zombie-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>, Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); +<a name="l00704"></a>00704 +<a name="l00705"></a>00705 } +<a name="l00706"></a>00706 } +<a name="l00707"></a>00707 } +<a name="l00708"></a>00708 <span class="keywordflow">return</span> <span class="keyword">true</span>; +<a name="l00709"></a>00709 } </pre></div> <p> </td> @@ -2333,9 +2333,9 @@ To the user, it will appear as if they typed /QUIT themselves, except for the fa WARNING!<p> Once you call this function, userrec* user will immediately become INVALID. You MUST NOT write to, or read from this pointer after calling the QuitUser method UNDER ANY CIRCUMSTANCES! The best course of action after calling this method is to immediately bail from your handler. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00470">470</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00471"></a>00471 { -<a name="l00472"></a>00472 kill_link(user,reason.c_str()); -<a name="l00473"></a>00473 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00462">462</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00463"></a>00463 { +<a name="l00464"></a>00464 kill_link(user,reason.c_str()); +<a name="l00465"></a>00465 } </pre></div> <p> </td> @@ -2367,10 +2367,10 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00470">470</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00407">407</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00408"></a>00408 { -<a name="l00409"></a>00409 WriteOpers(<span class="stringliteral">"*** Rehashing config file"</span>); -<a name="l00410"></a>00410 ReadConfig(<span class="keyword">false</span>,NULL); -<a name="l00411"></a>00411 } +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>.<div class="fragment"><pre class="fragment"><a name="l00400"></a>00400 { +<a name="l00401"></a>00401 WriteOpers(<span class="stringliteral">"*** Rehashing config file"</span>); +<a name="l00402"></a>00402 ReadConfig(<span class="keyword">false</span>,NULL); +<a name="l00403"></a>00403 } </pre></div> <p> </td> @@ -2414,9 +2414,9 @@ Sends a line of text down a TCP/IP socket. <p> This method writes a line of text to an established socket, cutting it to 510 characters plus a carriage return and linefeed if required. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00505">505</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00506"></a>00506 { -<a name="l00507"></a>00507 Write(Socket,<span class="stringliteral">"%s"</span>,s.c_str()); -<a name="l00508"></a>00508 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00497">497</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00498"></a>00498 { +<a name="l00499"></a>00499 Write(Socket,<span class="stringliteral">"%s"</span>,s.c_str()); +<a name="l00500"></a>00500 } </pre></div> <p> </td> @@ -2472,16 +2472,16 @@ Sends text from a user to a channel (mulicast). <p> This method writes a line of text to a channel, with the given user's nick/ident /host combination prepended, as used in PRIVMSG etc commands (see RFC 1459). If the IncludeSender flag is set, then the text is also sent back to the user from which it originated, as seen in MODE (see RFC 1459). <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00539">539</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00540"></a>00540 { -<a name="l00541"></a>00541 <span class="keywordflow">if</span> (IncludeSender) -<a name="l00542"></a>00542 { -<a name="l00543"></a>00543 WriteChannel(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str()); -<a name="l00544"></a>00544 } -<a name="l00545"></a>00545 <span class="keywordflow">else</span> -<a name="l00546"></a>00546 { -<a name="l00547"></a>00547 ChanExceptSender(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str()); -<a name="l00548"></a>00548 } -<a name="l00549"></a>00549 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00531">531</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00532"></a>00532 { +<a name="l00533"></a>00533 <span class="keywordflow">if</span> (IncludeSender) +<a name="l00534"></a>00534 { +<a name="l00535"></a>00535 WriteChannel(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str()); +<a name="l00536"></a>00536 } +<a name="l00537"></a>00537 <span class="keywordflow">else</span> +<a name="l00538"></a>00538 { +<a name="l00539"></a>00539 ChanExceptSender(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str()); +<a name="l00540"></a>00540 } +<a name="l00541"></a>00541 } </pre></div> <p> </td> @@ -2531,9 +2531,9 @@ Writes text to a channel, but from a server, including all. <p> This can be used to send server notices to a group of users. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00534">534</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00535"></a>00535 { -<a name="l00536"></a>00536 WriteChannelWithServ((<span class="keywordtype">char</span>*)ServName.c_str(), Channel, <span class="stringliteral">"%s"</span>, text.c_str()); -<a name="l00537"></a>00537 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00526">526</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00527"></a>00527 { +<a name="l00528"></a>00528 WriteChannelWithServ((<span class="keywordtype">char</span>*)ServName.c_str(), Channel, <span class="stringliteral">"%s"</span>, text.c_str()); +<a name="l00529"></a>00529 } </pre></div> <p> </td> @@ -2583,16 +2583,16 @@ Sends text from a user to one or more channels (mulicast). <p> This method writes a line of text to all users which share a common channel with a given user, with the user's nick/ident/host combination prepended, as used in PRIVMSG etc commands (see RFC 1459). If the IncludeSender flag is set, then the text is also sent back to the user from which it originated, as seen in NICK (see RFC 1459). Otherwise, it is only sent to the other recipients, as seen in QUIT. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00556">556</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00557"></a>00557 { -<a name="l00558"></a>00558 <span class="keywordflow">if</span> (IncludeSender) -<a name="l00559"></a>00559 { -<a name="l00560"></a>00560 WriteCommon(User,<span class="stringliteral">"%s"</span>,text.c_str()); -<a name="l00561"></a>00561 } -<a name="l00562"></a>00562 <span class="keywordflow">else</span> -<a name="l00563"></a>00563 { -<a name="l00564"></a>00564 WriteCommonExcept(User,<span class="stringliteral">"%s"</span>,text.c_str()); -<a name="l00565"></a>00565 } -<a name="l00566"></a>00566 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00548">548</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00549"></a>00549 { +<a name="l00550"></a>00550 <span class="keywordflow">if</span> (IncludeSender) +<a name="l00551"></a>00551 { +<a name="l00552"></a>00552 WriteCommon(User,<span class="stringliteral">"%s"</span>,text.c_str()); +<a name="l00553"></a>00553 } +<a name="l00554"></a>00554 <span class="keywordflow">else</span> +<a name="l00555"></a>00555 { +<a name="l00556"></a>00556 WriteCommonExcept(User,<span class="stringliteral">"%s"</span>,text.c_str()); +<a name="l00557"></a>00557 } +<a name="l00558"></a>00558 } </pre></div> <p> </td> @@ -2642,9 +2642,9 @@ Sends text from a user to a socket. <p> This method writes a line of text to an established socket, with the given user's nick/ident /host combination prepended, as used in PRIVSG etc commands (see RFC 1459) <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00515">515</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00516"></a>00516 { -<a name="l00517"></a>00517 WriteFrom(Socket,User,<span class="stringliteral">"%s"</span>,s.c_str()); -<a name="l00518"></a>00518 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00507">507</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00508"></a>00508 { +<a name="l00509"></a>00509 WriteFrom(Socket,User,<span class="stringliteral">"%s"</span>,s.c_str()); +<a name="l00510"></a>00510 } </pre></div> <p> </td> @@ -2701,11 +2701,11 @@ modes[2] = user->nick;<p> Srv->SendMode(modes,3,user);<p> The modes will originate from the server where the command was issued, however responses (e.g. numerics) will be sent to the user you provide as the third parameter. You must be sure to get the number of parameters correct in the pcnt parameter otherwise you could leave your server in an unstable state! <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00500">500</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#l00492">492</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="mode_8h.html#server_5Fmode_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">server_mode()</a>.<div class="fragment"><pre class="fragment"><a name="l00501"></a>00501 { -<a name="l00502"></a>00502 <a class="code" href="mode_8h.html#server_5Fmode_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">server_mode</a>(parameters,pcnt,user); -<a name="l00503"></a>00503 } +References <a class="el" href="mode_8h.html#server_5Fmode_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">server_mode()</a>.<div class="fragment"><pre class="fragment"><a name="l00493"></a>00493 { +<a name="l00494"></a>00494 <a class="code" href="mode_8h.html#server_5Fmode_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">server_mode</a>(parameters,pcnt,user); +<a name="l00495"></a>00495 } </pre></div> <p> </td> @@ -2740,9 +2740,9 @@ Sends text to all opers. <p> This method sends a server notice to all opers with the usermode +s. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00425">425</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00426"></a>00426 { -<a name="l00427"></a>00427 WriteOpers(<span class="stringliteral">"%s"</span>,s.c_str()); -<a name="l00428"></a>00428 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00417">417</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00418"></a>00418 { +<a name="l00419"></a>00419 WriteOpers(<span class="stringliteral">"%s"</span>,s.c_str()); +<a name="l00420"></a>00420 } </pre></div> <p> </td> @@ -2786,9 +2786,9 @@ Sends text from the server to a socket. <p> This method writes a line of text to an established socket, with the servername prepended as used by numerics (see RFC 1459) <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00510">510</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00511"></a>00511 { -<a name="l00512"></a>00512 WriteServ(Socket,<span class="stringliteral">"%s"</span>,s.c_str()); -<a name="l00513"></a>00513 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00502">502</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00503"></a>00503 { +<a name="l00504"></a>00504 WriteServ(Socket,<span class="stringliteral">"%s"</span>,s.c_str()); +<a name="l00505"></a>00505 } </pre></div> <p> </td> @@ -2842,20 +2842,20 @@ The format will become:<p> :localserver TEXT<p> Which is useful for numerics and server notices to single users, etc. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00520">520</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. -<p> -References <a class="el" href="connection_8h-source.html#l00042">connection::fd</a>.<div class="fragment"><pre class="fragment"><a name="l00521"></a>00521 { -<a name="l00522"></a>00522 <span class="keywordflow">if</span> (!Source) -<a name="l00523"></a>00523 { -<a name="l00524"></a>00524 <span class="comment">// if source is NULL, then the message originates from the local server</span> -<a name="l00525"></a>00525 Write(Dest-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">":%s %s"</span>,this->GetServerName().c_str(),s.c_str()); -<a name="l00526"></a>00526 } -<a name="l00527"></a>00527 <span class="keywordflow">else</span> -<a name="l00528"></a>00528 { -<a name="l00529"></a>00529 <span class="comment">// otherwise it comes from the user specified</span> -<a name="l00530"></a>00530 WriteTo(Source,Dest,<span class="stringliteral">"%s"</span>,s.c_str()); -<a name="l00531"></a>00531 } -<a name="l00532"></a>00532 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00512">512</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="connection_8h-source.html#l00042">connection::fd</a>.<div class="fragment"><pre class="fragment"><a name="l00513"></a>00513 { +<a name="l00514"></a>00514 <span class="keywordflow">if</span> (!Source) +<a name="l00515"></a>00515 { +<a name="l00516"></a>00516 <span class="comment">// if source is NULL, then the message originates from the local server</span> +<a name="l00517"></a>00517 Write(Dest-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">":%s %s"</span>,this->GetServerName().c_str(),s.c_str()); +<a name="l00518"></a>00518 } +<a name="l00519"></a>00519 <span class="keywordflow">else</span> +<a name="l00520"></a>00520 { +<a name="l00521"></a>00521 <span class="comment">// otherwise it comes from the user specified</span> +<a name="l00522"></a>00522 WriteTo(Source,Dest,<span class="stringliteral">"%s"</span>,s.c_str()); +<a name="l00523"></a>00523 } +<a name="l00524"></a>00524 } </pre></div> <p> </td> @@ -2907,9 +2907,9 @@ These can be RFC specified modes such as +i, or module provided modes, including Serv->SendToModeMask("xi", WM_OR, "m00");<p> Then the text 'm00' will be sent to all users with EITHER mode x or i. Conversely if you used WM_AND, the user must have both modes set to receive the message. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00438">438</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00439"></a>00439 { -<a name="l00440"></a>00440 WriteMode(modes.c_str(),flags,<span class="stringliteral">"%s"</span>,text.c_str()); -<a name="l00441"></a>00441 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00430">430</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00431"></a>00431 { +<a name="l00432"></a>00432 WriteMode(modes.c_str(),flags,<span class="stringliteral">"%s"</span>,text.c_str()); +<a name="l00433"></a>00433 } </pre></div> <p> </td> @@ -2953,9 +2953,9 @@ Sends a WALLOPS message. <p> This method writes a WALLOPS message to all users with the +w flag, originating from the specified user. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00568">568</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00569"></a>00569 { -<a name="l00570"></a>00570 WriteWallOps(User,<span class="keyword">false</span>,<span class="stringliteral">"%s"</span>,text.c_str()); -<a name="l00571"></a>00571 } +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>.<div class="fragment"><pre class="fragment"><a name="l00561"></a>00561 { +<a name="l00562"></a>00562 WriteWallOps(User,<span class="keyword">false</span>,<span class="stringliteral">"%s"</span>,text.c_str()); +<a name="l00563"></a>00563 } </pre></div> <p> </td> @@ -2999,37 +2999,18 @@ Remove a user's connection to the irc server, but leave their client in existenc <p> When you call this function, the user's file descriptor will be replaced with the value of FD_MAGIC_NUMBER and their old file descriptor will be closed. This idle client will remain until it is restored with a valid file descriptor, or is removed from IRC by an operator After this call, the pointer to user will be invalid. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00677">677</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. -<p> -References <a class="el" href="users_8cpp-source.html#l00239">userrec::ClearBuffer()</a>, <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, <a class="el" href="connection_8h-source.html#l00042">connection::fd</a>, <a class="el" href="modules_8h-source.html#l00101">FD_MAGIC_NUMBER</a>, <a class="el" href="connection_8h-source.html#l00046">connection::host</a>, and <a class="el" href="users_8h-source.html#l00129">userrec::ident</a>.<div class="fragment"><pre class="fragment"><a name="l00678"></a>00678 { -<a name="l00679"></a>00679 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> old_fd = user-><a class="code" href="classconnection.html#fd">fd</a>; -<a name="l00680"></a>00680 user-><a class="code" href="classconnection.html#fd">fd</a> = <a class="code" href="modules_8h.html#FD_5FMAGIC_5FNUMBER">FD_MAGIC_NUMBER</a>; -<a name="l00681"></a>00681 user-><a class="code" href="classuserrec.html#ClearBuffer_28_29">ClearBuffer</a>(); -<a name="l00682"></a>00682 Write(old_fd,<span class="stringliteral">"ERROR :Closing link (%s@%s) [%s]"</span>,user-><a class="code" href="classuserrec.html#ident_5BIDENTMAX_2B_32_5D">ident</a>,user-><a class="code" href="classconnection.html#host_5B_31_36_30_5D">host</a>,message.c_str()); -<a name="l00683"></a>00683 <span class="preprocessor">#ifdef USE_KQUEUE</span> -<a name="l00684"></a>00684 <span class="preprocessor"></span> <span class="keyword">struct </span>kevent ke; -<a name="l00685"></a>00685 EV_SET(&ke, old_fd, EVFILT_READ, EV_DELETE, 0, 0, NULL); -<a name="l00686"></a>00686 <span class="keywordtype">int</span> i = kevent(kq, &ke, 1, 0, 0, NULL); -<a name="l00687"></a>00687 <span class="keywordflow">if</span> (i == -1) -<a name="l00688"></a>00688 { -<a name="l00689"></a>00689 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"kqueue: Failed to remove user from queue!"</span>); -<a name="l00690"></a>00690 } -<a name="l00691"></a>00691 <span class="preprocessor">#endif</span> -<a name="l00692"></a>00692 <span class="preprocessor"></span><span class="preprocessor">#ifdef USE_EPOLL</span> -<a name="l00693"></a>00693 <span class="preprocessor"></span> <span class="keyword">struct </span>epoll_event ev; -<a name="l00694"></a>00694 ev.events = EPOLLIN | EPOLLET; -<a name="l00695"></a>00695 ev.data.fd = old_fd; -<a name="l00696"></a>00696 <span class="keywordtype">int</span> i = epoll_ctl(ep, EPOLL_CTL_DEL, old_fd, &ev); -<a name="l00697"></a>00697 <span class="keywordflow">if</span> (i < 0) -<a name="l00698"></a>00698 { -<a name="l00699"></a>00699 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"epoll: List deletion failure!"</span>); -<a name="l00700"></a>00700 } -<a name="l00701"></a>00701 <span class="preprocessor">#endif</span> -<a name="l00702"></a>00702 <span class="preprocessor"></span> -<a name="l00703"></a>00703 shutdown(old_fd,2); -<a name="l00704"></a>00704 close(old_fd); -<a name="l00705"></a>00705 <span class="keywordflow">return</span> <span class="keyword">true</span>; -<a name="l00706"></a>00706 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00669">669</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="users_8cpp-source.html#l00239">userrec::ClearBuffer()</a>, <a class="el" href="socketengine_8cpp-source.html#l00103">SocketEngine::DelFd()</a>, <a class="el" href="connection_8h-source.html#l00042">connection::fd</a>, <a class="el" href="modules_8h-source.html#l00101">FD_MAGIC_NUMBER</a>, <a class="el" href="connection_8h-source.html#l00046">connection::host</a>, and <a class="el" href="users_8h-source.html#l00129">userrec::ident</a>.<div class="fragment"><pre class="fragment"><a name="l00670"></a>00670 { +<a name="l00671"></a>00671 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> old_fd = user-><a class="code" href="classconnection.html#fd">fd</a>; +<a name="l00672"></a>00672 user-><a class="code" href="classconnection.html#fd">fd</a> = <a class="code" href="modules_8h.html#FD_5FMAGIC_5FNUMBER">FD_MAGIC_NUMBER</a>; +<a name="l00673"></a>00673 user-><a class="code" href="classuserrec.html#ClearBuffer_28_29">ClearBuffer</a>(); +<a name="l00674"></a>00674 Write(old_fd,<span class="stringliteral">"ERROR :Closing link (%s@%s) [%s]"</span>,user-><a class="code" href="classuserrec.html#ident_5BIDENTMAX_2B_32_5D">ident</a>,user-><a class="code" href="classconnection.html#host_5B_31_36_30_5D">host</a>,message.c_str()); +<a name="l00675"></a>00675 <a class="code" href="modules_8cpp.html#SE">SE</a>-><a class="code" href="classSocketEngine.html#DelFd_28int_20fd_29">DelFd</a>(old_fd); +<a name="l00676"></a>00676 shutdown(old_fd,2); +<a name="l00677"></a>00677 close(old_fd); +<a name="l00678"></a>00678 <span class="keywordflow">return</span> <span class="keyword">true</span>; +<a name="l00679"></a>00679 } </pre></div> <p> </td> @@ -3037,7 +3018,7 @@ References <a class="el" href="users_8cpp-source.html#l00239">userrec::ClearBuff </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 size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:13 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classSocketEngine-members.html b/docs/module-doc/classSocketEngine-members.html new file mode 100644 index 000000000..a8b279438 --- /dev/null +++ b/docs/module-doc/classSocketEngine-members.html @@ -0,0 +1,24 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>InspIRCd: Member List</title> +<link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.4.4-20050815 --> +<div class="qindex"><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">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<h1>SocketEngine Member List</h1>This is the complete list of members for <a class="el" href="classSocketEngine.html">SocketEngine</a>, including all inherited members.<p><table> + <tr class="memlist"><td><a class="el" href="classSocketEngine.html#AddFd_28int_20fd_2C_20bool_20readable_2C_20char_20type_29">AddFd</a>(int fd, bool readable, char type)</td><td><a class="el" href="classSocketEngine.html">SocketEngine</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classSocketEngine.html#DelFd_28int_20fd_29">DelFd</a>(int fd)</td><td><a class="el" href="classSocketEngine.html">SocketEngine</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classSocketEngine.html#EngineHandle">EngineHandle</a></td><td><a class="el" href="classSocketEngine.html">SocketEngine</a></td><td><code> [private]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classSocketEngine.html#fds">fds</a></td><td><a class="el" href="classSocketEngine.html">SocketEngine</a></td><td><code> [private]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classSocketEngine.html#GetName_28_29">GetName</a>()</td><td><a class="el" href="classSocketEngine.html">SocketEngine</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classSocketEngine.html#GetType_28int_20fd_29">GetType</a>(int fd)</td><td><a class="el" href="classSocketEngine.html">SocketEngine</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classSocketEngine.html#ke_5Flist_5B_36_35_35_33_35_5D">ke_list</a></td><td><a class="el" href="classSocketEngine.html">SocketEngine</a></td><td><code> [private]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classSocketEngine.html#SocketEngine_28_29">SocketEngine</a>()</td><td><a class="el" href="classSocketEngine.html">SocketEngine</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classSocketEngine.html#ts">ts</a></td><td><a class="el" href="classSocketEngine.html">SocketEngine</a></td><td><code> [private]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classSocketEngine.html#Wait_28std_3A_3Avector_3C_20int_20_3E_20_26fdlist_29">Wait</a>(std::vector< int > &fdlist)</td><td><a class="el" href="classSocketEngine.html">SocketEngine</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classSocketEngine.html#_7ESocketEngine_28_29">~SocketEngine</a>()</td><td><a class="el" href="classSocketEngine.html">SocketEngine</a></td><td></td></tr> +</table><hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:13 2005 for InspIRCd by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> +</body> +</html> diff --git a/docs/module-doc/classSocketEngine.html b/docs/module-doc/classSocketEngine.html new file mode 100644 index 000000000..a72e347c6 --- /dev/null +++ b/docs/module-doc/classSocketEngine.html @@ -0,0 +1,599 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>InspIRCd: SocketEngine Class Reference</title> +<link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.4.4-20050815 --> +<div class="qindex"><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">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<h1>SocketEngine Class Reference</h1><!-- doxytag: class="SocketEngine" -->The actual socketengine class presents the same interface on all operating systems, but its private members and internal behaviour should be treated as blackboxed, and vary from system to system and upon the config settings chosen by the server admin. +<a href="#_details">More...</a> +<p> +<code>#include <<a class="el" href="socketengine_8h-source.html">socketengine.h</a>></code> +<p> +Collaboration diagram for SocketEngine:<p><center><img src="classSocketEngine__coll__graph.gif" border="0" usemap="#SocketEngine__coll__map" alt="Collaboration graph"></center> +<center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center><a href="classSocketEngine-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSocketEngine.html#SocketEngine_28_29">SocketEngine</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor The constructor transparently initializes the socket engine which the ircd is using. <a href="#SocketEngine_28_29"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSocketEngine.html#_7ESocketEngine_28_29">~SocketEngine</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor The destructor transparently tidies up any resources used by the socket engine. <a href="#_7ESocketEngine_28_29"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classSocketEngine.html#AddFd_28int_20fd_2C_20bool_20readable_2C_20char_20type_29">AddFd</a> (int fd, bool readable, char type)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Add a file descriptor to the engine Use AddFd to add a file descriptor to the engine and have the socket engine monitor it. <a href="#AddFd_28int_20fd_2C_20bool_20readable_2C_20char_20type_29"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="classSocketEngine.html#GetType_28int_20fd_29">GetType</a> (int fd)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the type value for this file descriptor This function masks off the X_READBIT value so that the type of the socket can be obtained. <a href="#GetType_28int_20fd_29"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classSocketEngine.html#DelFd_28int_20fd_29">DelFd</a> (int fd)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Delete a file descriptor f rom the engine This function call deletes a file descriptor from the engine, returning true if it succeeded and false if it failed. <a href="#DelFd_28int_20fd_29"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classSocketEngine.html#Wait_28std_3A_3Avector_3C_20int_20_3E_20_26fdlist_29">Wait</a> (std::vector< int > &fdlist)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Waits for an event. <a href="#Wait_28std_3A_3Avector_3C_20int_20_3E_20_26fdlist_29"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="namespaceirc.html#string">std::string</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSocketEngine.html#GetName_28_29">GetName</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the socket engines name This returns the name of the engine for use in /VERSION responses. <a href="#GetName_28_29"></a><br></td></tr> +<tr><td colspan="2"><br><h2>Private Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">std::vector< int > </td><td class="memItemRight" valign="bottom"><a class="el" href="classSocketEngine.html#fds">fds</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classSocketEngine.html#EngineHandle">EngineHandle</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">kevent </td><td class="memItemRight" valign="bottom"><a class="el" href="classSocketEngine.html#ke_5Flist_5B_36_35_35_33_35_5D">ke_list</a> [65535]</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">timespec </td><td class="memItemRight" valign="bottom"><a class="el" href="classSocketEngine.html#ts">ts</a></td></tr> + +</table> +<hr><a name="_details"></a><h2>Detailed Description</h2> +The actual socketengine class presents the same interface on all operating systems, but its private members and internal behaviour should be treated as blackboxed, and vary from system to system and upon the config settings chosen by the server admin. +<p> +The current version supports select, epoll and kqueue. +<p> + +<p> +Definition at line <a class="el" href="socketengine_8h-source.html#l00066">66</a> of file <a class="el" href="socketengine_8h-source.html">socketengine.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="SocketEngine_28_29"></a><!-- doxytag: member="SocketEngine::SocketEngine" ref="SocketEngine_28_29" args="()" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">SocketEngine::SocketEngine </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> +Constructor The constructor transparently initializes the socket engine which the ircd is using. +<p> +Please note that if there is a catastrophic failure (for example, you try and enable epoll on a 2.4 linux kernel) then this function may bail back to the shell. +<p> +Definition at line <a class="el" href="socketengine_8cpp-source.html#l00035">35</a> of file <a class="el" href="socketengine_8cpp-source.html">socketengine.cpp</a>. +<p> +References <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, and <a class="el" href="socketengine_8h-source.html#l00069">EngineHandle</a>.<div class="fragment"><pre class="fragment"><a name="l00036"></a>00036 { +<a name="l00037"></a>00037 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"SocketEngine::SocketEngine()"</span>); +<a name="l00038"></a>00038 <span class="preprocessor">#ifdef USE_EPOLL</span> +<a name="l00039"></a>00039 <span class="preprocessor"></span> <a class="code" href="classSocketEngine.html#EngineHandle">EngineHandle</a> = epoll_create(65535); +<a name="l00040"></a>00040 <span class="preprocessor">#endif</span> +<a name="l00041"></a>00041 <span class="preprocessor"></span><span class="preprocessor">#ifdef USE_KQUEUE</span> +<a name="l00042"></a>00042 <span class="preprocessor"></span> <a class="code" href="classSocketEngine.html#EngineHandle">EngineHandle</a> = kqueue(); +<a name="l00043"></a>00043 <span class="preprocessor">#endif</span> +<a name="l00044"></a>00044 <span class="preprocessor"></span>} +</pre></div> +<p> + </td> + </tr> +</table> +<a class="anchor" name="_7ESocketEngine_28_29"></a><!-- doxytag: member="SocketEngine::~SocketEngine" ref="_7ESocketEngine_28_29" args="()" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">SocketEngine::~SocketEngine </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> +Destructor The destructor transparently tidies up any resources used by the socket engine. +<p> + +<p> +Definition at line <a class="el" href="socketengine_8cpp-source.html#l00046">46</a> of file <a class="el" href="socketengine_8cpp-source.html">socketengine.cpp</a>. +<p> +References <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, and <a class="el" href="socketengine_8h-source.html#l00069">EngineHandle</a>.<div class="fragment"><pre class="fragment"><a name="l00047"></a>00047 { +<a name="l00048"></a>00048 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"SocketEngine::~SocketEngine()"</span>); +<a name="l00049"></a>00049 <span class="preprocessor">#ifdef USE_EPOLL</span> +<a name="l00050"></a>00050 <span class="preprocessor"></span> close(<a class="code" href="classSocketEngine.html#EngineHandle">EngineHandle</a>); +<a name="l00051"></a>00051 <span class="preprocessor">#endif</span> +<a name="l00052"></a>00052 <span class="preprocessor"></span><span class="preprocessor">#ifdef USE_KQUEUE</span> +<a name="l00053"></a>00053 <span class="preprocessor"></span> close(<a class="code" href="classSocketEngine.html#EngineHandle">EngineHandle</a>); +<a name="l00054"></a>00054 <span class="preprocessor">#endif</span> +<a name="l00055"></a>00055 <span class="preprocessor"></span>} +</pre></div> +<p> + </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="AddFd_28int_20fd_2C_20bool_20readable_2C_20char_20type_29"></a><!-- doxytag: member="SocketEngine::AddFd" ref="AddFd_28int_20fd_2C_20bool_20readable_2C_20char_20type_29" args="(int fd, bool readable, char type)" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">bool SocketEngine::AddFd </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">int </td> + <td class="mdname" nowrap> <em>fd</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>readable</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap>char </td> + <td class="mdname" nowrap> <em>type</em></td> + </tr> + <tr> + <td class="md"></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> +Add a file descriptor to the engine Use AddFd to add a file descriptor to the engine and have the socket engine monitor it. +<p> +You must provide a type (see the consts in <a class="el" href="socketengine_8h.html">socketengine.h</a>) and a boolean flag to indicate wether to watch this fd for read or write events (there is currently no need for support of both). +<p> +Definition at line <a class="el" href="socketengine_8cpp-source.html#l00065">65</a> of file <a class="el" href="socketengine_8cpp-source.html">socketengine.cpp</a>. +<p> +References <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, <a class="el" href="socketengine_8h-source.html#l00069">EngineHandle</a>, <a class="el" href="socketengine_8h-source.html#l00068">fds</a>, <a class="el" href="socketengine_8cpp-source.html#l00033">ref</a>, and <a class="el" href="socketengine_8h-source.html#l00055">X_READBIT</a>. +<p> +Referenced by <a class="el" href="socket_8cpp-source.html#l00054">InspSocket::InspSocket()</a>, and <a class="el" href="socket_8cpp-source.html#l00197">InspSocket::Poll()</a>.<div class="fragment"><pre class="fragment"><a name="l00066"></a>00066 { +<a name="l00067"></a>00067 <span class="keywordflow">if</span> ((fd < 0) || (fd > 65535)) +<a name="l00068"></a>00068 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00069"></a>00069 this-><a class="code" href="classSocketEngine.html#fds">fds</a>.push_back(fd); +<a name="l00070"></a>00070 <a class="code" href="socketengine_8cpp.html#ref_5B_36_35_35_33_35_5D">ref</a>[fd] = type; +<a name="l00071"></a>00071 <span class="keywordflow">if</span> (readable) +<a name="l00072"></a>00072 { +<a name="l00073"></a>00073 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Set readbit"</span>); +<a name="l00074"></a>00074 <a class="code" href="socketengine_8cpp.html#ref_5B_36_35_35_33_35_5D">ref</a>[fd] |= <a class="code" href="socketengine_8h.html#X_5FREADBIT">X_READBIT</a>; +<a name="l00075"></a>00075 } +<a name="l00076"></a>00076 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Add socket %d"</span>,fd); +<a name="l00077"></a>00077 <span class="preprocessor">#ifdef USE_EPOLL</span> +<a name="l00078"></a>00078 <span class="preprocessor"></span> <span class="keyword">struct </span>epoll_event ev; +<a name="l00079"></a>00079 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"epoll: Add socket to events, ep=%d socket=%d"</span>,<a class="code" href="classSocketEngine.html#EngineHandle">EngineHandle</a>,fd); +<a name="l00080"></a>00080 readable ? ev.events = EPOLLIN | EPOLLET : ev.events = EPOLLOUT | EPOLLET; +<a name="l00081"></a>00081 ev.data.fd = fd; +<a name="l00082"></a>00082 <span class="keywordtype">int</span> i = epoll_ctl(<a class="code" href="classSocketEngine.html#EngineHandle">EngineHandle</a>, EPOLL_CTL_ADD, fd, &ev); +<a name="l00083"></a>00083 <span class="keywordflow">if</span> (i < 0) +<a name="l00084"></a>00084 { +<a name="l00085"></a>00085 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"epoll: List insertion failure!"</span>); +<a name="l00086"></a>00086 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00087"></a>00087 } +<a name="l00088"></a>00088 <span class="preprocessor">#endif</span> +<a name="l00089"></a>00089 <span class="preprocessor"></span><span class="preprocessor">#ifdef USE_KQUEUE</span> +<a name="l00090"></a>00090 <span class="preprocessor"></span> <span class="keyword">struct </span>kevent ke; +<a name="l00091"></a>00091 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"kqueue: Add socket to events, kq=%d socket=%d"</span>,<a class="code" href="classSocketEngine.html#EngineHandle">EngineHandle</a>,fd); +<a name="l00092"></a>00092 EV_SET(&ke, fd, readable ? EVFILT_READ : EVFILT_WRITE, EV_ADD, 0, 0, NULL); +<a name="l00093"></a>00093 <span class="keywordtype">int</span> i = kevent(<a class="code" href="classSocketEngine.html#EngineHandle">EngineHandle</a>, &ke, 1, 0, 0, NULL); +<a name="l00094"></a>00094 <span class="keywordflow">if</span> (i == -1) +<a name="l00095"></a>00095 { +<a name="l00096"></a>00096 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"kqueue: List insertion failure!"</span>); +<a name="l00097"></a>00097 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00098"></a>00098 } +<a name="l00099"></a>00099 <span class="preprocessor">#endif</span> +<a name="l00100"></a>00100 <span class="preprocessor"></span><span class="keywordflow">return</span> <span class="keyword">true</span>; +<a name="l00101"></a>00101 } +</pre></div> +<p> + </td> + </tr> +</table> +<a class="anchor" name="DelFd_28int_20fd_29"></a><!-- doxytag: member="SocketEngine::DelFd" ref="DelFd_28int_20fd_29" args="(int fd)" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">bool SocketEngine::DelFd </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">int </td> + <td class="mdname1" valign="top" nowrap> <em>fd</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> +Delete a file descriptor f rom the engine This function call deletes a file descriptor from the engine, returning true if it succeeded and false if it failed. +<p> + +<p> +Definition at line <a class="el" href="socketengine_8cpp-source.html#l00103">103</a> of file <a class="el" href="socketengine_8cpp-source.html">socketengine.cpp</a>. +<p> +References <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, <a class="el" href="socketengine_8h-source.html#l00069">EngineHandle</a>, <a class="el" href="socketengine_8h-source.html#l00068">fds</a>, <a class="el" href="socketengine_8cpp-source.html#l00033">ref</a>, and <a class="el" href="socketengine_8h-source.html#l00055">X_READBIT</a>. +<p> +Referenced by <a class="el" href="socket_8cpp-source.html#l00197">InspSocket::Poll()</a>, and <a class="el" href="modules_8cpp-source.html#l00669">Server::UserToPseudo()</a>.<div class="fragment"><pre class="fragment"><a name="l00104"></a>00104 { +<a name="l00105"></a>00105 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"SocketEngine::DelFd(%d)"</span>,fd); +<a name="l00106"></a>00106 +<a name="l00107"></a>00107 <span class="keywordflow">if</span> ((fd < 0) || (fd > 65535)) +<a name="l00108"></a>00108 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00109"></a>00109 +<a name="l00110"></a>00110 <span class="keywordtype">bool</span> found = <span class="keyword">false</span>; +<a name="l00111"></a>00111 <span class="keywordflow">for</span> (std::vector<int>::iterator i = <a class="code" href="classSocketEngine.html#fds">fds</a>.begin(); i != <a class="code" href="classSocketEngine.html#fds">fds</a>.end(); i++) +<a name="l00112"></a>00112 { +<a name="l00113"></a>00113 <span class="keywordflow">if</span> (*i == fd) +<a name="l00114"></a>00114 { +<a name="l00115"></a>00115 <a class="code" href="classSocketEngine.html#fds">fds</a>.erase(i); +<a name="l00116"></a>00116 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Deleted fd %d"</span>,fd); +<a name="l00117"></a>00117 found = <span class="keyword">true</span>; +<a name="l00118"></a>00118 <span class="keywordflow">break</span>; +<a name="l00119"></a>00119 } +<a name="l00120"></a>00120 } +<a name="l00121"></a>00121 <span class="preprocessor">#ifdef USE_KQUEUE</span> +<a name="l00122"></a>00122 <span class="preprocessor"></span> <span class="keyword">struct </span>kevent ke; +<a name="l00123"></a>00123 EV_SET(&ke, fd, <a class="code" href="socketengine_8cpp.html#ref_5B_36_35_35_33_35_5D">ref</a>[fd] && <a class="code" href="socketengine_8h.html#X_5FREADBIT">X_READBIT</a> ? EVFILT_READ : EVFILT_WRITE, EV_DELETE, 0, 0, NULL); +<a name="l00124"></a>00124 <span class="keywordtype">int</span> i = kevent(<a class="code" href="classSocketEngine.html#EngineHandle">EngineHandle</a>, &ke, 1, 0, 0, NULL); +<a name="l00125"></a>00125 <span class="keywordflow">if</span> (i == -1) +<a name="l00126"></a>00126 { +<a name="l00127"></a>00127 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"kqueue: Failed to remove socket from queue!"</span>); +<a name="l00128"></a>00128 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00129"></a>00129 } +<a name="l00130"></a>00130 <span class="preprocessor">#endif</span> +<a name="l00131"></a>00131 <span class="preprocessor"></span><span class="preprocessor">#ifdef USE_EPOLL</span> +<a name="l00132"></a>00132 <span class="preprocessor"></span> <span class="keyword">struct </span>epoll_event ev; +<a name="l00133"></a>00133 <a class="code" href="socketengine_8cpp.html#ref_5B_36_35_35_33_35_5D">ref</a>[fd] && <a class="code" href="socketengine_8h.html#X_5FREADBIT">X_READBIT</a> ? ev.events = EPOLLIN | EPOLLET : ev.events = EPOLLOUT | EPOLLET; +<a name="l00134"></a>00134 ev.data.fd = fd; +<a name="l00135"></a>00135 <span class="keywordtype">int</span> i = epoll_ctl(<a class="code" href="classSocketEngine.html#EngineHandle">EngineHandle</a>, EPOLL_CTL_DEL, fd, &ev); +<a name="l00136"></a>00136 <span class="keywordflow">if</span> (i < 0) +<a name="l00137"></a>00137 { +<a name="l00138"></a>00138 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"epoll: List deletion failure!"</span>); +<a name="l00139"></a>00139 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00140"></a>00140 } +<a name="l00141"></a>00141 <span class="preprocessor">#endif</span> +<a name="l00142"></a>00142 <span class="preprocessor"></span> <a class="code" href="socketengine_8cpp.html#ref_5B_36_35_35_33_35_5D">ref</a>[fd] = 0; +<a name="l00143"></a>00143 <span class="keywordflow">return</span> found; +<a name="l00144"></a>00144 } +</pre></div> +<p> + </td> + </tr> +</table> +<a class="anchor" name="GetName_28_29"></a><!-- doxytag: member="SocketEngine::GetName" ref="GetName_28_29" args="()" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"><a class="el" href="namespaceirc.html#string">std::string</a> SocketEngine::GetName </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 socket engines name This returns the name of the engine for use in /VERSION responses. +<p> + +<p> +Definition at line <a class="el" href="socketengine_8cpp-source.html#l00196">196</a> of file <a class="el" href="socketengine_8cpp-source.html">socketengine.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00197"></a>00197 { +<a name="l00198"></a>00198 <span class="preprocessor">#ifdef USE_SELECT</span> +<a name="l00199"></a>00199 <span class="preprocessor"></span> <span class="keywordflow">return</span> <span class="stringliteral">"select"</span>; +<a name="l00200"></a>00200 <span class="preprocessor">#endif</span> +<a name="l00201"></a>00201 <span class="preprocessor"></span><span class="preprocessor">#ifdef USE_KQUEUE</span> +<a name="l00202"></a>00202 <span class="preprocessor"></span> <span class="keywordflow">return</span> <span class="stringliteral">"kqueue"</span>; +<a name="l00203"></a>00203 <span class="preprocessor">#endif</span> +<a name="l00204"></a>00204 <span class="preprocessor"></span><span class="preprocessor">#ifdef USE_EPOLL</span> +<a name="l00205"></a>00205 <span class="preprocessor"></span> <span class="keywordflow">return</span> <span class="stringliteral">"epoll"</span>; +<a name="l00206"></a>00206 <span class="preprocessor">#endif</span> +<a name="l00207"></a>00207 <span class="preprocessor"></span> <span class="keywordflow">return</span> <span class="stringliteral">"misconfigured"</span>; +<a name="l00208"></a>00208 } +</pre></div> +<p> + </td> + </tr> +</table> +<a class="anchor" name="GetType_28int_20fd_29"></a><!-- doxytag: member="SocketEngine::GetType" ref="GetType_28int_20fd_29" args="(int fd)" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">char SocketEngine::GetType </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">int </td> + <td class="mdname1" valign="top" nowrap> <em>fd</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> +Returns the type value for this file descriptor This function masks off the X_READBIT value so that the type of the socket can be obtained. +<p> +The core uses this to decide where to dispatch the event to. Please note that some engines such as select() have an upper limit of 1024 descriptors which may be active at any one time, where others such as kqueue have no practical limits at all. +<p> +Definition at line <a class="el" href="socketengine_8cpp-source.html#l00057">57</a> of file <a class="el" href="socketengine_8cpp-source.html">socketengine.cpp</a>. +<p> +References <a class="el" href="socketengine_8cpp-source.html#l00033">ref</a>, and <a class="el" href="socketengine_8h-source.html#l00041">X_EMPTY_SLOT</a>.<div class="fragment"><pre class="fragment"><a name="l00058"></a>00058 { +<a name="l00059"></a>00059 <span class="keywordflow">if</span> ((fd < 0) || (fd > 65535)) +<a name="l00060"></a>00060 <span class="keywordflow">return</span> <a class="code" href="socketengine_8h.html#X_5FEMPTY_5FSLOT">X_EMPTY_SLOT</a>; +<a name="l00061"></a>00061 <span class="comment">/* Mask off the top bit used for 'read/write' state */</span> +<a name="l00062"></a>00062 <span class="keywordflow">return</span> (<a class="code" href="socketengine_8cpp.html#ref_5B_36_35_35_33_35_5D">ref</a>[fd] & ~0x80); +<a name="l00063"></a>00063 } +</pre></div> +<p> + </td> + </tr> +</table> +<a class="anchor" name="Wait_28std_3A_3Avector_3C_20int_20_3E_20_26fdlist_29"></a><!-- doxytag: member="SocketEngine::Wait" ref="Wait_28std_3A_3Avector_3C_20int_20_3E_20_26fdlist_29" args="(std::vector< int > &fdlist)" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">bool SocketEngine::Wait </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">std::vector< int > & </td> + <td class="mdname1" valign="top" nowrap> <em>fdlist</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> +Waits for an event. +<p> +Please note that this doesnt wait long, only a couple of milliseconds. It returns a list of active file descriptors in the vector fdlist which the core may then act upon. +<p> +Definition at line <a class="el" href="socketengine_8cpp-source.html#l00146">146</a> of file <a class="el" href="socketengine_8cpp-source.html">socketengine.cpp</a>. +<p> +References <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, <a class="el" href="socketengine_8h-source.html#l00069">EngineHandle</a>, <a class="el" href="socketengine_8h-source.html#l00068">fds</a>, <a class="el" href="socketengine_8h-source.html#l00074">ke_list</a>, <a class="el" href="socketengine_8cpp-source.html#l00033">ref</a>, <a class="el" href="socketengine_8h-source.html#l00075">ts</a>, and <a class="el" href="socketengine_8h-source.html#l00055">X_READBIT</a>.<div class="fragment"><pre class="fragment"><a name="l00147"></a>00147 { +<a name="l00148"></a>00148 fdlist.clear(); +<a name="l00149"></a>00149 <span class="preprocessor">#ifdef USE_SELECT</span> +<a name="l00150"></a>00150 <span class="preprocessor"></span> FD_ZERO(&wfdset); +<a name="l00151"></a>00151 FD_ZERO(&rfdset); +<a name="l00152"></a>00152 timeval tval; +<a name="l00153"></a>00153 <span class="keywordtype">int</span> sresult; +<a name="l00154"></a>00154 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> a = 0; a < <a class="code" href="classSocketEngine.html#fds">fds</a>.size(); a++) +<a name="l00155"></a>00155 { +<a name="l00156"></a>00156 <span class="keywordflow">if</span> (<a class="code" href="socketengine_8cpp.html#ref_5B_36_35_35_33_35_5D">ref</a>[<a class="code" href="classSocketEngine.html#fds">fds</a>[a]] & <a class="code" href="socketengine_8h.html#X_5FREADBIT">X_READBIT</a>) +<a name="l00157"></a>00157 { +<a name="l00158"></a>00158 FD_SET (<a class="code" href="classSocketEngine.html#fds">fds</a>[a], &rfdset); +<a name="l00159"></a>00159 } +<a name="l00160"></a>00160 <span class="keywordflow">else</span> +<a name="l00161"></a>00161 { +<a name="l00162"></a>00162 FD_SET (<a class="code" href="classSocketEngine.html#fds">fds</a>[a], &wfdset); +<a name="l00163"></a>00163 } +<a name="l00164"></a>00164 +<a name="l00165"></a>00165 } +<a name="l00166"></a>00166 tval.tv_sec = 0; +<a name="l00167"></a>00167 tval.tv_usec = 1000L; +<a name="l00168"></a>00168 sresult = select(FD_SETSIZE, &rfdset, &wfdset, NULL, &tval); +<a name="l00169"></a>00169 <span class="keywordflow">if</span> (sresult > 0) +<a name="l00170"></a>00170 { +<a name="l00171"></a>00171 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> a = 0; a < <a class="code" href="classSocketEngine.html#fds">fds</a>.size(); a++) +<a name="l00172"></a>00172 { +<a name="l00173"></a>00173 <span class="keywordflow">if</span> ((FD_ISSET (<a class="code" href="classSocketEngine.html#fds">fds</a>[a], &rfdset)) || (FD_ISSET (<a class="code" href="classSocketEngine.html#fds">fds</a>[a], &wfdset))) +<a name="l00174"></a>00174 { +<a name="l00175"></a>00175 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"...Adding active %d"</span>,<a class="code" href="classSocketEngine.html#fds">fds</a>[a]); +<a name="l00176"></a>00176 fdlist.push_back(<a class="code" href="classSocketEngine.html#fds">fds</a>[a]); +<a name="l00177"></a>00177 } +<a name="l00178"></a>00178 } +<a name="l00179"></a>00179 } +<a name="l00180"></a>00180 <span class="preprocessor">#endif</span> +<a name="l00181"></a>00181 <span class="preprocessor"></span><span class="preprocessor">#ifdef USE_KQUEUE</span> +<a name="l00182"></a>00182 <span class="preprocessor"></span> <a class="code" href="classSocketEngine.html#ts">ts</a>.tv_nsec = 1000L; +<a name="l00183"></a>00183 <a class="code" href="classSocketEngine.html#ts">ts</a>.tv_sec = 0; +<a name="l00184"></a>00184 <span class="keywordtype">int</span> i = kevent(<a class="code" href="classSocketEngine.html#EngineHandle">EngineHandle</a>, NULL, 0, &<a class="code" href="classSocketEngine.html#ke_5Flist_5B_36_35_35_33_35_5D">ke_list</a>[0], 65535, &<a class="code" href="classSocketEngine.html#ts">ts</a>); +<a name="l00185"></a>00185 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> j = 0; j < i; j++) +<a name="l00186"></a>00186 fdlist.push_back(<a class="code" href="classSocketEngine.html#ke_5Flist_5B_36_35_35_33_35_5D">ke_list</a>[j].ident); +<a name="l00187"></a>00187 <span class="preprocessor">#endif</span> +<a name="l00188"></a>00188 <span class="preprocessor"></span><span class="preprocessor">#ifdef USE_EPOLL</span> +<a name="l00189"></a>00189 <span class="preprocessor"></span> <span class="keywordtype">int</span> i = epoll_wait(<a class="code" href="classSocketEngine.html#EngineHandle">EngineHandle</a>, events, 65535, 1); +<a name="l00190"></a>00190 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> j = 0; j < i; j++) +<a name="l00191"></a>00191 fdlist.push_back(events[j].data.fd); +<a name="l00192"></a>00192 <span class="preprocessor">#endif</span> +<a name="l00193"></a>00193 <span class="preprocessor"></span> <span class="keywordflow">return</span> <span class="keyword">true</span>; +<a name="l00194"></a>00194 } +</pre></div> +<p> + </td> + </tr> +</table> +<hr><h2>Member Data Documentation</h2> +<a class="anchor" name="EngineHandle"></a><!-- doxytag: member="SocketEngine::EngineHandle" ref="EngineHandle" args="" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">int <a class="el" href="classSocketEngine.html#EngineHandle">SocketEngine::EngineHandle</a><code> [private]</code> </td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="socketengine_8h-source.html#l00069">69</a> of file <a class="el" href="socketengine_8h-source.html">socketengine.h</a>. +<p> +Referenced by <a class="el" href="socketengine_8cpp-source.html#l00065">AddFd()</a>, <a class="el" href="socketengine_8cpp-source.html#l00103">DelFd()</a>, <a class="el" href="socketengine_8cpp-source.html#l00035">SocketEngine()</a>, <a class="el" href="socketengine_8cpp-source.html#l00146">Wait()</a>, and <a class="el" href="socketengine_8cpp-source.html#l00046">~SocketEngine()</a>. </td> + </tr> +</table> +<a class="anchor" name="fds"></a><!-- doxytag: member="SocketEngine::fds" ref="fds" args="" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">std::vector<int> <a class="el" href="classSocketEngine.html#fds">SocketEngine::fds</a><code> [private]</code> </td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="socketengine_8h-source.html#l00068">68</a> of file <a class="el" href="socketengine_8h-source.html">socketengine.h</a>. +<p> +Referenced by <a class="el" href="socketengine_8cpp-source.html#l00065">AddFd()</a>, <a class="el" href="socketengine_8cpp-source.html#l00103">DelFd()</a>, and <a class="el" href="socketengine_8cpp-source.html#l00146">Wait()</a>. </td> + </tr> +</table> +<a class="anchor" name="ke_5Flist_5B_36_35_35_33_35_5D"></a><!-- doxytag: member="SocketEngine::ke_list" ref="ke_5Flist_5B_36_35_35_33_35_5D" args="[65535]" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">struct kevent <a class="el" href="classSocketEngine.html#ke_5Flist_5B_36_35_35_33_35_5D">SocketEngine::ke_list</a>[65535]<code> [private]</code> </td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="socketengine_8h-source.html#l00074">74</a> of file <a class="el" href="socketengine_8h-source.html">socketengine.h</a>. +<p> +Referenced by <a class="el" href="socketengine_8cpp-source.html#l00146">Wait()</a>. </td> + </tr> +</table> +<a class="anchor" name="ts"></a><!-- doxytag: member="SocketEngine::ts" ref="ts" args="" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">struct timespec <a class="el" href="classSocketEngine.html#ts">SocketEngine::ts</a><code> [private]</code> </td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="socketengine_8h-source.html#l00075">75</a> of file <a class="el" href="socketengine_8h-source.html">socketengine.h</a>. +<p> +Referenced by <a class="el" href="socketengine_8cpp-source.html#l00146">Wait()</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="socketengine_8h-source.html">socketengine.h</a><li><a class="el" href="socketengine_8cpp-source.html">socketengine.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:13 2005 for InspIRCd by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> +</body> +</html> diff --git a/docs/module-doc/classSocketEngine__coll__graph.gif b/docs/module-doc/classSocketEngine__coll__graph.gif Binary files differnew file mode 100644 index 000000000..c54e9e7b7 --- /dev/null +++ b/docs/module-doc/classSocketEngine__coll__graph.gif diff --git a/docs/module-doc/classSocketEngine__coll__graph.map b/docs/module-doc/classSocketEngine__coll__graph.map new file mode 100644 index 000000000..5a14779e7 --- /dev/null +++ b/docs/module-doc/classSocketEngine__coll__graph.map @@ -0,0 +1 @@ +base referer diff --git a/docs/module-doc/classSocketEngine__coll__graph.md5 b/docs/module-doc/classSocketEngine__coll__graph.md5 new file mode 100644 index 000000000..6f5c85054 --- /dev/null +++ b/docs/module-doc/classSocketEngine__coll__graph.md5 @@ -0,0 +1 @@ +baef8ac2d5158fc84cfa300ed15ca731
\ No newline at end of file diff --git a/docs/module-doc/classVersion-members.html b/docs/module-doc/classVersion-members.html index 8685101ac..fa2140fe8 100644 --- a/docs/module-doc/classVersion-members.html +++ b/docs/module-doc/classVersion-members.html @@ -15,7 +15,7 @@ <tr class="memlist"><td><a class="el" href="classVersion.html#Revision">Revision</a></td><td><a class="el" href="classVersion.html">Version</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classVersion.html#Version_28int_20major_2C_20int_20minor_2C_20int_20revision_2C_20int_20build_2C_20int_20flags_29">Version</a>(int major, int minor, int revision, int build, int flags)</td><td><a class="el" href="classVersion.html">Version</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#_7Eclassbase_28_29">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:13 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classVersion.html b/docs/module-doc/classVersion.html index 634494f3d..6f91bb877 100644 --- a/docs/module-doc/classVersion.html +++ b/docs/module-doc/classVersion.html @@ -97,7 +97,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00113">113</a> of <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00246">246</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00246"></a>00246 : <a class="code" href="classVersion.html#Major">Major</a>(major), <a class="code" href="classVersion.html#Minor">Minor</a>(minor), <a class="code" href="classVersion.html#Revision">Revision</a>(revision), <a class="code" href="classVersion.html#Build">Build</a>(build), <a class="code" href="classVersion.html#Flags">Flags</a>(flags) { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00240">240</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00240"></a>00240 : <a class="code" href="classVersion.html#Major">Major</a>(major), <a class="code" href="classVersion.html#Minor">Minor</a>(minor), <a class="code" href="classVersion.html#Revision">Revision</a>(revision), <a class="code" href="classVersion.html#Build">Build</a>(build), <a class="code" href="classVersion.html#Flags">Flags</a>(flags) { }; </pre></div> <p> </td> @@ -231,7 +231,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00116">116</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 size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:13 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classWhoWasUser-members.html b/docs/module-doc/classWhoWasUser-members.html index a5c9aa762..aae9c561b 100644 --- a/docs/module-doc/classWhoWasUser-members.html +++ b/docs/module-doc/classWhoWasUser-members.html @@ -13,7 +13,7 @@ <tr class="memlist"><td><a class="el" href="classWhoWasUser.html#nick_5BNICKMAX_5D">nick</a></td><td><a class="el" href="classWhoWasUser.html">WhoWasUser</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classWhoWasUser.html#server_5B_32_35_36_5D">server</a></td><td><a class="el" href="classWhoWasUser.html">WhoWasUser</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classWhoWasUser.html#signon">signon</a></td><td><a class="el" href="classWhoWasUser.html">WhoWasUser</a></td><td></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:13 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classWhoWasUser.html b/docs/module-doc/classWhoWasUser.html index 5bfbf3f63..66f48e4a3 100644 --- a/docs/module-doc/classWhoWasUser.html +++ b/docs/module-doc/classWhoWasUser.html @@ -212,7 +212,7 @@ Definition at line <a class="el" href="users_8h-source.html#l00341">341</a> of f </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 size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:13 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classXLine-members.html b/docs/module-doc/classXLine-members.html index 4ec53d0f6..b751438ee 100644 --- a/docs/module-doc/classXLine-members.html +++ b/docs/module-doc/classXLine-members.html @@ -14,7 +14,7 @@ <tr class="memlist"><td><a class="el" href="classXLine.html#set_5Ftime">set_time</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classXLine.html#source_5B_32_35_36_5D">source</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#_7Eclassbase_28_29">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:13 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classXLine.html b/docs/module-doc/classXLine.html index 8af097557..d2fec8883 100644 --- a/docs/module-doc/classXLine.html +++ b/docs/module-doc/classXLine.html @@ -185,7 +185,7 @@ Definition at line <a class="el" href="xline_8h-source.html#l00048">48</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 size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:13 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classZLine-members.html b/docs/module-doc/classZLine-members.html index b0a42f011..8b7754a80 100644 --- a/docs/module-doc/classZLine-members.html +++ b/docs/module-doc/classZLine-members.html @@ -16,7 +16,7 @@ <tr class="memlist"><td><a class="el" href="classXLine.html#set_5Ftime">set_time</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classXLine.html#source_5B_32_35_36_5D">source</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#_7Eclassbase_28_29">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:13 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classZLine.html b/docs/module-doc/classZLine.html index afe33572b..9a567f65d 100644 --- a/docs/module-doc/classZLine.html +++ b/docs/module-doc/classZLine.html @@ -92,7 +92,7 @@ Definition at line <a class="el" href="xline_8h-source.html#l00103">103</a> of f </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 size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:13 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classchanrec-members.html b/docs/module-doc/classchanrec-members.html index daaf0b7de..559978229 100644 --- a/docs/module-doc/classchanrec-members.html +++ b/docs/module-doc/classchanrec-members.html @@ -34,7 +34,7 @@ <tr class="memlist"><td><a class="el" href="classchanrec.html#topicset">topicset</a></td><td><a class="el" href="classchanrec.html">chanrec</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classchanrec.html#_7Echanrec_28_29">~chanrec</a>()</td><td><a class="el" href="classchanrec.html">chanrec</a></td><td><code> [inline, virtual]</code></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#_7Eclassbase_28_29">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classchanrec.html b/docs/module-doc/classchanrec.html index 3d4ba950a..c002e97f0 100644 --- a/docs/module-doc/classchanrec.html +++ b/docs/module-doc/classchanrec.html @@ -398,7 +398,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00215">215</a> <p> References <a class="el" href="channels_8h-source.html#l00115">internal_userlist</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00453">Server::GetUsers()</a>.<div class="fragment"><pre class="fragment"><a name="l00216"></a>00216 { +Referenced by <a class="el" href="modules_8cpp-source.html#l00445">Server::GetUsers()</a>.<div class="fragment"><pre class="fragment"><a name="l00216"></a>00216 { <a name="l00217"></a>00217 <span class="keywordflow">return</span> &<a class="code" href="classchanrec.html#internal_5Fuserlist">internal_userlist</a>; <a name="l00218"></a>00218 } </pre></div> @@ -842,7 +842,7 @@ The channels name. <p> Definition at line <a class="el" href="channels_8h-source.html#l00106">106</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. <p> -Referenced by <a class="el" href="channels_8cpp-source.html#l00101">chanrec()</a>, <a class="el" href="channels_8cpp-source.html#l00201">DelUser()</a>, and <a class="el" href="modules_8cpp-source.html#l00708">Server::PseudoToUser()</a>. </td> +Referenced by <a class="el" href="channels_8cpp-source.html#l00101">chanrec()</a>, <a class="el" href="channels_8cpp-source.html#l00201">DelUser()</a>, and <a class="el" href="modules_8cpp-source.html#l00681">Server::PseudoToUser()</a>. </td> </tr> </table> <a class="anchor" name="setby_5BNICKMAX_5D"></a><!-- doxytag: member="chanrec::setby" ref="setby_5BNICKMAX_5D" args="[NICKMAX]" --><p> @@ -871,7 +871,7 @@ If this member is an empty string, no topic was ever set. <p> Definition at line <a class="el" href="channels_8h-source.html#l00131">131</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. <p> -Referenced by <a class="el" href="channels_8cpp-source.html#l00101">chanrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00708">Server::PseudoToUser()</a>. </td> +Referenced by <a class="el" href="channels_8cpp-source.html#l00101">chanrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00681">Server::PseudoToUser()</a>. </td> </tr> </table> <a class="anchor" name="topic_5BMAXBUF_5D"></a><!-- doxytag: member="chanrec::topic" ref="topic_5BMAXBUF_5D" args="[MAXBUF]" --><p> @@ -900,7 +900,7 @@ If this is an empty string, no channel topic is set. <p> Definition at line <a class="el" href="channels_8h-source.html#l00120">120</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. <p> -Referenced by <a class="el" href="channels_8cpp-source.html#l00101">chanrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00708">Server::PseudoToUser()</a>. </td> +Referenced by <a class="el" href="channels_8cpp-source.html#l00101">chanrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00681">Server::PseudoToUser()</a>. </td> </tr> </table> <a class="anchor" name="topicset"></a><!-- doxytag: member="chanrec::topicset" ref="topicset" args="" --><p> @@ -929,12 +929,12 @@ If no topic was ever set, this will be equal to <a class="el" href="classchanrec <p> Definition at line <a class="el" href="channels_8h-source.html#l00127">127</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. <p> -Referenced by <a class="el" href="channels_8cpp-source.html#l00101">chanrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00708">Server::PseudoToUser()</a>. </td> +Referenced by <a class="el" href="channels_8cpp-source.html#l00101">chanrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00681">Server::PseudoToUser()</a>. </td> </tr> </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 size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classclassbase-members.html b/docs/module-doc/classclassbase-members.html index 10d979f6f..8fde18403 100644 --- a/docs/module-doc/classclassbase-members.html +++ b/docs/module-doc/classclassbase-members.html @@ -9,7 +9,7 @@ <tr class="memlist"><td><a class="el" href="classclassbase.html#age">age</a></td><td><a class="el" href="classclassbase.html">classbase</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#classbase_28_29">classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#_7Eclassbase_28_29">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classclassbase.html b/docs/module-doc/classclassbase.html index 39acb09ff..26e65cea2 100644 --- a/docs/module-doc/classclassbase.html +++ b/docs/module-doc/classclassbase.html @@ -149,7 +149,7 @@ Referenced by <a class="el" href="base_8h-source.html#l00040">classbase()</a>. </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 size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classcommand__t-members.html b/docs/module-doc/classcommand__t-members.html index aeb511356..93d93de1a 100644 --- a/docs/module-doc/classcommand__t-members.html +++ b/docs/module-doc/classcommand__t-members.html @@ -20,7 +20,7 @@ <tr class="memlist"><td><a class="el" href="classcommand__t.html#total_5Fbytes">total_bytes</a></td><td><a class="el" href="classcommand__t.html">command_t</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classcommand__t.html#use_5Fcount">use_count</a></td><td><a class="el" href="classcommand__t.html">command_t</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#_7Eclassbase_28_29">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classcommand__t.html b/docs/module-doc/classcommand__t.html index aad0922e0..a39647317 100644 --- a/docs/module-doc/classcommand__t.html +++ b/docs/module-doc/classcommand__t.html @@ -242,7 +242,7 @@ Definition at line <a class="el" href="ctables_8h-source.html#l00043">43</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 size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classconnection-members.html b/docs/module-doc/classconnection-members.html index 1cafc344e..526508484 100644 --- a/docs/module-doc/classconnection-members.html +++ b/docs/module-doc/classconnection-members.html @@ -28,7 +28,7 @@ <tr class="memlist"><td><a class="el" href="classExtensible.html#Shrink_28std_3A_3Astring_20key_29">Shrink</a>(std::string key)</td><td><a class="el" href="classExtensible.html">Extensible</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classconnection.html#signon">signon</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#_7Eclassbase_28_29">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classconnection.html b/docs/module-doc/classconnection.html index 258877c45..499728b68 100644 --- a/docs/module-doc/classconnection.html +++ b/docs/module-doc/classconnection.html @@ -258,7 +258,7 @@ File descriptor of the connection. <p> Definition at line <a class="el" href="connection_8h-source.html#l00042">42</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. <p> -Referenced by <a class="el" href="connection_8h-source.html#l00100">connection()</a>, <a class="el" href="modules_8cpp-source.html#l00932">ConfigReader::DumpErrors()</a>, <a class="el" href="modules_8cpp-source.html#l00708">Server::PseudoToUser()</a>, <a class="el" href="modules_8cpp-source.html#l00520">Server::SendTo()</a>, <a class="el" href="users_8cpp-source.html#l00038">userrec::userrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00677">Server::UserToPseudo()</a>. </td> +Referenced by <a class="el" href="connection_8h-source.html#l00100">connection()</a>, <a class="el" href="modules_8cpp-source.html#l00905">ConfigReader::DumpErrors()</a>, <a class="el" href="modules_8cpp-source.html#l00681">Server::PseudoToUser()</a>, <a class="el" href="modules_8cpp-source.html#l00512">Server::SendTo()</a>, <a class="el" href="users_8cpp-source.html#l00038">userrec::userrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00669">Server::UserToPseudo()</a>. </td> </tr> </table> <a class="anchor" name="haspassed"></a><!-- doxytag: member="connection::haspassed" ref="haspassed" args="" --><p> @@ -316,7 +316,7 @@ Not used if this is a serverrec <p> Definition at line <a class="el" href="connection_8h-source.html#l00046">46</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. <p> -Referenced by <a class="el" href="users_8cpp-source.html#l00096">userrec::GetFullRealHost()</a>, <a class="el" href="modules_8cpp-source.html#l00708">Server::PseudoToUser()</a>, <a class="el" href="users_8cpp-source.html#l00038">userrec::userrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00677">Server::UserToPseudo()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00096">userrec::GetFullRealHost()</a>, <a class="el" href="modules_8cpp-source.html#l00681">Server::PseudoToUser()</a>, <a class="el" href="users_8cpp-source.html#l00038">userrec::userrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00669">Server::UserToPseudo()</a>. </td> </tr> </table> <a class="anchor" name="idle_5Flastmsg"></a><!-- doxytag: member="connection::idle_lastmsg" ref="idle_5Flastmsg" args="" --><p> @@ -524,7 +524,7 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00038">userrec::userre </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 size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classes.html b/docs/module-doc/classes.html index bc1966cbd..8523459b1 100644 --- a/docs/module-doc/classes.html +++ b/docs/module-doc/classes.html @@ -9,25 +9,25 @@ <table align="center" width="95%" border="0" cellspacing="0" cellpadding="0"> <tr><td><a name="letter_A"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> A </div></td></tr></table> </td><td><a name="letter_D"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> D </div></td></tr></table> -</td><td><a class="el" href="classGLine.html">GLine</a> </td><td><a class="el" href="classKLine.html">KLine</a> </td><td><a class="el" href="structirc_1_1StrHashComp.html">StrHashComp</a> (<a class="el" href="namespaceirc.html">irc</a>) </td></tr><tr><td><a class="el" href="classAdmin.html">Admin</a> </td><td><a class="el" href="classDNS.html">DNS</a> </td><td><a name="letter_H"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> H </div></td></tr></table> +</td><td><a name="letter_H"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> H </div></td></tr></table> </td><td><a name="letter_M"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> M </div></td></tr></table> -</td><td><a name="letter_U"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> U </div></td></tr></table> +</td><td><a class="el" href="structirc_1_1StrHashComp.html">StrHashComp</a> (<a class="el" href="namespaceirc.html">irc</a>) </td></tr><tr><td><a class="el" href="classAdmin.html">Admin</a> </td><td><a class="el" href="classDNS.html">DNS</a> </td><td><a class="el" href="structnspace_1_1hash_3_01in__addr_01_4.html">hash< in_addr ></a> (<a class="el" href="namespacenspace.html">nspace</a>) </td><td><a class="el" href="classModeParameter.html">ModeParameter</a> </td><td><a name="letter_U"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> U </div></td></tr></table> </td></tr><tr><td><a name="letter_B"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> B </div></td></tr></table> -</td><td><a class="el" href="structdns__ip4list.html">dns_ip4list</a> </td><td><a class="el" href="structnspace_1_1hash_3_01in__addr_01_4.html">hash< in_addr ></a> (<a class="el" href="namespacenspace.html">nspace</a>) </td><td><a class="el" href="classModeParameter.html">ModeParameter</a> </td><td><a class="el" href="classucrec.html">ucrec</a> </td></tr><tr><td><a class="el" href="classBanItem.html">BanItem</a> </td><td><a name="letter_E"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> E </div></td></tr></table> -</td><td><a class="el" href="structnspace_1_1hash_3_01string_01_4.html">hash< string ></a> (<a class="el" href="namespacenspace.html">nspace</a>) </td><td><a class="el" href="classModule.html">Module</a> </td><td><a class="el" href="classuserrec.html">userrec</a> </td></tr><tr><td><a class="el" href="classBoolSet.html">BoolSet</a> </td><td><a class="el" href="classELine.html">ELine</a> </td><td><a class="el" href="classHostItem.html">HostItem</a> </td><td><a class="el" href="classModuleFactory.html">ModuleFactory</a> </td><td><a name="letter_V"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> V </div></td></tr></table> +</td><td><a class="el" href="structdns__ip4list.html">dns_ip4list</a> </td><td><a class="el" href="structnspace_1_1hash_3_01string_01_4.html">hash< string ></a> (<a class="el" href="namespacenspace.html">nspace</a>) </td><td><a class="el" href="classModule.html">Module</a> </td><td><a class="el" href="classucrec.html">ucrec</a> </td></tr><tr><td><a class="el" href="classBanItem.html">BanItem</a> </td><td><a name="letter_E"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> E </div></td></tr></table> +</td><td><a class="el" href="classHostItem.html">HostItem</a> </td><td><a class="el" href="classModuleFactory.html">ModuleFactory</a> </td><td><a class="el" href="classuserrec.html">userrec</a> </td></tr><tr><td><a class="el" href="classBoolSet.html">BoolSet</a> </td><td><a class="el" href="classELine.html">ELine</a> </td><td><a name="letter_I"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> I </div></td></tr></table> +</td><td><a class="el" href="classModuleMessage.html">ModuleMessage</a> </td><td><a name="letter_V"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> V </div></td></tr></table> </td></tr><tr><td><a name="letter_C"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> C </div></td></tr></table> -</td><td><a class="el" href="classEvent.html">Event</a> </td><td><a name="letter_I"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> I </div></td></tr></table> -</td><td><a class="el" href="classModuleMessage.html">ModuleMessage</a> </td><td><a class="el" href="classVersion.html">Version</a> </td></tr><tr><td><a class="el" href="classchanrec.html">chanrec</a> </td><td><a class="el" href="classExemptItem.html">ExemptItem</a> </td><td><a class="el" href="structirc_1_1InAddr__HashComp.html">InAddr_HashComp</a> (<a class="el" href="namespaceirc.html">irc</a>) </td><td><a name="letter_Q"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> Q </div></td></tr></table> -</td><td><a name="letter_W"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> W </div></td></tr></table> -</td></tr><tr><td><a class="el" href="classstd_1_1char__traits.html">char_traits</a> (<a class="el" href="namespacestd.html">std</a>) </td><td><a class="el" href="classExtensible.html">Extensible</a> </td><td><a class="el" href="classInspSocket.html">InspSocket</a> </td><td><a class="el" href="classQLine.html">QLine</a> </td><td><a class="el" href="classWhoWasUser.html">WhoWasUser</a> </td></tr><tr><td><a class="el" href="classclassbase.html">classbase</a> </td><td><a class="el" href="classExtMode.html">ExtMode</a> </td><td><a class="el" href="classInvited.html">Invited</a> </td><td><a name="letter_R"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> R </div></td></tr></table> -</td><td><a name="letter_X"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> X </div></td></tr></table> +</td><td><a class="el" href="classEvent.html">Event</a> </td><td><a class="el" href="structirc_1_1InAddr__HashComp.html">InAddr_HashComp</a> (<a class="el" href="namespaceirc.html">irc</a>) </td><td><a name="letter_Q"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> Q </div></td></tr></table> +</td><td><a class="el" href="classVersion.html">Version</a> </td></tr><tr><td><a class="el" href="classchanrec.html">chanrec</a> </td><td><a class="el" href="classExemptItem.html">ExemptItem</a> </td><td><a class="el" href="classInspSocket.html">InspSocket</a> </td><td><a class="el" href="classQLine.html">QLine</a> </td><td><a name="letter_W"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> W </div></td></tr></table> +</td></tr><tr><td><a class="el" href="classstd_1_1char__traits.html">char_traits</a> (<a class="el" href="namespacestd.html">std</a>) </td><td><a class="el" href="classExtensible.html">Extensible</a> </td><td><a class="el" href="classInvited.html">Invited</a> </td><td><a name="letter_R"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> R </div></td></tr></table> +</td><td><a class="el" href="classWhoWasUser.html">WhoWasUser</a> </td></tr><tr><td><a class="el" href="classclassbase.html">classbase</a> </td><td><a class="el" href="classExtMode.html">ExtMode</a> </td><td><a class="el" href="classInviteItem.html">InviteItem</a> </td><td><a class="el" href="classRequest.html">Request</a> </td><td><a name="letter_X"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> X </div></td></tr></table> </td></tr><tr><td><a class="el" href="classcommand__t.html">command_t</a> </td><td><a name="letter_F"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> F </div></td></tr></table> -</td><td><a class="el" href="classInviteItem.html">InviteItem</a> </td><td><a class="el" href="classRequest.html">Request</a> </td><td><a class="el" href="classXLine.html">XLine</a> </td></tr><tr><td><a class="el" href="classConfigReader.html">ConfigReader</a> </td><td><a class="el" href="classFileReader.html">FileReader</a> </td><td><a class="el" href="structirc_1_1irc__char__traits.html">irc_char_traits</a> (<a class="el" href="namespaceirc.html">irc</a>) </td><td><a name="letter_S"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> S </div></td></tr></table> -</td><td><a name="letter_Z"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> Z </div></td></tr></table> +</td><td><a class="el" href="structirc_1_1irc__char__traits.html">irc_char_traits</a> (<a class="el" href="namespaceirc.html">irc</a>) </td><td><a name="letter_S"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> S </div></td></tr></table> +</td><td><a class="el" href="classXLine.html">XLine</a> </td></tr><tr><td><a class="el" href="classConfigReader.html">ConfigReader</a> </td><td><a class="el" href="classFileReader.html">FileReader</a> </td><td><a name="letter_K"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> K </div></td></tr></table> +</td><td><a class="el" href="classServer.html">Server</a> </td><td><a name="letter_Z"></a><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 name="letter_G"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> G </div></td></tr></table> -</td><td><a name="letter_K"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> K </div></td></tr></table> -</td><td><a class="el" href="classServer.html">Server</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><p><div class="qindex"><a class="qindex" href="#letter_A">A</a> | <a class="qindex" href="#letter_B">B</a> | <a class="qindex" href="#letter_C">C</a> | <a class="qindex" href="#letter_D">D</a> | <a class="qindex" href="#letter_E">E</a> | <a class="qindex" href="#letter_F">F</a> | <a class="qindex" href="#letter_G">G</a> | <a class="qindex" href="#letter_H">H</a> | <a class="qindex" href="#letter_I">I</a> | <a class="qindex" href="#letter_K">K</a> | <a class="qindex" href="#letter_M">M</a> | <a class="qindex" href="#letter_Q">Q</a> | <a class="qindex" href="#letter_R">R</a> | <a class="qindex" href="#letter_S">S</a> | <a class="qindex" href="#letter_U">U</a> | <a class="qindex" href="#letter_V">V</a> | <a class="qindex" href="#letter_W">W</a> | <a class="qindex" href="#letter_X">X</a> | <a class="qindex" href="#letter_Z">Z</a></div><p> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by +</td><td><a class="el" href="classKLine.html">KLine</a> </td><td><a class="el" href="classSocketEngine.html">SocketEngine</a> </td><td><a class="el" href="classZLine.html">ZLine</a> </td></tr><tr><td><a class="el" href="classconnection.html">connection</a> </td><td><a class="el" href="classGLine.html">GLine</a> </td></tr></table><p><div class="qindex"><a class="qindex" href="#letter_A">A</a> | <a class="qindex" href="#letter_B">B</a> | <a class="qindex" href="#letter_C">C</a> | <a class="qindex" href="#letter_D">D</a> | <a class="qindex" href="#letter_E">E</a> | <a class="qindex" href="#letter_F">F</a> | <a class="qindex" href="#letter_G">G</a> | <a class="qindex" href="#letter_H">H</a> | <a class="qindex" href="#letter_I">I</a> | <a class="qindex" href="#letter_K">K</a> | <a class="qindex" href="#letter_M">M</a> | <a class="qindex" href="#letter_Q">Q</a> | <a class="qindex" href="#letter_R">R</a> | <a class="qindex" href="#letter_S">S</a> | <a class="qindex" href="#letter_U">U</a> | <a class="qindex" href="#letter_V">V</a> | <a class="qindex" href="#letter_W">W</a> | <a class="qindex" href="#letter_X">X</a> | <a class="qindex" href="#letter_Z">Z</a></div><p> +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classstd_1_1char__traits.html b/docs/module-doc/classstd_1_1char__traits.html index 3843fbc07..94449e457 100644 --- a/docs/module-doc/classstd_1_1char__traits.html +++ b/docs/module-doc/classstd_1_1char__traits.html @@ -14,7 +14,7 @@ </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="hashcomp_8h-source.html">hashcomp.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classucrec-members.html b/docs/module-doc/classucrec-members.html index c95b71f14..1cdbd989c 100644 --- a/docs/module-doc/classucrec-members.html +++ b/docs/module-doc/classucrec-members.html @@ -13,7 +13,7 @@ <tr class="memlist"><td><a class="el" href="classucrec.html#ucrec_28_29">ucrec</a>()</td><td><a class="el" href="classucrec.html">ucrec</a></td><td><code> [inline]</code></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#_7Eclassbase_28_29">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr class="memlist"><td><a class="el" href="classucrec.html#_7Eucrec_28_29">~ucrec</a>()</td><td><a class="el" href="classucrec.html">ucrec</a></td><td><code> [inline, virtual]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:13 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classucrec.html b/docs/module-doc/classucrec.html index 356b90092..6a72898f6 100644 --- a/docs/module-doc/classucrec.html +++ b/docs/module-doc/classucrec.html @@ -133,7 +133,7 @@ If the record is not in use, this value will be NULL. <p> Definition at line <a class="el" href="channels_8h-source.html#l00252">252</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00708">Server::PseudoToUser()</a>, and <a class="el" href="users_8cpp-source.html#l00038">userrec::userrec()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00681">Server::PseudoToUser()</a>, and <a class="el" href="users_8cpp-source.html#l00038">userrec::userrec()</a>. </td> </tr> </table> <a class="anchor" name="uc_5Fmodes"></a><!-- doxytag: member="ucrec::uc_modes" ref="uc_5Fmodes" args="" --><p> @@ -167,7 +167,7 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00038">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 size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:13 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classuserrec-members.html b/docs/module-doc/classuserrec-members.html index fbd98bf62..c7211dd44 100644 --- a/docs/module-doc/classuserrec-members.html +++ b/docs/module-doc/classuserrec-members.html @@ -70,7 +70,7 @@ <tr class="memlist"><td><a class="el" href="classuserrec.html#WriteError">WriteError</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#_7Eclassbase_28_29">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr class="memlist"><td><a class="el" href="classuserrec.html#_7Euserrec_28_29">~userrec</a>()</td><td><a class="el" href="classuserrec.html">userrec</a></td><td><code> [virtual]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:13 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classuserrec.html b/docs/module-doc/classuserrec.html index 93514f343..5a510f25d 100644 --- a/docs/module-doc/classuserrec.html +++ b/docs/module-doc/classuserrec.html @@ -432,7 +432,7 @@ Definition at line <a class="el" href="users_8cpp-source.html#l00239">239</a> of <p> References <a class="el" href="users_8h-source.html#l00197">recvq</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00708">Server::PseudoToUser()</a>, and <a class="el" href="modules_8cpp-source.html#l00677">Server::UserToPseudo()</a>.<div class="fragment"><pre class="fragment"><a name="l00240"></a>00240 { +Referenced by <a class="el" href="modules_8cpp-source.html#l00681">Server::PseudoToUser()</a>, and <a class="el" href="modules_8cpp-source.html#l00669">Server::UserToPseudo()</a>.<div class="fragment"><pre class="fragment"><a name="l00240"></a>00240 { <a name="l00241"></a>00241 <a class="code" href="classuserrec.html#recvq">recvq</a> = <span class="stringliteral">""</span>; <a name="l00242"></a>00242 } </pre></div> @@ -1121,7 +1121,7 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00038">userrec()</a>. <p> Definition at line <a class="el" href="users_8h-source.html#l00149">149</a> of file <a class="el" href="users_8h-source.html">users.h</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00708">Server::PseudoToUser()</a>, and <a class="el" href="users_8cpp-source.html#l00038">userrec()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00681">Server::PseudoToUser()</a>, and <a class="el" href="users_8cpp-source.html#l00038">userrec()</a>. </td> </tr> </table> <a class="anchor" name="dhost_5B_31_36_30_5D"></a><!-- doxytag: member="userrec::dhost" ref="dhost_5B_31_36_30_5D" args="[160]" --><p> @@ -1266,7 +1266,7 @@ Two characters are added to the user-defined limit to compensate for the tilde e <p> Definition at line <a class="el" href="users_8h-source.html#l00129">129</a> of file <a class="el" href="users_8h-source.html">users.h</a>. <p> -Referenced by <a class="el" href="users_8cpp-source.html#l00078">GetFullHost()</a>, <a class="el" href="users_8cpp-source.html#l00096">GetFullRealHost()</a>, <a class="el" href="modules_8cpp-source.html#l00708">Server::PseudoToUser()</a>, <a class="el" href="users_8cpp-source.html#l00038">userrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00677">Server::UserToPseudo()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00078">GetFullHost()</a>, <a class="el" href="users_8cpp-source.html#l00096">GetFullRealHost()</a>, <a class="el" href="modules_8cpp-source.html#l00681">Server::PseudoToUser()</a>, <a class="el" href="users_8cpp-source.html#l00038">userrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00669">Server::UserToPseudo()</a>. </td> </tr> </table> <a class="anchor" name="invites"></a><!-- doxytag: member="userrec::invites" ref="invites" args="" --><p> @@ -1382,7 +1382,7 @@ An invalid nickname indicates an unregistered connection prior to the NICK comma <p> Definition at line <a class="el" href="users_8h-source.html#l00124">124</a> of file <a class="el" href="users_8h-source.html">users.h</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00932">ConfigReader::DumpErrors()</a>, <a class="el" href="users_8cpp-source.html#l00078">GetFullHost()</a>, <a class="el" href="users_8cpp-source.html#l00096">GetFullRealHost()</a>, <a class="el" href="modules_8cpp-source.html#l00708">Server::PseudoToUser()</a>, and <a class="el" href="users_8cpp-source.html#l00038">userrec()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00905">ConfigReader::DumpErrors()</a>, <a class="el" href="users_8cpp-source.html#l00078">GetFullHost()</a>, <a class="el" href="users_8cpp-source.html#l00096">GetFullRealHost()</a>, <a class="el" href="modules_8cpp-source.html#l00681">Server::PseudoToUser()</a>, and <a class="el" href="users_8cpp-source.html#l00038">userrec()</a>. </td> </tr> </table> <a class="anchor" name="oper_5BNICKMAX_5D"></a><!-- doxytag: member="userrec::oper" ref="oper_5BNICKMAX_5D" args="[NICKMAX]" --><p> @@ -1723,7 +1723,7 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00307">GetWriteError() </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 size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:13 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/commands_8h-source.html b/docs/module-doc/commands_8h-source.html index ca09eb05e..1db272adc 100644 --- a/docs/module-doc/commands_8h-source.html +++ b/docs/module-doc/commands_8h-source.html @@ -97,7 +97,7 @@ <a name="l00094"></a>00094 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#do_5Fwhois_28userrec_20_2Auser_2C_20userrec_20_2Adest_2C_20unsigned_20long_20signon_2C_20unsigned_20long_20idle_2C_20char_20_2Anick_29">do_whois</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classuserrec.html">userrec</a>* dest,<span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> signon, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> idle, <span class="keywordtype">char</span>* nick); <a name="l00095"></a>00095 <a name="l00096"></a>00096 <span class="preprocessor">#endif</span> -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:03 2005 for InspIRCd by +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:08 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/commands_8h.html b/docs/module-doc/commands_8h.html index 1c25411f7..e2f1117e3 100644 --- a/docs/module-doc/commands_8h.html +++ b/docs/module-doc/commands_8h.html @@ -232,7 +232,7 @@ Other useful functions. <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00788">Server::CalcDuration()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00761">Server::CalcDuration()</a>. </td> </tr> </table> <a class="anchor" name="handle_5Fadmin_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29"></a><!-- doxytag: member="commands.h::handle_admin" ref="handle_5Fadmin_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29" args="(char **parameters, int pcnt, userrec *user)" --><p> @@ -2459,10 +2459,10 @@ Functions for u:lined servers. <p> <p> -Referenced by <a class="el" href="users_8cpp-source.html#l00151">userrec::HasPermission()</a>, and <a class="el" href="modules_8cpp-source.html#l00475">Server::IsUlined()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00151">userrec::HasPermission()</a>, and <a class="el" href="modules_8cpp-source.html#l00467">Server::IsUlined()</a>. </td> </tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:06 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:08 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/connection_8h-source.html b/docs/module-doc/connection_8h-source.html index 1953b03c1..9d0f8371a 100644 --- a/docs/module-doc/connection_8h-source.html +++ b/docs/module-doc/connection_8h-source.html @@ -82,7 +82,7 @@ <a name="l00107"></a>00107 <span class="preprocessor">#endif</span> <a name="l00108"></a>00108 <span class="preprocessor"></span> <a name="l00109"></a>00109 -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:03 2005 for InspIRCd by +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:08 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/connection_8h.html b/docs/module-doc/connection_8h.html index 2b2d28e2a..776ab1ec7 100644 --- a/docs/module-doc/connection_8h.html +++ b/docs/module-doc/connection_8h.html @@ -49,7 +49,7 @@ This graph shows which files directly or indirectly include this file:<p><center <tr><td class="mdescLeft"> </td><td class="mdescRight">Please note: classes serverrec and userrec both inherit from class connection. <a href="classconnection.html#_details">More...</a><br></td></tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:07 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:08 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/ctables_8h-source.html b/docs/module-doc/ctables_8h-source.html index 7f3a4cfee..a45b68c2e 100644 --- a/docs/module-doc/ctables_8h-source.html +++ b/docs/module-doc/ctables_8h-source.html @@ -44,7 +44,7 @@ <a name="l00051"></a>00051 <a name="l00052"></a>00052 <span class="preprocessor">#endif</span> <a name="l00053"></a>00053 <span class="preprocessor"></span> -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:03 2005 for InspIRCd by +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:08 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/ctables_8h.html b/docs/module-doc/ctables_8h.html index b2f9ac1e7..d382e1855 100644 --- a/docs/module-doc/ctables_8h.html +++ b/docs/module-doc/ctables_8h.html @@ -33,7 +33,7 @@ This graph shows which files directly or indirectly include this file:<p><center <tr><td class="mdescLeft"> </td><td class="mdescRight">A structure that defines a command. <a href="classcommand__t.html#_details">More...</a><br></td></tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:07 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:08 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/dir_000000.html b/docs/module-doc/dir_000000.html index 03db9192d..c18e67912 100644 --- a/docs/module-doc/dir_000000.html +++ b/docs/module-doc/dir_000000.html @@ -20,7 +20,7 @@ <tr><td class="memItemLeft" nowrap align="right" valign="top">directory </td><td class="memItemRight" valign="bottom"><a class="el" href="dir_000001.html">brain</a></td></tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:13 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/dir_000001.html b/docs/module-doc/dir_000001.html index b1836c3da..a6969f290 100644 --- a/docs/module-doc/dir_000001.html +++ b/docs/module-doc/dir_000001.html @@ -21,7 +21,7 @@ <tr><td class="memItemLeft" nowrap align="right" valign="top">directory </td><td class="memItemRight" valign="bottom"><a class="el" href="dir_000002.html">inspircd-cvs</a></td></tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:13 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/dir_000002.html b/docs/module-doc/dir_000002.html index 71c2a48c1..c4df31939 100644 --- a/docs/module-doc/dir_000002.html +++ b/docs/module-doc/dir_000002.html @@ -21,7 +21,7 @@ <tr><td class="memItemLeft" nowrap align="right" valign="top">directory </td><td class="memItemRight" valign="bottom"><a class="el" href="dir_000003.html">inspircd</a></td></tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:14 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/dir_000003.html b/docs/module-doc/dir_000003.html index bf667456c..49e0f5830 100644 --- a/docs/module-doc/dir_000003.html +++ b/docs/module-doc/dir_000003.html @@ -26,7 +26,7 @@ <tr><td class="memItemLeft" nowrap align="right" valign="top">directory </td><td class="memItemRight" valign="bottom"><a class="el" href="dir_000005.html">src</a></td></tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:13 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/dir_000003_dep.gif b/docs/module-doc/dir_000003_dep.gif Binary files differindex dae021b5f..ee9742f9e 100644 --- a/docs/module-doc/dir_000003_dep.gif +++ b/docs/module-doc/dir_000003_dep.gif diff --git a/docs/module-doc/dir_000004.html b/docs/module-doc/dir_000004.html index b66c766e7..2b855c5e1 100644 --- a/docs/module-doc/dir_000004.html +++ b/docs/module-doc/dir_000004.html @@ -39,12 +39,14 @@ <tr><td class="memItemLeft" nowrap align="right" valign="top">file </td><td class="memItemRight" valign="bottom"><a class="el" href="socket_8h.html">socket.h</a> <a href="socket_8h-source.html">[code]</a></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">file </td><td class="memItemRight" valign="bottom"><a class="el" href="socketengine_8h.html">socketengine.h</a> <a href="socketengine_8h-source.html">[code]</a></td></tr> + <tr><td class="memItemLeft" nowrap align="right" valign="top">file </td><td class="memItemRight" valign="bottom"><a class="el" href="users_8h.html">users.h</a> <a href="users_8h-source.html">[code]</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">file </td><td class="memItemRight" valign="bottom"><a class="el" href="xline_8h.html">xline.h</a> <a href="xline_8h-source.html">[code]</a></td></tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:13 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/dir_000005.html b/docs/module-doc/dir_000005.html index 16c8b902f..febda588a 100644 --- a/docs/module-doc/dir_000005.html +++ b/docs/module-doc/dir_000005.html @@ -26,10 +26,12 @@ <tr><td class="memItemLeft" nowrap align="right" valign="top">file </td><td class="memItemRight" valign="bottom"><a class="el" href="socket_8cpp.html">socket.cpp</a> <a href="socket_8cpp-source.html">[code]</a></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">file </td><td class="memItemRight" valign="bottom"><a class="el" href="socketengine_8cpp.html">socketengine.cpp</a> <a href="socketengine_8cpp-source.html">[code]</a></td></tr> + <tr><td class="memItemLeft" nowrap align="right" valign="top">file </td><td class="memItemRight" valign="bottom"><a class="el" href="users_8cpp.html">users.cpp</a> <a href="users_8cpp-source.html">[code]</a></td></tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:14 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/dir_000005_000004.html b/docs/module-doc/dir_000005_000004.html index f47ca4652..49e94e7db 100644 --- a/docs/module-doc/dir_000005_000004.html +++ b/docs/module-doc/dir_000005_000004.html @@ -7,7 +7,7 @@ <div class="qindex"><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">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <div class="nav"> <a class="el" href="dir_000000.html">home</a> » <a class="el" href="dir_000001.html">brain</a> » <a class="el" href="dir_000002.html">inspircd-cvs</a> » <a class="el" href="dir_000003.html">inspircd</a> » <a class="el" href="dir_000005.html">src</a></div> -<h3>src → include Relation</h3><table class="dirtab"><tr class="dirtab"><th class="dirtab">File in <a class="el" href="dir_000000.html">home</a> » <a class="el" href="dir_000001.html">brain</a> » <a class="el" href="dir_000002.html">inspircd-cvs</a> » <a class="el" href="dir_000003.html">inspircd</a> » <a class="el" href="dir_000005.html">src</a></th><th class="dirtab">Includes file in <a class="el" href="dir_000000.html">home</a> » <a class="el" href="dir_000001.html">brain</a> » <a class="el" href="dir_000002.html">inspircd-cvs</a> » <a class="el" href="dir_000003.html">inspircd</a> » <a class="el" href="dir_000004.html">include</a></th></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="channels_8cpp.html">channels.cpp</a></td><td class="dirtab"><a class="el" href="ctables_8h.html">ctables.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="channels_8cpp.html">channels.cpp</a></td><td class="dirtab"><a class="el" href="message_8h.html">message.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="channels_8cpp.html">channels.cpp</a></td><td class="dirtab"><a class="el" href="mode_8h.html">mode.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="channels_8cpp.html">channels.cpp</a></td><td class="dirtab"><a class="el" href="modules_8h.html">modules.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="channels_8cpp.html">channels.cpp</a></td><td class="dirtab"><a class="el" href="users_8h.html">users.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="channels_8cpp.html">channels.cpp</a></td><td class="dirtab"><a class="el" href="xline_8h.html">xline.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="modules_8cpp.html">modules.cpp</a></td><td class="dirtab"><a class="el" href="commands_8h.html">commands.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="modules_8cpp.html">modules.cpp</a></td><td class="dirtab"><a class="el" href="ctables_8h.html">ctables.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="modules_8cpp.html">modules.cpp</a></td><td class="dirtab"><a class="el" href="hashcomp_8h.html">hashcomp.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="modules_8cpp.html">modules.cpp</a></td><td class="dirtab"><a class="el" href="message_8h.html">message.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="modules_8cpp.html">modules.cpp</a></td><td class="dirtab"><a class="el" href="mode_8h.html">mode.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="modules_8cpp.html">modules.cpp</a></td><td class="dirtab"><a class="el" href="modules_8h.html">modules.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="modules_8cpp.html">modules.cpp</a></td><td class="dirtab"><a class="el" href="socket_8h.html">socket.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="modules_8cpp.html">modules.cpp</a></td><td class="dirtab"><a class="el" href="users_8h.html">users.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="modules_8cpp.html">modules.cpp</a></td><td class="dirtab"><a class="el" href="xline_8h.html">xline.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="socket_8cpp.html">socket.cpp</a></td><td class="dirtab"><a class="el" href="socket_8h.html">socket.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="users_8cpp.html">users.cpp</a></td><td class="dirtab"><a class="el" href="channels_8h.html">channels.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="users_8cpp.html">users.cpp</a></td><td class="dirtab"><a class="el" href="commands_8h.html">commands.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="users_8cpp.html">users.cpp</a></td><td class="dirtab"><a class="el" href="connection_8h.html">connection.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="users_8cpp.html">users.cpp</a></td><td class="dirtab"><a class="el" href="users_8h.html">users.h</a></td></tr></table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by +<h3>src → include Relation</h3><table class="dirtab"><tr class="dirtab"><th class="dirtab">File in <a class="el" href="dir_000000.html">home</a> » <a class="el" href="dir_000001.html">brain</a> » <a class="el" href="dir_000002.html">inspircd-cvs</a> » <a class="el" href="dir_000003.html">inspircd</a> » <a class="el" href="dir_000005.html">src</a></th><th class="dirtab">Includes file in <a class="el" href="dir_000000.html">home</a> » <a class="el" href="dir_000001.html">brain</a> » <a class="el" href="dir_000002.html">inspircd-cvs</a> » <a class="el" href="dir_000003.html">inspircd</a> » <a class="el" href="dir_000004.html">include</a></th></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="channels_8cpp.html">channels.cpp</a></td><td class="dirtab"><a class="el" href="ctables_8h.html">ctables.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="channels_8cpp.html">channels.cpp</a></td><td class="dirtab"><a class="el" href="message_8h.html">message.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="channels_8cpp.html">channels.cpp</a></td><td class="dirtab"><a class="el" href="mode_8h.html">mode.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="channels_8cpp.html">channels.cpp</a></td><td class="dirtab"><a class="el" href="modules_8h.html">modules.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="channels_8cpp.html">channels.cpp</a></td><td class="dirtab"><a class="el" href="users_8h.html">users.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="channels_8cpp.html">channels.cpp</a></td><td class="dirtab"><a class="el" href="xline_8h.html">xline.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="modules_8cpp.html">modules.cpp</a></td><td class="dirtab"><a class="el" href="commands_8h.html">commands.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="modules_8cpp.html">modules.cpp</a></td><td class="dirtab"><a class="el" href="ctables_8h.html">ctables.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="modules_8cpp.html">modules.cpp</a></td><td class="dirtab"><a class="el" href="hashcomp_8h.html">hashcomp.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="modules_8cpp.html">modules.cpp</a></td><td class="dirtab"><a class="el" href="message_8h.html">message.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="modules_8cpp.html">modules.cpp</a></td><td class="dirtab"><a class="el" href="mode_8h.html">mode.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="modules_8cpp.html">modules.cpp</a></td><td class="dirtab"><a class="el" href="modules_8h.html">modules.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="modules_8cpp.html">modules.cpp</a></td><td class="dirtab"><a class="el" href="socket_8h.html">socket.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="modules_8cpp.html">modules.cpp</a></td><td class="dirtab"><a class="el" href="socketengine_8h.html">socketengine.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="modules_8cpp.html">modules.cpp</a></td><td class="dirtab"><a class="el" href="users_8h.html">users.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="modules_8cpp.html">modules.cpp</a></td><td class="dirtab"><a class="el" href="xline_8h.html">xline.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="socket_8cpp.html">socket.cpp</a></td><td class="dirtab"><a class="el" href="socket_8h.html">socket.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="socket_8cpp.html">socket.cpp</a></td><td class="dirtab"><a class="el" href="socketengine_8h.html">socketengine.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="socketengine_8cpp.html">socketengine.cpp</a></td><td class="dirtab"><a class="el" href="socketengine_8h.html">socketengine.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="users_8cpp.html">users.cpp</a></td><td class="dirtab"><a class="el" href="channels_8h.html">channels.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="users_8cpp.html">users.cpp</a></td><td class="dirtab"><a class="el" href="commands_8h.html">commands.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="users_8cpp.html">users.cpp</a></td><td class="dirtab"><a class="el" href="connection_8h.html">connection.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="users_8cpp.html">users.cpp</a></td><td class="dirtab"><a class="el" href="users_8h.html">users.h</a></td></tr></table><hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:14 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/dir_000005_dep.gif b/docs/module-doc/dir_000005_dep.gif Binary files differindex 48c70077f..e6c88b20b 100644 --- a/docs/module-doc/dir_000005_dep.gif +++ b/docs/module-doc/dir_000005_dep.gif diff --git a/docs/module-doc/dirs.html b/docs/module-doc/dirs.html index c70d30179..a33209f1f 100644 --- a/docs/module-doc/dirs.html +++ b/docs/module-doc/dirs.html @@ -21,7 +21,7 @@ </ul> </ul> </ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:14 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/dns_8h-source.html b/docs/module-doc/dns_8h-source.html index 3592f2d79..ad54df4a4 100644 --- a/docs/module-doc/dns_8h-source.html +++ b/docs/module-doc/dns_8h-source.html @@ -67,14 +67,15 @@ <a name="l00076"></a>00076 <span class="keywordtype">bool</span> <a class="code" href="classDNS.html#ReverseLookup_28std_3A_3Astring_20ip_29">ReverseLookup</a>(<a class="code" href="namespaceirc.html#string">std::string</a> ip); <a name="l00080"></a>00080 <span class="keywordtype">bool</span> <a class="code" href="classDNS.html#ForwardLookup_28std_3A_3Astring_20host_29">ForwardLookup</a>(<a class="code" href="namespaceirc.html#string">std::string</a> host); <a name="l00084"></a>00084 <span class="keywordtype">bool</span> <a class="code" href="classDNS.html#HasResult_28_29">HasResult</a>(); -<a name="l00088"></a>00088 <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classDNS.html#GetResult_28_29">GetResult</a>(); -<a name="l00089"></a>00089 <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classDNS.html#GetResultIP_28_29">GetResultIP</a>(); -<a name="l00093"></a>00093 <span class="keywordtype">int</span> <a class="code" href="classDNS.html#GetFD_28_29">GetFD</a>(); -<a name="l00094"></a>00094 <span class="keywordtype">void</span> <a class="code" href="classDNS.html#SetNS_28std_3A_3Astring_20dnsserver_29">SetNS</a>(<a class="code" href="namespaceirc.html#string">std::string</a> dnsserver); -<a name="l00095"></a>00095 }; -<a name="l00096"></a>00096 -<a name="l00097"></a>00097 <span class="preprocessor">#endif</span> -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:03 2005 for InspIRCd by +<a name="l00087"></a>00087 <span class="keywordtype">bool</span> <a class="code" href="classDNS.html#HasResult_28_29">HasResult</a>(<span class="keywordtype">int</span> fd); +<a name="l00091"></a>00091 <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classDNS.html#GetResult_28_29">GetResult</a>(); +<a name="l00092"></a>00092 <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classDNS.html#GetResultIP_28_29">GetResultIP</a>(); +<a name="l00096"></a>00096 <span class="keywordtype">int</span> <a class="code" href="classDNS.html#GetFD_28_29">GetFD</a>(); +<a name="l00097"></a>00097 <span class="keywordtype">void</span> <a class="code" href="classDNS.html#SetNS_28std_3A_3Astring_20dnsserver_29">SetNS</a>(<a class="code" href="namespaceirc.html#string">std::string</a> dnsserver); +<a name="l00098"></a>00098 }; +<a name="l00099"></a>00099 +<a name="l00100"></a>00100 <span class="preprocessor">#endif</span> +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:08 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/dns_8h.html b/docs/module-doc/dns_8h.html index 78f3494fa..bf5993b5c 100644 --- a/docs/module-doc/dns_8h.html +++ b/docs/module-doc/dns_8h.html @@ -25,7 +25,7 @@ Include dependency graph for dns.h:<p><center><img src="dns_8h__incl.gif" border <tr><td class="mdescLeft"> </td><td class="mdescRight">The DNS class allows fast nonblocking resolution of hostnames and ip addresses. <a href="classDNS.html#_details">More...</a><br></td></tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:07 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:08 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/files.html b/docs/module-doc/files.html index 48a64d4d7..1cad808e7 100644 --- a/docs/module-doc/files.html +++ b/docs/module-doc/files.html @@ -20,11 +20,13 @@ <tr><td class="indexkey"><a class="el" href="modules_8h.html">modules.h</a> <a href="modules_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> <tr><td class="indexkey"><a class="el" href="socket_8cpp.html">socket.cpp</a> <a href="socket_8cpp-source.html">[code]</a></td><td class="indexvalue"></td></tr> <tr><td class="indexkey"><a class="el" href="socket_8h.html">socket.h</a> <a href="socket_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="socketengine_8cpp.html">socketengine.cpp</a> <a href="socketengine_8cpp-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="socketengine_8h.html">socketengine.h</a> <a href="socketengine_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> <tr><td class="indexkey"><a class="el" href="users_8cpp.html">users.cpp</a> <a href="users_8cpp-source.html">[code]</a></td><td class="indexvalue"></td></tr> <tr><td class="indexkey"><a class="el" href="users_8h.html">users.h</a> <a href="users_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> <tr><td class="indexkey"><a class="el" href="xline_8h.html">xline.h</a> <a href="xline_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:03 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:08 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions.html b/docs/module-doc/functions.html index 0df95c18b..da8e12bf9 100644 --- a/docs/module-doc/functions.html +++ b/docs/module-doc/functions.html @@ -17,7 +17,8 @@ Here is a list of all class members with links to the classes they belong to: : <a class="el" href="classServer.html#AddCommand_28char_20_2Acmd_2C_20handlerfunc_20f_2C_20char_20flags_2C_20int_20minparams_2C_20char_20_2Asource_29">Server</a><li>AddELine() : <a class="el" href="classServer.html#AddELine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">Server</a><li>AddExtendedListMode() : <a class="el" href="classServer.html#AddExtendedListMode_28char_20modechar_29">Server</a><li>AddExtendedMode() -: <a class="el" href="classServer.html#AddExtendedMode_28char_20modechar_2C_20int_20type_2C_20bool_20requires_5Foper_2C_20int_20params_5Fwhen_5Fon_2C_20int_20params_5Fwhen_5Foff_29">Server</a><li>AddGLine() +: <a class="el" href="classServer.html#AddExtendedMode_28char_20modechar_2C_20int_20type_2C_20bool_20requires_5Foper_2C_20int_20params_5Fwhen_5Fon_2C_20int_20params_5Fwhen_5Foff_29">Server</a><li>AddFd() +: <a class="el" href="classSocketEngine.html#AddFd_28int_20fd_2C_20bool_20readable_2C_20char_20type_29">SocketEngine</a><li>AddGLine() : <a class="el" href="classServer.html#AddGLine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">Server</a><li>AddKLine() : <a class="el" href="classServer.html#AddKLine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">Server</a><li>AddQLine() : <a class="el" href="classServer.html#AddQLine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20nickname_29">Server</a><li>addr @@ -30,7 +31,7 @@ Here is a list of all class members with links to the classes they belong to: : <a class="el" href="classAdmin.html#Admin_28std_3A_3Astring_20name_2C_20std_3A_3Astring_20email_2C_20std_3A_3Astring_20nick_29">Admin</a><li>age : <a class="el" href="classclassbase.html#age">classbase</a><li>awaymsg : <a class="el" href="classuserrec.html#awaymsg_5BMAXAWAY_2B_31_5D">userrec</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_0x62.html b/docs/module-doc/functions_0x62.html index 8635fc1e1..ca4ccda13 100644 --- a/docs/module-doc/functions_0x62.html +++ b/docs/module-doc/functions_0x62.html @@ -22,7 +22,7 @@ Here is a list of all class members with links to the classes they belong to: : <a class="el" href="classVersion.html#Build">Version</a><li>bytes_in : <a class="el" href="classconnection.html#bytes_5Fin">connection</a><li>bytes_out : <a class="el" href="classconnection.html#bytes_5Fout">connection</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_0x63.html b/docs/module-doc/functions_0x63.html index cc252bbdd..8afefb497 100644 --- a/docs/module-doc/functions_0x63.html +++ b/docs/module-doc/functions_0x63.html @@ -40,7 +40,7 @@ Here is a list of all class members with links to the classes they belong to: : <a class="el" href="classchanrec.html#created">chanrec</a><li>CreateModule() : <a class="el" href="classModuleFactory.html#CreateModule_28Server_20_2AMe_29_3D_30">ModuleFactory</a><li>custom_modes : <a class="el" href="classchanrec.html#custom_5Fmodes_5BMAXMODES_5D">chanrec</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_0x64.html b/docs/module-doc/functions_0x64.html index 76871dddc..4c23e9686 100644 --- a/docs/module-doc/functions_0x64.html +++ b/docs/module-doc/functions_0x64.html @@ -14,7 +14,8 @@ Here is a list of all class members with links to the classes they belong to: <h3><a class="anchor" name="index_d">- d -</a></h3><ul> <li>data : <a class="el" href="classEvent.html#data">Event</a>, <a class="el" href="classRequest.html#data">Request</a>, <a class="el" href="classHostItem.html#data_5BMAXBUF_5D">HostItem</a><li>DelELine() -: <a class="el" href="classServer.html#DelELine_28std_3A_3Astring_20hostmask_29">Server</a><li>DelGLine() +: <a class="el" href="classServer.html#DelELine_28std_3A_3Astring_20hostmask_29">Server</a><li>DelFd() +: <a class="el" href="classSocketEngine.html#DelFd_28int_20fd_29">SocketEngine</a><li>DelGLine() : <a class="el" href="classServer.html#DelGLine_28std_3A_3Astring_20hostmask_29">Server</a><li>DelKLine() : <a class="el" href="classServer.html#DelKLine_28std_3A_3Astring_20hostmask_29">Server</a><li>DelQLine() : <a class="el" href="classServer.html#DelQLine_28std_3A_3Astring_20nickname_29">Server</a><li>DelSocket() @@ -41,7 +42,7 @@ Here is a list of all class members with links to the classes they belong to: : <a class="el" href="classDNS.html#dns_5Fntoa_34_5Fs_28const_20in_5Faddr_20_2Aconst_20ip_2C_20char_20_2Aconst_20result_29">DNS</a><li>DumpErrors() : <a class="el" href="classConfigReader.html#DumpErrors_28bool_20bail_2C_20userrec_20_2Auser_29">ConfigReader</a><li>duration : <a class="el" href="classXLine.html#duration">XLine</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_0x65.html b/docs/module-doc/functions_0x65.html index 02b9a2ba2..55656f892 100644 --- a/docs/module-doc/functions_0x65.html +++ b/docs/module-doc/functions_0x65.html @@ -13,7 +13,8 @@ Here is a list of all class members with links to the classes they belong to: <p> <h3><a class="anchor" name="index_e">- e -</a></h3><ul> <li>Email -: <a class="el" href="classAdmin.html#Email">Admin</a><li>Enumerate() +: <a class="el" href="classAdmin.html#Email">Admin</a><li>EngineHandle +: <a class="el" href="classSocketEngine.html#EngineHandle">SocketEngine</a><li>Enumerate() : <a class="el" href="classConfigReader.html#Enumerate_28std_3A_3Astring_20tag_29">ConfigReader</a><li>EnumerateValues() : <a class="el" href="classConfigReader.html#EnumerateValues_28std_3A_3Astring_20tag_2C_20int_20index_29">ConfigReader</a><li>eq() : <a class="el" href="structirc_1_1irc__char__traits.html#eq_28char_20c_31st_2C_20char_20c_32nd_29">irc::irc_char_traits</a><li>error @@ -24,7 +25,7 @@ Here is a list of all class members with links to the classes they belong to: : <a class="el" href="classExtensible.html#Extend_28std_3A_3Astring_20key_2C_20char_20_2Ap_29">Extensible</a><li>Extension_Items : <a class="el" href="classExtensible.html#Extension_5FItems">Extensible</a><li>ExtMode() : <a class="el" href="classExtMode.html#ExtMode_28char_20mc_2C_20int_20ty_2C_20bool_20oper_2C_20int_20p_5Fon_2C_20int_20p_5Foff_29">ExtMode</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_0x66.html b/docs/module-doc/functions_0x66.html index 97c99e69e..c26a01b0a 100644 --- a/docs/module-doc/functions_0x66.html +++ b/docs/module-doc/functions_0x66.html @@ -14,7 +14,8 @@ Here is a list of all class members with links to the classes they belong to: <h3><a class="anchor" name="index_f">- f -</a></h3><ul> <li>fc : <a class="el" href="classFileReader.html#fc">FileReader</a><li>fd -: <a class="el" href="classInspSocket.html#fd">InspSocket</a>, <a class="el" href="classconnection.html#fd">connection</a><li>FileReader() +: <a class="el" href="classInspSocket.html#fd">InspSocket</a>, <a class="el" href="classconnection.html#fd">connection</a><li>fds +: <a class="el" href="classSocketEngine.html#fds">SocketEngine</a><li>FileReader() : <a class="el" href="classFileReader.html#FileReader_28std_3A_3Astring_20filename_29">FileReader</a><li>FileSize() : <a class="el" href="classFileReader.html#FileSize_28_29">FileReader</a><li>find() : <a class="el" href="structirc_1_1irc__char__traits.html#find_28const_20char_20_2As_31_2C_20int_20n_2C_20char_20c_29">irc::irc_char_traits</a><li>FindChannel() @@ -28,7 +29,7 @@ Here is a list of all class members with links to the classes they belong to: : <a class="el" href="classuserrec.html#FlushWriteBuf_28_29">userrec</a><li>ForwardLookup() : <a class="el" href="classDNS.html#ForwardLookup_28std_3A_3Astring_20host_29">DNS</a><li>fullname : <a class="el" href="classWhoWasUser.html#fullname_5BMAXGECOS_2B_31_5D">WhoWasUser</a>, <a class="el" href="classuserrec.html#fullname_5BMAXGECOS_2B_31_5D">userrec</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_0x67.html b/docs/module-doc/functions_0x67.html index 3aa990b92..384b0cbf4 100644 --- a/docs/module-doc/functions_0x67.html +++ b/docs/module-doc/functions_0x67.html @@ -22,25 +22,28 @@ Here is a list of all class members with links to the classes they belong to: : <a class="el" href="classEvent.html#GetEventID_28_29">Event</a><li>GetExt() : <a class="el" href="classExtensible.html#GetExt_28std_3A_3Astring_20key_29">Extensible</a><li>GetExtList() : <a class="el" href="classExtensible.html#GetExtList_28std_3A_3Adeque_3C_20std_3A_3Astring_20_3E_20_26list_29">Extensible</a><li>GetFD() -: <a class="el" href="classDNS.html#GetFD_28_29">DNS</a><li>GetFullHost() +: <a class="el" href="classDNS.html#GetFD_28_29">DNS</a><li>GetFd() +: <a class="el" href="classInspSocket.html#GetFd_28_29">InspSocket</a><li>GetFullHost() : <a class="el" href="classuserrec.html#GetFullHost_28_29">userrec</a><li>GetFullRealHost() : <a class="el" href="classuserrec.html#GetFullRealHost_28_29">userrec</a><li>GetInviteList() : <a class="el" href="classuserrec.html#GetInviteList_28_29">userrec</a><li>GetIP() : <a class="el" href="classInspSocket.html#GetIP_28_29">InspSocket</a><li>GetLine() : <a class="el" href="classFileReader.html#GetLine_28int_20x_29">FileReader</a><li>GetModeParameter() -: <a class="el" href="classchanrec.html#GetModeParameter_28char_20mode_29">chanrec</a><li>GetNetworkName() +: <a class="el" href="classchanrec.html#GetModeParameter_28char_20mode_29">chanrec</a><li>GetName() +: <a class="el" href="classSocketEngine.html#GetName_28_29">SocketEngine</a><li>GetNetworkName() : <a class="el" href="classServer.html#GetNetworkName_28_29">Server</a><li>GetResult() : <a class="el" href="classDNS.html#GetResult_28_29">DNS</a><li>GetResultIP() : <a class="el" href="classDNS.html#GetResultIP_28_29">DNS</a><li>GetServerDescription() : <a class="el" href="classServer.html#GetServerDescription_28_29">Server</a><li>GetServerName() : <a class="el" href="classServer.html#GetServerName_28_29">Server</a><li>GetSource() : <a class="el" href="classEvent.html#GetSource_28_29">Event</a>, <a class="el" href="classRequest.html#GetSource_28_29">Request</a><li>GetState() -: <a class="el" href="classInspSocket.html#GetState_28_29">InspSocket</a><li>GetUserCounter() +: <a class="el" href="classInspSocket.html#GetState_28_29">InspSocket</a><li>GetType() +: <a class="el" href="classSocketEngine.html#GetType_28int_20fd_29">SocketEngine</a><li>GetUserCounter() : <a class="el" href="classchanrec.html#GetUserCounter_28_29">chanrec</a><li>GetUsers() : <a class="el" href="classServer.html#GetUsers_28chanrec_20_2Achan_29">Server</a>, <a class="el" href="classchanrec.html#GetUsers_28_29">chanrec</a><li>GetVersion() : <a class="el" href="classModule.html#GetVersion_28_29">Module</a><li>GetWriteError() : <a class="el" href="classuserrec.html#GetWriteError_28_29">userrec</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_0x68.html b/docs/module-doc/functions_0x68.html index aa9f5b2a3..9d4b1203d 100644 --- a/docs/module-doc/functions_0x68.html +++ b/docs/module-doc/functions_0x68.html @@ -16,11 +16,11 @@ Here is a list of all class members with links to the classes they belong to: : <a class="el" href="classcommand__t.html#handler_5Ffunction">command_t</a><li>haspassed : <a class="el" href="classconnection.html#haspassed">connection</a><li>HasPermission() : <a class="el" href="classuserrec.html#HasPermission_28char_20_2Acommand_29">userrec</a><li>HasResult() -: <a class="el" href="classDNS.html#HasResult_28_29">DNS</a><li>host +: <a class="el" href="classDNS.html#HasResult_28int_20fd_29">DNS</a><li>host : <a class="el" href="classWhoWasUser.html#host_5B_31_36_30_5D">WhoWasUser</a>, <a class="el" href="classConnectClass.html#host_5BMAXBUF_5D">ConnectClass</a>, <a class="el" href="classInspSocket.html#host">InspSocket</a>, <a class="el" href="classconnection.html#host_5B_31_36_30_5D">connection</a><li>HostItem() : <a class="el" href="classHostItem.html#HostItem_28_29">HostItem</a><li>hostmask : <a class="el" href="classELine.html#hostmask_5B_32_30_30_5D">ELine</a>, <a class="el" href="classGLine.html#hostmask_5B_32_30_30_5D">GLine</a>, <a class="el" href="classKLine.html#hostmask_5B_32_30_30_5D">KLine</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_0x69.html b/docs/module-doc/functions_0x69.html index 72b2753e6..aec5cb261 100644 --- a/docs/module-doc/functions_0x69.html +++ b/docs/module-doc/functions_0x69.html @@ -33,7 +33,7 @@ Here is a list of all class members with links to the classes they belong to: : <a class="el" href="classServer.html#IsUlined_28std_3A_3Astring_20server_29">Server</a><li>IsValidMask() : <a class="el" href="classServer.html#IsValidMask_28std_3A_3Astring_20mask_29">Server</a><li>IsValidModuleCommand() : <a class="el" href="classServer.html#IsValidModuleCommand_28std_3A_3Astring_20commandname_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">Server</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_0x6a.html b/docs/module-doc/functions_0x6a.html index c6a887f10..ce6c5d605 100644 --- a/docs/module-doc/functions_0x6a.html +++ b/docs/module-doc/functions_0x6a.html @@ -14,7 +14,7 @@ Here is a list of all class members with links to the classes they belong to: <h3><a class="anchor" name="index_j">- j -</a></h3><ul> <li>JoinUserToChannel() : <a class="el" href="classServer.html#JoinUserToChannel_28userrec_20_2Auser_2C_20std_3A_3Astring_20cname_2C_20std_3A_3Astring_20key_29">Server</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_0x6b.html b/docs/module-doc/functions_0x6b.html index 4bd07cec1..7860dfc34 100644 --- a/docs/module-doc/functions_0x6b.html +++ b/docs/module-doc/functions_0x6b.html @@ -12,9 +12,10 @@ Here is a list of all class members with links to the classes they belong to: <p> <h3><a class="anchor" name="index_k">- k -</a></h3><ul> -<li>key +<li>ke_list +: <a class="el" href="classSocketEngine.html#ke_5Flist_5B_36_35_35_33_35_5D">SocketEngine</a><li>key : <a class="el" href="classchanrec.html#key_5B_33_32_5D">chanrec</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_0x6c.html b/docs/module-doc/functions_0x6c.html index 4b74b1f07..df2d2d97d 100644 --- a/docs/module-doc/functions_0x6c.html +++ b/docs/module-doc/functions_0x6c.html @@ -22,7 +22,7 @@ Here is a list of all class members with links to the classes they belong to: : <a class="el" href="classDNS.html#localbuf_5B_31_30_32_34_5D">DNS</a><li>Log() : <a class="el" href="classServer.html#Log_28int_20level_2C_20std_3A_3Astring_20s_29">Server</a><li>lt() : <a class="el" href="structirc_1_1irc__char__traits.html#lt_28char_20c_31st_2C_20char_20c_32nd_29">irc::irc_char_traits</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_0x6d.html b/docs/module-doc/functions_0x6d.html index 36fab4466..90e3eacf7 100644 --- a/docs/module-doc/functions_0x6d.html +++ b/docs/module-doc/functions_0x6d.html @@ -23,7 +23,7 @@ Here is a list of all class members with links to the classes they belong to: : <a class="el" href="classModule.html#Module_28Server_20_2AMe_29">Module</a><li>ModuleFactory() : <a class="el" href="classModuleFactory.html#ModuleFactory_28_29">ModuleFactory</a><li>myfd : <a class="el" href="classDNS.html#myfd">DNS</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_0x6e.html b/docs/module-doc/functions_0x6e.html index 82ece27a8..3979262a6 100644 --- a/docs/module-doc/functions_0x6e.html +++ b/docs/module-doc/functions_0x6e.html @@ -22,7 +22,7 @@ Here is a list of all class members with links to the classes they belong to: : <a class="el" href="classQLine.html#nick_5B_36_34_5D">QLine</a>, <a class="el" href="classWhoWasUser.html#nick_5BNICKMAX_5D">WhoWasUser</a>, <a class="el" href="classuserrec.html#nick_5BNICKMAX_5D">userrec</a><li>Nick : <a class="el" href="classAdmin.html#Nick">Admin</a><li>nping : <a class="el" href="classconnection.html#nping">connection</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_0x6f.html b/docs/module-doc/functions_0x6f.html index 273043f39..3c84e1ed8 100644 --- a/docs/module-doc/functions_0x6f.html +++ b/docs/module-doc/functions_0x6f.html @@ -101,7 +101,7 @@ Here is a list of all class members with links to the classes they belong to: : <a class="el" href="classBoolSet.html#operator_3D_28BoolSet_20other_29">BoolSet</a><li>operator==() : <a class="el" href="classBoolSet.html#operator_3D_3D_28BoolSet_20other_29">BoolSet</a><li>operator|() : <a class="el" href="classBoolSet.html#operator_7C_28BoolSet_20other_29">BoolSet</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_0x70.html b/docs/module-doc/functions_0x70.html index 03c02540b..e62e3ed4e 100644 --- a/docs/module-doc/functions_0x70.html +++ b/docs/module-doc/functions_0x70.html @@ -27,7 +27,7 @@ Here is a list of all class members with links to the classes they belong to: : <a class="el" href="classModule.html#ProtoSendMetaData_28void_20_2Aopaque_2C_20int_20target_5Ftype_2C_20void_20_2Atarget_2C_20std_3A_3Astring_20extname_2C_20std_3A_3Astring_20extdata_29">Module</a><li>ProtoSendMode() : <a class="el" href="classModule.html#ProtoSendMode_28void_20_2Aopaque_2C_20int_20target_5Ftype_2C_20void_20_2Atarget_2C_20std_3A_3Astring_20modeline_29">Module</a><li>PseudoToUser() : <a class="el" href="classServer.html#PseudoToUser_28userrec_20_2Aalive_2C_20userrec_20_2Azombie_2C_20std_3A_3Astring_20message_29">Server</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_0x71.html b/docs/module-doc/functions_0x71.html index 1b21da48c..3e95b7f62 100644 --- a/docs/module-doc/functions_0x71.html +++ b/docs/module-doc/functions_0x71.html @@ -14,7 +14,7 @@ Here is a list of all class members with links to the classes they belong to: <h3><a class="anchor" name="index_q">- q -</a></h3><ul> <li>QuitUser() : <a class="el" href="classServer.html#QuitUser_28userrec_20_2Auser_2C_20std_3A_3Astring_20reason_29">Server</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_0x72.html b/docs/module-doc/functions_0x72.html index 1ba629ddb..cb4155777 100644 --- a/docs/module-doc/functions_0x72.html +++ b/docs/module-doc/functions_0x72.html @@ -31,7 +31,7 @@ Here is a list of all class members with links to the classes they belong to: : <a class="el" href="classDNS.html#result">DNS</a><li>ReverseLookup() : <a class="el" href="classDNS.html#ReverseLookup_28std_3A_3Astring_20ip_29">DNS</a><li>Revision : <a class="el" href="classVersion.html#Revision">Version</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_0x73.html b/docs/module-doc/functions_0x73.html index 670a7add6..01732c8cd 100644 --- a/docs/module-doc/functions_0x73.html +++ b/docs/module-doc/functions_0x73.html @@ -25,9 +25,9 @@ Here is a list of all class members with links to the classes they belong to: : <a class="el" href="classServer.html#SendServ_28int_20Socket_2C_20std_3A_3Astring_20s_29">Server</a><li>SendTo() : <a class="el" href="classServer.html#SendTo_28userrec_20_2ASource_2C_20userrec_20_2ADest_2C_20std_3A_3Astring_20s_29">Server</a><li>SendToModeMask() : <a class="el" href="classServer.html#SendToModeMask_28std_3A_3Astring_20modes_2C_20int_20flags_2C_20std_3A_3Astring_20text_29">Server</a><li>SendWallops() -: <a class="el" href="classServer.html#SendWallops_28userrec_20_2AUser_2C_20std_3A_3Astring_20text_29">Server</a><li>Server() -: <a class="el" href="classServer.html#Server_28_29">Server</a><li>server -: <a class="el" href="classWhoWasUser.html#server_5B_32_35_36_5D">WhoWasUser</a>, <a class="el" href="classuserrec.html#server">userrec</a>, <a class="el" href="classInspSocket.html#server">InspSocket</a><li>Set() +: <a class="el" href="classServer.html#SendWallops_28userrec_20_2AUser_2C_20std_3A_3Astring_20text_29">Server</a><li>server +: <a class="el" href="classWhoWasUser.html#server_5B_32_35_36_5D">WhoWasUser</a>, <a class="el" href="classuserrec.html#server">userrec</a>, <a class="el" href="classInspSocket.html#server">InspSocket</a><li>Server() +: <a class="el" href="classServer.html#Server_28_29">Server</a><li>Set() : <a class="el" href="classBoolSet.html#Set_28int_20number_29">BoolSet</a><li>set_by : <a class="el" href="classHostItem.html#set_5Fby_5BNICKMAX_5D">HostItem</a><li>set_time : <a class="el" href="classXLine.html#set_5Ftime">XLine</a>, <a class="el" href="classHostItem.html#set_5Ftime">HostItem</a><li>setby @@ -38,10 +38,11 @@ Here is a list of all class members with links to the classes they belong to: : <a class="el" href="classInspSocket.html#SetState_28InspSocketState_20s_29">InspSocket</a><li>SetWriteError() : <a class="el" href="classuserrec.html#SetWriteError_28std_3A_3Astring_20error_29">userrec</a><li>Shrink() : <a class="el" href="classExtensible.html#Shrink_28std_3A_3Astring_20key_29">Extensible</a><li>signon -: <a class="el" href="classWhoWasUser.html#signon">WhoWasUser</a>, <a class="el" href="classconnection.html#signon">connection</a><li>source +: <a class="el" href="classWhoWasUser.html#signon">WhoWasUser</a>, <a class="el" href="classconnection.html#signon">connection</a><li>SocketEngine() +: <a class="el" href="classSocketEngine.html#SocketEngine_28_29">SocketEngine</a><li>source : <a class="el" href="classXLine.html#source_5B_32_35_36_5D">XLine</a>, <a class="el" href="classEvent.html#source">Event</a>, <a class="el" href="classRequest.html#source">Request</a>, <a class="el" href="classcommand__t.html#source_5BMAXBUF_5D">command_t</a><li>state : <a class="el" href="classInspSocket.html#state">InspSocket</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_0x74.html b/docs/module-doc/functions_0x74.html index e5b4c63e6..92977c130 100644 --- a/docs/module-doc/functions_0x74.html +++ b/docs/module-doc/functions_0x74.html @@ -19,9 +19,10 @@ Here is a list of all class members with links to the classes they belong to: : <a class="el" href="classInspSocket.html#timeout_5Fend">InspSocket</a><li>topic : <a class="el" href="classchanrec.html#topic_5BMAXBUF_5D">chanrec</a><li>topicset : <a class="el" href="classchanrec.html#topicset">chanrec</a><li>total_bytes -: <a class="el" href="classcommand__t.html#total_5Fbytes">command_t</a><li>type +: <a class="el" href="classcommand__t.html#total_5Fbytes">command_t</a><li>ts +: <a class="el" href="classSocketEngine.html#ts">SocketEngine</a><li>type : <a class="el" href="classConnectClass.html#type">ConnectClass</a>, <a class="el" href="classExtMode.html#type">ExtMode</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_0x75.html b/docs/module-doc/functions_0x75.html index 180c2f94a..1e0014869 100644 --- a/docs/module-doc/functions_0x75.html +++ b/docs/module-doc/functions_0x75.html @@ -19,7 +19,7 @@ Here is a list of all class members with links to the classes they belong to: : <a class="el" href="classcommand__t.html#use_5Fcount">command_t</a><li>userrec() : <a class="el" href="classuserrec.html#userrec_28_29">userrec</a><li>UserToPseudo() : <a class="el" href="classServer.html#UserToPseudo_28userrec_20_2Auser_2C_20std_3A_3Astring_20message_29">Server</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_0x76.html b/docs/module-doc/functions_0x76.html index dab31d1d2..928770ea5 100644 --- a/docs/module-doc/functions_0x76.html +++ b/docs/module-doc/functions_0x76.html @@ -15,7 +15,7 @@ Here is a list of all class members with links to the classes they belong to: <li>Verify() : <a class="el" href="classConfigReader.html#Verify_28_29">ConfigReader</a><li>Version() : <a class="el" href="classVersion.html#Version_28int_20major_2C_20int_20minor_2C_20int_20revision_2C_20int_20build_2C_20int_20flags_29">Version</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_0x77.html b/docs/module-doc/functions_0x77.html index a941840f5..5a1e4e13c 100644 --- a/docs/module-doc/functions_0x77.html +++ b/docs/module-doc/functions_0x77.html @@ -12,10 +12,11 @@ Here is a list of all class members with links to the classes they belong to: <p> <h3><a class="anchor" name="index_w">- w -</a></h3><ul> -<li>Write() +<li>Wait() +: <a class="el" href="classSocketEngine.html#Wait_28std_3A_3Avector_3C_20int_20_3E_20_26fdlist_29">SocketEngine</a><li>Write() : <a class="el" href="classInspSocket.html#Write_28std_3A_3Astring_20data_29">InspSocket</a><li>WriteError : <a class="el" href="classuserrec.html#WriteError">userrec</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_0x7e.html b/docs/module-doc/functions_0x7e.html index 9dc3acf39..d9efe16ae 100644 --- a/docs/module-doc/functions_0x7e.html +++ b/docs/module-doc/functions_0x7e.html @@ -23,10 +23,11 @@ Here is a list of all class members with links to the classes they belong to: : <a class="el" href="classModule.html#_7EModule_28_29">Module</a><li>~ModuleFactory() : <a class="el" href="classModuleFactory.html#_7EModuleFactory_28_29">ModuleFactory</a><li>~ModuleMessage() : <a class="el" href="classModuleMessage.html#_7EModuleMessage_28_29">ModuleMessage</a><li>~Server() -: <a class="el" href="classServer.html#_7EServer_28_29">Server</a><li>~ucrec() +: <a class="el" href="classServer.html#_7EServer_28_29">Server</a><li>~SocketEngine() +: <a class="el" href="classSocketEngine.html#_7ESocketEngine_28_29">SocketEngine</a><li>~ucrec() : <a class="el" href="classucrec.html#_7Eucrec_28_29">ucrec</a><li>~userrec() : <a class="el" href="classuserrec.html#_7Euserrec_28_29">userrec</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_func.html b/docs/module-doc/functions_func.html index b55529db1..efc460e78 100644 --- a/docs/module-doc/functions_func.html +++ b/docs/module-doc/functions_func.html @@ -17,7 +17,8 @@ : <a class="el" href="classServer.html#AddCommand_28char_20_2Acmd_2C_20handlerfunc_20f_2C_20char_20flags_2C_20int_20minparams_2C_20char_20_2Asource_29">Server</a><li>AddELine() : <a class="el" href="classServer.html#AddELine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">Server</a><li>AddExtendedListMode() : <a class="el" href="classServer.html#AddExtendedListMode_28char_20modechar_29">Server</a><li>AddExtendedMode() -: <a class="el" href="classServer.html#AddExtendedMode_28char_20modechar_2C_20int_20type_2C_20bool_20requires_5Foper_2C_20int_20params_5Fwhen_5Fon_2C_20int_20params_5Fwhen_5Foff_29">Server</a><li>AddGLine() +: <a class="el" href="classServer.html#AddExtendedMode_28char_20modechar_2C_20int_20type_2C_20bool_20requires_5Foper_2C_20int_20params_5Fwhen_5Fon_2C_20int_20params_5Fwhen_5Foff_29">Server</a><li>AddFd() +: <a class="el" href="classSocketEngine.html#AddFd_28int_20fd_2C_20bool_20readable_2C_20char_20type_29">SocketEngine</a><li>AddGLine() : <a class="el" href="classServer.html#AddGLine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">Server</a><li>AddKLine() : <a class="el" href="classServer.html#AddKLine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">Server</a><li>AddQLine() : <a class="el" href="classServer.html#AddQLine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20nickname_29">Server</a><li>AddSocket() @@ -26,7 +27,7 @@ : <a class="el" href="classuserrec.html#AddWriteBuf_28std_3A_3Astring_20data_29">userrec</a><li>AddZLine() : <a class="el" href="classServer.html#AddZLine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20ipaddr_29">Server</a><li>Admin() : <a class="el" href="classAdmin.html#Admin_28std_3A_3Astring_20name_2C_20std_3A_3Astring_20email_2C_20std_3A_3Astring_20nick_29">Admin</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_func_0x62.html b/docs/module-doc/functions_func_0x62.html index d8fabd11d..d866aeaba 100644 --- a/docs/module-doc/functions_func_0x62.html +++ b/docs/module-doc/functions_func_0x62.html @@ -15,7 +15,7 @@ <li>BoolSet() : <a class="el" href="classBoolSet.html#BoolSet_28char_20bitmask_29">BoolSet</a><li>BufferIsReady() : <a class="el" href="classuserrec.html#BufferIsReady_28_29">userrec</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_func_0x63.html b/docs/module-doc/functions_func_0x63.html index dc64e11e8..5b83f3647 100644 --- a/docs/module-doc/functions_func_0x63.html +++ b/docs/module-doc/functions_func_0x63.html @@ -31,7 +31,7 @@ : <a class="el" href="classconnection.html#connection_28_29">connection</a><li>CountUsers() : <a class="el" href="classServer.html#CountUsers_28chanrec_20_2Ac_29">Server</a><li>CreateModule() : <a class="el" href="classModuleFactory.html#CreateModule_28Server_20_2AMe_29_3D_30">ModuleFactory</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_func_0x64.html b/docs/module-doc/functions_func_0x64.html index 74e2d3955..b074353cf 100644 --- a/docs/module-doc/functions_func_0x64.html +++ b/docs/module-doc/functions_func_0x64.html @@ -13,7 +13,8 @@ <p> <h3><a class="anchor" name="index_d">- d -</a></h3><ul> <li>DelELine() -: <a class="el" href="classServer.html#DelELine_28std_3A_3Astring_20hostmask_29">Server</a><li>DelGLine() +: <a class="el" href="classServer.html#DelELine_28std_3A_3Astring_20hostmask_29">Server</a><li>DelFd() +: <a class="el" href="classSocketEngine.html#DelFd_28int_20fd_29">SocketEngine</a><li>DelGLine() : <a class="el" href="classServer.html#DelGLine_28std_3A_3Astring_20hostmask_29">Server</a><li>DelKLine() : <a class="el" href="classServer.html#DelKLine_28std_3A_3Astring_20hostmask_29">Server</a><li>DelQLine() : <a class="el" href="classServer.html#DelQLine_28std_3A_3Astring_20nickname_29">Server</a><li>DelSocket() @@ -36,7 +37,7 @@ : <a class="el" href="classDNS.html#dns_5Fntoa_34_5Fr_28const_20in_5Faddr_20_2Aconst_20ip_29">DNS</a><li>dns_ntoa4_s() : <a class="el" href="classDNS.html#dns_5Fntoa_34_5Fs_28const_20in_5Faddr_20_2Aconst_20ip_2C_20char_20_2Aconst_20result_29">DNS</a><li>DumpErrors() : <a class="el" href="classConfigReader.html#DumpErrors_28bool_20bail_2C_20userrec_20_2Auser_29">ConfigReader</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_func_0x65.html b/docs/module-doc/functions_func_0x65.html index c5ee4b0ec..16a1752f6 100644 --- a/docs/module-doc/functions_func_0x65.html +++ b/docs/module-doc/functions_func_0x65.html @@ -20,7 +20,7 @@ : <a class="el" href="classFileReader.html#Exists_28_29">FileReader</a><li>Extend() : <a class="el" href="classExtensible.html#Extend_28std_3A_3Astring_20key_2C_20char_20_2Ap_29">Extensible</a><li>ExtMode() : <a class="el" href="classExtMode.html#ExtMode_28char_20mc_2C_20int_20ty_2C_20bool_20oper_2C_20int_20p_5Fon_2C_20int_20p_5Foff_29">ExtMode</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_func_0x66.html b/docs/module-doc/functions_func_0x66.html index 510742533..d0da525dc 100644 --- a/docs/module-doc/functions_func_0x66.html +++ b/docs/module-doc/functions_func_0x66.html @@ -22,7 +22,7 @@ : <a class="el" href="classServer.html#FindNick_28std_3A_3Astring_20nick_29">Server</a><li>FlushWriteBuf() : <a class="el" href="classuserrec.html#FlushWriteBuf_28_29">userrec</a><li>ForwardLookup() : <a class="el" href="classDNS.html#ForwardLookup_28std_3A_3Astring_20host_29">DNS</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_func_0x67.html b/docs/module-doc/functions_func_0x67.html index 5d267f5a7..eb3e22b0d 100644 --- a/docs/module-doc/functions_func_0x67.html +++ b/docs/module-doc/functions_func_0x67.html @@ -22,25 +22,28 @@ : <a class="el" href="classEvent.html#GetEventID_28_29">Event</a><li>GetExt() : <a class="el" href="classExtensible.html#GetExt_28std_3A_3Astring_20key_29">Extensible</a><li>GetExtList() : <a class="el" href="classExtensible.html#GetExtList_28std_3A_3Adeque_3C_20std_3A_3Astring_20_3E_20_26list_29">Extensible</a><li>GetFD() -: <a class="el" href="classDNS.html#GetFD_28_29">DNS</a><li>GetFullHost() +: <a class="el" href="classDNS.html#GetFD_28_29">DNS</a><li>GetFd() +: <a class="el" href="classInspSocket.html#GetFd_28_29">InspSocket</a><li>GetFullHost() : <a class="el" href="classuserrec.html#GetFullHost_28_29">userrec</a><li>GetFullRealHost() : <a class="el" href="classuserrec.html#GetFullRealHost_28_29">userrec</a><li>GetInviteList() : <a class="el" href="classuserrec.html#GetInviteList_28_29">userrec</a><li>GetIP() : <a class="el" href="classInspSocket.html#GetIP_28_29">InspSocket</a><li>GetLine() : <a class="el" href="classFileReader.html#GetLine_28int_20x_29">FileReader</a><li>GetModeParameter() -: <a class="el" href="classchanrec.html#GetModeParameter_28char_20mode_29">chanrec</a><li>GetNetworkName() +: <a class="el" href="classchanrec.html#GetModeParameter_28char_20mode_29">chanrec</a><li>GetName() +: <a class="el" href="classSocketEngine.html#GetName_28_29">SocketEngine</a><li>GetNetworkName() : <a class="el" href="classServer.html#GetNetworkName_28_29">Server</a><li>GetResult() : <a class="el" href="classDNS.html#GetResult_28_29">DNS</a><li>GetResultIP() : <a class="el" href="classDNS.html#GetResultIP_28_29">DNS</a><li>GetServerDescription() : <a class="el" href="classServer.html#GetServerDescription_28_29">Server</a><li>GetServerName() : <a class="el" href="classServer.html#GetServerName_28_29">Server</a><li>GetSource() : <a class="el" href="classEvent.html#GetSource_28_29">Event</a>, <a class="el" href="classRequest.html#GetSource_28_29">Request</a><li>GetState() -: <a class="el" href="classInspSocket.html#GetState_28_29">InspSocket</a><li>GetUserCounter() +: <a class="el" href="classInspSocket.html#GetState_28_29">InspSocket</a><li>GetType() +: <a class="el" href="classSocketEngine.html#GetType_28int_20fd_29">SocketEngine</a><li>GetUserCounter() : <a class="el" href="classchanrec.html#GetUserCounter_28_29">chanrec</a><li>GetUsers() : <a class="el" href="classServer.html#GetUsers_28chanrec_20_2Achan_29">Server</a>, <a class="el" href="classchanrec.html#GetUsers_28_29">chanrec</a><li>GetVersion() : <a class="el" href="classModule.html#GetVersion_28_29">Module</a><li>GetWriteError() : <a class="el" href="classuserrec.html#GetWriteError_28_29">userrec</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_func_0x68.html b/docs/module-doc/functions_func_0x68.html index e0e409921..424d6dca5 100644 --- a/docs/module-doc/functions_func_0x68.html +++ b/docs/module-doc/functions_func_0x68.html @@ -14,9 +14,9 @@ <h3><a class="anchor" name="index_h">- h -</a></h3><ul> <li>HasPermission() : <a class="el" href="classuserrec.html#HasPermission_28char_20_2Acommand_29">userrec</a><li>HasResult() -: <a class="el" href="classDNS.html#HasResult_28_29">DNS</a><li>HostItem() +: <a class="el" href="classDNS.html#HasResult_28int_20fd_29">DNS</a><li>HostItem() : <a class="el" href="classHostItem.html#HostItem_28_29">HostItem</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_func_0x69.html b/docs/module-doc/functions_func_0x69.html index 9e93b7aff..60baef982 100644 --- a/docs/module-doc/functions_func_0x69.html +++ b/docs/module-doc/functions_func_0x69.html @@ -23,7 +23,7 @@ : <a class="el" href="classServer.html#IsUlined_28std_3A_3Astring_20server_29">Server</a><li>IsValidMask() : <a class="el" href="classServer.html#IsValidMask_28std_3A_3Astring_20mask_29">Server</a><li>IsValidModuleCommand() : <a class="el" href="classServer.html#IsValidModuleCommand_28std_3A_3Astring_20commandname_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">Server</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_func_0x6a.html b/docs/module-doc/functions_func_0x6a.html index 757b8cb26..2d7252493 100644 --- a/docs/module-doc/functions_func_0x6a.html +++ b/docs/module-doc/functions_func_0x6a.html @@ -14,7 +14,7 @@ <h3><a class="anchor" name="index_j">- j -</a></h3><ul> <li>JoinUserToChannel() : <a class="el" href="classServer.html#JoinUserToChannel_28userrec_20_2Auser_2C_20std_3A_3Astring_20cname_2C_20std_3A_3Astring_20key_29">Server</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_func_0x6c.html b/docs/module-doc/functions_func_0x6c.html index 7e3280d0d..8366b7684 100644 --- a/docs/module-doc/functions_func_0x6c.html +++ b/docs/module-doc/functions_func_0x6c.html @@ -16,7 +16,7 @@ : <a class="el" href="classFileReader.html#LoadFile_28std_3A_3Astring_20filename_29">FileReader</a><li>Log() : <a class="el" href="classServer.html#Log_28int_20level_2C_20std_3A_3Astring_20s_29">Server</a><li>lt() : <a class="el" href="structirc_1_1irc__char__traits.html#lt_28char_20c_31st_2C_20char_20c_32nd_29">irc::irc_char_traits</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_func_0x6d.html b/docs/module-doc/functions_func_0x6d.html index 0e37cd85f..6105d60fa 100644 --- a/docs/module-doc/functions_func_0x6d.html +++ b/docs/module-doc/functions_func_0x6d.html @@ -16,7 +16,7 @@ : <a class="el" href="classServer.html#MatchText_28std_3A_3Astring_20sliteral_2C_20std_3A_3Astring_20spattern_29">Server</a><li>Module() : <a class="el" href="classModule.html#Module_28Server_20_2AMe_29">Module</a><li>ModuleFactory() : <a class="el" href="classModuleFactory.html#ModuleFactory_28_29">ModuleFactory</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_func_0x6e.html b/docs/module-doc/functions_func_0x6e.html index 3ed36337b..b6626e775 100644 --- a/docs/module-doc/functions_func_0x6e.html +++ b/docs/module-doc/functions_func_0x6e.html @@ -14,7 +14,7 @@ <h3><a class="anchor" name="index_n">- n -</a></h3><ul> <li>ne() : <a class="el" href="structirc_1_1irc__char__traits.html#ne_28char_20c_31st_2C_20char_20c_32nd_29">irc::irc_char_traits</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_func_0x6f.html b/docs/module-doc/functions_func_0x6f.html index e6578ed59..610c361b9 100644 --- a/docs/module-doc/functions_func_0x6f.html +++ b/docs/module-doc/functions_func_0x6f.html @@ -100,7 +100,7 @@ : <a class="el" href="classBoolSet.html#operator_3D_28BoolSet_20other_29">BoolSet</a><li>operator==() : <a class="el" href="classBoolSet.html#operator_3D_3D_28BoolSet_20other_29">BoolSet</a><li>operator|() : <a class="el" href="classBoolSet.html#operator_7C_28BoolSet_20other_29">BoolSet</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_func_0x70.html b/docs/module-doc/functions_func_0x70.html index bb1445439..d50720191 100644 --- a/docs/module-doc/functions_func_0x70.html +++ b/docs/module-doc/functions_func_0x70.html @@ -18,7 +18,7 @@ : <a class="el" href="classModule.html#ProtoSendMetaData_28void_20_2Aopaque_2C_20int_20target_5Ftype_2C_20void_20_2Atarget_2C_20std_3A_3Astring_20extname_2C_20std_3A_3Astring_20extdata_29">Module</a><li>ProtoSendMode() : <a class="el" href="classModule.html#ProtoSendMode_28void_20_2Aopaque_2C_20int_20target_5Ftype_2C_20void_20_2Atarget_2C_20std_3A_3Astring_20modeline_29">Module</a><li>PseudoToUser() : <a class="el" href="classServer.html#PseudoToUser_28userrec_20_2Aalive_2C_20userrec_20_2Azombie_2C_20std_3A_3Astring_20message_29">Server</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_func_0x71.html b/docs/module-doc/functions_func_0x71.html index d56b67c39..1de44bcdf 100644 --- a/docs/module-doc/functions_func_0x71.html +++ b/docs/module-doc/functions_func_0x71.html @@ -14,7 +14,7 @@ <h3><a class="anchor" name="index_q">- q -</a></h3><ul> <li>QuitUser() : <a class="el" href="classServer.html#QuitUser_28userrec_20_2Auser_2C_20std_3A_3Astring_20reason_29">Server</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_func_0x72.html b/docs/module-doc/functions_func_0x72.html index f7aa962f5..a5d52c426 100644 --- a/docs/module-doc/functions_func_0x72.html +++ b/docs/module-doc/functions_func_0x72.html @@ -22,7 +22,7 @@ : <a class="el" href="classuserrec.html#RemoveInvite_28char_20_2Achannel_29">userrec</a><li>Request() : <a class="el" href="classRequest.html#Request_28char_20_2Aanydata_2C_20Module_20_2Asrc_2C_20Module_20_2Adst_29">Request</a><li>ReverseLookup() : <a class="el" href="classDNS.html#ReverseLookup_28std_3A_3Astring_20ip_29">DNS</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_func_0x73.html b/docs/module-doc/functions_func_0x73.html index 49bc58b11..ec44f899b 100644 --- a/docs/module-doc/functions_func_0x73.html +++ b/docs/module-doc/functions_func_0x73.html @@ -31,8 +31,9 @@ : <a class="el" href="classDNS.html#SetNS_28std_3A_3Astring_20dnsserver_29">DNS</a><li>SetState() : <a class="el" href="classInspSocket.html#SetState_28InspSocketState_20s_29">InspSocket</a><li>SetWriteError() : <a class="el" href="classuserrec.html#SetWriteError_28std_3A_3Astring_20error_29">userrec</a><li>Shrink() -: <a class="el" href="classExtensible.html#Shrink_28std_3A_3Astring_20key_29">Extensible</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by +: <a class="el" href="classExtensible.html#Shrink_28std_3A_3Astring_20key_29">Extensible</a><li>SocketEngine() +: <a class="el" href="classSocketEngine.html#SocketEngine_28_29">SocketEngine</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_func_0x75.html b/docs/module-doc/functions_func_0x75.html index b1361ba6b..78d5bd02e 100644 --- a/docs/module-doc/functions_func_0x75.html +++ b/docs/module-doc/functions_func_0x75.html @@ -17,7 +17,7 @@ : <a class="el" href="classBoolSet.html#Unset_28int_20number_29">BoolSet</a><li>userrec() : <a class="el" href="classuserrec.html#userrec_28_29">userrec</a><li>UserToPseudo() : <a class="el" href="classServer.html#UserToPseudo_28userrec_20_2Auser_2C_20std_3A_3Astring_20message_29">Server</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_func_0x76.html b/docs/module-doc/functions_func_0x76.html index aa027ef44..d3dc097e2 100644 --- a/docs/module-doc/functions_func_0x76.html +++ b/docs/module-doc/functions_func_0x76.html @@ -15,7 +15,7 @@ <li>Verify() : <a class="el" href="classConfigReader.html#Verify_28_29">ConfigReader</a><li>Version() : <a class="el" href="classVersion.html#Version_28int_20major_2C_20int_20minor_2C_20int_20revision_2C_20int_20build_2C_20int_20flags_29">Version</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_func_0x77.html b/docs/module-doc/functions_func_0x77.html index 3676cdc03..2e4999b37 100644 --- a/docs/module-doc/functions_func_0x77.html +++ b/docs/module-doc/functions_func_0x77.html @@ -12,9 +12,10 @@ <p> <h3><a class="anchor" name="index_w">- w -</a></h3><ul> -<li>Write() +<li>Wait() +: <a class="el" href="classSocketEngine.html#Wait_28std_3A_3Avector_3C_20int_20_3E_20_26fdlist_29">SocketEngine</a><li>Write() : <a class="el" href="classInspSocket.html#Write_28std_3A_3Astring_20data_29">InspSocket</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_func_0x7e.html b/docs/module-doc/functions_func_0x7e.html index 622a97666..8351332bf 100644 --- a/docs/module-doc/functions_func_0x7e.html +++ b/docs/module-doc/functions_func_0x7e.html @@ -23,10 +23,11 @@ : <a class="el" href="classModule.html#_7EModule_28_29">Module</a><li>~ModuleFactory() : <a class="el" href="classModuleFactory.html#_7EModuleFactory_28_29">ModuleFactory</a><li>~ModuleMessage() : <a class="el" href="classModuleMessage.html#_7EModuleMessage_28_29">ModuleMessage</a><li>~Server() -: <a class="el" href="classServer.html#_7EServer_28_29">Server</a><li>~ucrec() +: <a class="el" href="classServer.html#_7EServer_28_29">Server</a><li>~SocketEngine() +: <a class="el" href="classSocketEngine.html#_7ESocketEngine_28_29">SocketEngine</a><li>~ucrec() : <a class="el" href="classucrec.html#_7Eucrec_28_29">ucrec</a><li>~userrec() : <a class="el" href="classuserrec.html#_7Euserrec_28_29">userrec</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_vars.html b/docs/module-doc/functions_vars.html index b21c7c3fc..583e73498 100644 --- a/docs/module-doc/functions_vars.html +++ b/docs/module-doc/functions_vars.html @@ -46,14 +46,16 @@ : <a class="el" href="classXLine.html#duration">XLine</a></ul> <h3><a class="anchor" name="index_e">- e -</a></h3><ul> <li>Email -: <a class="el" href="classAdmin.html#Email">Admin</a><li>error +: <a class="el" href="classAdmin.html#Email">Admin</a><li>EngineHandle +: <a class="el" href="classSocketEngine.html#EngineHandle">SocketEngine</a><li>error : <a class="el" href="classConfigReader.html#error">ConfigReader</a><li>errorlog : <a class="el" href="classConfigReader.html#errorlog">ConfigReader</a><li>Extension_Items : <a class="el" href="classExtensible.html#Extension_5FItems">Extensible</a></ul> <h3><a class="anchor" name="index_f">- f -</a></h3><ul> <li>fc : <a class="el" href="classFileReader.html#fc">FileReader</a><li>fd -: <a class="el" href="classInspSocket.html#fd">InspSocket</a>, <a class="el" href="classconnection.html#fd">connection</a><li>Flags +: <a class="el" href="classInspSocket.html#fd">InspSocket</a>, <a class="el" href="classconnection.html#fd">connection</a><li>fds +: <a class="el" href="classSocketEngine.html#fds">SocketEngine</a><li>Flags : <a class="el" href="classVersion.html#Flags">Version</a><li>flags_needed : <a class="el" href="classcommand__t.html#flags_5Fneeded">command_t</a><li>flood : <a class="el" href="classuserrec.html#flood">userrec</a>, <a class="el" href="classConnectClass.html#flood">ConnectClass</a><li>fullname @@ -77,7 +79,8 @@ : <a class="el" href="classZLine.html#ipaddr_5B_34_30_5D">ZLine</a><li>is_global : <a class="el" href="classQLine.html#is_5Fglobal">QLine</a>, <a class="el" href="classZLine.html#is_5Fglobal">ZLine</a></ul> <h3><a class="anchor" name="index_k">- k -</a></h3><ul> -<li>key +<li>ke_list +: <a class="el" href="classSocketEngine.html#ke_5Flist_5B_36_35_35_33_35_5D">SocketEngine</a><li>key : <a class="el" href="classchanrec.html#key_5B_33_32_5D">chanrec</a></ul> <h3><a class="anchor" name="index_l">- l -</a></h3><ul> <li>lastping @@ -150,7 +153,8 @@ : <a class="el" href="classInspSocket.html#timeout_5Fend">InspSocket</a><li>topic : <a class="el" href="classchanrec.html#topic_5BMAXBUF_5D">chanrec</a><li>topicset : <a class="el" href="classchanrec.html#topicset">chanrec</a><li>total_bytes -: <a class="el" href="classcommand__t.html#total_5Fbytes">command_t</a><li>type +: <a class="el" href="classcommand__t.html#total_5Fbytes">command_t</a><li>ts +: <a class="el" href="classSocketEngine.html#ts">SocketEngine</a><li>type : <a class="el" href="classConnectClass.html#type">ConnectClass</a>, <a class="el" href="classExtMode.html#type">ExtMode</a></ul> <h3><a class="anchor" name="index_u">- u -</a></h3><ul> <li>uc_modes @@ -159,7 +163,7 @@ <h3><a class="anchor" name="index_w">- w -</a></h3><ul> <li>WriteError : <a class="el" href="classuserrec.html#WriteError">userrec</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/globals.html b/docs/module-doc/globals.html index 63da0dd55..b1a21f149 100644 --- a/docs/module-doc/globals.html +++ b/docs/module-doc/globals.html @@ -6,7 +6,7 @@ <!-- Generated by Doxygen 1.4.4-20050815 --> <div class="qindex"><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">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindexHL" href="globals.html">File Members</a></div> <div class="qindex"><a class="qindexHL" href="globals.html">All</a> | <a class="qindex" href="globals_func.html">Functions</a> | <a class="qindex" href="globals_vars.html">Variables</a> | <a class="qindex" href="globals_type.html">Typedefs</a> | <a class="qindex" href="globals_enum.html">Enumerations</a> | <a class="qindex" href="globals_eval.html">Enumerator</a> | <a class="qindex" href="globals_defs.html">Defines</a></div> -<div class="qindex"><a class="qindexHL" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> +<div class="qindex"><a class="qindexHL" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x78.html#index_x">x</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> <p> Here is a list of all file members with links to the files they belong to: @@ -37,7 +37,7 @@ Here is a list of all file members with links to the files they belong to: : <a class="el" href="modules_8cpp.html#AdminNick_5BMAXBUF_5D">modules.cpp</a>, <a class="el" href="channels_8cpp.html#AdminNick_5BMAXBUF_5D">channels.cpp</a><li>allowed_umode() : <a class="el" href="mode_8h.html#allowed_5Fumode_28char_20umode_2C_20char_20_2Asourcemodes_2C_20bool_20adding_29">mode.h</a><li>apply_lines() : <a class="el" href="xline_8h.html#apply_5Flines_28_29">xline.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:14 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/globals_0x62.html b/docs/module-doc/globals_0x62.html index a01f0ba9a..3736bf385 100644 --- a/docs/module-doc/globals_0x62.html +++ b/docs/module-doc/globals_0x62.html @@ -6,7 +6,7 @@ <!-- Generated by Doxygen 1.4.4-20050815 --> <div class="qindex"><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">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindexHL" href="globals.html">File Members</a></div> <div class="qindex"> | <a class="qindexHL" href="globals.html">All</a> | <a class="qindex" href="globals_func.html">Functions</a> | <a class="qindex" href="globals_vars.html">Variables</a> | <a class="qindex" href="globals_type.html">Typedefs</a> | <a class="qindex" href="globals_enum.html">Enumerations</a> | <a class="qindex" href="globals_eval.html">Enumerator</a> | <a class="qindex" href="globals_defs.html">Defines</a></div> -<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindexHL" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> +<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindexHL" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x78.html#index_x">x</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> <p> Here is a list of all file members with links to the files they belong to: @@ -16,7 +16,7 @@ Here is a list of all file members with links to the files they belong to: : <a class="el" href="channels_8h.html#BanList">channels.h</a><li>Blocking() : <a class="el" href="message_8h.html#Blocking_28int_20s_29">message.h</a><li>boundPortCount : <a class="el" href="socket_8cpp.html#boundPortCount">socket.cpp</a>, <a class="el" href="modules_8cpp.html#boundPortCount">modules.cpp</a>, <a class="el" href="channels_8cpp.html#boundPortCount">channels.cpp</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:14 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/globals_0x63.html b/docs/module-doc/globals_0x63.html index 0f45a335a..6402de662 100644 --- a/docs/module-doc/globals_0x63.html +++ b/docs/module-doc/globals_0x63.html @@ -6,7 +6,7 @@ <!-- Generated by Doxygen 1.4.4-20050815 --> <div class="qindex"><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">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindexHL" href="globals.html">File Members</a></div> <div class="qindex"> | <a class="qindexHL" href="globals.html">All</a> | <a class="qindex" href="globals_func.html">Functions</a> | <a class="qindex" href="globals_vars.html">Variables</a> | <a class="qindex" href="globals_type.html">Typedefs</a> | <a class="qindex" href="globals_enum.html">Enumerations</a> | <a class="qindex" href="globals_eval.html">Enumerator</a> | <a class="qindex" href="globals_defs.html">Defines</a></div> -<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindexHL" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> +<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindexHL" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x78.html#index_x">x</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> <p> Here is a list of all file members with links to the files they belong to: @@ -44,7 +44,7 @@ Here is a list of all file members with links to the files they belong to: : <a class="el" href="modules_8h.html#createcommand_28char_20_2Acmd_2C_20handlerfunc_20f_2C_20char_20flags_2C_20int_20minparams_2C_20char_20_2Asource_29">modules.h</a><li>cstatus() : <a class="el" href="message_8h.html#cstatus_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">message.h</a><li>custom_mode_params : <a class="el" href="channels_8cpp.html#custom_5Fmode_5Fparams">channels.cpp</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:14 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/globals_0x64.html b/docs/module-doc/globals_0x64.html index 5a7f2ed96..59201cb86 100644 --- a/docs/module-doc/globals_0x64.html +++ b/docs/module-doc/globals_0x64.html @@ -6,7 +6,7 @@ <!-- Generated by Doxygen 1.4.4-20050815 --> <div class="qindex"><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">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindexHL" href="globals.html">File Members</a></div> <div class="qindex"> | <a class="qindexHL" href="globals.html">All</a> | <a class="qindex" href="globals_func.html">Functions</a> | <a class="qindex" href="globals_vars.html">Variables</a> | <a class="qindex" href="globals_type.html">Typedefs</a> | <a class="qindex" href="globals_enum.html">Enumerations</a> | <a class="qindex" href="globals_eval.html">Enumerator</a> | <a class="qindex" href="globals_defs.html">Defines</a></div> -<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindexHL" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> +<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindexHL" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x78.html#index_x">x</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> <p> Here is a list of all file members with links to the files they belong to: @@ -27,7 +27,7 @@ Here is a list of all file members with links to the files they belong to: : <a class="el" href="commands_8h.html#do_5Fwhois_28userrec_20_2Auser_2C_20userrec_20_2Adest_2C_20unsigned_20long_20signon_2C_20unsigned_20long_20idle_2C_20char_20_2Anick_29">commands.h</a><li>DoAddExtendedMode() : <a class="el" href="modules_8cpp.html#DoAddExtendedMode_28char_20modechar_2C_20int_20type_2C_20bool_20requires_5Foper_2C_20int_20params_5Fon_2C_20int_20params_5Foff_29">modules.cpp</a><li>duration() : <a class="el" href="commands_8h.html#duration_28const_20char_20_2Astr_29">commands.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:14 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/globals_0x65.html b/docs/module-doc/globals_0x65.html index 2f995ffa1..3f764033f 100644 --- a/docs/module-doc/globals_0x65.html +++ b/docs/module-doc/globals_0x65.html @@ -6,7 +6,7 @@ <!-- Generated by Doxygen 1.4.4-20050815 --> <div class="qindex"><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">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindexHL" href="globals.html">File Members</a></div> <div class="qindex"> | <a class="qindexHL" href="globals.html">All</a> | <a class="qindex" href="globals_func.html">Functions</a> | <a class="qindex" href="globals_vars.html">Variables</a> | <a class="qindex" href="globals_type.html">Typedefs</a> | <a class="qindex" href="globals_enum.html">Enumerations</a> | <a class="qindex" href="globals_eval.html">Enumerator</a> | <a class="qindex" href="globals_defs.html">Defines</a></div> -<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindexHL" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> +<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindexHL" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x78.html#index_x">x</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> <p> Here is a list of all file members with links to the files they belong to: @@ -19,7 +19,7 @@ Here is a list of all file members with links to the files they belong to: : <a class="el" href="xline_8h.html#expire_5Flines_28_29">xline.h</a><li>ExtModeList : <a class="el" href="modules_8cpp.html#ExtModeList">modules.cpp</a><li>ExtModeListIter : <a class="el" href="modules_8cpp.html#ExtModeListIter">modules.cpp</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:14 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/globals_0x66.html b/docs/module-doc/globals_0x66.html index eac6148da..355633acc 100644 --- a/docs/module-doc/globals_0x66.html +++ b/docs/module-doc/globals_0x66.html @@ -6,7 +6,7 @@ <!-- Generated by Doxygen 1.4.4-20050815 --> <div class="qindex"><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">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindexHL" href="globals.html">File Members</a></div> <div class="qindex"> | <a class="qindexHL" href="globals.html">All</a> | <a class="qindex" href="globals_func.html">Functions</a> | <a class="qindex" href="globals_vars.html">Variables</a> | <a class="qindex" href="globals_type.html">Typedefs</a> | <a class="qindex" href="globals_enum.html">Enumerations</a> | <a class="qindex" href="globals_eval.html">Enumerator</a> | <a class="qindex" href="globals_defs.html">Defines</a></div> -<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindexHL" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> +<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindexHL" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x78.html#index_x">x</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> <p> Here is a list of all file members with links to the files they belong to: @@ -19,7 +19,7 @@ Here is a list of all file members with links to the files they belong to: : <a class="el" href="modules_8h.html#file_5Fcache">modules.h</a><li>FOREACH_MOD : <a class="el" href="modules_8h.html#FOREACH_5FMOD">modules.h</a><li>FOREACH_RESULT : <a class="el" href="modules_8h.html#FOREACH_5FRESULT_28x_29">modules.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:14 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/globals_0x67.html b/docs/module-doc/globals_0x67.html index aa017cc5b..ef9d32a1a 100644 --- a/docs/module-doc/globals_0x67.html +++ b/docs/module-doc/globals_0x67.html @@ -6,7 +6,7 @@ <!-- Generated by Doxygen 1.4.4-20050815 --> <div class="qindex"><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">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindexHL" href="globals.html">File Members</a></div> <div class="qindex"> | <a class="qindexHL" href="globals.html">All</a> | <a class="qindex" href="globals_func.html">Functions</a> | <a class="qindex" href="globals_vars.html">Variables</a> | <a class="qindex" href="globals_type.html">Typedefs</a> | <a class="qindex" href="globals_enum.html">Enumerations</a> | <a class="qindex" href="globals_eval.html">Enumerator</a> | <a class="qindex" href="globals_defs.html">Defines</a></div> -<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindexHL" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> +<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindexHL" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x78.html#index_x">x</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> <p> Here is a list of all file members with links to the files they belong to: @@ -17,7 +17,7 @@ Here is a list of all file members with links to the files they belong to: : <a class="el" href="mode_8h.html#give_5Fops_28userrec_20_2Auser_2C_20char_20_2Adest_2C_20chanrec_20_2Achan_2C_20int_20status_29">mode.h</a><li>give_voice() : <a class="el" href="mode_8h.html#give_5Fvoice_28userrec_20_2Auser_2C_20char_20_2Adest_2C_20chanrec_20_2Achan_2C_20int_20status_29">mode.h</a><li>gline_set_creation_time() : <a class="el" href="xline_8h.html#gline_5Fset_5Fcreation_5Ftime_28char_20_2Ahost_2C_20time_5Ft_20create_5Ftime_29">xline.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:14 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/globals_0x68.html b/docs/module-doc/globals_0x68.html index 0e6638fcf..73650fd16 100644 --- a/docs/module-doc/globals_0x68.html +++ b/docs/module-doc/globals_0x68.html @@ -6,7 +6,7 @@ <!-- Generated by Doxygen 1.4.4-20050815 --> <div class="qindex"><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">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindexHL" href="globals.html">File Members</a></div> <div class="qindex"> | <a class="qindexHL" href="globals.html">All</a> | <a class="qindex" href="globals_func.html">Functions</a> | <a class="qindex" href="globals_vars.html">Variables</a> | <a class="qindex" href="globals_type.html">Typedefs</a> | <a class="qindex" href="globals_enum.html">Enumerations</a> | <a class="qindex" href="globals_eval.html">Enumerator</a> | <a class="qindex" href="globals_defs.html">Defines</a></div> -<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindexHL" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> +<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindexHL" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x78.html#index_x">x</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> <p> Here is a list of all file members with links to the files they belong to: @@ -67,7 +67,7 @@ Here is a list of all file members with links to the files they belong to: : <a class="el" href="commands_8h.html#handle_5Fzline_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">commands.h</a><li>has_channel() : <a class="el" href="message_8h.html#has_5Fchannel_28userrec_20_2Au_2C_20chanrec_20_2Ac_29">message.h</a><li>hasumode() : <a class="el" href="message_8h.html#hasumode_28userrec_20_2Auser_2C_20char_20mode_29">message.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:14 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/globals_0x69.html b/docs/module-doc/globals_0x69.html index 213276dfc..1dd2bdc77 100644 --- a/docs/module-doc/globals_0x69.html +++ b/docs/module-doc/globals_0x69.html @@ -6,7 +6,7 @@ <!-- Generated by Doxygen 1.4.4-20050815 --> <div class="qindex"><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">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindexHL" href="globals.html">File Members</a></div> <div class="qindex"> | <a class="qindexHL" href="globals.html">All</a> | <a class="qindex" href="globals_func.html">Functions</a> | <a class="qindex" href="globals_vars.html">Variables</a> | <a class="qindex" href="globals_type.html">Typedefs</a> | <a class="qindex" href="globals_enum.html">Enumerations</a> | <a class="qindex" href="globals_eval.html">Enumerator</a> | <a class="qindex" href="globals_defs.html">Defines</a></div> -<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindexHL" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> +<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindexHL" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x78.html#index_x">x</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> <p> Here is a list of all file members with links to the files they belong to: @@ -32,7 +32,7 @@ Here is a list of all file members with links to the files they belong to: : <a class="el" href="commands_8h.html#is_5Fuline_28const_20char_20_2Aserver_29">commands.h</a><li>isident() : <a class="el" href="message_8h.html#isident_28const_20char_20_2An_29">message.h</a><li>isnick() : <a class="el" href="message_8h.html#isnick_28const_20char_20_2An_29">message.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:14 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/globals_0x6c.html b/docs/module-doc/globals_0x6c.html index a259a082d..4bc276884 100644 --- a/docs/module-doc/globals_0x6c.html +++ b/docs/module-doc/globals_0x6c.html @@ -6,7 +6,7 @@ <!-- Generated by Doxygen 1.4.4-20050815 --> <div class="qindex"><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">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindexHL" href="globals.html">File Members</a></div> <div class="qindex"> | <a class="qindexHL" href="globals.html">All</a> | <a class="qindex" href="globals_func.html">Functions</a> | <a class="qindex" href="globals_vars.html">Variables</a> | <a class="qindex" href="globals_type.html">Typedefs</a> | <a class="qindex" href="globals_enum.html">Enumerations</a> | <a class="qindex" href="globals_eval.html">Enumerator</a> | <a class="qindex" href="globals_defs.html">Defines</a></div> -<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindexHL" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> +<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindexHL" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x78.html#index_x">x</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> <p> Here is a list of all file members with links to the files they belong to: @@ -16,7 +16,7 @@ Here is a list of all file members with links to the files they belong to: : <a class="el" href="modules_8cpp.html#list_5BMAXBUF_5D">modules.cpp</a>, <a class="el" href="channels_8cpp.html#list_5BMAXBUF_5D">channels.cpp</a><li>log_file : <a class="el" href="socket_8cpp.html#log_5Ffile">socket.cpp</a>, <a class="el" href="modules_8cpp.html#log_5Ffile">modules.cpp</a>, <a class="el" href="channels_8cpp.html#log_5Ffile">channels.cpp</a><li>LogLevel : <a class="el" href="modules_8cpp.html#LogLevel">modules.cpp</a>, <a class="el" href="channels_8cpp.html#LogLevel">channels.cpp</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:14 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/globals_0x6d.html b/docs/module-doc/globals_0x6d.html index 60f02466a..e20a9795f 100644 --- a/docs/module-doc/globals_0x6d.html +++ b/docs/module-doc/globals_0x6d.html @@ -6,7 +6,7 @@ <!-- Generated by Doxygen 1.4.4-20050815 --> <div class="qindex"><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">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindexHL" href="globals.html">File Members</a></div> <div class="qindex"> | <a class="qindexHL" href="globals.html">All</a> | <a class="qindex" href="globals_func.html">Functions</a> | <a class="qindex" href="globals_vars.html">Variables</a> | <a class="qindex" href="globals_type.html">Typedefs</a> | <a class="qindex" href="globals_enum.html">Enumerations</a> | <a class="qindex" href="globals_eval.html">Enumerator</a> | <a class="qindex" href="globals_defs.html">Defines</a></div> -<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindexHL" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> +<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindexHL" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x78.html#index_x">x</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> <p> Here is a list of all file members with links to the files they belong to: @@ -37,7 +37,7 @@ Here is a list of all file members with links to the files they belong to: : <a class="el" href="modules_8h.html#MT_5FCHANNEL">modules.h</a><li>MT_CLIENT : <a class="el" href="modules_8h.html#MT_5FCLIENT">modules.h</a><li>MT_SERVER : <a class="el" href="modules_8h.html#MT_5FSERVER">modules.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:14 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/globals_0x6e.html b/docs/module-doc/globals_0x6e.html index 094bf1732..c307dd2c1 100644 --- a/docs/module-doc/globals_0x6e.html +++ b/docs/module-doc/globals_0x6e.html @@ -6,7 +6,7 @@ <!-- Generated by Doxygen 1.4.4-20050815 --> <div class="qindex"><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">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindexHL" href="globals.html">File Members</a></div> <div class="qindex"> | <a class="qindexHL" href="globals.html">All</a> | <a class="qindex" href="globals_func.html">Functions</a> | <a class="qindex" href="globals_vars.html">Variables</a> | <a class="qindex" href="globals_type.html">Typedefs</a> | <a class="qindex" href="globals_enum.html">Enumerations</a> | <a class="qindex" href="globals_eval.html">Enumerator</a> | <a class="qindex" href="globals_defs.html">Defines</a></div> -<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindexHL" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> +<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindexHL" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x78.html#index_x">x</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> <p> Here is a list of all file members with links to the files they belong to: @@ -19,7 +19,7 @@ Here is a list of all file members with links to the files they belong to: : <a class="el" href="message_8h.html#NonBlocking_28int_20s_29">message.h</a><li>NONE : <a class="el" href="modules_8h.html#NONE">modules.h</a><li>nspace : <a class="el" href="hashcomp_8h.html#nspace">hashcomp.h</a>, <a class="el" href="channels_8cpp.html#nspace">channels.cpp</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:14 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/globals_0x6f.html b/docs/module-doc/globals_0x6f.html index 8ba3b7b56..2cb908807 100644 --- a/docs/module-doc/globals_0x6f.html +++ b/docs/module-doc/globals_0x6f.html @@ -6,7 +6,7 @@ <!-- Generated by Doxygen 1.4.4-20050815 --> <div class="qindex"><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">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindexHL" href="globals.html">File Members</a></div> <div class="qindex"> | <a class="qindexHL" href="globals.html">All</a> | <a class="qindex" href="globals_func.html">Functions</a> | <a class="qindex" href="globals_vars.html">Variables</a> | <a class="qindex" href="globals_type.html">Typedefs</a> | <a class="qindex" href="globals_enum.html">Enumerations</a> | <a class="qindex" href="globals_eval.html">Enumerator</a> | <a class="qindex" href="globals_defs.html">Defines</a></div> -<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindexHL" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> +<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindexHL" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x78.html#index_x">x</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> <p> Here is a list of all file members with links to the files they belong to: @@ -14,7 +14,7 @@ Here is a list of all file members with links to the files they belong to: <h3><a class="anchor" name="index_o">- o -</a></h3><ul> <li>openSockfd : <a class="el" href="socket_8cpp.html#openSockfd_5BMAXSOCKS_5D">socket.cpp</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:14 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/globals_0x70.html b/docs/module-doc/globals_0x70.html index 9e3cf8967..cb3b37451 100644 --- a/docs/module-doc/globals_0x70.html +++ b/docs/module-doc/globals_0x70.html @@ -6,7 +6,7 @@ <!-- Generated by Doxygen 1.4.4-20050815 --> <div class="qindex"><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">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindexHL" href="globals.html">File Members</a></div> <div class="qindex"> | <a class="qindexHL" href="globals.html">All</a> | <a class="qindex" href="globals_func.html">Functions</a> | <a class="qindex" href="globals_vars.html">Variables</a> | <a class="qindex" href="globals_type.html">Typedefs</a> | <a class="qindex" href="globals_enum.html">Enumerations</a> | <a class="qindex" href="globals_eval.html">Enumerator</a> | <a class="qindex" href="globals_defs.html">Defines</a></div> -<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindexHL" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> +<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindexHL" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x78.html#index_x">x</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> <p> Here is a list of all file members with links to the files they belong to: @@ -18,7 +18,7 @@ Here is a list of all file members with links to the files they belong to: : <a class="el" href="modules_8cpp.html#PrefixQuit_5BMAXBUF_5D">modules.cpp</a>, <a class="el" href="channels_8cpp.html#PrefixQuit_5BMAXBUF_5D">channels.cpp</a><li>process_modes() : <a class="el" href="mode_8h.html#process_5Fmodes_28char_20_2A_2Aparameters_2C_20userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20int_20status_2C_20int_20pcnt_2C_20bool_20servermode_2C_20bool_20silent_2C_20bool_20local_29">mode.h</a><li>process_module_umode() : <a class="el" href="mode_8h.html#process_5Fmodule_5Fumode_28char_20umode_2C_20userrec_20_2Asource_2C_20void_20_2Adest_2C_20bool_20adding_29">mode.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:14 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/globals_0x71.html b/docs/module-doc/globals_0x71.html index cda2f0a00..fbdfd87ab 100644 --- a/docs/module-doc/globals_0x71.html +++ b/docs/module-doc/globals_0x71.html @@ -6,7 +6,7 @@ <!-- Generated by Doxygen 1.4.4-20050815 --> <div class="qindex"><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">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindexHL" href="globals.html">File Members</a></div> <div class="qindex"> | <a class="qindexHL" href="globals.html">All</a> | <a class="qindex" href="globals_func.html">Functions</a> | <a class="qindex" href="globals_vars.html">Variables</a> | <a class="qindex" href="globals_type.html">Typedefs</a> | <a class="qindex" href="globals_enum.html">Enumerations</a> | <a class="qindex" href="globals_eval.html">Enumerator</a> | <a class="qindex" href="globals_defs.html">Defines</a></div> -<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindexHL" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> +<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindexHL" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x78.html#index_x">x</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> <p> Here is a list of all file members with links to the files they belong to: @@ -15,7 +15,7 @@ Here is a list of all file members with links to the files they belong to: <li>qline_make_global() : <a class="el" href="xline_8h.html#qline_5Fmake_5Fglobal_28const_20char_20_2Anickname_29">xline.h</a><li>qline_set_creation_time() : <a class="el" href="xline_8h.html#qline_5Fset_5Fcreation_5Ftime_28char_20_2Anick_2C_20time_5Ft_20create_5Ftime_29">xline.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:14 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/globals_0x72.html b/docs/module-doc/globals_0x72.html index 196ecf33e..921b59c87 100644 --- a/docs/module-doc/globals_0x72.html +++ b/docs/module-doc/globals_0x72.html @@ -6,18 +6,19 @@ <!-- Generated by Doxygen 1.4.4-20050815 --> <div class="qindex"><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">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindexHL" href="globals.html">File Members</a></div> <div class="qindex"> | <a class="qindexHL" href="globals.html">All</a> | <a class="qindex" href="globals_func.html">Functions</a> | <a class="qindex" href="globals_vars.html">Variables</a> | <a class="qindex" href="globals_type.html">Typedefs</a> | <a class="qindex" href="globals_enum.html">Enumerations</a> | <a class="qindex" href="globals_eval.html">Enumerator</a> | <a class="qindex" href="globals_defs.html">Defines</a></div> -<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindexHL" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> +<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindexHL" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x78.html#index_x">x</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> <p> Here is a list of all file members with links to the files they belong to: <p> <h3><a class="anchor" name="index_r">- r -</a></h3><ul> <li>read_xline_defaults() -: <a class="el" href="xline_8h.html#read_5Fxline_5Fdefaults_28_29">xline.h</a><li>restartpass -: <a class="el" href="modules_8cpp.html#restartpass_5BMAXBUF_5D">modules.cpp</a>, <a class="el" href="channels_8cpp.html#restartpass_5BMAXBUF_5D">channels.cpp</a><li>rules -: <a class="el" href="modules_8cpp.html#rules_5BMAXBUF_5D">modules.cpp</a>, <a class="el" href="channels_8cpp.html#rules_5BMAXBUF_5D">channels.cpp</a><li>RULES -: <a class="el" href="modules_8cpp.html#RULES">modules.cpp</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by +: <a class="el" href="xline_8h.html#read_5Fxline_5Fdefaults_28_29">xline.h</a><li>ref +: <a class="el" href="socketengine_8cpp.html#ref_5B_36_35_35_33_35_5D">socketengine.cpp</a><li>restartpass +: <a class="el" href="modules_8cpp.html#restartpass_5BMAXBUF_5D">modules.cpp</a>, <a class="el" href="channels_8cpp.html#restartpass_5BMAXBUF_5D">channels.cpp</a><li>RULES +: <a class="el" href="modules_8cpp.html#RULES">modules.cpp</a><li>rules +: <a class="el" href="modules_8cpp.html#rules_5BMAXBUF_5D">modules.cpp</a>, <a class="el" href="channels_8cpp.html#rules_5BMAXBUF_5D">channels.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:14 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/globals_0x73.html b/docs/module-doc/globals_0x73.html index c43408e02..32de78c77 100644 --- a/docs/module-doc/globals_0x73.html +++ b/docs/module-doc/globals_0x73.html @@ -6,13 +6,14 @@ <!-- Generated by Doxygen 1.4.4-20050815 --> <div class="qindex"><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">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindexHL" href="globals.html">File Members</a></div> <div class="qindex"> | <a class="qindexHL" href="globals.html">All</a> | <a class="qindex" href="globals_func.html">Functions</a> | <a class="qindex" href="globals_vars.html">Variables</a> | <a class="qindex" href="globals_type.html">Typedefs</a> | <a class="qindex" href="globals_enum.html">Enumerations</a> | <a class="qindex" href="globals_eval.html">Enumerator</a> | <a class="qindex" href="globals_defs.html">Defines</a></div> -<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindexHL" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> +<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindexHL" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x78.html#index_x">x</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> <p> Here is a list of all file members with links to the files they belong to: <p> <h3><a class="anchor" name="index_s">- s -</a></h3><ul> -<li>send_network_quit() +<li>SE +: <a class="el" href="socket_8cpp.html#SE">socket.cpp</a>, <a class="el" href="modules_8cpp.html#SE">modules.cpp</a><li>send_network_quit() : <a class="el" href="message_8h.html#send_5Fnetwork_5Fquit_28const_20char_20_2Anick_2C_20const_20char_20_2Areason_29">message.h</a><li>server_mode() : <a class="el" href="modules_8h.html#server_5Fmode_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">modules.h</a>, <a class="el" href="mode_8h.html#server_5Fmode_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">mode.h</a><li>ServerDesc : <a class="el" href="modules_8cpp.html#ServerDesc_5BMAXBUF_5D">modules.cpp</a>, <a class="el" href="channels_8cpp.html#ServerDesc_5BMAXBUF_5D">channels.cpp</a><li>ServerName @@ -30,7 +31,7 @@ Here is a list of all file members with links to the files they belong to: : <a class="el" href="users_8h.html#STATUS_5FVOICE">users.h</a><li>string : <a class="el" href="namespaceirc.html#string">hashcomp.h</a><li>string_list : <a class="el" href="modules_8h.html#string_5Flist">modules.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:14 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/globals_0x74.html b/docs/module-doc/globals_0x74.html index dddfb058a..26fdfe011 100644 --- a/docs/module-doc/globals_0x74.html +++ b/docs/module-doc/globals_0x74.html @@ -6,7 +6,7 @@ <!-- Generated by Doxygen 1.4.4-20050815 --> <div class="qindex"><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">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindexHL" href="globals.html">File Members</a></div> <div class="qindex"> | <a class="qindexHL" href="globals.html">All</a> | <a class="qindex" href="globals_func.html">Functions</a> | <a class="qindex" href="globals_vars.html">Variables</a> | <a class="qindex" href="globals_type.html">Typedefs</a> | <a class="qindex" href="globals_enum.html">Enumerations</a> | <a class="qindex" href="globals_eval.html">Enumerator</a> | <a class="qindex" href="globals_defs.html">Defines</a></div> -<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindexHL" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> +<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindexHL" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x78.html#index_x">x</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> <p> Here is a list of all file members with links to the files they belong to: @@ -20,7 +20,7 @@ Here is a list of all file members with links to the files they belong to: : <a class="el" href="message_8h.html#TidyBan_28char_20_2Aban_29">message.h</a><li>tidystring() : <a class="el" href="message_8h.html#tidystring_28char_20_2Astr_29">message.h</a><li>TIME : <a class="el" href="users_8cpp.html#TIME">users.cpp</a>, <a class="el" href="socket_8cpp.html#TIME">socket.cpp</a>, <a class="el" href="modules_8cpp.html#TIME">modules.cpp</a>, <a class="el" href="channels_8cpp.html#TIME">channels.cpp</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:14 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/globals_0x75.html b/docs/module-doc/globals_0x75.html index b2f9bfae4..cc438b561 100644 --- a/docs/module-doc/globals_0x75.html +++ b/docs/module-doc/globals_0x75.html @@ -6,7 +6,7 @@ <!-- Generated by Doxygen 1.4.4-20050815 --> <div class="qindex"><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">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindexHL" href="globals.html">File Members</a></div> <div class="qindex"> | <a class="qindexHL" href="globals.html">All</a> | <a class="qindex" href="globals_func.html">Functions</a> | <a class="qindex" href="globals_vars.html">Variables</a> | <a class="qindex" href="globals_type.html">Typedefs</a> | <a class="qindex" href="globals_enum.html">Enumerations</a> | <a class="qindex" href="globals_eval.html">Enumerator</a> | <a class="qindex" href="globals_defs.html">Defines</a></div> -<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindexHL" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> +<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindexHL" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x78.html#index_x">x</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> <p> Here is a list of all file members with links to the files they belong to: @@ -20,7 +20,7 @@ Here is a list of all file members with links to the files they belong to: : <a class="el" href="channels_8h.html#UCMODE_5FVOICE">channels.h</a><li>unlimitcore : <a class="el" href="socket_8cpp.html#unlimitcore">socket.cpp</a><li>user_hash : <a class="el" href="modules_8cpp.html#user_5Fhash">modules.cpp</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:14 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/globals_0x76.html b/docs/module-doc/globals_0x76.html index 580b1ef40..92b3bc576 100644 --- a/docs/module-doc/globals_0x76.html +++ b/docs/module-doc/globals_0x76.html @@ -6,7 +6,7 @@ <!-- Generated by Doxygen 1.4.4-20050815 --> <div class="qindex"><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">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindexHL" href="globals.html">File Members</a></div> <div class="qindex"> | <a class="qindexHL" href="globals.html">All</a> | <a class="qindex" href="globals_func.html">Functions</a> | <a class="qindex" href="globals_vars.html">Variables</a> | <a class="qindex" href="globals_type.html">Typedefs</a> | <a class="qindex" href="globals_enum.html">Enumerations</a> | <a class="qindex" href="globals_eval.html">Enumerator</a> | <a class="qindex" href="globals_defs.html">Defines</a></div> -<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindexHL" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> +<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindexHL" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x78.html#index_x">x</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> <p> Here is a list of all file members with links to the files they belong to: @@ -19,7 +19,7 @@ Here is a list of all file members with links to the files they belong to: : <a class="el" href="modules_8h.html#VF_5FSTATIC">modules.h</a><li>VF_VENDOR : <a class="el" href="modules_8h.html#VF_5FVENDOR">modules.h</a><li>VoidPointer : <a class="el" href="base_8h.html#VoidPointer">base.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:14 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/globals_0x77.html b/docs/module-doc/globals_0x77.html index f15932bee..ac2947eb0 100644 --- a/docs/module-doc/globals_0x77.html +++ b/docs/module-doc/globals_0x77.html @@ -6,7 +6,7 @@ <!-- Generated by Doxygen 1.4.4-20050815 --> <div class="qindex"><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">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindexHL" href="globals.html">File Members</a></div> <div class="qindex"> | <a class="qindexHL" href="globals.html">All</a> | <a class="qindex" href="globals_func.html">Functions</a> | <a class="qindex" href="globals_vars.html">Variables</a> | <a class="qindex" href="globals_type.html">Typedefs</a> | <a class="qindex" href="globals_enum.html">Enumerations</a> | <a class="qindex" href="globals_eval.html">Enumerator</a> | <a class="qindex" href="globals_defs.html">Defines</a></div> -<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindexHL" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> +<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindexHL" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x78.html#index_x">x</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> <p> Here is a list of all file members with links to the files they belong to: @@ -17,7 +17,7 @@ Here is a list of all file members with links to the files they belong to: : <a class="el" href="modules_8cpp.html#whowas_5Fhash">modules.cpp</a><li>WHOWAS_MAX : <a class="el" href="modules_8cpp.html#WHOWAS_5FMAX">modules.cpp</a>, <a class="el" href="channels_8cpp.html#WHOWAS_5FMAX">channels.cpp</a><li>WHOWAS_STALE : <a class="el" href="modules_8cpp.html#WHOWAS_5FSTALE">modules.cpp</a>, <a class="el" href="channels_8cpp.html#WHOWAS_5FSTALE">channels.cpp</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:14 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/globals_0x78.html b/docs/module-doc/globals_0x78.html new file mode 100644 index 000000000..e00a910b5 --- /dev/null +++ b/docs/module-doc/globals_0x78.html @@ -0,0 +1,26 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>InspIRCd: Class Members</title> +<link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.4.4-20050815 --> +<div class="qindex"><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">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindexHL" href="globals.html">File Members</a></div> +<div class="qindex"> | <a class="qindexHL" href="globals.html">All</a> | <a class="qindex" href="globals_func.html">Functions</a> | <a class="qindex" href="globals_vars.html">Variables</a> | <a class="qindex" href="globals_type.html">Typedefs</a> | <a class="qindex" href="globals_enum.html">Enumerations</a> | <a class="qindex" href="globals_eval.html">Enumerator</a> | <a class="qindex" href="globals_defs.html">Defines</a></div> +<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindexHL" href="globals_0x78.html#index_x">x</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> + +<p> +Here is a list of all file members with links to the files they belong to: +<p> +<h3><a class="anchor" name="index_x">- x -</a></h3><ul> +<li>X_EMPTY_SLOT +: <a class="el" href="socketengine_8h.html#X_5FEMPTY_5FSLOT">socketengine.h</a><li>X_ESTAB_CLIENT +: <a class="el" href="socketengine_8h.html#X_5FESTAB_5FCLIENT">socketengine.h</a><li>X_ESTAB_DNS +: <a class="el" href="socketengine_8h.html#X_5FESTAB_5FDNS">socketengine.h</a><li>X_ESTAB_MODULE +: <a class="el" href="socketengine_8h.html#X_5FESTAB_5FMODULE">socketengine.h</a><li>X_LISTEN +: <a class="el" href="socketengine_8h.html#X_5FLISTEN">socketengine.h</a><li>X_READBIT +: <a class="el" href="socketengine_8h.html#X_5FREADBIT">socketengine.h</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:14 2005 for InspIRCd by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> +</body> +</html> diff --git a/docs/module-doc/globals_0x7a.html b/docs/module-doc/globals_0x7a.html index d3327bae9..9074387c9 100644 --- a/docs/module-doc/globals_0x7a.html +++ b/docs/module-doc/globals_0x7a.html @@ -6,7 +6,7 @@ <!-- Generated by Doxygen 1.4.4-20050815 --> <div class="qindex"><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">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindexHL" href="globals.html">File Members</a></div> <div class="qindex"> | <a class="qindexHL" href="globals.html">All</a> | <a class="qindex" href="globals_func.html">Functions</a> | <a class="qindex" href="globals_vars.html">Variables</a> | <a class="qindex" href="globals_type.html">Typedefs</a> | <a class="qindex" href="globals_enum.html">Enumerations</a> | <a class="qindex" href="globals_eval.html">Enumerator</a> | <a class="qindex" href="globals_defs.html">Defines</a></div> -<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindexHL" href="globals_0x7a.html#index_z">z</a></div> +<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x78.html#index_x">x</a> | <a class="qindexHL" href="globals_0x7a.html#index_z">z</a></div> <p> Here is a list of all file members with links to the files they belong to: @@ -15,7 +15,7 @@ Here is a list of all file members with links to the files they belong to: <li>zline_make_global() : <a class="el" href="xline_8h.html#zline_5Fmake_5Fglobal_28const_20char_20_2Aipaddr_29">xline.h</a><li>zline_set_creation_time() : <a class="el" href="xline_8h.html#zline_5Fset_5Fcreation_5Ftime_28char_20_2Aip_2C_20time_5Ft_20create_5Ftime_29">xline.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:14 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/globals_defs.html b/docs/module-doc/globals_defs.html index 1cbfd8d96..b3c05c374 100644 --- a/docs/module-doc/globals_defs.html +++ b/docs/module-doc/globals_defs.html @@ -78,7 +78,7 @@ : <a class="el" href="modules_8h.html#VF_5FSERVICEPROVIDER">modules.h</a><li>VF_STATIC : <a class="el" href="modules_8h.html#VF_5FSTATIC">modules.h</a><li>VF_VENDOR : <a class="el" href="modules_8h.html#VF_5FVENDOR">modules.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:14 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:14 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/globals_enum.html b/docs/module-doc/globals_enum.html index ca4f96501..d30517bfd 100644 --- a/docs/module-doc/globals_enum.html +++ b/docs/module-doc/globals_enum.html @@ -12,7 +12,7 @@ <li>InspSocketError : <a class="el" href="socket_8h.html#InspSocketError">socket.h</a><li>InspSocketState : <a class="el" href="socket_8h.html#InspSocketState">socket.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:14 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:14 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/globals_eval.html b/docs/module-doc/globals_eval.html index e5d0fd9fc..38c365ca8 100644 --- a/docs/module-doc/globals_eval.html +++ b/docs/module-doc/globals_eval.html @@ -19,7 +19,7 @@ : <a class="el" href="socket_8h.html#InspSocketErrorI_5FERR_5FTIMEOUT">socket.h</a><li>I_ERROR : <a class="el" href="socket_8h.html#InspSocketStateI_5FERROR">socket.h</a><li>I_LISTENING : <a class="el" href="socket_8h.html#InspSocketStateI_5FLISTENING">socket.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:14 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:14 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/globals_func.html b/docs/module-doc/globals_func.html index f34aad449..7772142cb 100644 --- a/docs/module-doc/globals_func.html +++ b/docs/module-doc/globals_func.html @@ -171,7 +171,7 @@ <li>zline_make_global() : <a class="el" href="xline_8h.html#zline_5Fmake_5Fglobal_28const_20char_20_2Aipaddr_29">xline.h</a><li>zline_set_creation_time() : <a class="el" href="xline_8h.html#zline_5Fset_5Fcreation_5Ftime_28char_20_2Aip_2C_20time_5Ft_20create_5Ftime_29">xline.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:14 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/globals_type.html b/docs/module-doc/globals_type.html index fd641a338..07ce2b0e1 100644 --- a/docs/module-doc/globals_type.html +++ b/docs/module-doc/globals_type.html @@ -28,7 +28,7 @@ : <a class="el" href="modules_8cpp.html#user_5Fhash">modules.cpp</a><li>VoidPointer : <a class="el" href="base_8h.html#VoidPointer">base.h</a><li>whowas_hash : <a class="el" href="modules_8cpp.html#whowas_5Fhash">modules.cpp</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:14 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:14 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/globals_vars.html b/docs/module-doc/globals_vars.html index c77031009..a566f28fd 100644 --- a/docs/module-doc/globals_vars.html +++ b/docs/module-doc/globals_vars.html @@ -6,7 +6,7 @@ <!-- Generated by Doxygen 1.4.4-20050815 --> <div class="qindex"><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">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindexHL" href="globals.html">File Members</a></div> <div class="qindex"><a class="qindex" href="globals.html">All</a> | <a class="qindex" href="globals_func.html">Functions</a> | <a class="qindexHL" href="globals_vars.html">Variables</a> | <a class="qindex" href="globals_type.html">Typedefs</a> | <a class="qindex" href="globals_enum.html">Enumerations</a> | <a class="qindex" href="globals_eval.html">Enumerator</a> | <a class="qindex" href="globals_defs.html">Defines</a></div> -<div class="qindex"><a class="qindex" href="#index_a">a</a> | <a class="qindex" href="#index_b">b</a> | <a class="qindex" href="#index_c">c</a> | <a class="qindex" href="#index_d">d</a> | <a class="qindex" href="#index_e">e</a> | <a class="qindex" href="#index_f">f</a> | <a class="qindex" href="#index_i">i</a> | <a class="qindex" href="#index_l">l</a> | <a class="qindex" href="#index_m">m</a> | <a class="qindex" href="#index_n">n</a> | <a class="qindex" href="#index_o">o</a> | <a class="qindex" href="#index_p">p</a> | <a class="qindex" href="#index_r">r</a> | <a class="qindex" href="#index_s">s</a> | <a class="qindex" href="#index_t">t</a> | <a class="qindex" href="#index_u">u</a> | <a class="qindex" href="#index_w">w</a></div> +<div class="qindex"><a class="qindex" href="#index_a">a</a> | <a class="qindex" href="#index_b">b</a> | <a class="qindex" href="#index_c">c</a> | <a class="qindex" href="#index_d">d</a> | <a class="qindex" href="#index_e">e</a> | <a class="qindex" href="#index_f">f</a> | <a class="qindex" href="#index_i">i</a> | <a class="qindex" href="#index_l">l</a> | <a class="qindex" href="#index_m">m</a> | <a class="qindex" href="#index_n">n</a> | <a class="qindex" href="#index_o">o</a> | <a class="qindex" href="#index_p">p</a> | <a class="qindex" href="#index_r">r</a> | <a class="qindex" href="#index_s">s</a> | <a class="qindex" href="#index_t">t</a> | <a class="qindex" href="#index_u">u</a> | <a class="qindex" href="#index_w">w</a> | <a class="qindex" href="#index_x">x</a></div> <p> @@ -72,12 +72,14 @@ : <a class="el" href="modules_8cpp.html#ports_5BMAXSOCKS_5D">modules.cpp</a>, <a class="el" href="channels_8cpp.html#ports_5BMAXSOCKS_5D">channels.cpp</a><li>PrefixQuit : <a class="el" href="modules_8cpp.html#PrefixQuit_5BMAXBUF_5D">modules.cpp</a>, <a class="el" href="channels_8cpp.html#PrefixQuit_5BMAXBUF_5D">channels.cpp</a></ul> <h3><a class="anchor" name="index_r">- r -</a></h3><ul> -<li>restartpass -: <a class="el" href="modules_8cpp.html#restartpass_5BMAXBUF_5D">modules.cpp</a>, <a class="el" href="channels_8cpp.html#restartpass_5BMAXBUF_5D">channels.cpp</a><li>rules -: <a class="el" href="modules_8cpp.html#rules_5BMAXBUF_5D">modules.cpp</a>, <a class="el" href="channels_8cpp.html#rules_5BMAXBUF_5D">channels.cpp</a><li>RULES -: <a class="el" href="modules_8cpp.html#RULES">modules.cpp</a></ul> +<li>ref +: <a class="el" href="socketengine_8cpp.html#ref_5B_36_35_35_33_35_5D">socketengine.cpp</a><li>restartpass +: <a class="el" href="modules_8cpp.html#restartpass_5BMAXBUF_5D">modules.cpp</a>, <a class="el" href="channels_8cpp.html#restartpass_5BMAXBUF_5D">channels.cpp</a><li>RULES +: <a class="el" href="modules_8cpp.html#RULES">modules.cpp</a><li>rules +: <a class="el" href="modules_8cpp.html#rules_5BMAXBUF_5D">modules.cpp</a>, <a class="el" href="channels_8cpp.html#rules_5BMAXBUF_5D">channels.cpp</a></ul> <h3><a class="anchor" name="index_s">- s -</a></h3><ul> -<li>ServerDesc +<li>SE +: <a class="el" href="socket_8cpp.html#SE">socket.cpp</a>, <a class="el" href="modules_8cpp.html#SE">modules.cpp</a><li>ServerDesc : <a class="el" href="modules_8cpp.html#ServerDesc_5BMAXBUF_5D">modules.cpp</a>, <a class="el" href="channels_8cpp.html#ServerDesc_5BMAXBUF_5D">channels.cpp</a><li>ServerName : <a class="el" href="users_8cpp.html#ServerName_5BMAXBUF_5D">users.cpp</a>, <a class="el" href="modules_8cpp.html#ServerName_5BMAXBUF_5D">modules.cpp</a>, <a class="el" href="channels_8cpp.html#ServerName_5BMAXBUF_5D">channels.cpp</a><li>startup_time : <a class="el" href="modules_8cpp.html#startup_5Ftime">modules.cpp</a>, <a class="el" href="channels_8cpp.html#startup_5Ftime">channels.cpp</a></ul> @@ -92,7 +94,15 @@ : <a class="el" href="modules_8cpp.html#whowas">modules.cpp</a><li>WHOWAS_MAX : <a class="el" href="modules_8cpp.html#WHOWAS_5FMAX">modules.cpp</a>, <a class="el" href="channels_8cpp.html#WHOWAS_5FMAX">channels.cpp</a><li>WHOWAS_STALE : <a class="el" href="modules_8cpp.html#WHOWAS_5FSTALE">modules.cpp</a>, <a class="el" href="channels_8cpp.html#WHOWAS_5FSTALE">channels.cpp</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by +<h3><a class="anchor" name="index_x">- x -</a></h3><ul> +<li>X_EMPTY_SLOT +: <a class="el" href="socketengine_8h.html#X_5FEMPTY_5FSLOT">socketengine.h</a><li>X_ESTAB_CLIENT +: <a class="el" href="socketengine_8h.html#X_5FESTAB_5FCLIENT">socketengine.h</a><li>X_ESTAB_DNS +: <a class="el" href="socketengine_8h.html#X_5FESTAB_5FDNS">socketengine.h</a><li>X_ESTAB_MODULE +: <a class="el" href="socketengine_8h.html#X_5FESTAB_5FMODULE">socketengine.h</a><li>X_LISTEN +: <a class="el" href="socketengine_8h.html#X_5FLISTEN">socketengine.h</a><li>X_READBIT +: <a class="el" href="socketengine_8h.html#X_5FREADBIT">socketengine.h</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:14 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/graph_legend.html b/docs/module-doc/graph_legend.html index 36e33a761..7eafc866a 100644 --- a/docs/module-doc/graph_legend.html +++ b/docs/module-doc/graph_legend.html @@ -67,7 +67,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 size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:14 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:14 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/hashcomp_8h-source.html b/docs/module-doc/hashcomp_8h-source.html index 100557245..2b2790123 100644 --- a/docs/module-doc/hashcomp_8h-source.html +++ b/docs/module-doc/hashcomp_8h-source.html @@ -109,7 +109,7 @@ <a name="l00130"></a>00130 } <a name="l00131"></a>00131 <a name="l00132"></a>00132 <span class="preprocessor">#endif</span> -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:03 2005 for InspIRCd by +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:08 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/hashcomp_8h.html b/docs/module-doc/hashcomp_8h.html index b082ee153..b17bf0a04 100644 --- a/docs/module-doc/hashcomp_8h.html +++ b/docs/module-doc/hashcomp_8h.html @@ -77,7 +77,7 @@ This graph shows which files directly or indirectly include this file:<p><center Definition at line <a class="el" href="hashcomp_8h-source.html#l00044">44</a> of file <a class="el" href="hashcomp_8h-source.html">hashcomp.h</a>. </td> </tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:07 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:08 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/hierarchy.html b/docs/module-doc/hierarchy.html index 23791af5a..65c3bcd4c 100644 --- a/docs/module-doc/hierarchy.html +++ b/docs/module-doc/hierarchy.html @@ -62,10 +62,11 @@ This inheritance list is sorted roughly, but not completely, alphabetically:<ul> <li><a class="el" href="structnspace_1_1hash_3_01string_01_4.html">nspace::hash< string ></a> <li><a class="el" href="structirc_1_1InAddr__HashComp.html">irc::InAddr_HashComp</a> <li><a class="el" href="classInspSocket.html">InspSocket</a> +<li><a class="el" href="classSocketEngine.html">SocketEngine</a> <li><a class="el" href="structirc_1_1StrHashComp.html">irc::StrHashComp</a> <li><a class="el" href="classWhoWasUser.html">WhoWasUser</a> </ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/inherit__graph__10.gif b/docs/module-doc/inherit__graph__10.gif Binary files differindex e79f9b374..dfb0c4c56 100644 --- a/docs/module-doc/inherit__graph__10.gif +++ b/docs/module-doc/inherit__graph__10.gif diff --git a/docs/module-doc/inherit__graph__10.map b/docs/module-doc/inherit__graph__10.map index f4dc152fc..cb5e68503 100644 --- a/docs/module-doc/inherit__graph__10.map +++ b/docs/module-doc/inherit__graph__10.map @@ -1,2 +1,2 @@ base referer -rect $classWhoWasUser.html 8,7 112,33 +rect $classSocketEngine.html 8,7 112,33 diff --git a/docs/module-doc/inherit__graph__10.md5 b/docs/module-doc/inherit__graph__10.md5 index 49ded545f..6349253e0 100644 --- a/docs/module-doc/inherit__graph__10.md5 +++ b/docs/module-doc/inherit__graph__10.md5 @@ -1 +1 @@ -5bff511d62c6faa81cdb63b1f78f6cd8
\ No newline at end of file +949dcc70479b42522977703d4bb0a709
\ No newline at end of file diff --git a/docs/module-doc/inherit__graph__11.gif b/docs/module-doc/inherit__graph__11.gif Binary files differnew file mode 100644 index 000000000..e79f9b374 --- /dev/null +++ b/docs/module-doc/inherit__graph__11.gif diff --git a/docs/module-doc/inherit__graph__11.map b/docs/module-doc/inherit__graph__11.map new file mode 100644 index 000000000..f4dc152fc --- /dev/null +++ b/docs/module-doc/inherit__graph__11.map @@ -0,0 +1,2 @@ +base referer +rect $classWhoWasUser.html 8,7 112,33 diff --git a/docs/module-doc/inherit__graph__11.md5 b/docs/module-doc/inherit__graph__11.md5 new file mode 100644 index 000000000..49ded545f --- /dev/null +++ b/docs/module-doc/inherit__graph__11.md5 @@ -0,0 +1 @@ +5bff511d62c6faa81cdb63b1f78f6cd8
\ No newline at end of file diff --git a/docs/module-doc/inherits.html b/docs/module-doc/inherits.html index 9105b0e91..a0c76cdbd 100644 --- a/docs/module-doc/inherits.html +++ b/docs/module-doc/inherits.html @@ -79,12 +79,16 @@ <map name="nspace_1_1hash_3_01string_01_4_map"> <area href="structnspace_1_1hash_3_01string_01_4.html" shape="rect" coords="7,7,164,33" alt=""> </map></td></tr> -<tr><td><img src="inherit__graph__10.gif" border="0" alt="" usemap="#WhoWasUser_map"> +<tr><td><img src="inherit__graph__10.gif" border="0" alt="" usemap="#SocketEngine_map"> +<map name="SocketEngine_map"> +<area href="classSocketEngine.html" shape="rect" coords="8,7,112,33" alt=""> +</map></td></tr> +<tr><td><img src="inherit__graph__11.gif" border="0" alt="" usemap="#WhoWasUser_map"> <map name="WhoWasUser_map"> <area href="classWhoWasUser.html" shape="rect" coords="8,7,112,33" alt=""> </map></td></tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:14 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:14 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/main.html b/docs/module-doc/main.html index 8d70ff3d3..4a734a007 100644 --- a/docs/module-doc/main.html +++ b/docs/module-doc/main.html @@ -7,7 +7,7 @@ <div class="qindex"><a class="qindexHL" 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">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>InspIRCd Documentation</h1> <p> -<h3 align="center">1.0Betareleases </h3><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:03 2005 for InspIRCd by +<h3 align="center">1.0Betareleases </h3><hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:08 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/message_8h-source.html b/docs/module-doc/message_8h-source.html index 6b3c2388a..4227efba2 100644 --- a/docs/module-doc/message_8h-source.html +++ b/docs/module-doc/message_8h-source.html @@ -57,7 +57,7 @@ <a name="l00048"></a>00048 <span class="keywordtype">void</span> <a class="code" href="message_8h.html#send_5Fnetwork_5Fquit_28const_20char_20_2Anick_2C_20const_20char_20_2Areason_29">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); <a name="l00049"></a>00049 <a name="l00050"></a>00050 <span class="preprocessor">#endif</span> -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:03 2005 for InspIRCd by +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:08 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/message_8h.html b/docs/module-doc/message_8h.html index 35a98df68..3da2d691e 100644 --- a/docs/module-doc/message_8h.html +++ b/docs/module-doc/message_8h.html @@ -165,7 +165,7 @@ This graph shows which files directly or indirectly include this file:<p><center <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00573">Server::ChangeHost()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00565">Server::ChangeHost()</a>. </td> </tr> </table> <a class="anchor" name="ChangeName_28userrec_20_2Auser_2C_20const_20char_20_2Agecos_29"></a><!-- doxytag: member="message.h::ChangeName" ref="ChangeName_28userrec_20_2Auser_2C_20const_20char_20_2Agecos_29" args="(userrec *user, const char *gecos)" --><p> @@ -204,7 +204,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00573">Server::Chang <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00578">Server::ChangeGECOS()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00570">Server::ChangeGECOS()</a>. </td> </tr> </table> <a class="anchor" name="chlist_28userrec_20_2Auser_2C_20userrec_20_2Asource_29"></a><!-- doxytag: member="message.h::chlist" ref="chlist_28userrec_20_2Auser_2C_20userrec_20_2Asource_29" args="(userrec *user, userrec *source)" --><p> @@ -345,7 +345,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00578">Server::Chang <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00603">Server::ChanMode()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00595">Server::ChanMode()</a>. </td> </tr> </table> <a class="anchor" name="common_5Fchannels_28userrec_20_2Au_2C_20userrec_20_2Au_32_29"></a><!-- doxytag: member="message.h::common_channels" ref="common_5Fchannels_28userrec_20_2Au_2C_20userrec_20_2Au_32_29" args="(userrec *u, userrec *u2)" --><p> @@ -384,7 +384,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00603">Server::ChanM <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00551">Server::CommonChannels()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00543">Server::CommonChannels()</a>. </td> </tr> </table> <a class="anchor" name="cstatus_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29"></a><!-- doxytag: member="message.h::cstatus" ref="cstatus_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29" args="(userrec *user, chanrec *chan)" --><p> @@ -460,7 +460,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00551">Server::Commo <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00608">Server::IsOnChannel()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00600">Server::IsOnChannel()</a>. </td> </tr> </table> <a class="anchor" name="hasumode_28userrec_20_2Auser_2C_20char_20mode_29"></a><!-- doxytag: member="message.h::hasumode" ref="hasumode_28userrec_20_2Auser_2C_20char_20mode_29" args="(userrec *user, char mode)" --><p> @@ -555,7 +555,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00608">Server::IsOnC <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00583">Server::IsNick()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00575">Server::IsNick()</a>. </td> </tr> </table> <a class="anchor" name="NonBlocking_28int_20s_29"></a><!-- doxytag: member="message.h::NonBlocking" ref="NonBlocking_28int_20s_29" args="(int s)" --><p> @@ -679,7 +679,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00583">Server::IsNic </td> </tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:07 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:08 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/mode_8h-source.html b/docs/module-doc/mode_8h-source.html index 85a8d6468..e8c59844f 100644 --- a/docs/module-doc/mode_8h-source.html +++ b/docs/module-doc/mode_8h-source.html @@ -55,7 +55,7 @@ <a name="l00046"></a>00046 <a name="l00047"></a>00047 <a name="l00048"></a>00048 <span class="preprocessor">#endif</span> -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:03 2005 for InspIRCd by +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:08 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/mode_8h.html b/docs/module-doc/mode_8h.html index 26c2b6592..d28a91d4f 100644 --- a/docs/module-doc/mode_8h.html +++ b/docs/module-doc/mode_8h.html @@ -593,7 +593,7 @@ This graph shows which files directly or indirectly include this file:<p><center <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00500">Server::SendMode()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00492">Server::SendMode()</a>. </td> </tr> </table> <a class="anchor" name="take_5Fban_28userrec_20_2Auser_2C_20char_20_2Adest_2C_20chanrec_20_2Achan_2C_20int_20status_29"></a><!-- doxytag: member="mode.h::take_ban" ref="take_5Fban_28userrec_20_2Auser_2C_20char_20_2Adest_2C_20chanrec_20_2Achan_2C_20int_20status_29" args="(userrec *user, char *dest, chanrec *chan, int status)" --><p> @@ -792,7 +792,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00500">Server::SendM </td> </tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:08 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:08 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/modules_8cpp-source.html b/docs/module-doc/modules_8cpp-source.html index 9298996f8..d28a1b4a1 100644 --- a/docs/module-doc/modules_8cpp-source.html +++ b/docs/module-doc/modules_8cpp-source.html @@ -67,981 +67,954 @@ <a name="l00058"></a>00058 <span class="preprocessor">#include "helperfuncs.h"</span> <a name="l00059"></a>00059 <span class="preprocessor">#include "<a class="code" href="hashcomp_8h.html">hashcomp.h</a>"</span> <a name="l00060"></a>00060 <span class="preprocessor">#include "<a class="code" href="socket_8h.html">socket.h</a>"</span> -<a name="l00061"></a>00061 -<a name="l00062"></a>00062 <span class="preprocessor">#ifdef USE_KQUEUE</span> -<a name="l00063"></a>00063 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="keywordtype">int</span> kq; -<a name="l00064"></a>00064 <span class="preprocessor">#endif</span> -<a name="l00065"></a>00065 <span class="preprocessor"></span> -<a name="l00066"></a>00066 <span class="preprocessor">#ifdef USE_EPOLL</span> -<a name="l00067"></a>00067 <span class="preprocessor"></span><span class="keywordtype">int</span> ep; -<a name="l00068"></a>00068 <span class="preprocessor">#endif</span> -<a name="l00069"></a>00069 <span class="preprocessor"></span> -<a name="l00070"></a>00070 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#MODCOUNT">MODCOUNT</a>; -<a name="l00071"></a>00071 <span class="keyword">extern</span> std::vector<Module*> <a class="code" href="channels_8cpp.html#modules">modules</a>; -<a name="l00072"></a>00072 <span class="keyword">extern</span> std::vector<ircd_module*> <a class="code" href="channels_8cpp.html#factory">factory</a>; +<a name="l00061"></a>00061 <span class="preprocessor">#include "<a class="code" href="socketengine_8h.html">socketengine.h</a>"</span> +<a name="l00062"></a>00062 +<a name="l00063"></a>00063 <span class="keyword">extern</span> <a class="code" href="classSocketEngine.html">SocketEngine</a>* <a class="code" href="modules_8cpp.html#SE">SE</a>; +<a name="l00064"></a>00064 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#MODCOUNT">MODCOUNT</a>; +<a name="l00065"></a>00065 <span class="keyword">extern</span> std::vector<Module*> <a class="code" href="channels_8cpp.html#modules">modules</a>; +<a name="l00066"></a>00066 <span class="keyword">extern</span> std::vector<ircd_module*> <a class="code" href="channels_8cpp.html#factory">factory</a>; +<a name="l00067"></a>00067 +<a name="l00068"></a>00068 <span class="keyword">extern</span> std::vector<std::string> <a class="code" href="modules_8cpp.html#include_5Fstack">include_stack</a>; +<a name="l00069"></a>00069 +<a name="l00070"></a>00070 <span class="keyword">extern</span> std::vector<InspSocket*> <a class="code" href="modules_8cpp.html#module_5Fsockets">module_sockets</a>; +<a name="l00071"></a>00071 +<a name="l00072"></a>00072 <span class="keyword">extern</span> time_t <a class="code" href="channels_8cpp.html#TIME">TIME</a>; <a name="l00073"></a>00073 -<a name="l00074"></a>00074 <span class="keyword">extern</span> std::vector<std::string> <a class="code" href="modules_8cpp.html#include_5Fstack">include_stack</a>; -<a name="l00075"></a>00075 -<a name="l00076"></a>00076 <span class="keyword">extern</span> std::vector<InspSocket*> <a class="code" href="modules_8cpp.html#module_5Fsockets">module_sockets</a>; -<a name="l00077"></a>00077 -<a name="l00078"></a>00078 <span class="keyword">extern</span> time_t <a class="code" href="channels_8cpp.html#TIME">TIME</a>; -<a name="l00079"></a>00079 -<a name="l00080"></a>00080 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#LogLevel">LogLevel</a>; -<a name="l00081"></a>00081 <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#ServerName_5BMAXBUF_5D">ServerName</a>[MAXBUF]; -<a name="l00082"></a>00082 <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#Network_5BMAXBUF_5D">Network</a>[MAXBUF]; -<a name="l00083"></a>00083 <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#ServerDesc_5BMAXBUF_5D">ServerDesc</a>[MAXBUF]; -<a name="l00084"></a>00084 <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#AdminName_5BMAXBUF_5D">AdminName</a>[MAXBUF]; -<a name="l00085"></a>00085 <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#AdminEmail_5BMAXBUF_5D">AdminEmail</a>[MAXBUF]; -<a name="l00086"></a>00086 <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#AdminNick_5BMAXBUF_5D">AdminNick</a>[MAXBUF]; -<a name="l00087"></a>00087 <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#diepass_5BMAXBUF_5D">diepass</a>[MAXBUF]; -<a name="l00088"></a>00088 <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#restartpass_5BMAXBUF_5D">restartpass</a>[MAXBUF]; -<a name="l00089"></a>00089 <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#motd_5BMAXBUF_5D">motd</a>[MAXBUF]; -<a name="l00090"></a>00090 <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#rules_5BMAXBUF_5D">rules</a>[MAXBUF]; -<a name="l00091"></a>00091 <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#list_5BMAXBUF_5D">list</a>[MAXBUF]; -<a name="l00092"></a>00092 <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#PrefixQuit_5BMAXBUF_5D">PrefixQuit</a>[MAXBUF]; -<a name="l00093"></a>00093 <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#DieValue_5BMAXBUF_5D">DieValue</a>[MAXBUF]; -<a name="l00094"></a>00094 -<a name="l00095"></a>00095 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#debugging">debugging</a>; -<a name="l00096"></a>00096 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#WHOWAS_5FSTALE">WHOWAS_STALE</a>; -<a name="l00097"></a>00097 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#WHOWAS_5FMAX">WHOWAS_MAX</a>; -<a name="l00098"></a>00098 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#DieDelay">DieDelay</a>; -<a name="l00099"></a>00099 <span class="keyword">extern</span> time_t <a class="code" href="channels_8cpp.html#startup_5Ftime">startup_time</a>; -<a name="l00100"></a>00100 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#NetBufferSize">NetBufferSize</a>; -<a name="l00101"></a>00101 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#MaxWhoResults">MaxWhoResults</a>; -<a name="l00102"></a>00102 <span class="keyword">extern</span> time_t <a class="code" href="channels_8cpp.html#nb_5Fstart">nb_start</a>; -<a name="l00103"></a>00103 -<a name="l00104"></a>00104 <span class="keyword">extern</span> std::vector<std::string> <a class="code" href="channels_8cpp.html#module_5Fnames">module_names</a>; -<a name="l00105"></a>00105 -<a name="l00106"></a>00106 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#boundPortCount">boundPortCount</a>; -<a name="l00107"></a>00107 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#portCount">portCount</a>; +<a name="l00074"></a>00074 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#LogLevel">LogLevel</a>; +<a name="l00075"></a>00075 <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#ServerName_5BMAXBUF_5D">ServerName</a>[MAXBUF]; +<a name="l00076"></a>00076 <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#Network_5BMAXBUF_5D">Network</a>[MAXBUF]; +<a name="l00077"></a>00077 <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#ServerDesc_5BMAXBUF_5D">ServerDesc</a>[MAXBUF]; +<a name="l00078"></a>00078 <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#AdminName_5BMAXBUF_5D">AdminName</a>[MAXBUF]; +<a name="l00079"></a>00079 <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#AdminEmail_5BMAXBUF_5D">AdminEmail</a>[MAXBUF]; +<a name="l00080"></a>00080 <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#AdminNick_5BMAXBUF_5D">AdminNick</a>[MAXBUF]; +<a name="l00081"></a>00081 <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#diepass_5BMAXBUF_5D">diepass</a>[MAXBUF]; +<a name="l00082"></a>00082 <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#restartpass_5BMAXBUF_5D">restartpass</a>[MAXBUF]; +<a name="l00083"></a>00083 <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#motd_5BMAXBUF_5D">motd</a>[MAXBUF]; +<a name="l00084"></a>00084 <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#rules_5BMAXBUF_5D">rules</a>[MAXBUF]; +<a name="l00085"></a>00085 <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#list_5BMAXBUF_5D">list</a>[MAXBUF]; +<a name="l00086"></a>00086 <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#PrefixQuit_5BMAXBUF_5D">PrefixQuit</a>[MAXBUF]; +<a name="l00087"></a>00087 <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#DieValue_5BMAXBUF_5D">DieValue</a>[MAXBUF]; +<a name="l00088"></a>00088 +<a name="l00089"></a>00089 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#debugging">debugging</a>; +<a name="l00090"></a>00090 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#WHOWAS_5FSTALE">WHOWAS_STALE</a>; +<a name="l00091"></a>00091 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#WHOWAS_5FMAX">WHOWAS_MAX</a>; +<a name="l00092"></a>00092 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#DieDelay">DieDelay</a>; +<a name="l00093"></a>00093 <span class="keyword">extern</span> time_t <a class="code" href="channels_8cpp.html#startup_5Ftime">startup_time</a>; +<a name="l00094"></a>00094 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#NetBufferSize">NetBufferSize</a>; +<a name="l00095"></a>00095 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#MaxWhoResults">MaxWhoResults</a>; +<a name="l00096"></a>00096 <span class="keyword">extern</span> time_t <a class="code" href="channels_8cpp.html#nb_5Fstart">nb_start</a>; +<a name="l00097"></a>00097 +<a name="l00098"></a>00098 <span class="keyword">extern</span> std::vector<std::string> <a class="code" href="channels_8cpp.html#module_5Fnames">module_names</a>; +<a name="l00099"></a>00099 +<a name="l00100"></a>00100 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#boundPortCount">boundPortCount</a>; +<a name="l00101"></a>00101 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#portCount">portCount</a>; +<a name="l00102"></a>00102 +<a name="l00103"></a>00103 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#ports_5BMAXSOCKS_5D">ports</a>[MAXSOCKS]; +<a name="l00104"></a>00104 +<a name="l00105"></a>00105 <span class="keyword">class </span><a class="code" href="classServer.html">Server</a>; +<a name="l00106"></a>00106 +<a name="l00107"></a>00107 <span class="keyword">extern</span> std::stringstream <a class="code" href="channels_8cpp.html#config_5Ff">config_f</a>; <a name="l00108"></a>00108 -<a name="l00109"></a>00109 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#ports_5BMAXSOCKS_5D">ports</a>[MAXSOCKS]; +<a name="l00109"></a>00109 <a name="l00110"></a>00110 -<a name="l00111"></a>00111 <span class="keyword">class </span><a class="code" href="classServer.html">Server</a>; +<a name="l00111"></a>00111 <span class="keyword">extern</span> FILE *<a class="code" href="channels_8cpp.html#log_5Ffile">log_file</a>; <a name="l00112"></a>00112 -<a name="l00113"></a>00113 <span class="keyword">extern</span> std::stringstream <a class="code" href="channels_8cpp.html#config_5Ff">config_f</a>; +<a name="l00113"></a>00113 <span class="keyword">extern</span> <a class="code" href="classuserrec.html">userrec</a>* <a class="code" href="modules_8cpp.html#fd_5Fref_5Ftable_5B_36_35_35_33_36_5D">fd_ref_table</a>[65536]; <a name="l00114"></a>00114 -<a name="l00115"></a>00115 -<a name="l00116"></a>00116 -<a name="l00117"></a>00117 <span class="keyword">extern</span> FILE *<a class="code" href="channels_8cpp.html#log_5Ffile">log_file</a>; -<a name="l00118"></a>00118 -<a name="l00119"></a>00119 <span class="keyword">extern</span> <a class="code" href="classuserrec.html">userrec</a>* <a class="code" href="modules_8cpp.html#fd_5Fref_5Ftable_5B_36_35_35_33_36_5D">fd_ref_table</a>[65536]; +<a name="l00115"></a><a class="code" href="modules_8cpp.html#user_5Fhash">00115</a> <span class="keyword">typedef</span> nspace::hash_map<std::string, userrec*, nspace::hash<string>, <a class="code" href="structirc_1_1StrHashComp.html">irc::StrHashComp</a>> <a class="code" href="modules_8cpp.html#user_5Fhash">user_hash</a>; +<a name="l00116"></a><a class="code" href="modules_8cpp.html#chan_5Fhash">00116</a> <span class="keyword">typedef</span> nspace::hash_map<std::string, chanrec*, nspace::hash<string>, <a class="code" href="structirc_1_1StrHashComp.html">irc::StrHashComp</a>> <a class="code" href="modules_8cpp.html#chan_5Fhash">chan_hash</a>; +<a name="l00117"></a><a class="code" href="modules_8cpp.html#address_5Fcache">00117</a> <span class="keyword">typedef</span> nspace::hash_map<in_addr,string*, nspace::hash<in_addr>, <a class="code" href="structirc_1_1InAddr__HashComp.html">irc::InAddr_HashComp</a>> <a class="code" href="modules_8cpp.html#address_5Fcache">address_cache</a>; +<a name="l00118"></a><a class="code" href="modules_8cpp.html#whowas_5Fhash">00118</a> <span class="keyword">typedef</span> nspace::hash_map<std::string, WhoWasUser*, nspace::hash<string>, <a class="code" href="structirc_1_1StrHashComp.html">irc::StrHashComp</a>> <a class="code" href="modules_8cpp.html#whowas_5Fhash">whowas_hash</a>; +<a name="l00119"></a><a class="code" href="modules_8cpp.html#command_5Ftable">00119</a> <span class="keyword">typedef</span> std::deque<command_t> <a class="code" href="modules_8cpp.html#command_5Ftable">command_table</a>; <a name="l00120"></a>00120 -<a name="l00121"></a><a class="code" href="modules_8cpp.html#user_5Fhash">00121</a> <span class="keyword">typedef</span> nspace::hash_map<std::string, userrec*, nspace::hash<string>, <a class="code" href="structirc_1_1StrHashComp.html">irc::StrHashComp</a>> <a class="code" href="modules_8cpp.html#user_5Fhash">user_hash</a>; -<a name="l00122"></a><a class="code" href="modules_8cpp.html#chan_5Fhash">00122</a> <span class="keyword">typedef</span> nspace::hash_map<std::string, chanrec*, nspace::hash<string>, <a class="code" href="structirc_1_1StrHashComp.html">irc::StrHashComp</a>> <a class="code" href="modules_8cpp.html#chan_5Fhash">chan_hash</a>; -<a name="l00123"></a><a class="code" href="modules_8cpp.html#address_5Fcache">00123</a> <span class="keyword">typedef</span> nspace::hash_map<in_addr,string*, nspace::hash<in_addr>, <a class="code" href="structirc_1_1InAddr__HashComp.html">irc::InAddr_HashComp</a>> <a class="code" href="modules_8cpp.html#address_5Fcache">address_cache</a>; -<a name="l00124"></a><a class="code" href="modules_8cpp.html#whowas_5Fhash">00124</a> <span class="keyword">typedef</span> nspace::hash_map<std::string, WhoWasUser*, nspace::hash<string>, <a class="code" href="structirc_1_1StrHashComp.html">irc::StrHashComp</a>> <a class="code" href="modules_8cpp.html#whowas_5Fhash">whowas_hash</a>; -<a name="l00125"></a><a class="code" href="modules_8cpp.html#command_5Ftable">00125</a> <span class="keyword">typedef</span> std::deque<command_t> <a class="code" href="modules_8cpp.html#command_5Ftable">command_table</a>; -<a name="l00126"></a>00126 -<a name="l00127"></a>00127 -<a name="l00128"></a>00128 <span class="keyword">extern</span> <a class="code" href="modules_8cpp.html#user_5Fhash">user_hash</a> <a class="code" href="modules_8cpp.html#clientlist">clientlist</a>; -<a name="l00129"></a>00129 <span class="keyword">extern</span> <a class="code" href="modules_8cpp.html#chan_5Fhash">chan_hash</a> <a class="code" href="modules_8cpp.html#chanlist">chanlist</a>; -<a name="l00130"></a>00130 <span class="keyword">extern</span> <a class="code" href="modules_8cpp.html#whowas_5Fhash">whowas_hash</a> <a class="code" href="modules_8cpp.html#whowas">whowas</a>; -<a name="l00131"></a>00131 <span class="keyword">extern</span> <a class="code" href="modules_8cpp.html#command_5Ftable">command_table</a> <a class="code" href="modules_8cpp.html#cmdlist">cmdlist</a>; -<a name="l00132"></a>00132 <span class="keyword">extern</span> <a class="code" href="modules_8h.html#file_5Fcache">file_cache</a> <a class="code" href="modules_8cpp.html#MOTD">MOTD</a>; -<a name="l00133"></a>00133 <span class="keyword">extern</span> <a class="code" href="modules_8h.html#file_5Fcache">file_cache</a> <a class="code" href="modules_8cpp.html#RULES">RULES</a>; -<a name="l00134"></a>00134 <span class="keyword">extern</span> <a class="code" href="modules_8cpp.html#address_5Fcache">address_cache</a> <a class="code" href="modules_8cpp.html#IP">IP</a>; -<a name="l00135"></a>00135 -<a name="l00136"></a>00136 -<a name="l00137"></a>00137 <span class="comment">// class type for holding an extended mode character - internal to core</span> -<a name="l00138"></a>00138 -<a name="l00139"></a><a class="code" href="classExtMode.html">00139</a> <span class="keyword">class </span><a class="code" href="classExtMode.html">ExtMode</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> -<a name="l00140"></a>00140 { -<a name="l00141"></a>00141 <span class="keyword">public</span>: -<a name="l00142"></a><a class="code" href="classExtMode.html#modechar">00142</a> <span class="keywordtype">char</span> <a class="code" href="classExtMode.html#modechar">modechar</a>; -<a name="l00143"></a><a class="code" href="classExtMode.html#type">00143</a> <span class="keywordtype">int</span> <a class="code" href="classExtMode.html#type">type</a>; -<a name="l00144"></a><a class="code" href="classExtMode.html#needsoper">00144</a> <span class="keywordtype">bool</span> <a class="code" href="classExtMode.html#needsoper">needsoper</a>; -<a name="l00145"></a><a class="code" href="classExtMode.html#params_5Fwhen_5Fon">00145</a> <span class="keywordtype">int</span> <a class="code" href="classExtMode.html#params_5Fwhen_5Fon">params_when_on</a>; -<a name="l00146"></a><a class="code" href="classExtMode.html#params_5Fwhen_5Foff">00146</a> <span class="keywordtype">int</span> <a class="code" href="classExtMode.html#params_5Fwhen_5Foff">params_when_off</a>; -<a name="l00147"></a><a class="code" href="classExtMode.html#list">00147</a> <span class="keywordtype">bool</span> <a class="code" href="classExtMode.html#list">list</a>; -<a name="l00148"></a><a class="code" href="classExtMode.html#ExtMode_28char_20mc_2C_20int_20ty_2C_20bool_20oper_2C_20int_20p_5Fon_2C_20int_20p_5Foff_29">00148</a> <a class="code" href="classExtMode.html#ExtMode_28char_20mc_2C_20int_20ty_2C_20bool_20oper_2C_20int_20p_5Fon_2C_20int_20p_5Foff_29">ExtMode</a>(<span class="keywordtype">char</span> mc, <span class="keywordtype">int</span> ty, <span class="keywordtype">bool</span> oper, <span class="keywordtype">int</span> p_on, <span class="keywordtype">int</span> p_off) : <a class="code" href="classExtMode.html#modechar">modechar</a>(mc), <a class="code" href="classExtMode.html#type">type</a>(ty), <a class="code" href="classExtMode.html#needsoper">needsoper</a>(oper), <a class="code" href="classExtMode.html#params_5Fwhen_5Fon">params_when_on</a>(p_on), <a class="code" href="classExtMode.html#params_5Fwhen_5Foff">params_when_off</a>(p_off) { }; -<a name="l00149"></a>00149 }; +<a name="l00121"></a>00121 +<a name="l00122"></a>00122 <span class="keyword">extern</span> <a class="code" href="modules_8cpp.html#user_5Fhash">user_hash</a> <a class="code" href="modules_8cpp.html#clientlist">clientlist</a>; +<a name="l00123"></a>00123 <span class="keyword">extern</span> <a class="code" href="modules_8cpp.html#chan_5Fhash">chan_hash</a> <a class="code" href="modules_8cpp.html#chanlist">chanlist</a>; +<a name="l00124"></a>00124 <span class="keyword">extern</span> <a class="code" href="modules_8cpp.html#whowas_5Fhash">whowas_hash</a> <a class="code" href="modules_8cpp.html#whowas">whowas</a>; +<a name="l00125"></a>00125 <span class="keyword">extern</span> <a class="code" href="modules_8cpp.html#command_5Ftable">command_table</a> <a class="code" href="modules_8cpp.html#cmdlist">cmdlist</a>; +<a name="l00126"></a>00126 <span class="keyword">extern</span> <a class="code" href="modules_8h.html#file_5Fcache">file_cache</a> <a class="code" href="modules_8cpp.html#MOTD">MOTD</a>; +<a name="l00127"></a>00127 <span class="keyword">extern</span> <a class="code" href="modules_8h.html#file_5Fcache">file_cache</a> <a class="code" href="modules_8cpp.html#RULES">RULES</a>; +<a name="l00128"></a>00128 <span class="keyword">extern</span> <a class="code" href="modules_8cpp.html#address_5Fcache">address_cache</a> <a class="code" href="modules_8cpp.html#IP">IP</a>; +<a name="l00129"></a>00129 +<a name="l00130"></a>00130 +<a name="l00131"></a>00131 <span class="comment">// class type for holding an extended mode character - internal to core</span> +<a name="l00132"></a>00132 +<a name="l00133"></a><a class="code" href="classExtMode.html">00133</a> <span class="keyword">class </span><a class="code" href="classExtMode.html">ExtMode</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> +<a name="l00134"></a>00134 { +<a name="l00135"></a>00135 <span class="keyword">public</span>: +<a name="l00136"></a><a class="code" href="classExtMode.html#modechar">00136</a> <span class="keywordtype">char</span> <a class="code" href="classExtMode.html#modechar">modechar</a>; +<a name="l00137"></a><a class="code" href="classExtMode.html#type">00137</a> <span class="keywordtype">int</span> <a class="code" href="classExtMode.html#type">type</a>; +<a name="l00138"></a><a class="code" href="classExtMode.html#needsoper">00138</a> <span class="keywordtype">bool</span> <a class="code" href="classExtMode.html#needsoper">needsoper</a>; +<a name="l00139"></a><a class="code" href="classExtMode.html#params_5Fwhen_5Fon">00139</a> <span class="keywordtype">int</span> <a class="code" href="classExtMode.html#params_5Fwhen_5Fon">params_when_on</a>; +<a name="l00140"></a><a class="code" href="classExtMode.html#params_5Fwhen_5Foff">00140</a> <span class="keywordtype">int</span> <a class="code" href="classExtMode.html#params_5Fwhen_5Foff">params_when_off</a>; +<a name="l00141"></a><a class="code" href="classExtMode.html#list">00141</a> <span class="keywordtype">bool</span> <a class="code" href="classExtMode.html#list">list</a>; +<a name="l00142"></a><a class="code" href="classExtMode.html#ExtMode_28char_20mc_2C_20int_20ty_2C_20bool_20oper_2C_20int_20p_5Fon_2C_20int_20p_5Foff_29">00142</a> <a class="code" href="classExtMode.html#ExtMode_28char_20mc_2C_20int_20ty_2C_20bool_20oper_2C_20int_20p_5Fon_2C_20int_20p_5Foff_29">ExtMode</a>(<span class="keywordtype">char</span> mc, <span class="keywordtype">int</span> ty, <span class="keywordtype">bool</span> oper, <span class="keywordtype">int</span> p_on, <span class="keywordtype">int</span> p_off) : <a class="code" href="classExtMode.html#modechar">modechar</a>(mc), <a class="code" href="classExtMode.html#type">type</a>(ty), <a class="code" href="classExtMode.html#needsoper">needsoper</a>(oper), <a class="code" href="classExtMode.html#params_5Fwhen_5Fon">params_when_on</a>(p_on), <a class="code" href="classExtMode.html#params_5Fwhen_5Foff">params_when_off</a>(p_off) { }; +<a name="l00143"></a>00143 }; +<a name="l00144"></a>00144 +<a name="l00145"></a><a class="code" href="modules_8cpp.html#ExtModeList">00145</a> <span class="keyword">typedef</span> std::vector<ExtMode> <a class="code" href="modules_8cpp.html#ExtModeList">ExtModeList</a>; +<a name="l00146"></a><a class="code" href="modules_8cpp.html#ExtModeListIter">00146</a> <span class="keyword">typedef</span> ExtModeList::iterator <a class="code" href="modules_8cpp.html#ExtModeListIter">ExtModeListIter</a>; +<a name="l00147"></a>00147 +<a name="l00148"></a>00148 +<a name="l00149"></a><a class="code" href="modules_8cpp.html#EMode">00149</a> <a class="code" href="modules_8cpp.html#ExtModeList">ExtModeList</a> <a class="code" href="modules_8cpp.html#EMode">EMode</a>; <a name="l00150"></a>00150 -<a name="l00151"></a><a class="code" href="modules_8cpp.html#ExtModeList">00151</a> <span class="keyword">typedef</span> std::vector<ExtMode> <a class="code" href="modules_8cpp.html#ExtModeList">ExtModeList</a>; -<a name="l00152"></a><a class="code" href="modules_8cpp.html#ExtModeListIter">00152</a> <span class="keyword">typedef</span> ExtModeList::iterator <a class="code" href="modules_8cpp.html#ExtModeListIter">ExtModeListIter</a>; -<a name="l00153"></a>00153 -<a name="l00154"></a>00154 -<a name="l00155"></a><a class="code" href="modules_8cpp.html#EMode">00155</a> <a class="code" href="modules_8cpp.html#ExtModeList">ExtModeList</a> <a class="code" href="modules_8cpp.html#EMode">EMode</a>; -<a name="l00156"></a>00156 -<a name="l00157"></a>00157 <span class="comment">// returns true if an extended mode character is in use</span> -<a name="l00158"></a><a class="code" href="modules_8cpp.html#ModeDefined_28char_20modechar_2C_20int_20type_29">00158</a> <span class="keywordtype">bool</span> <a class="code" href="modules_8cpp.html#ModeDefined_28char_20modechar_2C_20int_20type_29">ModeDefined</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type) -<a name="l00159"></a>00159 { -<a name="l00160"></a>00160 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#ExtModeListIter">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#EMode">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#EMode">EMode</a>.end(); i++) -<a name="l00161"></a>00161 { -<a name="l00162"></a>00162 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) -<a name="l00163"></a>00163 { -<a name="l00164"></a>00164 <span class="keywordflow">return</span> <span class="keyword">true</span>; -<a name="l00165"></a>00165 } -<a name="l00166"></a>00166 } -<a name="l00167"></a>00167 <span class="keywordflow">return</span> <span class="keyword">false</span>; -<a name="l00168"></a>00168 } -<a name="l00169"></a>00169 -<a name="l00170"></a><a class="code" href="modules_8cpp.html#ModeIsListMode_28char_20modechar_2C_20int_20type_29">00170</a> <span class="keywordtype">bool</span> <a class="code" href="modules_8cpp.html#ModeIsListMode_28char_20modechar_2C_20int_20type_29">ModeIsListMode</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type) -<a name="l00171"></a>00171 { -<a name="l00172"></a>00172 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#ExtModeListIter">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#EMode">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#EMode">EMode</a>.end(); i++) -<a name="l00173"></a>00173 { -<a name="l00174"></a>00174 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type) && (i->list == <span class="keyword">true</span>)) -<a name="l00175"></a>00175 { -<a name="l00176"></a>00176 <span class="keywordflow">return</span> <span class="keyword">true</span>; -<a name="l00177"></a>00177 } -<a name="l00178"></a>00178 } -<a name="l00179"></a>00179 <span class="keywordflow">return</span> <span class="keyword">false</span>; -<a name="l00180"></a>00180 } -<a name="l00181"></a>00181 -<a name="l00182"></a><a class="code" href="modules_8cpp.html#ModeDefinedOper_28char_20modechar_2C_20int_20type_29">00182</a> <span class="keywordtype">bool</span> <a class="code" href="modules_8cpp.html#ModeDefinedOper_28char_20modechar_2C_20int_20type_29">ModeDefinedOper</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type) -<a name="l00183"></a>00183 { -<a name="l00184"></a>00184 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#ExtModeListIter">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#EMode">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#EMode">EMode</a>.end(); i++) -<a name="l00185"></a>00185 { -<a name="l00186"></a>00186 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type) && (i->needsoper == <span class="keyword">true</span>)) -<a name="l00187"></a>00187 { -<a name="l00188"></a>00188 <span class="keywordflow">return</span> <span class="keyword">true</span>; -<a name="l00189"></a>00189 } -<a name="l00190"></a>00190 } -<a name="l00191"></a>00191 <span class="keywordflow">return</span> <span class="keyword">false</span>; -<a name="l00192"></a>00192 } -<a name="l00193"></a>00193 -<a name="l00194"></a>00194 <span class="comment">// returns number of parameters for a custom mode when it is switched on</span> -<a name="l00195"></a><a class="code" href="modules_8cpp.html#ModeDefinedOn_28char_20modechar_2C_20int_20type_29">00195</a> <span class="keywordtype">int</span> <a class="code" href="modules_8cpp.html#ModeDefinedOn_28char_20modechar_2C_20int_20type_29">ModeDefinedOn</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type) -<a name="l00196"></a>00196 { -<a name="l00197"></a>00197 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#ExtModeListIter">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#EMode">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#EMode">EMode</a>.end(); i++) -<a name="l00198"></a>00198 { -<a name="l00199"></a>00199 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) -<a name="l00200"></a>00200 { -<a name="l00201"></a>00201 <span class="keywordflow">return</span> i->params_when_on; -<a name="l00202"></a>00202 } -<a name="l00203"></a>00203 } -<a name="l00204"></a>00204 <span class="keywordflow">return</span> 0; -<a name="l00205"></a>00205 } -<a name="l00206"></a>00206 -<a name="l00207"></a>00207 <span class="comment">// returns number of parameters for a custom mode when it is switched on</span> -<a name="l00208"></a><a class="code" href="modules_8cpp.html#ModeDefinedOff_28char_20modechar_2C_20int_20type_29">00208</a> <span class="keywordtype">int</span> <a class="code" href="modules_8cpp.html#ModeDefinedOff_28char_20modechar_2C_20int_20type_29">ModeDefinedOff</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type) -<a name="l00209"></a>00209 { -<a name="l00210"></a>00210 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#ExtModeListIter">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#EMode">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#EMode">EMode</a>.end(); i++) -<a name="l00211"></a>00211 { -<a name="l00212"></a>00212 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) -<a name="l00213"></a>00213 { -<a name="l00214"></a>00214 <span class="keywordflow">return</span> i->params_when_off; -<a name="l00215"></a>00215 } -<a name="l00216"></a>00216 } -<a name="l00217"></a>00217 <span class="keywordflow">return</span> 0; -<a name="l00218"></a>00218 } -<a name="l00219"></a>00219 -<a name="l00220"></a>00220 <span class="comment">// returns true if an extended mode character is in use</span> -<a name="l00221"></a><a class="code" href="modules_8cpp.html#DoAddExtendedMode_28char_20modechar_2C_20int_20type_2C_20bool_20requires_5Foper_2C_20int_20params_5Fon_2C_20int_20params_5Foff_29">00221</a> <span class="keywordtype">bool</span> <a class="code" href="modules_8cpp.html#DoAddExtendedMode_28char_20modechar_2C_20int_20type_2C_20bool_20requires_5Foper_2C_20int_20params_5Fon_2C_20int_20params_5Foff_29">DoAddExtendedMode</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type, <span class="keywordtype">bool</span> requires_oper, <span class="keywordtype">int</span> params_on, <span class="keywordtype">int</span> params_off) -<a name="l00222"></a>00222 { -<a name="l00223"></a>00223 <span class="keywordflow">if</span> (<a class="code" href="modules_8cpp.html#ModeDefined_28char_20modechar_2C_20int_20type_29">ModeDefined</a>(modechar,type)) { -<a name="l00224"></a>00224 <span class="keywordflow">return</span> <span class="keyword">false</span>; -<a name="l00225"></a>00225 } -<a name="l00226"></a>00226 <a class="code" href="modules_8cpp.html#EMode">EMode</a>.push_back(<a class="code" href="classExtMode.html">ExtMode</a>(modechar,type,requires_oper,params_on,params_off)); -<a name="l00227"></a>00227 <span class="keywordflow">return</span> <span class="keyword">true</span>; -<a name="l00228"></a>00228 } -<a name="l00229"></a>00229 -<a name="l00230"></a>00230 <span class="comment">// turns a mode into a listmode</span> -<a name="l00231"></a><a class="code" href="modules_8cpp.html#ModeMakeList_28char_20modechar_29">00231</a> <span class="keywordtype">void</span> <a class="code" href="modules_8cpp.html#ModeMakeList_28char_20modechar_29">ModeMakeList</a>(<span class="keywordtype">char</span> modechar) -<a name="l00232"></a>00232 { -<a name="l00233"></a>00233 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#ExtModeListIter">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#EMode">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#EMode">EMode</a>.end(); i++) -<a name="l00234"></a>00234 { -<a name="l00235"></a>00235 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == <a class="code" href="modules_8h.html#MT_5FCHANNEL">MT_CHANNEL</a>)) -<a name="l00236"></a>00236 { -<a name="l00237"></a>00237 i->list = <span class="keyword">true</span>; -<a name="l00238"></a>00238 <span class="keywordflow">return</span>; -<a name="l00239"></a>00239 } -<a name="l00240"></a>00240 } -<a name="l00241"></a>00241 <span class="keywordflow">return</span>; -<a name="l00242"></a>00242 } +<a name="l00151"></a>00151 <span class="comment">// returns true if an extended mode character is in use</span> +<a name="l00152"></a><a class="code" href="modules_8cpp.html#ModeDefined_28char_20modechar_2C_20int_20type_29">00152</a> <span class="keywordtype">bool</span> <a class="code" href="modules_8cpp.html#ModeDefined_28char_20modechar_2C_20int_20type_29">ModeDefined</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type) +<a name="l00153"></a>00153 { +<a name="l00154"></a>00154 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#ExtModeListIter">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#EMode">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#EMode">EMode</a>.end(); i++) +<a name="l00155"></a>00155 { +<a name="l00156"></a>00156 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) +<a name="l00157"></a>00157 { +<a name="l00158"></a>00158 <span class="keywordflow">return</span> <span class="keyword">true</span>; +<a name="l00159"></a>00159 } +<a name="l00160"></a>00160 } +<a name="l00161"></a>00161 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00162"></a>00162 } +<a name="l00163"></a>00163 +<a name="l00164"></a><a class="code" href="modules_8cpp.html#ModeIsListMode_28char_20modechar_2C_20int_20type_29">00164</a> <span class="keywordtype">bool</span> <a class="code" href="modules_8cpp.html#ModeIsListMode_28char_20modechar_2C_20int_20type_29">ModeIsListMode</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type) +<a name="l00165"></a>00165 { +<a name="l00166"></a>00166 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#ExtModeListIter">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#EMode">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#EMode">EMode</a>.end(); i++) +<a name="l00167"></a>00167 { +<a name="l00168"></a>00168 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type) && (i->list == <span class="keyword">true</span>)) +<a name="l00169"></a>00169 { +<a name="l00170"></a>00170 <span class="keywordflow">return</span> <span class="keyword">true</span>; +<a name="l00171"></a>00171 } +<a name="l00172"></a>00172 } +<a name="l00173"></a>00173 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00174"></a>00174 } +<a name="l00175"></a>00175 +<a name="l00176"></a><a class="code" href="modules_8cpp.html#ModeDefinedOper_28char_20modechar_2C_20int_20type_29">00176</a> <span class="keywordtype">bool</span> <a class="code" href="modules_8cpp.html#ModeDefinedOper_28char_20modechar_2C_20int_20type_29">ModeDefinedOper</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type) +<a name="l00177"></a>00177 { +<a name="l00178"></a>00178 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#ExtModeListIter">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#EMode">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#EMode">EMode</a>.end(); i++) +<a name="l00179"></a>00179 { +<a name="l00180"></a>00180 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type) && (i->needsoper == <span class="keyword">true</span>)) +<a name="l00181"></a>00181 { +<a name="l00182"></a>00182 <span class="keywordflow">return</span> <span class="keyword">true</span>; +<a name="l00183"></a>00183 } +<a name="l00184"></a>00184 } +<a name="l00185"></a>00185 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00186"></a>00186 } +<a name="l00187"></a>00187 +<a name="l00188"></a>00188 <span class="comment">// returns number of parameters for a custom mode when it is switched on</span> +<a name="l00189"></a><a class="code" href="modules_8cpp.html#ModeDefinedOn_28char_20modechar_2C_20int_20type_29">00189</a> <span class="keywordtype">int</span> <a class="code" href="modules_8cpp.html#ModeDefinedOn_28char_20modechar_2C_20int_20type_29">ModeDefinedOn</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type) +<a name="l00190"></a>00190 { +<a name="l00191"></a>00191 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#ExtModeListIter">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#EMode">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#EMode">EMode</a>.end(); i++) +<a name="l00192"></a>00192 { +<a name="l00193"></a>00193 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) +<a name="l00194"></a>00194 { +<a name="l00195"></a>00195 <span class="keywordflow">return</span> i->params_when_on; +<a name="l00196"></a>00196 } +<a name="l00197"></a>00197 } +<a name="l00198"></a>00198 <span class="keywordflow">return</span> 0; +<a name="l00199"></a>00199 } +<a name="l00200"></a>00200 +<a name="l00201"></a>00201 <span class="comment">// returns number of parameters for a custom mode when it is switched on</span> +<a name="l00202"></a><a class="code" href="modules_8cpp.html#ModeDefinedOff_28char_20modechar_2C_20int_20type_29">00202</a> <span class="keywordtype">int</span> <a class="code" href="modules_8cpp.html#ModeDefinedOff_28char_20modechar_2C_20int_20type_29">ModeDefinedOff</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type) +<a name="l00203"></a>00203 { +<a name="l00204"></a>00204 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#ExtModeListIter">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#EMode">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#EMode">EMode</a>.end(); i++) +<a name="l00205"></a>00205 { +<a name="l00206"></a>00206 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) +<a name="l00207"></a>00207 { +<a name="l00208"></a>00208 <span class="keywordflow">return</span> i->params_when_off; +<a name="l00209"></a>00209 } +<a name="l00210"></a>00210 } +<a name="l00211"></a>00211 <span class="keywordflow">return</span> 0; +<a name="l00212"></a>00212 } +<a name="l00213"></a>00213 +<a name="l00214"></a>00214 <span class="comment">// returns true if an extended mode character is in use</span> +<a name="l00215"></a><a class="code" href="modules_8cpp.html#DoAddExtendedMode_28char_20modechar_2C_20int_20type_2C_20bool_20requires_5Foper_2C_20int_20params_5Fon_2C_20int_20params_5Foff_29">00215</a> <span class="keywordtype">bool</span> <a class="code" href="modules_8cpp.html#DoAddExtendedMode_28char_20modechar_2C_20int_20type_2C_20bool_20requires_5Foper_2C_20int_20params_5Fon_2C_20int_20params_5Foff_29">DoAddExtendedMode</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type, <span class="keywordtype">bool</span> requires_oper, <span class="keywordtype">int</span> params_on, <span class="keywordtype">int</span> params_off) +<a name="l00216"></a>00216 { +<a name="l00217"></a>00217 <span class="keywordflow">if</span> (<a class="code" href="modules_8cpp.html#ModeDefined_28char_20modechar_2C_20int_20type_29">ModeDefined</a>(modechar,type)) { +<a name="l00218"></a>00218 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00219"></a>00219 } +<a name="l00220"></a>00220 <a class="code" href="modules_8cpp.html#EMode">EMode</a>.push_back(<a class="code" href="classExtMode.html">ExtMode</a>(modechar,type,requires_oper,params_on,params_off)); +<a name="l00221"></a>00221 <span class="keywordflow">return</span> <span class="keyword">true</span>; +<a name="l00222"></a>00222 } +<a name="l00223"></a>00223 +<a name="l00224"></a>00224 <span class="comment">// turns a mode into a listmode</span> +<a name="l00225"></a><a class="code" href="modules_8cpp.html#ModeMakeList_28char_20modechar_29">00225</a> <span class="keywordtype">void</span> <a class="code" href="modules_8cpp.html#ModeMakeList_28char_20modechar_29">ModeMakeList</a>(<span class="keywordtype">char</span> modechar) +<a name="l00226"></a>00226 { +<a name="l00227"></a>00227 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#ExtModeListIter">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#EMode">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#EMode">EMode</a>.end(); i++) +<a name="l00228"></a>00228 { +<a name="l00229"></a>00229 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == <a class="code" href="modules_8h.html#MT_5FCHANNEL">MT_CHANNEL</a>)) +<a name="l00230"></a>00230 { +<a name="l00231"></a>00231 i->list = <span class="keyword">true</span>; +<a name="l00232"></a>00232 <span class="keywordflow">return</span>; +<a name="l00233"></a>00233 } +<a name="l00234"></a>00234 } +<a name="l00235"></a>00235 <span class="keywordflow">return</span>; +<a name="l00236"></a>00236 } +<a name="l00237"></a>00237 +<a name="l00238"></a>00238 <span class="comment">// version is a simple class for holding a modules version number</span> +<a name="l00239"></a>00239 +<a name="l00240"></a><a class="code" href="classVersion.html#Version_28int_20major_2C_20int_20minor_2C_20int_20revision_2C_20int_20build_2C_20int_20flags_29">00240</a> <a class="code" href="classVersion.html#Version_28int_20major_2C_20int_20minor_2C_20int_20revision_2C_20int_20build_2C_20int_20flags_29">Version::Version</a>(<span class="keywordtype">int</span> major, <span class="keywordtype">int</span> minor, <span class="keywordtype">int</span> revision, <span class="keywordtype">int</span> build, <span class="keywordtype">int</span> flags) : Major(major), Minor(minor), Revision(revision), Build(build), Flags(flags) { }; +<a name="l00241"></a>00241 +<a name="l00242"></a>00242 <span class="comment">// admin is a simple class for holding a server's administrative info</span> <a name="l00243"></a>00243 -<a name="l00244"></a>00244 <span class="comment">// version is a simple class for holding a modules version number</span> +<a name="l00244"></a><a class="code" href="classAdmin.html#Admin_28std_3A_3Astring_20name_2C_20std_3A_3Astring_20email_2C_20std_3A_3Astring_20nick_29">00244</a> <a class="code" href="classAdmin.html#Admin_28std_3A_3Astring_20name_2C_20std_3A_3Astring_20email_2C_20std_3A_3Astring_20nick_29">Admin::Admin</a>(<a class="code" href="namespaceirc.html#string">std::string</a> name, <a class="code" href="namespaceirc.html#string">std::string</a> email, <a class="code" href="namespaceirc.html#string">std::string</a> nick) : Name(name), Email(email), Nick(nick) { }; <a name="l00245"></a>00245 -<a name="l00246"></a><a class="code" href="classVersion.html#Version_28int_20major_2C_20int_20minor_2C_20int_20revision_2C_20int_20build_2C_20int_20flags_29">00246</a> <a class="code" href="classVersion.html#Version_28int_20major_2C_20int_20minor_2C_20int_20revision_2C_20int_20build_2C_20int_20flags_29">Version::Version</a>(<span class="keywordtype">int</span> major, <span class="keywordtype">int</span> minor, <span class="keywordtype">int</span> revision, <span class="keywordtype">int</span> build, <span class="keywordtype">int</span> flags) : Major(major), Minor(minor), Revision(revision), Build(build), Flags(flags) { }; +<a name="l00246"></a><a class="code" href="classRequest.html#Request_28char_20_2Aanydata_2C_20Module_20_2Asrc_2C_20Module_20_2Adst_29">00246</a> <a class="code" href="classRequest.html#Request_28char_20_2Aanydata_2C_20Module_20_2Asrc_2C_20Module_20_2Adst_29">Request::Request</a>(<span class="keywordtype">char</span>* anydata, <a class="code" href="classModule.html">Module</a>* src, <a class="code" href="classModule.html">Module</a>* dst) : data(anydata), source(src), dest(dst) { }; <a name="l00247"></a>00247 -<a name="l00248"></a>00248 <span class="comment">// admin is a simple class for holding a server's administrative info</span> -<a name="l00249"></a>00249 -<a name="l00250"></a><a class="code" href="classAdmin.html#Admin_28std_3A_3Astring_20name_2C_20std_3A_3Astring_20email_2C_20std_3A_3Astring_20nick_29">00250</a> <a class="code" href="classAdmin.html#Admin_28std_3A_3Astring_20name_2C_20std_3A_3Astring_20email_2C_20std_3A_3Astring_20nick_29">Admin::Admin</a>(<a class="code" href="namespaceirc.html#string">std::string</a> name, <a class="code" href="namespaceirc.html#string">std::string</a> email, <a class="code" href="namespaceirc.html#string">std::string</a> nick) : Name(name), Email(email), Nick(nick) { }; -<a name="l00251"></a>00251 -<a name="l00252"></a><a class="code" href="classRequest.html#Request_28char_20_2Aanydata_2C_20Module_20_2Asrc_2C_20Module_20_2Adst_29">00252</a> <a class="code" href="classRequest.html#Request_28char_20_2Aanydata_2C_20Module_20_2Asrc_2C_20Module_20_2Adst_29">Request::Request</a>(<span class="keywordtype">char</span>* anydata, <a class="code" href="classModule.html">Module</a>* src, <a class="code" href="classModule.html">Module</a>* dst) : data(anydata), source(src), dest(dst) { }; -<a name="l00253"></a>00253 -<a name="l00254"></a><a class="code" href="classRequest.html#GetData_28_29">00254</a> <span class="keywordtype">char</span>* <a class="code" href="classRequest.html#GetData_28_29">Request::GetData</a>() -<a name="l00255"></a>00255 { -<a name="l00256"></a>00256 <span class="keywordflow">return</span> this-><a class="code" href="classRequest.html#data">data</a>; -<a name="l00257"></a>00257 } -<a name="l00258"></a>00258 -<a name="l00259"></a><a class="code" href="classRequest.html#GetSource_28_29">00259</a> <a class="code" href="classModule.html">Module</a>* <a class="code" href="classRequest.html#GetSource_28_29">Request::GetSource</a>() -<a name="l00260"></a>00260 { -<a name="l00261"></a>00261 <span class="keywordflow">return</span> this-><a class="code" href="classRequest.html#source">source</a>; -<a name="l00262"></a>00262 } -<a name="l00263"></a>00263 -<a name="l00264"></a><a class="code" href="classRequest.html#GetDest_28_29">00264</a> <a class="code" href="classModule.html">Module</a>* <a class="code" href="classRequest.html#GetDest_28_29">Request::GetDest</a>() -<a name="l00265"></a>00265 { -<a name="l00266"></a>00266 <span class="keywordflow">return</span> this-><a class="code" href="classRequest.html#dest">dest</a>; -<a name="l00267"></a>00267 } -<a name="l00268"></a>00268 -<a name="l00269"></a><a class="code" href="classRequest.html#Send_28_29">00269</a> <span class="keywordtype">char</span>* <a class="code" href="classRequest.html#Send_28_29">Request::Send</a>() -<a name="l00270"></a>00270 { -<a name="l00271"></a>00271 <span class="keywordflow">if</span> (this->dest) -<a name="l00272"></a>00272 { -<a name="l00273"></a>00273 <span class="keywordflow">return</span> <a class="code" href="classRequest.html#dest">dest</a>-><a class="code" href="classModule.html#OnRequest_28Request_20_2Arequest_29">OnRequest</a>(<span class="keyword">this</span>); -<a name="l00274"></a>00274 } -<a name="l00275"></a>00275 <span class="keywordflow">else</span> -<a name="l00276"></a>00276 { -<a name="l00277"></a>00277 <span class="keywordflow">return</span> NULL; -<a name="l00278"></a>00278 } -<a name="l00279"></a>00279 } -<a name="l00280"></a>00280 -<a name="l00281"></a><a class="code" href="classEvent.html#Event_28char_20_2Aanydata_2C_20Module_20_2Asrc_2C_20std_3A_3Astring_20eventid_29">00281</a> <a class="code" href="classEvent.html#Event_28char_20_2Aanydata_2C_20Module_20_2Asrc_2C_20std_3A_3Astring_20eventid_29">Event::Event</a>(<span class="keywordtype">char</span>* anydata, <a class="code" href="classModule.html">Module</a>* src, <a class="code" href="namespaceirc.html#string">std::string</a> eventid) : data(anydata), source(src), id(eventid) { }; -<a name="l00282"></a>00282 -<a name="l00283"></a><a class="code" href="classEvent.html#GetData_28_29">00283</a> <span class="keywordtype">char</span>* <a class="code" href="classEvent.html#GetData_28_29">Event::GetData</a>() -<a name="l00284"></a>00284 { -<a name="l00285"></a>00285 <span class="keywordflow">return</span> this-><a class="code" href="classEvent.html#data">data</a>; -<a name="l00286"></a>00286 } -<a name="l00287"></a>00287 -<a name="l00288"></a><a class="code" href="classEvent.html#GetSource_28_29">00288</a> <a class="code" href="classModule.html">Module</a>* <a class="code" href="classEvent.html#GetSource_28_29">Event::GetSource</a>() -<a name="l00289"></a>00289 { -<a name="l00290"></a>00290 <span class="keywordflow">return</span> this-><a class="code" href="classEvent.html#source">source</a>; +<a name="l00248"></a><a class="code" href="classRequest.html#GetData_28_29">00248</a> <span class="keywordtype">char</span>* <a class="code" href="classRequest.html#GetData_28_29">Request::GetData</a>() +<a name="l00249"></a>00249 { +<a name="l00250"></a>00250 <span class="keywordflow">return</span> this-><a class="code" href="classRequest.html#data">data</a>; +<a name="l00251"></a>00251 } +<a name="l00252"></a>00252 +<a name="l00253"></a><a class="code" href="classRequest.html#GetSource_28_29">00253</a> <a class="code" href="classModule.html">Module</a>* <a class="code" href="classRequest.html#GetSource_28_29">Request::GetSource</a>() +<a name="l00254"></a>00254 { +<a name="l00255"></a>00255 <span class="keywordflow">return</span> this-><a class="code" href="classRequest.html#source">source</a>; +<a name="l00256"></a>00256 } +<a name="l00257"></a>00257 +<a name="l00258"></a><a class="code" href="classRequest.html#GetDest_28_29">00258</a> <a class="code" href="classModule.html">Module</a>* <a class="code" href="classRequest.html#GetDest_28_29">Request::GetDest</a>() +<a name="l00259"></a>00259 { +<a name="l00260"></a>00260 <span class="keywordflow">return</span> this-><a class="code" href="classRequest.html#dest">dest</a>; +<a name="l00261"></a>00261 } +<a name="l00262"></a>00262 +<a name="l00263"></a><a class="code" href="classRequest.html#Send_28_29">00263</a> <span class="keywordtype">char</span>* <a class="code" href="classRequest.html#Send_28_29">Request::Send</a>() +<a name="l00264"></a>00264 { +<a name="l00265"></a>00265 <span class="keywordflow">if</span> (this->dest) +<a name="l00266"></a>00266 { +<a name="l00267"></a>00267 <span class="keywordflow">return</span> <a class="code" href="classRequest.html#dest">dest</a>-><a class="code" href="classModule.html#OnRequest_28Request_20_2Arequest_29">OnRequest</a>(<span class="keyword">this</span>); +<a name="l00268"></a>00268 } +<a name="l00269"></a>00269 <span class="keywordflow">else</span> +<a name="l00270"></a>00270 { +<a name="l00271"></a>00271 <span class="keywordflow">return</span> NULL; +<a name="l00272"></a>00272 } +<a name="l00273"></a>00273 } +<a name="l00274"></a>00274 +<a name="l00275"></a><a class="code" href="classEvent.html#Event_28char_20_2Aanydata_2C_20Module_20_2Asrc_2C_20std_3A_3Astring_20eventid_29">00275</a> <a class="code" href="classEvent.html#Event_28char_20_2Aanydata_2C_20Module_20_2Asrc_2C_20std_3A_3Astring_20eventid_29">Event::Event</a>(<span class="keywordtype">char</span>* anydata, <a class="code" href="classModule.html">Module</a>* src, <a class="code" href="namespaceirc.html#string">std::string</a> eventid) : data(anydata), source(src), id(eventid) { }; +<a name="l00276"></a>00276 +<a name="l00277"></a><a class="code" href="classEvent.html#GetData_28_29">00277</a> <span class="keywordtype">char</span>* <a class="code" href="classEvent.html#GetData_28_29">Event::GetData</a>() +<a name="l00278"></a>00278 { +<a name="l00279"></a>00279 <span class="keywordflow">return</span> this-><a class="code" href="classEvent.html#data">data</a>; +<a name="l00280"></a>00280 } +<a name="l00281"></a>00281 +<a name="l00282"></a><a class="code" href="classEvent.html#GetSource_28_29">00282</a> <a class="code" href="classModule.html">Module</a>* <a class="code" href="classEvent.html#GetSource_28_29">Event::GetSource</a>() +<a name="l00283"></a>00283 { +<a name="l00284"></a>00284 <span class="keywordflow">return</span> this-><a class="code" href="classEvent.html#source">source</a>; +<a name="l00285"></a>00285 } +<a name="l00286"></a>00286 +<a name="l00287"></a><a class="code" href="classEvent.html#Send_28_29">00287</a> <span class="keywordtype">char</span>* <a class="code" href="classEvent.html#Send_28_29">Event::Send</a>() +<a name="l00288"></a>00288 { +<a name="l00289"></a>00289 <a class="code" href="modules_8h.html#FOREACH_5FMOD">FOREACH_MOD</a> OnEvent(<span class="keyword">this</span>); +<a name="l00290"></a>00290 <span class="keywordflow">return</span> NULL; <a name="l00291"></a>00291 } <a name="l00292"></a>00292 -<a name="l00293"></a><a class="code" href="classEvent.html#Send_28_29">00293</a> <span class="keywordtype">char</span>* <a class="code" href="classEvent.html#Send_28_29">Event::Send</a>() +<a name="l00293"></a><a class="code" href="classEvent.html#GetEventID_28_29">00293</a> <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classEvent.html#GetEventID_28_29">Event::GetEventID</a>() <a name="l00294"></a>00294 { -<a name="l00295"></a>00295 <a class="code" href="modules_8h.html#FOREACH_5FMOD">FOREACH_MOD</a> OnEvent(<span class="keyword">this</span>); -<a name="l00296"></a>00296 <span class="keywordflow">return</span> NULL; -<a name="l00297"></a>00297 } +<a name="l00295"></a>00295 <span class="keywordflow">return</span> this-><a class="code" href="classEvent.html#id">id</a>; +<a name="l00296"></a>00296 } +<a name="l00297"></a>00297 <a name="l00298"></a>00298 -<a name="l00299"></a><a class="code" href="classEvent.html#GetEventID_28_29">00299</a> <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classEvent.html#GetEventID_28_29">Event::GetEventID</a>() -<a name="l00300"></a>00300 { -<a name="l00301"></a>00301 <span class="keywordflow">return</span> this-><a class="code" href="classEvent.html#id">id</a>; -<a name="l00302"></a>00302 } -<a name="l00303"></a>00303 -<a name="l00304"></a>00304 -<a name="l00305"></a>00305 <span class="comment">// These declarations define the behavours of the base class Module (which does nothing at all)</span> -<a name="l00306"></a>00306 -<a name="l00307"></a><a class="code" href="classModule.html#Module_28Server_20_2AMe_29">00307</a> <a class="code" href="classModule.html#Module_28Server_20_2AMe_29">Module::Module</a>(<a class="code" href="classServer.html">Server</a>* Me) { } -<a name="l00308"></a><a class="code" href="classModule.html#_7EModule_28_29">00308</a> <a class="code" href="classModule.html#_7EModule_28_29">Module::~Module</a>() { } -<a name="l00309"></a><a class="code" href="classModule.html#OnUserConnect_28userrec_20_2Auser_29">00309</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserConnect_28userrec_20_2Auser_29">Module::OnUserConnect</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { } -<a name="l00310"></a><a class="code" href="classModule.html#OnUserQuit_28userrec_20_2Auser_2C_20std_3A_3Astring_20message_29">00310</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserQuit_28userrec_20_2Auser_2C_20std_3A_3Astring_20message_29">Module::OnUserQuit</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> message) { } -<a name="l00311"></a><a class="code" href="classModule.html#OnUserDisconnect_28userrec_20_2Auser_29">00311</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserDisconnect_28userrec_20_2Auser_29">Module::OnUserDisconnect</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { } -<a name="l00312"></a><a class="code" href="classModule.html#OnUserJoin_28userrec_20_2Auser_2C_20chanrec_20_2Achannel_29">00312</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserJoin_28userrec_20_2Auser_2C_20chanrec_20_2Achannel_29">Module::OnUserJoin</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* channel) { } -<a name="l00313"></a><a class="code" href="classModule.html#OnUserPart_28userrec_20_2Auser_2C_20chanrec_20_2Achannel_29">00313</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserPart_28userrec_20_2Auser_2C_20chanrec_20_2Achannel_29">Module::OnUserPart</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* channel) { } -<a name="l00314"></a>00314 <span class="keywordtype">void</span> Module::OnPacketTransmit(<a class="code" href="namespaceirc.html#string">std::string</a> &data, <a class="code" href="namespaceirc.html#string">std::string</a> serv) { } -<a name="l00315"></a>00315 <span class="keywordtype">void</span> Module::OnPacketReceive(<a class="code" href="namespaceirc.html#string">std::string</a> &data, <a class="code" href="namespaceirc.html#string">std::string</a> serv) { } -<a name="l00316"></a><a class="code" href="classModule.html#OnRehash_28std_3A_3Astring_20parameter_29">00316</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnRehash_28std_3A_3Astring_20parameter_29">Module::OnRehash</a>(<a class="code" href="namespaceirc.html#string">std::string</a> parameter) { } -<a name="l00317"></a><a class="code" href="classModule.html#OnServerRaw_28std_3A_3Astring_20_26raw_2C_20bool_20inbound_2C_20userrec_20_2Auser_29">00317</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnServerRaw_28std_3A_3Astring_20_26raw_2C_20bool_20inbound_2C_20userrec_20_2Auser_29">Module::OnServerRaw</a>(<a class="code" href="namespaceirc.html#string">std::string</a> &raw, <span class="keywordtype">bool</span> inbound, <a class="code" href="classuserrec.html">userrec</a>* user) { } -<a name="l00318"></a><a class="code" href="classModule.html#OnUserPreJoin_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20const_20char_20_2Acname_29">00318</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnUserPreJoin_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20const_20char_20_2Acname_29">Module::OnUserPreJoin</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan, <span class="keyword">const</span> <span class="keywordtype">char</span>* cname) { <span class="keywordflow">return</span> 0; } -<a name="l00319"></a><a class="code" href="classModule.html#OnExtendedMode_28userrec_20_2Auser_2C_20void_20_2Atarget_2C_20char_20modechar_2C_20int_20type_2C_20bool_20mode_5Fon_2C_20string_5Flist_20_26params_29">00319</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnExtendedMode_28userrec_20_2Auser_2C_20void_20_2Atarget_2C_20char_20modechar_2C_20int_20type_2C_20bool_20mode_5Fon_2C_20string_5Flist_20_26params_29">Module::OnExtendedMode</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <span class="keywordtype">void</span>* target, <span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type, <span class="keywordtype">bool</span> mode_on, <a class="code" href="modules_8h.html#string_5Flist">string_list</a> &params) { <span class="keywordflow">return</span> <span class="keyword">false</span>; } -<a name="l00320"></a><a class="code" href="classModule.html#OnMode_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20text_29">00320</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnMode_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20text_29">Module::OnMode</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <span class="keywordtype">void</span>* dest, <span class="keywordtype">int</span> target_type, <a class="code" href="namespaceirc.html#string">std::string</a> text) { }; -<a name="l00321"></a><a class="code" href="classModule.html#GetVersion_28_29">00321</a> <a class="code" href="classVersion.html">Version</a> <a class="code" href="classModule.html#GetVersion_28_29">Module::GetVersion</a>() { <span class="keywordflow">return</span> <a class="code" href="classVersion.html">Version</a>(1,0,0,0,<a class="code" href="modules_8h.html#VF_5FVENDOR">VF_VENDOR</a>); } -<a name="l00322"></a><a class="code" href="classModule.html#OnOper_28userrec_20_2Auser_2C_20std_3A_3Astring_20opertype_29">00322</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnOper_28userrec_20_2Auser_2C_20std_3A_3Astring_20opertype_29">Module::OnOper</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> opertype) { }; -<a name="l00323"></a><a class="code" href="classModule.html#OnInfo_28userrec_20_2Auser_29">00323</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnInfo_28userrec_20_2Auser_29">Module::OnInfo</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { }; -<a name="l00324"></a><a class="code" href="classModule.html#OnWhois_28userrec_20_2Asource_2C_20userrec_20_2Adest_29">00324</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnWhois_28userrec_20_2Asource_2C_20userrec_20_2Adest_29">Module::OnWhois</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classuserrec.html">userrec</a>* dest) { }; -<a name="l00325"></a><a class="code" href="classModule.html#OnUserPreInvite_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20chanrec_20_2Achannel_29">00325</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnUserPreInvite_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20chanrec_20_2Achannel_29">Module::OnUserPreInvite</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="keywordflow">return</span> 0; }; -<a name="l00326"></a><a class="code" href="classModule.html#OnUserPreMessage_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20_26text_29">00326</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnUserPreMessage_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20_26text_29">Module::OnUserPreMessage</a>(<a class="code" href="classuserrec.html">userrec</a>* user,<span class="keywordtype">void</span>* dest,<span class="keywordtype">int</span> target_type, <a class="code" href="namespaceirc.html#string">std::string</a> &text) { <span class="keywordflow">return</span> 0; }; -<a name="l00327"></a><a class="code" href="classModule.html#OnUserPreNotice_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20_26text_29">00327</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnUserPreNotice_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20_26text_29">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, <a class="code" href="namespaceirc.html#string">std::string</a> &text) { <span class="keywordflow">return</span> 0; }; -<a name="l00328"></a><a class="code" href="classModule.html#OnUserPreNick_28userrec_20_2Auser_2C_20std_3A_3Astring_20newnick_29">00328</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnUserPreNick_28userrec_20_2Auser_2C_20std_3A_3Astring_20newnick_29">Module::OnUserPreNick</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> newnick) { <span class="keywordflow">return</span> 0; }; -<a name="l00329"></a><a class="code" href="classModule.html#OnUserPostNick_28userrec_20_2Auser_2C_20std_3A_3Astring_20oldnick_29">00329</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserPostNick_28userrec_20_2Auser_2C_20std_3A_3Astring_20oldnick_29">Module::OnUserPostNick</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> oldnick) { }; -<a name="l00330"></a><a class="code" href="classModule.html#OnAccessCheck_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20chanrec_20_2Achannel_2C_20int_20access_5Ftype_29">00330</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnAccessCheck_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20chanrec_20_2Achannel_2C_20int_20access_5Ftype_29">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#ACR_5FDEFAULT">ACR_DEFAULT</a>; }; -<a name="l00331"></a><a class="code" href="classModule.html#On_30_30_35Numeric_28std_3A_3Astring_20_26output_29">00331</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#On_30_30_35Numeric_28std_3A_3Astring_20_26output_29">Module::On005Numeric</a>(<a class="code" href="namespaceirc.html#string">std::string</a> &output) { }; -<a name="l00332"></a><a class="code" href="classModule.html#OnKill_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20std_3A_3Astring_20reason_29">00332</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnKill_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20std_3A_3Astring_20reason_29">Module::OnKill</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classuserrec.html">userrec</a>* dest, <a class="code" href="namespaceirc.html#string">std::string</a> reason) { <span class="keywordflow">return</span> 0; }; -<a name="l00333"></a><a class="code" href="classModule.html#OnLoadModule_28Module_20_2Amod_2C_20std_3A_3Astring_20name_29">00333</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnLoadModule_28Module_20_2Amod_2C_20std_3A_3Astring_20name_29">Module::OnLoadModule</a>(<a class="code" href="classModule.html">Module</a>* mod,<a class="code" href="namespaceirc.html#string">std::string</a> name) { }; -<a name="l00334"></a><a class="code" href="classModule.html#OnUnloadModule_28Module_20_2Amod_2C_20std_3A_3Astring_20name_29">00334</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUnloadModule_28Module_20_2Amod_2C_20std_3A_3Astring_20name_29">Module::OnUnloadModule</a>(<a class="code" href="classModule.html">Module</a>* mod,<a class="code" href="namespaceirc.html#string">std::string</a> name) { }; -<a name="l00335"></a><a class="code" href="classModule.html#OnBackgroundTimer_28time_5Ft_20curtime_29">00335</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnBackgroundTimer_28time_5Ft_20curtime_29">Module::OnBackgroundTimer</a>(time_t curtime) { }; -<a name="l00336"></a><a class="code" href="classModule.html#OnSendList_28userrec_20_2Auser_2C_20chanrec_20_2Achannel_2C_20char_20mode_29">00336</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnSendList_28userrec_20_2Auser_2C_20chanrec_20_2Achannel_2C_20char_20mode_29">Module::OnSendList</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* channel, <span class="keywordtype">char</span> mode) { }; -<a name="l00337"></a><a class="code" href="classModule.html#OnPreCommand_28std_3A_3Astring_20command_2C_20char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">00337</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnPreCommand_28std_3A_3Astring_20command_2C_20char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">Module::OnPreCommand</a>(<a class="code" href="namespaceirc.html#string">std::string</a> command, <span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user) { <span class="keywordflow">return</span> 0; }; -<a name="l00338"></a><a class="code" href="classModule.html#OnCheckReady_28userrec_20_2Auser_29">00338</a> <span class="keywordtype">bool</span> <a class="code" href="classModule.html#OnCheckReady_28userrec_20_2Auser_29">Module::OnCheckReady</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { <span class="keywordflow">return</span> <span class="keyword">true</span>; }; -<a name="l00339"></a><a class="code" href="classModule.html#OnUserRegister_28userrec_20_2Auser_29">00339</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserRegister_28userrec_20_2Auser_29">Module::OnUserRegister</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { }; -<a name="l00340"></a><a class="code" href="classModule.html#OnUserPreKick_28userrec_20_2Asource_2C_20userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20reason_29">00340</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnUserPreKick_28userrec_20_2Asource_2C_20userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20reason_29">Module::OnUserPreKick</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan, <a class="code" href="namespaceirc.html#string">std::string</a> reason) { <span class="keywordflow">return</span> 0; }; -<a name="l00341"></a><a class="code" href="classModule.html#OnUserKick_28userrec_20_2Asource_2C_20userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20reason_29">00341</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserKick_28userrec_20_2Asource_2C_20userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20reason_29">Module::OnUserKick</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan, <a class="code" href="namespaceirc.html#string">std::string</a> reason) { }; -<a name="l00342"></a><a class="code" href="classModule.html#OnRawMode_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20char_20mode_2C_20std_3A_3Astring_20param_2C_20bool_20adding_2C_20int_20pcnt_29">00342</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnRawMode_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20char_20mode_2C_20std_3A_3Astring_20param_2C_20bool_20adding_2C_20int_20pcnt_29">Module::OnRawMode</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan, <span class="keywordtype">char</span> mode, <a class="code" href="namespaceirc.html#string">std::string</a> param, <span class="keywordtype">bool</span> adding, <span class="keywordtype">int</span> pcnt) { <span class="keywordflow">return</span> 0; }; -<a name="l00343"></a><a class="code" href="classModule.html#OnCheckInvite_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">00343</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnCheckInvite_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">Module::OnCheckInvite</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan) { <span class="keywordflow">return</span> 0; }; -<a name="l00344"></a><a class="code" href="classModule.html#OnCheckKey_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20keygiven_29">00344</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnCheckKey_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20keygiven_29">Module::OnCheckKey</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan, <a class="code" href="namespaceirc.html#string">std::string</a> keygiven) { <span class="keywordflow">return</span> 0; }; -<a name="l00345"></a><a class="code" href="classModule.html#OnCheckLimit_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">00345</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnCheckLimit_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">Module::OnCheckLimit</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan) { <span class="keywordflow">return</span> 0; }; -<a name="l00346"></a><a class="code" href="classModule.html#OnCheckBan_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">00346</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnCheckBan_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">Module::OnCheckBan</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan) { <span class="keywordflow">return</span> 0; }; -<a name="l00347"></a><a class="code" href="classModule.html#OnStats_28char_20symbol_29">00347</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnStats_28char_20symbol_29">Module::OnStats</a>(<span class="keywordtype">char</span> symbol) { }; -<a name="l00348"></a><a class="code" href="classModule.html#OnChangeLocalUserHost_28userrec_20_2Auser_2C_20std_3A_3Astring_20newhost_29">00348</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnChangeLocalUserHost_28userrec_20_2Auser_2C_20std_3A_3Astring_20newhost_29">Module::OnChangeLocalUserHost</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> newhost) { <span class="keywordflow">return</span> 0; }; -<a name="l00349"></a><a class="code" href="classModule.html#OnChangeLocalUserGECOS_28userrec_20_2Auser_2C_20std_3A_3Astring_20newhost_29">00349</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnChangeLocalUserGECOS_28userrec_20_2Auser_2C_20std_3A_3Astring_20newhost_29">Module::OnChangeLocalUserGECOS</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> newhost) { <span class="keywordflow">return</span> 0; }; -<a name="l00350"></a><a class="code" href="classModule.html#OnLocalTopicChange_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20topic_29">00350</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnLocalTopicChange_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20topic_29">Module::OnLocalTopicChange</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan, <a class="code" href="namespaceirc.html#string">std::string</a> topic) { <span class="keywordflow">return</span> 0; }; -<a name="l00351"></a><a class="code" href="classModule.html#OnEvent_28Event_20_2Aevent_29">00351</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnEvent_28Event_20_2Aevent_29">Module::OnEvent</a>(<a class="code" href="classEvent.html">Event</a>* event) { <span class="keywordflow">return</span>; }; -<a name="l00352"></a><a class="code" href="classModule.html#OnRequest_28Request_20_2Arequest_29">00352</a> <span class="keywordtype">char</span>* <a class="code" href="classModule.html#OnRequest_28Request_20_2Arequest_29">Module::OnRequest</a>(<a class="code" href="classRequest.html">Request</a>* request) { <span class="keywordflow">return</span> NULL; }; -<a name="l00353"></a><a class="code" href="classModule.html#OnOperCompare_28std_3A_3Astring_20password_2C_20std_3A_3Astring_20input_29">00353</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnOperCompare_28std_3A_3Astring_20password_2C_20std_3A_3Astring_20input_29">Module::OnOperCompare</a>(<a class="code" href="namespaceirc.html#string">std::string</a> password, <a class="code" href="namespaceirc.html#string">std::string</a> input) { <span class="keywordflow">return</span> 0; }; -<a name="l00354"></a><a class="code" href="classModule.html#OnGlobalOper_28userrec_20_2Auser_29">00354</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnGlobalOper_28userrec_20_2Auser_29">Module::OnGlobalOper</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { }; -<a name="l00355"></a><a class="code" href="classModule.html#OnGlobalConnect_28userrec_20_2Auser_29">00355</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnGlobalConnect_28userrec_20_2Auser_29">Module::OnGlobalConnect</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { }; -<a name="l00356"></a><a class="code" href="classModule.html#OnAddBan_28userrec_20_2Asource_2C_20chanrec_20_2Achannel_2C_20std_3A_3Astring_20banmask_29">00356</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnAddBan_28userrec_20_2Asource_2C_20chanrec_20_2Achannel_2C_20std_3A_3Astring_20banmask_29">Module::OnAddBan</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classchanrec.html">chanrec</a>* channel,<a class="code" href="namespaceirc.html#string">std::string</a> banmask) { <span class="keywordflow">return</span> 0; }; -<a name="l00357"></a><a class="code" href="classModule.html#OnDelBan_28userrec_20_2Asource_2C_20chanrec_20_2Achannel_2C_20std_3A_3Astring_20banmask_29">00357</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnDelBan_28userrec_20_2Asource_2C_20chanrec_20_2Achannel_2C_20std_3A_3Astring_20banmask_29">Module::OnDelBan</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classchanrec.html">chanrec</a>* channel,<a class="code" href="namespaceirc.html#string">std::string</a> banmask) { <span class="keywordflow">return</span> 0; }; -<a name="l00358"></a><a class="code" href="classModule.html#OnRawSocketAccept_28int_20fd_2C_20std_3A_3Astring_20ip_2C_20int_20localport_29">00358</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnRawSocketAccept_28int_20fd_2C_20std_3A_3Astring_20ip_2C_20int_20localport_29">Module::OnRawSocketAccept</a>(<span class="keywordtype">int</span> fd, <a class="code" href="namespaceirc.html#string">std::string</a> ip, <span class="keywordtype">int</span> localport) { }; -<a name="l00359"></a><a class="code" href="classModule.html#OnRawSocketWrite_28int_20fd_2C_20char_20_2Abuffer_2C_20int_20count_29">00359</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnRawSocketWrite_28int_20fd_2C_20char_20_2Abuffer_2C_20int_20count_29">Module::OnRawSocketWrite</a>(<span class="keywordtype">int</span> fd, <span class="keywordtype">char</span>* buffer, <span class="keywordtype">int</span> count) { <span class="keywordflow">return</span> 0; }; -<a name="l00360"></a><a class="code" href="classModule.html#OnRawSocketClose_28int_20fd_29">00360</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnRawSocketClose_28int_20fd_29">Module::OnRawSocketClose</a>(<span class="keywordtype">int</span> fd) { }; -<a name="l00361"></a><a class="code" href="classModule.html#OnRawSocketRead_28int_20fd_2C_20char_20_2Abuffer_2C_20unsigned_20int_20count_2C_20int_20_26readresult_29">00361</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnRawSocketRead_28int_20fd_2C_20char_20_2Abuffer_2C_20unsigned_20int_20count_2C_20int_20_26readresult_29">Module::OnRawSocketRead</a>(<span class="keywordtype">int</span> fd, <span class="keywordtype">char</span>* buffer, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> count, <span class="keywordtype">int</span> &readresult) { <span class="keywordflow">return</span> 0; }; -<a name="l00362"></a><a class="code" href="classModule.html#OnUserMessage_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20text_29">00362</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserMessage_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20text_29">Module::OnUserMessage</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <span class="keywordtype">void</span>* dest, <span class="keywordtype">int</span> target_type, <a class="code" href="namespaceirc.html#string">std::string</a> text) { }; -<a name="l00363"></a><a class="code" href="classModule.html#OnUserNotice_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20text_29">00363</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserNotice_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20text_29">Module::OnUserNotice</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <span class="keywordtype">void</span>* dest, <span class="keywordtype">int</span> target_type, <a class="code" href="namespaceirc.html#string">std::string</a> text) { }; -<a name="l00364"></a><a class="code" href="classModule.html#OnRemoteKill_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20std_3A_3Astring_20reason_29">00364</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnRemoteKill_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20std_3A_3Astring_20reason_29">Module::OnRemoteKill</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classuserrec.html">userrec</a>* dest, <a class="code" href="namespaceirc.html#string">std::string</a> reason) { }; -<a name="l00365"></a><a class="code" href="classModule.html#OnUserInvite_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20chanrec_20_2Achannel_29">00365</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserInvite_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20chanrec_20_2Achannel_29">Module::OnUserInvite</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) { }; -<a name="l00366"></a><a class="code" href="classModule.html#OnPostLocalTopicChange_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20topic_29">00366</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnPostLocalTopicChange_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20topic_29">Module::OnPostLocalTopicChange</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan, <a class="code" href="namespaceirc.html#string">std::string</a> topic) { }; -<a name="l00367"></a><a class="code" href="classModule.html#OnGetServerDescription_28std_3A_3Astring_20servername_2C_20std_3A_3Astring_20_26description_29">00367</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnGetServerDescription_28std_3A_3Astring_20servername_2C_20std_3A_3Astring_20_26description_29">Module::OnGetServerDescription</a>(<a class="code" href="namespaceirc.html#string">std::string</a> servername,<a class="code" href="namespaceirc.html#string">std::string</a> &description) { }; -<a name="l00368"></a><a class="code" href="classModule.html#OnSyncUser_28userrec_20_2Auser_2C_20Module_20_2Aproto_2C_20void_20_2Aopaque_29">00368</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnSyncUser_28userrec_20_2Auser_2C_20Module_20_2Aproto_2C_20void_20_2Aopaque_29">Module::OnSyncUser</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classModule.html">Module</a>* proto, <span class="keywordtype">void</span>* opaque) { }; -<a name="l00369"></a><a class="code" href="classModule.html#OnSyncChannel_28chanrec_20_2Achan_2C_20Module_20_2Aproto_2C_20void_20_2Aopaque_29">00369</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnSyncChannel_28chanrec_20_2Achan_2C_20Module_20_2Aproto_2C_20void_20_2Aopaque_29">Module::OnSyncChannel</a>(<a class="code" href="classchanrec.html">chanrec</a>* chan, <a class="code" href="classModule.html">Module</a>* proto, <span class="keywordtype">void</span>* opaque) { }; -<a name="l00370"></a><a class="code" href="classModule.html#ProtoSendMode_28void_20_2Aopaque_2C_20int_20target_5Ftype_2C_20void_20_2Atarget_2C_20std_3A_3Astring_20modeline_29">00370</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#ProtoSendMode_28void_20_2Aopaque_2C_20int_20target_5Ftype_2C_20void_20_2Atarget_2C_20std_3A_3Astring_20modeline_29">Module::ProtoSendMode</a>(<span class="keywordtype">void</span>* opaque, <span class="keywordtype">int</span> target_type, <span class="keywordtype">void</span>* target, <a class="code" href="namespaceirc.html#string">std::string</a> modeline) { }; -<a name="l00371"></a><a class="code" href="classModule.html#OnSyncChannelMetaData_28chanrec_20_2Achan_2C_20Module_20_2Aproto_2C_20void_20_2Aopaque_2C_20std_3A_3Astring_20extname_29">00371</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnSyncChannelMetaData_28chanrec_20_2Achan_2C_20Module_20_2Aproto_2C_20void_20_2Aopaque_2C_20std_3A_3Astring_20extname_29">Module::OnSyncChannelMetaData</a>(<a class="code" href="classchanrec.html">chanrec</a>* chan, <a class="code" href="classModule.html">Module</a>* proto,<span class="keywordtype">void</span>* opaque, <a class="code" href="namespaceirc.html#string">std::string</a> extname) { }; -<a name="l00372"></a><a class="code" href="classModule.html#OnSyncUserMetaData_28userrec_20_2Auser_2C_20Module_20_2Aproto_2C_20void_20_2Aopaque_2C_20std_3A_3Astring_20extname_29">00372</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnSyncUserMetaData_28userrec_20_2Auser_2C_20Module_20_2Aproto_2C_20void_20_2Aopaque_2C_20std_3A_3Astring_20extname_29">Module::OnSyncUserMetaData</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classModule.html">Module</a>* proto,<span class="keywordtype">void</span>* opaque, <a class="code" href="namespaceirc.html#string">std::string</a> extname) { }; -<a name="l00373"></a><a class="code" href="classModule.html#OnDecodeMetaData_28int_20target_5Ftype_2C_20void_20_2Atarget_2C_20std_3A_3Astring_20extname_2C_20std_3A_3Astring_20extdata_29">00373</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnDecodeMetaData_28int_20target_5Ftype_2C_20void_20_2Atarget_2C_20std_3A_3Astring_20extname_2C_20std_3A_3Astring_20extdata_29">Module::OnDecodeMetaData</a>(<span class="keywordtype">int</span> target_type, <span class="keywordtype">void</span>* target, <a class="code" href="namespaceirc.html#string">std::string</a> extname, <a class="code" href="namespaceirc.html#string">std::string</a> extdata) { }; -<a name="l00374"></a><a class="code" href="classModule.html#ProtoSendMetaData_28void_20_2Aopaque_2C_20int_20target_5Ftype_2C_20void_20_2Atarget_2C_20std_3A_3Astring_20extname_2C_20std_3A_3Astring_20extdata_29">00374</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#ProtoSendMetaData_28void_20_2Aopaque_2C_20int_20target_5Ftype_2C_20void_20_2Atarget_2C_20std_3A_3Astring_20extname_2C_20std_3A_3Astring_20extdata_29">Module::ProtoSendMetaData</a>(<span class="keywordtype">void</span>* opaque, <span class="keywordtype">int</span> target_type, <span class="keywordtype">void</span>* target, <a class="code" href="namespaceirc.html#string">std::string</a> extname, <a class="code" href="namespaceirc.html#string">std::string</a> extdata) { }; -<a name="l00375"></a><a class="code" href="classModule.html#OnWallops_28userrec_20_2Auser_2C_20std_3A_3Astring_20text_29">00375</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnWallops_28userrec_20_2Auser_2C_20std_3A_3Astring_20text_29">Module::OnWallops</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> text) { }; -<a name="l00376"></a><a class="code" href="classModule.html#OnChangeHost_28userrec_20_2Auser_2C_20std_3A_3Astring_20newhost_29">00376</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnChangeHost_28userrec_20_2Auser_2C_20std_3A_3Astring_20newhost_29">Module::OnChangeHost</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> newhost) { }; -<a name="l00377"></a><a class="code" href="classModule.html#OnChangeName_28userrec_20_2Auser_2C_20std_3A_3Astring_20gecos_29">00377</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnChangeName_28userrec_20_2Auser_2C_20std_3A_3Astring_20gecos_29">Module::OnChangeName</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> gecos) { }; -<a name="l00378"></a><a class="code" href="classModule.html#OnAddGLine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">00378</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnAddGLine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">Module::OnAddGLine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, <a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="namespaceirc.html#string">std::string</a> reason, <a class="code" href="namespaceirc.html#string">std::string</a> hostmask) { }; -<a name="l00379"></a><a class="code" href="classModule.html#OnAddZLine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20ipmask_29">00379</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnAddZLine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20ipmask_29">Module::OnAddZLine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, <a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="namespaceirc.html#string">std::string</a> reason, <a class="code" href="namespaceirc.html#string">std::string</a> ipmask) { }; -<a name="l00380"></a><a class="code" href="classModule.html#OnAddKLine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">00380</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnAddKLine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">Module::OnAddKLine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, <a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="namespaceirc.html#string">std::string</a> reason, <a class="code" href="namespaceirc.html#string">std::string</a> hostmask) { }; -<a name="l00381"></a><a class="code" href="classModule.html#OnAddQLine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20nickmask_29">00381</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnAddQLine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20nickmask_29">Module::OnAddQLine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, <a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="namespaceirc.html#string">std::string</a> reason, <a class="code" href="namespaceirc.html#string">std::string</a> nickmask) { }; -<a name="l00382"></a><a class="code" href="classModule.html#OnAddELine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">00382</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnAddELine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">Module::OnAddELine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, <a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="namespaceirc.html#string">std::string</a> reason, <a class="code" href="namespaceirc.html#string">std::string</a> hostmask) { }; -<a name="l00383"></a><a class="code" href="classModule.html#OnDelGLine_28userrec_20_2Asource_2C_20std_3A_3Astring_20hostmask_29">00383</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnDelGLine_28userrec_20_2Asource_2C_20std_3A_3Astring_20hostmask_29">Module::OnDelGLine</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="namespaceirc.html#string">std::string</a> hostmask) { }; -<a name="l00384"></a><a class="code" href="classModule.html#OnDelZLine_28userrec_20_2Asource_2C_20std_3A_3Astring_20ipmask_29">00384</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnDelZLine_28userrec_20_2Asource_2C_20std_3A_3Astring_20ipmask_29">Module::OnDelZLine</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="namespaceirc.html#string">std::string</a> ipmask) { }; -<a name="l00385"></a><a class="code" href="classModule.html#OnDelKLine_28userrec_20_2Asource_2C_20std_3A_3Astring_20hostmask_29">00385</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnDelKLine_28userrec_20_2Asource_2C_20std_3A_3Astring_20hostmask_29">Module::OnDelKLine</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="namespaceirc.html#string">std::string</a> hostmask) { }; -<a name="l00386"></a><a class="code" href="classModule.html#OnDelQLine_28userrec_20_2Asource_2C_20std_3A_3Astring_20nickmask_29">00386</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnDelQLine_28userrec_20_2Asource_2C_20std_3A_3Astring_20nickmask_29">Module::OnDelQLine</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="namespaceirc.html#string">std::string</a> nickmask) { }; -<a name="l00387"></a><a class="code" href="classModule.html#OnDelELine_28userrec_20_2Asource_2C_20std_3A_3Astring_20hostmask_29">00387</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnDelELine_28userrec_20_2Asource_2C_20std_3A_3Astring_20hostmask_29">Module::OnDelELine</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="namespaceirc.html#string">std::string</a> hostmask) { }; -<a name="l00388"></a><a class="code" href="classModule.html#OnCleanup_28int_20target_5Ftype_2C_20void_20_2Aitem_29">00388</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnCleanup_28int_20target_5Ftype_2C_20void_20_2Aitem_29">Module::OnCleanup</a>(<span class="keywordtype">int</span> target_type, <span class="keywordtype">void</span>* item) { }; +<a name="l00299"></a>00299 <span class="comment">// These declarations define the behavours of the base class Module (which does nothing at all)</span> +<a name="l00300"></a>00300 +<a name="l00301"></a><a class="code" href="classModule.html#Module_28Server_20_2AMe_29">00301</a> <a class="code" href="classModule.html#Module_28Server_20_2AMe_29">Module::Module</a>(<a class="code" href="classServer.html">Server</a>* Me) { } +<a name="l00302"></a><a class="code" href="classModule.html#_7EModule_28_29">00302</a> <a class="code" href="classModule.html#_7EModule_28_29">Module::~Module</a>() { } +<a name="l00303"></a><a class="code" href="classModule.html#OnUserConnect_28userrec_20_2Auser_29">00303</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserConnect_28userrec_20_2Auser_29">Module::OnUserConnect</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { } +<a name="l00304"></a><a class="code" href="classModule.html#OnUserQuit_28userrec_20_2Auser_2C_20std_3A_3Astring_20message_29">00304</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserQuit_28userrec_20_2Auser_2C_20std_3A_3Astring_20message_29">Module::OnUserQuit</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> message) { } +<a name="l00305"></a><a class="code" href="classModule.html#OnUserDisconnect_28userrec_20_2Auser_29">00305</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserDisconnect_28userrec_20_2Auser_29">Module::OnUserDisconnect</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { } +<a name="l00306"></a><a class="code" href="classModule.html#OnUserJoin_28userrec_20_2Auser_2C_20chanrec_20_2Achannel_29">00306</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserJoin_28userrec_20_2Auser_2C_20chanrec_20_2Achannel_29">Module::OnUserJoin</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* channel) { } +<a name="l00307"></a><a class="code" href="classModule.html#OnUserPart_28userrec_20_2Auser_2C_20chanrec_20_2Achannel_29">00307</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserPart_28userrec_20_2Auser_2C_20chanrec_20_2Achannel_29">Module::OnUserPart</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* channel) { } +<a name="l00308"></a><a class="code" href="classModule.html#OnRehash_28std_3A_3Astring_20parameter_29">00308</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnRehash_28std_3A_3Astring_20parameter_29">Module::OnRehash</a>(<a class="code" href="namespaceirc.html#string">std::string</a> parameter) { } +<a name="l00309"></a><a class="code" href="classModule.html#OnServerRaw_28std_3A_3Astring_20_26raw_2C_20bool_20inbound_2C_20userrec_20_2Auser_29">00309</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnServerRaw_28std_3A_3Astring_20_26raw_2C_20bool_20inbound_2C_20userrec_20_2Auser_29">Module::OnServerRaw</a>(<a class="code" href="namespaceirc.html#string">std::string</a> &raw, <span class="keywordtype">bool</span> inbound, <a class="code" href="classuserrec.html">userrec</a>* user) { } +<a name="l00310"></a><a class="code" href="classModule.html#OnUserPreJoin_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20const_20char_20_2Acname_29">00310</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnUserPreJoin_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20const_20char_20_2Acname_29">Module::OnUserPreJoin</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan, <span class="keyword">const</span> <span class="keywordtype">char</span>* cname) { <span class="keywordflow">return</span> 0; } +<a name="l00311"></a><a class="code" href="classModule.html#OnExtendedMode_28userrec_20_2Auser_2C_20void_20_2Atarget_2C_20char_20modechar_2C_20int_20type_2C_20bool_20mode_5Fon_2C_20string_5Flist_20_26params_29">00311</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnExtendedMode_28userrec_20_2Auser_2C_20void_20_2Atarget_2C_20char_20modechar_2C_20int_20type_2C_20bool_20mode_5Fon_2C_20string_5Flist_20_26params_29">Module::OnExtendedMode</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <span class="keywordtype">void</span>* target, <span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type, <span class="keywordtype">bool</span> mode_on, <a class="code" href="modules_8h.html#string_5Flist">string_list</a> &params) { <span class="keywordflow">return</span> <span class="keyword">false</span>; } +<a name="l00312"></a><a class="code" href="classModule.html#OnMode_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20text_29">00312</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnMode_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20text_29">Module::OnMode</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <span class="keywordtype">void</span>* dest, <span class="keywordtype">int</span> target_type, <a class="code" href="namespaceirc.html#string">std::string</a> text) { }; +<a name="l00313"></a><a class="code" href="classModule.html#GetVersion_28_29">00313</a> <a class="code" href="classVersion.html">Version</a> <a class="code" href="classModule.html#GetVersion_28_29">Module::GetVersion</a>() { <span class="keywordflow">return</span> <a class="code" href="classVersion.html">Version</a>(1,0,0,0,<a class="code" href="modules_8h.html#VF_5FVENDOR">VF_VENDOR</a>); } +<a name="l00314"></a><a class="code" href="classModule.html#OnOper_28userrec_20_2Auser_2C_20std_3A_3Astring_20opertype_29">00314</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnOper_28userrec_20_2Auser_2C_20std_3A_3Astring_20opertype_29">Module::OnOper</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> opertype) { }; +<a name="l00315"></a><a class="code" href="classModule.html#OnInfo_28userrec_20_2Auser_29">00315</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnInfo_28userrec_20_2Auser_29">Module::OnInfo</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { }; +<a name="l00316"></a><a class="code" href="classModule.html#OnWhois_28userrec_20_2Asource_2C_20userrec_20_2Adest_29">00316</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnWhois_28userrec_20_2Asource_2C_20userrec_20_2Adest_29">Module::OnWhois</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classuserrec.html">userrec</a>* dest) { }; +<a name="l00317"></a><a class="code" href="classModule.html#OnUserPreInvite_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20chanrec_20_2Achannel_29">00317</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnUserPreInvite_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20chanrec_20_2Achannel_29">Module::OnUserPreInvite</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="keywordflow">return</span> 0; }; +<a name="l00318"></a><a class="code" href="classModule.html#OnUserPreMessage_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20_26text_29">00318</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnUserPreMessage_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20_26text_29">Module::OnUserPreMessage</a>(<a class="code" href="classuserrec.html">userrec</a>* user,<span class="keywordtype">void</span>* dest,<span class="keywordtype">int</span> target_type, <a class="code" href="namespaceirc.html#string">std::string</a> &text) { <span class="keywordflow">return</span> 0; }; +<a name="l00319"></a><a class="code" href="classModule.html#OnUserPreNotice_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20_26text_29">00319</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnUserPreNotice_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20_26text_29">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, <a class="code" href="namespaceirc.html#string">std::string</a> &text) { <span class="keywordflow">return</span> 0; }; +<a name="l00320"></a><a class="code" href="classModule.html#OnUserPreNick_28userrec_20_2Auser_2C_20std_3A_3Astring_20newnick_29">00320</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnUserPreNick_28userrec_20_2Auser_2C_20std_3A_3Astring_20newnick_29">Module::OnUserPreNick</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> newnick) { <span class="keywordflow">return</span> 0; }; +<a name="l00321"></a><a class="code" href="classModule.html#OnUserPostNick_28userrec_20_2Auser_2C_20std_3A_3Astring_20oldnick_29">00321</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserPostNick_28userrec_20_2Auser_2C_20std_3A_3Astring_20oldnick_29">Module::OnUserPostNick</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> oldnick) { }; +<a name="l00322"></a><a class="code" href="classModule.html#OnAccessCheck_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20chanrec_20_2Achannel_2C_20int_20access_5Ftype_29">00322</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnAccessCheck_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20chanrec_20_2Achannel_2C_20int_20access_5Ftype_29">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#ACR_5FDEFAULT">ACR_DEFAULT</a>; }; +<a name="l00323"></a><a class="code" href="classModule.html#On_30_30_35Numeric_28std_3A_3Astring_20_26output_29">00323</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#On_30_30_35Numeric_28std_3A_3Astring_20_26output_29">Module::On005Numeric</a>(<a class="code" href="namespaceirc.html#string">std::string</a> &output) { }; +<a name="l00324"></a><a class="code" href="classModule.html#OnKill_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20std_3A_3Astring_20reason_29">00324</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnKill_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20std_3A_3Astring_20reason_29">Module::OnKill</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classuserrec.html">userrec</a>* dest, <a class="code" href="namespaceirc.html#string">std::string</a> reason) { <span class="keywordflow">return</span> 0; }; +<a name="l00325"></a><a class="code" href="classModule.html#OnLoadModule_28Module_20_2Amod_2C_20std_3A_3Astring_20name_29">00325</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnLoadModule_28Module_20_2Amod_2C_20std_3A_3Astring_20name_29">Module::OnLoadModule</a>(<a class="code" href="classModule.html">Module</a>* mod,<a class="code" href="namespaceirc.html#string">std::string</a> name) { }; +<a name="l00326"></a><a class="code" href="classModule.html#OnUnloadModule_28Module_20_2Amod_2C_20std_3A_3Astring_20name_29">00326</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUnloadModule_28Module_20_2Amod_2C_20std_3A_3Astring_20name_29">Module::OnUnloadModule</a>(<a class="code" href="classModule.html">Module</a>* mod,<a class="code" href="namespaceirc.html#string">std::string</a> name) { }; +<a name="l00327"></a><a class="code" href="classModule.html#OnBackgroundTimer_28time_5Ft_20curtime_29">00327</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnBackgroundTimer_28time_5Ft_20curtime_29">Module::OnBackgroundTimer</a>(time_t curtime) { }; +<a name="l00328"></a><a class="code" href="classModule.html#OnSendList_28userrec_20_2Auser_2C_20chanrec_20_2Achannel_2C_20char_20mode_29">00328</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnSendList_28userrec_20_2Auser_2C_20chanrec_20_2Achannel_2C_20char_20mode_29">Module::OnSendList</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* channel, <span class="keywordtype">char</span> mode) { }; +<a name="l00329"></a><a class="code" href="classModule.html#OnPreCommand_28std_3A_3Astring_20command_2C_20char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">00329</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnPreCommand_28std_3A_3Astring_20command_2C_20char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">Module::OnPreCommand</a>(<a class="code" href="namespaceirc.html#string">std::string</a> command, <span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user) { <span class="keywordflow">return</span> 0; }; +<a name="l00330"></a><a class="code" href="classModule.html#OnCheckReady_28userrec_20_2Auser_29">00330</a> <span class="keywordtype">bool</span> <a class="code" href="classModule.html#OnCheckReady_28userrec_20_2Auser_29">Module::OnCheckReady</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { <span class="keywordflow">return</span> <span class="keyword">true</span>; }; +<a name="l00331"></a><a class="code" href="classModule.html#OnUserRegister_28userrec_20_2Auser_29">00331</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserRegister_28userrec_20_2Auser_29">Module::OnUserRegister</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { }; +<a name="l00332"></a><a class="code" href="classModule.html#OnUserPreKick_28userrec_20_2Asource_2C_20userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20reason_29">00332</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnUserPreKick_28userrec_20_2Asource_2C_20userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20reason_29">Module::OnUserPreKick</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan, <a class="code" href="namespaceirc.html#string">std::string</a> reason) { <span class="keywordflow">return</span> 0; }; +<a name="l00333"></a><a class="code" href="classModule.html#OnUserKick_28userrec_20_2Asource_2C_20userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20reason_29">00333</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserKick_28userrec_20_2Asource_2C_20userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20reason_29">Module::OnUserKick</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan, <a class="code" href="namespaceirc.html#string">std::string</a> reason) { }; +<a name="l00334"></a><a class="code" href="classModule.html#OnRawMode_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20char_20mode_2C_20std_3A_3Astring_20param_2C_20bool_20adding_2C_20int_20pcnt_29">00334</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnRawMode_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20char_20mode_2C_20std_3A_3Astring_20param_2C_20bool_20adding_2C_20int_20pcnt_29">Module::OnRawMode</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan, <span class="keywordtype">char</span> mode, <a class="code" href="namespaceirc.html#string">std::string</a> param, <span class="keywordtype">bool</span> adding, <span class="keywordtype">int</span> pcnt) { <span class="keywordflow">return</span> 0; }; +<a name="l00335"></a><a class="code" href="classModule.html#OnCheckInvite_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">00335</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnCheckInvite_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">Module::OnCheckInvite</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan) { <span class="keywordflow">return</span> 0; }; +<a name="l00336"></a><a class="code" href="classModule.html#OnCheckKey_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20keygiven_29">00336</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnCheckKey_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20keygiven_29">Module::OnCheckKey</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan, <a class="code" href="namespaceirc.html#string">std::string</a> keygiven) { <span class="keywordflow">return</span> 0; }; +<a name="l00337"></a><a class="code" href="classModule.html#OnCheckLimit_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">00337</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnCheckLimit_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">Module::OnCheckLimit</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan) { <span class="keywordflow">return</span> 0; }; +<a name="l00338"></a><a class="code" href="classModule.html#OnCheckBan_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">00338</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnCheckBan_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">Module::OnCheckBan</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan) { <span class="keywordflow">return</span> 0; }; +<a name="l00339"></a><a class="code" href="classModule.html#OnStats_28char_20symbol_29">00339</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnStats_28char_20symbol_29">Module::OnStats</a>(<span class="keywordtype">char</span> symbol) { }; +<a name="l00340"></a><a class="code" href="classModule.html#OnChangeLocalUserHost_28userrec_20_2Auser_2C_20std_3A_3Astring_20newhost_29">00340</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnChangeLocalUserHost_28userrec_20_2Auser_2C_20std_3A_3Astring_20newhost_29">Module::OnChangeLocalUserHost</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> newhost) { <span class="keywordflow">return</span> 0; }; +<a name="l00341"></a><a class="code" href="classModule.html#OnChangeLocalUserGECOS_28userrec_20_2Auser_2C_20std_3A_3Astring_20newhost_29">00341</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnChangeLocalUserGECOS_28userrec_20_2Auser_2C_20std_3A_3Astring_20newhost_29">Module::OnChangeLocalUserGECOS</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> newhost) { <span class="keywordflow">return</span> 0; }; +<a name="l00342"></a><a class="code" href="classModule.html#OnLocalTopicChange_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20topic_29">00342</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnLocalTopicChange_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20topic_29">Module::OnLocalTopicChange</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan, <a class="code" href="namespaceirc.html#string">std::string</a> topic) { <span class="keywordflow">return</span> 0; }; +<a name="l00343"></a><a class="code" href="classModule.html#OnEvent_28Event_20_2Aevent_29">00343</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnEvent_28Event_20_2Aevent_29">Module::OnEvent</a>(<a class="code" href="classEvent.html">Event</a>* event) { <span class="keywordflow">return</span>; }; +<a name="l00344"></a><a class="code" href="classModule.html#OnRequest_28Request_20_2Arequest_29">00344</a> <span class="keywordtype">char</span>* <a class="code" href="classModule.html#OnRequest_28Request_20_2Arequest_29">Module::OnRequest</a>(<a class="code" href="classRequest.html">Request</a>* request) { <span class="keywordflow">return</span> NULL; }; +<a name="l00345"></a><a class="code" href="classModule.html#OnOperCompare_28std_3A_3Astring_20password_2C_20std_3A_3Astring_20input_29">00345</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnOperCompare_28std_3A_3Astring_20password_2C_20std_3A_3Astring_20input_29">Module::OnOperCompare</a>(<a class="code" href="namespaceirc.html#string">std::string</a> password, <a class="code" href="namespaceirc.html#string">std::string</a> input) { <span class="keywordflow">return</span> 0; }; +<a name="l00346"></a><a class="code" href="classModule.html#OnGlobalOper_28userrec_20_2Auser_29">00346</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnGlobalOper_28userrec_20_2Auser_29">Module::OnGlobalOper</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { }; +<a name="l00347"></a><a class="code" href="classModule.html#OnGlobalConnect_28userrec_20_2Auser_29">00347</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnGlobalConnect_28userrec_20_2Auser_29">Module::OnGlobalConnect</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { }; +<a name="l00348"></a><a class="code" href="classModule.html#OnAddBan_28userrec_20_2Asource_2C_20chanrec_20_2Achannel_2C_20std_3A_3Astring_20banmask_29">00348</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnAddBan_28userrec_20_2Asource_2C_20chanrec_20_2Achannel_2C_20std_3A_3Astring_20banmask_29">Module::OnAddBan</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classchanrec.html">chanrec</a>* channel,<a class="code" href="namespaceirc.html#string">std::string</a> banmask) { <span class="keywordflow">return</span> 0; }; +<a name="l00349"></a><a class="code" href="classModule.html#OnDelBan_28userrec_20_2Asource_2C_20chanrec_20_2Achannel_2C_20std_3A_3Astring_20banmask_29">00349</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnDelBan_28userrec_20_2Asource_2C_20chanrec_20_2Achannel_2C_20std_3A_3Astring_20banmask_29">Module::OnDelBan</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classchanrec.html">chanrec</a>* channel,<a class="code" href="namespaceirc.html#string">std::string</a> banmask) { <span class="keywordflow">return</span> 0; }; +<a name="l00350"></a><a class="code" href="classModule.html#OnRawSocketAccept_28int_20fd_2C_20std_3A_3Astring_20ip_2C_20int_20localport_29">00350</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnRawSocketAccept_28int_20fd_2C_20std_3A_3Astring_20ip_2C_20int_20localport_29">Module::OnRawSocketAccept</a>(<span class="keywordtype">int</span> fd, <a class="code" href="namespaceirc.html#string">std::string</a> ip, <span class="keywordtype">int</span> localport) { }; +<a name="l00351"></a><a class="code" href="classModule.html#OnRawSocketWrite_28int_20fd_2C_20char_20_2Abuffer_2C_20int_20count_29">00351</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnRawSocketWrite_28int_20fd_2C_20char_20_2Abuffer_2C_20int_20count_29">Module::OnRawSocketWrite</a>(<span class="keywordtype">int</span> fd, <span class="keywordtype">char</span>* buffer, <span class="keywordtype">int</span> count) { <span class="keywordflow">return</span> 0; }; +<a name="l00352"></a><a class="code" href="classModule.html#OnRawSocketClose_28int_20fd_29">00352</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnRawSocketClose_28int_20fd_29">Module::OnRawSocketClose</a>(<span class="keywordtype">int</span> fd) { }; +<a name="l00353"></a><a class="code" href="classModule.html#OnRawSocketRead_28int_20fd_2C_20char_20_2Abuffer_2C_20unsigned_20int_20count_2C_20int_20_26readresult_29">00353</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnRawSocketRead_28int_20fd_2C_20char_20_2Abuffer_2C_20unsigned_20int_20count_2C_20int_20_26readresult_29">Module::OnRawSocketRead</a>(<span class="keywordtype">int</span> fd, <span class="keywordtype">char</span>* buffer, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> count, <span class="keywordtype">int</span> &readresult) { <span class="keywordflow">return</span> 0; }; +<a name="l00354"></a><a class="code" href="classModule.html#OnUserMessage_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20text_29">00354</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserMessage_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20text_29">Module::OnUserMessage</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <span class="keywordtype">void</span>* dest, <span class="keywordtype">int</span> target_type, <a class="code" href="namespaceirc.html#string">std::string</a> text) { }; +<a name="l00355"></a><a class="code" href="classModule.html#OnUserNotice_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20text_29">00355</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserNotice_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20text_29">Module::OnUserNotice</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <span class="keywordtype">void</span>* dest, <span class="keywordtype">int</span> target_type, <a class="code" href="namespaceirc.html#string">std::string</a> text) { }; +<a name="l00356"></a><a class="code" href="classModule.html#OnRemoteKill_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20std_3A_3Astring_20reason_29">00356</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnRemoteKill_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20std_3A_3Astring_20reason_29">Module::OnRemoteKill</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classuserrec.html">userrec</a>* dest, <a class="code" href="namespaceirc.html#string">std::string</a> reason) { }; +<a name="l00357"></a><a class="code" href="classModule.html#OnUserInvite_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20chanrec_20_2Achannel_29">00357</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserInvite_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20chanrec_20_2Achannel_29">Module::OnUserInvite</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) { }; +<a name="l00358"></a><a class="code" href="classModule.html#OnPostLocalTopicChange_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20topic_29">00358</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnPostLocalTopicChange_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20topic_29">Module::OnPostLocalTopicChange</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan, <a class="code" href="namespaceirc.html#string">std::string</a> topic) { }; +<a name="l00359"></a><a class="code" href="classModule.html#OnGetServerDescription_28std_3A_3Astring_20servername_2C_20std_3A_3Astring_20_26description_29">00359</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnGetServerDescription_28std_3A_3Astring_20servername_2C_20std_3A_3Astring_20_26description_29">Module::OnGetServerDescription</a>(<a class="code" href="namespaceirc.html#string">std::string</a> servername,<a class="code" href="namespaceirc.html#string">std::string</a> &description) { }; +<a name="l00360"></a><a class="code" href="classModule.html#OnSyncUser_28userrec_20_2Auser_2C_20Module_20_2Aproto_2C_20void_20_2Aopaque_29">00360</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnSyncUser_28userrec_20_2Auser_2C_20Module_20_2Aproto_2C_20void_20_2Aopaque_29">Module::OnSyncUser</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classModule.html">Module</a>* proto, <span class="keywordtype">void</span>* opaque) { }; +<a name="l00361"></a><a class="code" href="classModule.html#OnSyncChannel_28chanrec_20_2Achan_2C_20Module_20_2Aproto_2C_20void_20_2Aopaque_29">00361</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnSyncChannel_28chanrec_20_2Achan_2C_20Module_20_2Aproto_2C_20void_20_2Aopaque_29">Module::OnSyncChannel</a>(<a class="code" href="classchanrec.html">chanrec</a>* chan, <a class="code" href="classModule.html">Module</a>* proto, <span class="keywordtype">void</span>* opaque) { }; +<a name="l00362"></a><a class="code" href="classModule.html#ProtoSendMode_28void_20_2Aopaque_2C_20int_20target_5Ftype_2C_20void_20_2Atarget_2C_20std_3A_3Astring_20modeline_29">00362</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#ProtoSendMode_28void_20_2Aopaque_2C_20int_20target_5Ftype_2C_20void_20_2Atarget_2C_20std_3A_3Astring_20modeline_29">Module::ProtoSendMode</a>(<span class="keywordtype">void</span>* opaque, <span class="keywordtype">int</span> target_type, <span class="keywordtype">void</span>* target, <a class="code" href="namespaceirc.html#string">std::string</a> modeline) { }; +<a name="l00363"></a><a class="code" href="classModule.html#OnSyncChannelMetaData_28chanrec_20_2Achan_2C_20Module_20_2Aproto_2C_20void_20_2Aopaque_2C_20std_3A_3Astring_20extname_29">00363</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnSyncChannelMetaData_28chanrec_20_2Achan_2C_20Module_20_2Aproto_2C_20void_20_2Aopaque_2C_20std_3A_3Astring_20extname_29">Module::OnSyncChannelMetaData</a>(<a class="code" href="classchanrec.html">chanrec</a>* chan, <a class="code" href="classModule.html">Module</a>* proto,<span class="keywordtype">void</span>* opaque, <a class="code" href="namespaceirc.html#string">std::string</a> extname) { }; +<a name="l00364"></a><a class="code" href="classModule.html#OnSyncUserMetaData_28userrec_20_2Auser_2C_20Module_20_2Aproto_2C_20void_20_2Aopaque_2C_20std_3A_3Astring_20extname_29">00364</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnSyncUserMetaData_28userrec_20_2Auser_2C_20Module_20_2Aproto_2C_20void_20_2Aopaque_2C_20std_3A_3Astring_20extname_29">Module::OnSyncUserMetaData</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classModule.html">Module</a>* proto,<span class="keywordtype">void</span>* opaque, <a class="code" href="namespaceirc.html#string">std::string</a> extname) { }; +<a name="l00365"></a><a class="code" href="classModule.html#OnDecodeMetaData_28int_20target_5Ftype_2C_20void_20_2Atarget_2C_20std_3A_3Astring_20extname_2C_20std_3A_3Astring_20extdata_29">00365</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnDecodeMetaData_28int_20target_5Ftype_2C_20void_20_2Atarget_2C_20std_3A_3Astring_20extname_2C_20std_3A_3Astring_20extdata_29">Module::OnDecodeMetaData</a>(<span class="keywordtype">int</span> target_type, <span class="keywordtype">void</span>* target, <a class="code" href="namespaceirc.html#string">std::string</a> extname, <a class="code" href="namespaceirc.html#string">std::string</a> extdata) { }; +<a name="l00366"></a><a class="code" href="classModule.html#ProtoSendMetaData_28void_20_2Aopaque_2C_20int_20target_5Ftype_2C_20void_20_2Atarget_2C_20std_3A_3Astring_20extname_2C_20std_3A_3Astring_20extdata_29">00366</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#ProtoSendMetaData_28void_20_2Aopaque_2C_20int_20target_5Ftype_2C_20void_20_2Atarget_2C_20std_3A_3Astring_20extname_2C_20std_3A_3Astring_20extdata_29">Module::ProtoSendMetaData</a>(<span class="keywordtype">void</span>* opaque, <span class="keywordtype">int</span> target_type, <span class="keywordtype">void</span>* target, <a class="code" href="namespaceirc.html#string">std::string</a> extname, <a class="code" href="namespaceirc.html#string">std::string</a> extdata) { }; +<a name="l00367"></a><a class="code" href="classModule.html#OnWallops_28userrec_20_2Auser_2C_20std_3A_3Astring_20text_29">00367</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnWallops_28userrec_20_2Auser_2C_20std_3A_3Astring_20text_29">Module::OnWallops</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> text) { }; +<a name="l00368"></a><a class="code" href="classModule.html#OnChangeHost_28userrec_20_2Auser_2C_20std_3A_3Astring_20newhost_29">00368</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnChangeHost_28userrec_20_2Auser_2C_20std_3A_3Astring_20newhost_29">Module::OnChangeHost</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> newhost) { }; +<a name="l00369"></a><a class="code" href="classModule.html#OnChangeName_28userrec_20_2Auser_2C_20std_3A_3Astring_20gecos_29">00369</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnChangeName_28userrec_20_2Auser_2C_20std_3A_3Astring_20gecos_29">Module::OnChangeName</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> gecos) { }; +<a name="l00370"></a><a class="code" href="classModule.html#OnAddGLine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">00370</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnAddGLine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">Module::OnAddGLine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, <a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="namespaceirc.html#string">std::string</a> reason, <a class="code" href="namespaceirc.html#string">std::string</a> hostmask) { }; +<a name="l00371"></a><a class="code" href="classModule.html#OnAddZLine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20ipmask_29">00371</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnAddZLine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20ipmask_29">Module::OnAddZLine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, <a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="namespaceirc.html#string">std::string</a> reason, <a class="code" href="namespaceirc.html#string">std::string</a> ipmask) { }; +<a name="l00372"></a><a class="code" href="classModule.html#OnAddKLine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">00372</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnAddKLine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">Module::OnAddKLine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, <a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="namespaceirc.html#string">std::string</a> reason, <a class="code" href="namespaceirc.html#string">std::string</a> hostmask) { }; +<a name="l00373"></a><a class="code" href="classModule.html#OnAddQLine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20nickmask_29">00373</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnAddQLine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20nickmask_29">Module::OnAddQLine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, <a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="namespaceirc.html#string">std::string</a> reason, <a class="code" href="namespaceirc.html#string">std::string</a> nickmask) { }; +<a name="l00374"></a><a class="code" href="classModule.html#OnAddELine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">00374</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnAddELine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">Module::OnAddELine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, <a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="namespaceirc.html#string">std::string</a> reason, <a class="code" href="namespaceirc.html#string">std::string</a> hostmask) { }; +<a name="l00375"></a><a class="code" href="classModule.html#OnDelGLine_28userrec_20_2Asource_2C_20std_3A_3Astring_20hostmask_29">00375</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnDelGLine_28userrec_20_2Asource_2C_20std_3A_3Astring_20hostmask_29">Module::OnDelGLine</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="namespaceirc.html#string">std::string</a> hostmask) { }; +<a name="l00376"></a><a class="code" href="classModule.html#OnDelZLine_28userrec_20_2Asource_2C_20std_3A_3Astring_20ipmask_29">00376</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnDelZLine_28userrec_20_2Asource_2C_20std_3A_3Astring_20ipmask_29">Module::OnDelZLine</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="namespaceirc.html#string">std::string</a> ipmask) { }; +<a name="l00377"></a><a class="code" href="classModule.html#OnDelKLine_28userrec_20_2Asource_2C_20std_3A_3Astring_20hostmask_29">00377</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnDelKLine_28userrec_20_2Asource_2C_20std_3A_3Astring_20hostmask_29">Module::OnDelKLine</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="namespaceirc.html#string">std::string</a> hostmask) { }; +<a name="l00378"></a><a class="code" href="classModule.html#OnDelQLine_28userrec_20_2Asource_2C_20std_3A_3Astring_20nickmask_29">00378</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnDelQLine_28userrec_20_2Asource_2C_20std_3A_3Astring_20nickmask_29">Module::OnDelQLine</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="namespaceirc.html#string">std::string</a> nickmask) { }; +<a name="l00379"></a><a class="code" href="classModule.html#OnDelELine_28userrec_20_2Asource_2C_20std_3A_3Astring_20hostmask_29">00379</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnDelELine_28userrec_20_2Asource_2C_20std_3A_3Astring_20hostmask_29">Module::OnDelELine</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="namespaceirc.html#string">std::string</a> hostmask) { }; +<a name="l00380"></a><a class="code" href="classModule.html#OnCleanup_28int_20target_5Ftype_2C_20void_20_2Aitem_29">00380</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnCleanup_28int_20target_5Ftype_2C_20void_20_2Aitem_29">Module::OnCleanup</a>(<span class="keywordtype">int</span> target_type, <span class="keywordtype">void</span>* item) { }; +<a name="l00381"></a>00381 +<a name="l00382"></a>00382 <span class="comment">/* server is a wrapper class that provides methods to all of the C-style</span> +<a name="l00383"></a>00383 <span class="comment"> * exports in the core</span> +<a name="l00384"></a>00384 <span class="comment"> */</span> +<a name="l00385"></a>00385 +<a name="l00386"></a><a class="code" href="classServer.html#Server_28_29">00386</a> <a class="code" href="classServer.html#Server_28_29">Server::Server</a>() +<a name="l00387"></a>00387 { +<a name="l00388"></a>00388 } <a name="l00389"></a>00389 -<a name="l00390"></a>00390 <span class="comment">/* server is a wrapper class that provides methods to all of the C-style</span> -<a name="l00391"></a>00391 <span class="comment"> * exports in the core</span> -<a name="l00392"></a>00392 <span class="comment"> */</span> +<a name="l00390"></a><a class="code" href="classServer.html#_7EServer_28_29">00390</a> <a class="code" href="classServer.html#_7EServer_28_29">Server::~Server</a>() +<a name="l00391"></a>00391 { +<a name="l00392"></a>00392 } <a name="l00393"></a>00393 -<a name="l00394"></a><a class="code" href="classServer.html#Server_28_29">00394</a> <a class="code" href="classServer.html#Server_28_29">Server::Server</a>() +<a name="l00394"></a><a class="code" href="classServer.html#AddSocket_28InspSocket_20_2Asock_29">00394</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#AddSocket_28InspSocket_20_2Asock_29">Server::AddSocket</a>(<a class="code" href="classInspSocket.html">InspSocket</a>* sock) <a name="l00395"></a>00395 { -<a name="l00396"></a>00396 } -<a name="l00397"></a>00397 -<a name="l00398"></a><a class="code" href="classServer.html#_7EServer_28_29">00398</a> <a class="code" href="classServer.html#_7EServer_28_29">Server::~Server</a>() -<a name="l00399"></a>00399 { -<a name="l00400"></a>00400 } -<a name="l00401"></a>00401 -<a name="l00402"></a><a class="code" href="classServer.html#AddSocket_28InspSocket_20_2Asock_29">00402</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#AddSocket_28InspSocket_20_2Asock_29">Server::AddSocket</a>(<a class="code" href="classInspSocket.html">InspSocket</a>* sock) -<a name="l00403"></a>00403 { -<a name="l00404"></a>00404 <a class="code" href="modules_8cpp.html#module_5Fsockets">module_sockets</a>.push_back(sock); -<a name="l00405"></a>00405 } -<a name="l00406"></a>00406 -<a name="l00407"></a><a class="code" href="classServer.html#RehashServer_28_29">00407</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#RehashServer_28_29">Server::RehashServer</a>() -<a name="l00408"></a>00408 { -<a name="l00409"></a>00409 WriteOpers(<span class="stringliteral">"*** Rehashing config file"</span>); -<a name="l00410"></a>00410 ReadConfig(<span class="keyword">false</span>,NULL); -<a name="l00411"></a>00411 } -<a name="l00412"></a>00412 -<a name="l00413"></a><a class="code" href="classServer.html#DelSocket_28InspSocket_20_2Asock_29">00413</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#DelSocket_28InspSocket_20_2Asock_29">Server::DelSocket</a>(<a class="code" href="classInspSocket.html">InspSocket</a>* sock) -<a name="l00414"></a>00414 { -<a name="l00415"></a>00415 <span class="keywordflow">for</span> (std::vector<InspSocket*>::iterator a = <a class="code" href="modules_8cpp.html#module_5Fsockets">module_sockets</a>.begin(); a < <a class="code" href="modules_8cpp.html#module_5Fsockets">module_sockets</a>.end(); a++) -<a name="l00416"></a>00416 { -<a name="l00417"></a>00417 <span class="keywordflow">if</span> (*a == sock) -<a name="l00418"></a>00418 { -<a name="l00419"></a>00419 <a class="code" href="modules_8cpp.html#module_5Fsockets">module_sockets</a>.erase(a); -<a name="l00420"></a>00420 <span class="keywordflow">return</span>; -<a name="l00421"></a>00421 } -<a name="l00422"></a>00422 } -<a name="l00423"></a>00423 } -<a name="l00424"></a>00424 -<a name="l00425"></a><a class="code" href="classServer.html#SendOpers_28std_3A_3Astring_20s_29">00425</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendOpers_28std_3A_3Astring_20s_29">Server::SendOpers</a>(<a class="code" href="namespaceirc.html#string">std::string</a> s) -<a name="l00426"></a>00426 { -<a name="l00427"></a>00427 WriteOpers(<span class="stringliteral">"%s"</span>,s.c_str()); +<a name="l00396"></a>00396 <a class="code" href="modules_8cpp.html#module_5Fsockets">module_sockets</a>.push_back(sock); +<a name="l00397"></a>00397 } +<a name="l00398"></a>00398 +<a name="l00399"></a><a class="code" href="classServer.html#RehashServer_28_29">00399</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#RehashServer_28_29">Server::RehashServer</a>() +<a name="l00400"></a>00400 { +<a name="l00401"></a>00401 WriteOpers(<span class="stringliteral">"*** Rehashing config file"</span>); +<a name="l00402"></a>00402 ReadConfig(<span class="keyword">false</span>,NULL); +<a name="l00403"></a>00403 } +<a name="l00404"></a>00404 +<a name="l00405"></a><a class="code" href="classServer.html#DelSocket_28InspSocket_20_2Asock_29">00405</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#DelSocket_28InspSocket_20_2Asock_29">Server::DelSocket</a>(<a class="code" href="classInspSocket.html">InspSocket</a>* sock) +<a name="l00406"></a>00406 { +<a name="l00407"></a>00407 <span class="keywordflow">for</span> (std::vector<InspSocket*>::iterator a = <a class="code" href="modules_8cpp.html#module_5Fsockets">module_sockets</a>.begin(); a < <a class="code" href="modules_8cpp.html#module_5Fsockets">module_sockets</a>.end(); a++) +<a name="l00408"></a>00408 { +<a name="l00409"></a>00409 <span class="keywordflow">if</span> (*a == sock) +<a name="l00410"></a>00410 { +<a name="l00411"></a>00411 <a class="code" href="modules_8cpp.html#module_5Fsockets">module_sockets</a>.erase(a); +<a name="l00412"></a>00412 <span class="keywordflow">return</span>; +<a name="l00413"></a>00413 } +<a name="l00414"></a>00414 } +<a name="l00415"></a>00415 } +<a name="l00416"></a>00416 +<a name="l00417"></a><a class="code" href="classServer.html#SendOpers_28std_3A_3Astring_20s_29">00417</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendOpers_28std_3A_3Astring_20s_29">Server::SendOpers</a>(<a class="code" href="namespaceirc.html#string">std::string</a> s) +<a name="l00418"></a>00418 { +<a name="l00419"></a>00419 WriteOpers(<span class="stringliteral">"%s"</span>,s.c_str()); +<a name="l00420"></a>00420 } +<a name="l00421"></a>00421 +<a name="l00422"></a><a class="code" href="classServer.html#MatchText_28std_3A_3Astring_20sliteral_2C_20std_3A_3Astring_20spattern_29">00422</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#MatchText_28std_3A_3Astring_20sliteral_2C_20std_3A_3Astring_20spattern_29">Server::MatchText</a>(<a class="code" href="namespaceirc.html#string">std::string</a> sliteral, <a class="code" href="namespaceirc.html#string">std::string</a> spattern) +<a name="l00423"></a>00423 { +<a name="l00424"></a>00424 <span class="keywordtype">char</span> literal[MAXBUF],pattern[MAXBUF]; +<a name="l00425"></a>00425 strlcpy(literal,sliteral.c_str(),MAXBUF); +<a name="l00426"></a>00426 strlcpy(pattern,spattern.c_str(),MAXBUF); +<a name="l00427"></a>00427 <span class="keywordflow">return</span> match(literal,pattern); <a name="l00428"></a>00428 } <a name="l00429"></a>00429 -<a name="l00430"></a><a class="code" href="classServer.html#MatchText_28std_3A_3Astring_20sliteral_2C_20std_3A_3Astring_20spattern_29">00430</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#MatchText_28std_3A_3Astring_20sliteral_2C_20std_3A_3Astring_20spattern_29">Server::MatchText</a>(<a class="code" href="namespaceirc.html#string">std::string</a> sliteral, <a class="code" href="namespaceirc.html#string">std::string</a> spattern) +<a name="l00430"></a><a class="code" href="classServer.html#SendToModeMask_28std_3A_3Astring_20modes_2C_20int_20flags_2C_20std_3A_3Astring_20text_29">00430</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendToModeMask_28std_3A_3Astring_20modes_2C_20int_20flags_2C_20std_3A_3Astring_20text_29">Server::SendToModeMask</a>(<a class="code" href="namespaceirc.html#string">std::string</a> modes, <span class="keywordtype">int</span> flags, <a class="code" href="namespaceirc.html#string">std::string</a> text) <a name="l00431"></a>00431 { -<a name="l00432"></a>00432 <span class="keywordtype">char</span> literal[MAXBUF],pattern[MAXBUF]; -<a name="l00433"></a>00433 strlcpy(literal,sliteral.c_str(),MAXBUF); -<a name="l00434"></a>00434 strlcpy(pattern,spattern.c_str(),MAXBUF); -<a name="l00435"></a>00435 <span class="keywordflow">return</span> match(literal,pattern); -<a name="l00436"></a>00436 } -<a name="l00437"></a>00437 -<a name="l00438"></a><a class="code" href="classServer.html#SendToModeMask_28std_3A_3Astring_20modes_2C_20int_20flags_2C_20std_3A_3Astring_20text_29">00438</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendToModeMask_28std_3A_3Astring_20modes_2C_20int_20flags_2C_20std_3A_3Astring_20text_29">Server::SendToModeMask</a>(<a class="code" href="namespaceirc.html#string">std::string</a> modes, <span class="keywordtype">int</span> flags, <a class="code" href="namespaceirc.html#string">std::string</a> text) -<a name="l00439"></a>00439 { -<a name="l00440"></a>00440 WriteMode(modes.c_str(),flags,<span class="stringliteral">"%s"</span>,text.c_str()); -<a name="l00441"></a>00441 } -<a name="l00442"></a>00442 -<a name="l00443"></a><a class="code" href="classServer.html#JoinUserToChannel_28userrec_20_2Auser_2C_20std_3A_3Astring_20cname_2C_20std_3A_3Astring_20key_29">00443</a> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#JoinUserToChannel_28userrec_20_2Auser_2C_20std_3A_3Astring_20cname_2C_20std_3A_3Astring_20key_29">Server::JoinUserToChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> cname, <a class="code" href="namespaceirc.html#string">std::string</a> key) -<a name="l00444"></a>00444 { -<a name="l00445"></a>00445 <span class="keywordflow">return</span> add_channel(user,cname.c_str(),key.c_str(),<span class="keyword">false</span>); -<a name="l00446"></a>00446 } -<a name="l00447"></a>00447 -<a name="l00448"></a><a class="code" href="classServer.html#PartUserFromChannel_28userrec_20_2Auser_2C_20std_3A_3Astring_20cname_2C_20std_3A_3Astring_20reason_29">00448</a> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#PartUserFromChannel_28userrec_20_2Auser_2C_20std_3A_3Astring_20cname_2C_20std_3A_3Astring_20reason_29">Server::PartUserFromChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> cname, <a class="code" href="namespaceirc.html#string">std::string</a> reason) -<a name="l00449"></a>00449 { -<a name="l00450"></a>00450 <span class="keywordflow">return</span> del_channel(user,cname.c_str(),reason.c_str(),<span class="keyword">false</span>); -<a name="l00451"></a>00451 } -<a name="l00452"></a>00452 -<a name="l00453"></a><a class="code" href="classServer.html#GetUsers_28chanrec_20_2Achan_29">00453</a> <a class="code" href="modules_8h.html#chanuserlist">chanuserlist</a> <a class="code" href="classServer.html#GetUsers_28chanrec_20_2Achan_29">Server::GetUsers</a>(<a class="code" href="classchanrec.html">chanrec</a>* chan) -<a name="l00454"></a>00454 { -<a name="l00455"></a>00455 <a class="code" href="modules_8h.html#chanuserlist">chanuserlist</a> userl; -<a name="l00456"></a>00456 userl.clear(); -<a name="l00457"></a>00457 std::vector<char*> *<a class="code" href="channels_8cpp.html#list_5BMAXBUF_5D">list</a> = chan-><a class="code" href="classchanrec.html#GetUsers_28_29">GetUsers</a>(); -<a name="l00458"></a>00458 <span class="keywordflow">for</span> (std::vector<char*>::iterator i = list->begin(); i != list->end(); i++) -<a name="l00459"></a>00459 { -<a name="l00460"></a>00460 <span class="keywordtype">char</span>* o = *i; -<a name="l00461"></a>00461 userl.push_back((<a class="code" href="classuserrec.html">userrec</a>*)o); -<a name="l00462"></a>00462 } -<a name="l00463"></a>00463 <span class="keywordflow">return</span> userl; -<a name="l00464"></a>00464 } -<a name="l00465"></a><a class="code" href="classServer.html#ChangeUserNick_28userrec_20_2Auser_2C_20std_3A_3Astring_20nickname_29">00465</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#ChangeUserNick_28userrec_20_2Auser_2C_20std_3A_3Astring_20nickname_29">Server::ChangeUserNick</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> nickname) -<a name="l00466"></a>00466 { -<a name="l00467"></a>00467 force_nickchange(user,nickname.c_str()); -<a name="l00468"></a>00468 } -<a name="l00469"></a>00469 -<a name="l00470"></a><a class="code" href="classServer.html#QuitUser_28userrec_20_2Auser_2C_20std_3A_3Astring_20reason_29">00470</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#QuitUser_28userrec_20_2Auser_2C_20std_3A_3Astring_20reason_29">Server::QuitUser</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> reason) -<a name="l00471"></a>00471 { -<a name="l00472"></a>00472 kill_link(user,reason.c_str()); -<a name="l00473"></a>00473 } -<a name="l00474"></a>00474 -<a name="l00475"></a><a class="code" href="classServer.html#IsUlined_28std_3A_3Astring_20server_29">00475</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#IsUlined_28std_3A_3Astring_20server_29">Server::IsUlined</a>(<a class="code" href="namespaceirc.html#string">std::string</a> server) -<a name="l00476"></a>00476 { -<a name="l00477"></a>00477 <span class="keywordflow">return</span> <a class="code" href="commands_8h.html#is_5Fuline_28const_20char_20_2Aserver_29">is_uline</a>(server.c_str()); -<a name="l00478"></a>00478 } -<a name="l00479"></a>00479 -<a name="l00480"></a><a class="code" href="classServer.html#CallCommandHandler_28std_3A_3Astring_20commandname_2C_20char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">00480</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#CallCommandHandler_28std_3A_3Astring_20commandname_2C_20char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">Server::CallCommandHandler</a>(<a class="code" href="namespaceirc.html#string">std::string</a> commandname, <span class="keywordtype">char</span>** parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a>* user) -<a name="l00481"></a>00481 { -<a name="l00482"></a>00482 call_handler(commandname.c_str(),parameters,pcnt,user); -<a name="l00483"></a>00483 } -<a name="l00484"></a>00484 -<a name="l00485"></a><a class="code" href="classServer.html#IsValidModuleCommand_28std_3A_3Astring_20commandname_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">00485</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#IsValidModuleCommand_28std_3A_3Astring_20commandname_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">Server::IsValidModuleCommand</a>(<a class="code" href="namespaceirc.html#string">std::string</a> commandname, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a>* user) -<a name="l00486"></a>00486 { -<a name="l00487"></a>00487 <span class="keywordflow">return</span> is_valid_cmd(commandname.c_str(), pcnt, user); -<a name="l00488"></a>00488 } -<a name="l00489"></a>00489 -<a name="l00490"></a><a class="code" href="classServer.html#Log_28int_20level_2C_20std_3A_3Astring_20s_29">00490</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#Log_28int_20level_2C_20std_3A_3Astring_20s_29">Server::Log</a>(<span class="keywordtype">int</span> level, <a class="code" href="namespaceirc.html#string">std::string</a> s) -<a name="l00491"></a>00491 { -<a name="l00492"></a>00492 log(level,<span class="stringliteral">"%s"</span>,s.c_str()); -<a name="l00493"></a>00493 } -<a name="l00494"></a>00494 -<a name="l00495"></a><a class="code" href="classServer.html#AddCommand_28char_20_2Acmd_2C_20handlerfunc_20f_2C_20char_20flags_2C_20int_20minparams_2C_20char_20_2Asource_29">00495</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#AddCommand_28char_20_2Acmd_2C_20handlerfunc_20f_2C_20char_20flags_2C_20int_20minparams_2C_20char_20_2Asource_29">Server::AddCommand</a>(<span class="keywordtype">char</span>* cmd, handlerfunc f, <span class="keywordtype">char</span> flags, <span class="keywordtype">int</span> minparams, <span class="keywordtype">char</span>* source) -<a name="l00496"></a>00496 { -<a name="l00497"></a>00497 <a class="code" href="modules_8h.html#createcommand_28char_20_2Acmd_2C_20handlerfunc_20f_2C_20char_20flags_2C_20int_20minparams_2C_20char_20_2Asource_29">createcommand</a>(cmd,f,flags,minparams,source); -<a name="l00498"></a>00498 } -<a name="l00499"></a>00499 -<a name="l00500"></a><a class="code" href="classServer.html#SendMode_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">00500</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendMode_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">Server::SendMode</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user) -<a name="l00501"></a>00501 { -<a name="l00502"></a>00502 <a class="code" href="mode_8h.html#server_5Fmode_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">server_mode</a>(parameters,pcnt,user); -<a name="l00503"></a>00503 } -<a name="l00504"></a>00504 -<a name="l00505"></a><a class="code" href="classServer.html#Send_28int_20Socket_2C_20std_3A_3Astring_20s_29">00505</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#Send_28int_20Socket_2C_20std_3A_3Astring_20s_29">Server::Send</a>(<span class="keywordtype">int</span> Socket, <a class="code" href="namespaceirc.html#string">std::string</a> s) -<a name="l00506"></a>00506 { -<a name="l00507"></a>00507 Write(Socket,<span class="stringliteral">"%s"</span>,s.c_str()); -<a name="l00508"></a>00508 } -<a name="l00509"></a>00509 -<a name="l00510"></a><a class="code" href="classServer.html#SendServ_28int_20Socket_2C_20std_3A_3Astring_20s_29">00510</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendServ_28int_20Socket_2C_20std_3A_3Astring_20s_29">Server::SendServ</a>(<span class="keywordtype">int</span> Socket, <a class="code" href="namespaceirc.html#string">std::string</a> s) -<a name="l00511"></a>00511 { -<a name="l00512"></a>00512 WriteServ(Socket,<span class="stringliteral">"%s"</span>,s.c_str()); -<a name="l00513"></a>00513 } -<a name="l00514"></a>00514 -<a name="l00515"></a><a class="code" href="classServer.html#SendFrom_28int_20Socket_2C_20userrec_20_2AUser_2C_20std_3A_3Astring_20s_29">00515</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendFrom_28int_20Socket_2C_20userrec_20_2AUser_2C_20std_3A_3Astring_20s_29">Server::SendFrom</a>(<span class="keywordtype">int</span> Socket, <a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="namespaceirc.html#string">std::string</a> s) -<a name="l00516"></a>00516 { -<a name="l00517"></a>00517 WriteFrom(Socket,User,<span class="stringliteral">"%s"</span>,s.c_str()); -<a name="l00518"></a>00518 } -<a name="l00519"></a>00519 -<a name="l00520"></a><a class="code" href="classServer.html#SendTo_28userrec_20_2ASource_2C_20userrec_20_2ADest_2C_20std_3A_3Astring_20s_29">00520</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendTo_28userrec_20_2ASource_2C_20userrec_20_2ADest_2C_20std_3A_3Astring_20s_29">Server::SendTo</a>(<a class="code" href="classuserrec.html">userrec</a>* Source, <a class="code" href="classuserrec.html">userrec</a>* Dest, <a class="code" href="namespaceirc.html#string">std::string</a> s) -<a name="l00521"></a>00521 { -<a name="l00522"></a>00522 <span class="keywordflow">if</span> (!Source) -<a name="l00523"></a>00523 { -<a name="l00524"></a>00524 <span class="comment">// if source is NULL, then the message originates from the local server</span> -<a name="l00525"></a>00525 Write(Dest-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">":%s %s"</span>,this->GetServerName().c_str(),s.c_str()); -<a name="l00526"></a>00526 } -<a name="l00527"></a>00527 <span class="keywordflow">else</span> -<a name="l00528"></a>00528 { -<a name="l00529"></a>00529 <span class="comment">// otherwise it comes from the user specified</span> -<a name="l00530"></a>00530 WriteTo(Source,Dest,<span class="stringliteral">"%s"</span>,s.c_str()); -<a name="l00531"></a>00531 } -<a name="l00532"></a>00532 } -<a name="l00533"></a>00533 -<a name="l00534"></a><a class="code" href="classServer.html#SendChannelServerNotice_28std_3A_3Astring_20ServName_2C_20chanrec_20_2AChannel_2C_20std_3A_3Astring_20text_29">00534</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendChannelServerNotice_28std_3A_3Astring_20ServName_2C_20chanrec_20_2AChannel_2C_20std_3A_3Astring_20text_29">Server::SendChannelServerNotice</a>(<a class="code" href="namespaceirc.html#string">std::string</a> ServName, <a class="code" href="classchanrec.html">chanrec</a>* Channel, <a class="code" href="namespaceirc.html#string">std::string</a> text) -<a name="l00535"></a>00535 { -<a name="l00536"></a>00536 WriteChannelWithServ((<span class="keywordtype">char</span>*)ServName.c_str(), Channel, <span class="stringliteral">"%s"</span>, text.c_str()); -<a name="l00537"></a>00537 } -<a name="l00538"></a>00538 -<a name="l00539"></a><a class="code" href="classServer.html#SendChannel_28userrec_20_2AUser_2C_20chanrec_20_2AChannel_2C_20std_3A_3Astring_20s_2C_20bool_20IncludeSender_29">00539</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendChannel_28userrec_20_2AUser_2C_20chanrec_20_2AChannel_2C_20std_3A_3Astring_20s_2C_20bool_20IncludeSender_29">Server::SendChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Channel, <a class="code" href="namespaceirc.html#string">std::string</a> s,<span class="keywordtype">bool</span> IncludeSender) -<a name="l00540"></a>00540 { -<a name="l00541"></a>00541 <span class="keywordflow">if</span> (IncludeSender) -<a name="l00542"></a>00542 { -<a name="l00543"></a>00543 WriteChannel(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str()); -<a name="l00544"></a>00544 } -<a name="l00545"></a>00545 <span class="keywordflow">else</span> -<a name="l00546"></a>00546 { -<a name="l00547"></a>00547 ChanExceptSender(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str()); -<a name="l00548"></a>00548 } -<a name="l00549"></a>00549 } -<a name="l00550"></a>00550 -<a name="l00551"></a><a class="code" href="classServer.html#CommonChannels_28userrec_20_2Au_31_2C_20userrec_20_2Au_32_29">00551</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#CommonChannels_28userrec_20_2Au_31_2C_20userrec_20_2Au_32_29">Server::CommonChannels</a>(<a class="code" href="classuserrec.html">userrec</a>* u1, <a class="code" href="classuserrec.html">userrec</a>* u2) -<a name="l00552"></a>00552 { -<a name="l00553"></a>00553 <span class="keywordflow">return</span> (<a class="code" href="message_8h.html#common_5Fchannels_28userrec_20_2Au_2C_20userrec_20_2Au_32_29">common_channels</a>(u1,u2) != 0); -<a name="l00554"></a>00554 } -<a name="l00555"></a>00555 -<a name="l00556"></a><a class="code" href="classServer.html#SendCommon_28userrec_20_2AUser_2C_20std_3A_3Astring_20text_2C_20bool_20IncludeSender_29">00556</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendCommon_28userrec_20_2AUser_2C_20std_3A_3Astring_20text_2C_20bool_20IncludeSender_29">Server::SendCommon</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="namespaceirc.html#string">std::string</a> text,<span class="keywordtype">bool</span> IncludeSender) -<a name="l00557"></a>00557 { -<a name="l00558"></a>00558 <span class="keywordflow">if</span> (IncludeSender) -<a name="l00559"></a>00559 { -<a name="l00560"></a>00560 WriteCommon(User,<span class="stringliteral">"%s"</span>,text.c_str()); -<a name="l00561"></a>00561 } -<a name="l00562"></a>00562 <span class="keywordflow">else</span> -<a name="l00563"></a>00563 { -<a name="l00564"></a>00564 WriteCommonExcept(User,<span class="stringliteral">"%s"</span>,text.c_str()); -<a name="l00565"></a>00565 } -<a name="l00566"></a>00566 } -<a name="l00567"></a>00567 -<a name="l00568"></a><a class="code" href="classServer.html#SendWallops_28userrec_20_2AUser_2C_20std_3A_3Astring_20text_29">00568</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendWallops_28userrec_20_2AUser_2C_20std_3A_3Astring_20text_29">Server::SendWallops</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="namespaceirc.html#string">std::string</a> text) -<a name="l00569"></a>00569 { -<a name="l00570"></a>00570 WriteWallOps(User,<span class="keyword">false</span>,<span class="stringliteral">"%s"</span>,text.c_str()); -<a name="l00571"></a>00571 } -<a name="l00572"></a>00572 -<a name="l00573"></a><a class="code" href="classServer.html#ChangeHost_28userrec_20_2Auser_2C_20std_3A_3Astring_20host_29">00573</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#ChangeHost_28userrec_20_2Auser_2C_20std_3A_3Astring_20host_29">Server::ChangeHost</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> host) -<a name="l00574"></a>00574 { -<a name="l00575"></a>00575 <a class="code" href="message_8h.html#ChangeDisplayedHost_28userrec_20_2Auser_2C_20const_20char_20_2Ahost_29">ChangeDisplayedHost</a>(user,host.c_str()); -<a name="l00576"></a>00576 } -<a name="l00577"></a>00577 -<a name="l00578"></a><a class="code" href="classServer.html#ChangeGECOS_28userrec_20_2Auser_2C_20std_3A_3Astring_20gecos_29">00578</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#ChangeGECOS_28userrec_20_2Auser_2C_20std_3A_3Astring_20gecos_29">Server::ChangeGECOS</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> gecos) -<a name="l00579"></a>00579 { -<a name="l00580"></a>00580 <a class="code" href="message_8h.html#ChangeName_28userrec_20_2Auser_2C_20const_20char_20_2Agecos_29">ChangeName</a>(user,gecos.c_str()); -<a name="l00581"></a>00581 } -<a name="l00582"></a>00582 -<a name="l00583"></a><a class="code" href="classServer.html#IsNick_28std_3A_3Astring_20nick_29">00583</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#IsNick_28std_3A_3Astring_20nick_29">Server::IsNick</a>(<a class="code" href="namespaceirc.html#string">std::string</a> nick) -<a name="l00584"></a>00584 { -<a name="l00585"></a>00585 <span class="keywordflow">return</span> (<a class="code" href="message_8h.html#isnick_28const_20char_20_2An_29">isnick</a>(nick.c_str()) != 0); -<a name="l00586"></a>00586 } -<a name="l00587"></a>00587 -<a name="l00588"></a><a class="code" href="classServer.html#FindNick_28std_3A_3Astring_20nick_29">00588</a> <a class="code" href="classuserrec.html">userrec</a>* <a class="code" href="classServer.html#FindNick_28std_3A_3Astring_20nick_29">Server::FindNick</a>(<a class="code" href="namespaceirc.html#string">std::string</a> nick) -<a name="l00589"></a>00589 { -<a name="l00590"></a>00590 <span class="keywordflow">return</span> Find(nick); -<a name="l00591"></a>00591 } -<a name="l00592"></a>00592 -<a name="l00593"></a><a class="code" href="classServer.html#FindDescriptor_28int_20socket_29">00593</a> <a class="code" href="classuserrec.html">userrec</a>* <a class="code" href="classServer.html#FindDescriptor_28int_20socket_29">Server::FindDescriptor</a>(<span class="keywordtype">int</span> socket) -<a name="l00594"></a>00594 { -<a name="l00595"></a>00595 <span class="keywordflow">return</span> (socket < 65536 ? fd_ref_table[socket] : NULL); -<a name="l00596"></a>00596 } -<a name="l00597"></a>00597 -<a name="l00598"></a><a class="code" href="classServer.html#FindChannel_28std_3A_3Astring_20channel_29">00598</a> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#FindChannel_28std_3A_3Astring_20channel_29">Server::FindChannel</a>(<a class="code" href="namespaceirc.html#string">std::string</a> channel) -<a name="l00599"></a>00599 { -<a name="l00600"></a>00600 <span class="keywordflow">return</span> FindChan(channel.c_str()); -<a name="l00601"></a>00601 } -<a name="l00602"></a>00602 -<a name="l00603"></a><a class="code" href="classServer.html#ChanMode_28userrec_20_2AUser_2C_20chanrec_20_2AChan_29">00603</a> <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classServer.html#ChanMode_28userrec_20_2AUser_2C_20chanrec_20_2AChan_29">Server::ChanMode</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Chan) -<a name="l00604"></a>00604 { -<a name="l00605"></a>00605 <span class="keywordflow">return</span> <a class="code" href="message_8h.html#cmode_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">cmode</a>(User,Chan); -<a name="l00606"></a>00606 } -<a name="l00607"></a>00607 -<a name="l00608"></a><a class="code" href="classServer.html#IsOnChannel_28userrec_20_2AUser_2C_20chanrec_20_2AChan_29">00608</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#IsOnChannel_28userrec_20_2AUser_2C_20chanrec_20_2AChan_29">Server::IsOnChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Chan) -<a name="l00609"></a>00609 { -<a name="l00610"></a>00610 <span class="keywordflow">return</span> <a class="code" href="message_8h.html#has_5Fchannel_28userrec_20_2Au_2C_20chanrec_20_2Ac_29">has_channel</a>(User,Chan); -<a name="l00611"></a>00611 } -<a name="l00612"></a>00612 -<a name="l00613"></a><a class="code" href="classServer.html#GetServerName_28_29">00613</a> <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classServer.html#GetServerName_28_29">Server::GetServerName</a>() -<a name="l00614"></a>00614 { -<a name="l00615"></a>00615 <span class="keywordflow">return</span> getservername(); -<a name="l00616"></a>00616 } -<a name="l00617"></a>00617 -<a name="l00618"></a><a class="code" href="classServer.html#GetNetworkName_28_29">00618</a> <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classServer.html#GetNetworkName_28_29">Server::GetNetworkName</a>() -<a name="l00619"></a>00619 { -<a name="l00620"></a>00620 <span class="keywordflow">return</span> getnetworkname(); -<a name="l00621"></a>00621 } -<a name="l00622"></a>00622 -<a name="l00623"></a><a class="code" href="classServer.html#GetServerDescription_28_29">00623</a> <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classServer.html#GetServerDescription_28_29">Server::GetServerDescription</a>() -<a name="l00624"></a>00624 { -<a name="l00625"></a>00625 <span class="keywordflow">return</span> getserverdesc(); -<a name="l00626"></a>00626 } -<a name="l00627"></a>00627 -<a name="l00628"></a><a class="code" href="classServer.html#GetAdmin_28_29">00628</a> <a class="code" href="classAdmin.html">Admin</a> <a class="code" href="classServer.html#GetAdmin_28_29">Server::GetAdmin</a>() -<a name="l00629"></a>00629 { -<a name="l00630"></a>00630 <span class="keywordflow">return</span> <a class="code" href="classAdmin.html">Admin</a>(getadminname(),getadminemail(),getadminnick()); -<a name="l00631"></a>00631 } -<a name="l00632"></a>00632 -<a name="l00633"></a>00633 -<a name="l00634"></a>00634 -<a name="l00635"></a><a class="code" href="classServer.html#AddExtendedMode_28char_20modechar_2C_20int_20type_2C_20bool_20requires_5Foper_2C_20int_20params_5Fwhen_5Fon_2C_20int_20params_5Fwhen_5Foff_29">00635</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#AddExtendedMode_28char_20modechar_2C_20int_20type_2C_20bool_20requires_5Foper_2C_20int_20params_5Fwhen_5Fon_2C_20int_20params_5Fwhen_5Foff_29">Server::AddExtendedMode</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type, <span class="keywordtype">bool</span> requires_oper, <span class="keywordtype">int</span> params_when_on, <span class="keywordtype">int</span> params_when_off) -<a name="l00636"></a>00636 { -<a name="l00637"></a>00637 <span class="keywordflow">if</span> (((modechar >= <span class="charliteral">'A'</span>) && (modechar <= <span class="charliteral">'Z'</span>)) || ((modechar >= <span class="charliteral">'a'</span>) && (modechar <= <span class="charliteral">'z'</span>))) -<a name="l00638"></a>00638 { -<a name="l00639"></a>00639 <span class="keywordflow">if</span> (type == <a class="code" href="modules_8h.html#MT_5FSERVER">MT_SERVER</a>) -<a name="l00640"></a>00640 { -<a name="l00641"></a>00641 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** Modes of type MT_SERVER are reserved for future expansion"</span>); -<a name="l00642"></a>00642 <span class="keywordflow">return</span> <span class="keyword">false</span>; -<a name="l00643"></a>00643 } -<a name="l00644"></a>00644 <span class="keywordflow">if</span> (((params_when_on>0) || (params_when_off>0)) && (type == <a class="code" href="modules_8h.html#MT_5FCLIENT">MT_CLIENT</a>)) -<a name="l00645"></a>00645 { -<a name="l00646"></a>00646 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** Parameters on MT_CLIENT modes are not supported"</span>); -<a name="l00647"></a>00647 <span class="keywordflow">return</span> <span class="keyword">false</span>; -<a name="l00648"></a>00648 } -<a name="l00649"></a>00649 <span class="keywordflow">if</span> ((params_when_on>1) || (params_when_off>1)) -<a name="l00650"></a>00650 { -<a name="l00651"></a>00651 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** More than one parameter for an MT_CHANNEL mode is not yet supported"</span>); -<a name="l00652"></a>00652 <span class="keywordflow">return</span> <span class="keyword">false</span>; -<a name="l00653"></a>00653 } -<a name="l00654"></a>00654 <span class="keywordflow">return</span> <a class="code" href="modules_8cpp.html#DoAddExtendedMode_28char_20modechar_2C_20int_20type_2C_20bool_20requires_5Foper_2C_20int_20params_5Fon_2C_20int_20params_5Foff_29">DoAddExtendedMode</a>(modechar,type,requires_oper,params_when_on,params_when_off); -<a name="l00655"></a>00655 } -<a name="l00656"></a>00656 <span class="keywordflow">else</span> -<a name="l00657"></a>00657 { -<a name="l00658"></a>00658 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** Muppet modechar detected."</span>); -<a name="l00659"></a>00659 } -<a name="l00660"></a>00660 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00432"></a>00432 WriteMode(modes.c_str(),flags,<span class="stringliteral">"%s"</span>,text.c_str()); +<a name="l00433"></a>00433 } +<a name="l00434"></a>00434 +<a name="l00435"></a><a class="code" href="classServer.html#JoinUserToChannel_28userrec_20_2Auser_2C_20std_3A_3Astring_20cname_2C_20std_3A_3Astring_20key_29">00435</a> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#JoinUserToChannel_28userrec_20_2Auser_2C_20std_3A_3Astring_20cname_2C_20std_3A_3Astring_20key_29">Server::JoinUserToChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> cname, <a class="code" href="namespaceirc.html#string">std::string</a> key) +<a name="l00436"></a>00436 { +<a name="l00437"></a>00437 <span class="keywordflow">return</span> add_channel(user,cname.c_str(),key.c_str(),<span class="keyword">false</span>); +<a name="l00438"></a>00438 } +<a name="l00439"></a>00439 +<a name="l00440"></a><a class="code" href="classServer.html#PartUserFromChannel_28userrec_20_2Auser_2C_20std_3A_3Astring_20cname_2C_20std_3A_3Astring_20reason_29">00440</a> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#PartUserFromChannel_28userrec_20_2Auser_2C_20std_3A_3Astring_20cname_2C_20std_3A_3Astring_20reason_29">Server::PartUserFromChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> cname, <a class="code" href="namespaceirc.html#string">std::string</a> reason) +<a name="l00441"></a>00441 { +<a name="l00442"></a>00442 <span class="keywordflow">return</span> del_channel(user,cname.c_str(),reason.c_str(),<span class="keyword">false</span>); +<a name="l00443"></a>00443 } +<a name="l00444"></a>00444 +<a name="l00445"></a><a class="code" href="classServer.html#GetUsers_28chanrec_20_2Achan_29">00445</a> <a class="code" href="modules_8h.html#chanuserlist">chanuserlist</a> <a class="code" href="classServer.html#GetUsers_28chanrec_20_2Achan_29">Server::GetUsers</a>(<a class="code" href="classchanrec.html">chanrec</a>* chan) +<a name="l00446"></a>00446 { +<a name="l00447"></a>00447 <a class="code" href="modules_8h.html#chanuserlist">chanuserlist</a> userl; +<a name="l00448"></a>00448 userl.clear(); +<a name="l00449"></a>00449 std::vector<char*> *<a class="code" href="channels_8cpp.html#list_5BMAXBUF_5D">list</a> = chan-><a class="code" href="classchanrec.html#GetUsers_28_29">GetUsers</a>(); +<a name="l00450"></a>00450 <span class="keywordflow">for</span> (std::vector<char*>::iterator i = list->begin(); i != list->end(); i++) +<a name="l00451"></a>00451 { +<a name="l00452"></a>00452 <span class="keywordtype">char</span>* o = *i; +<a name="l00453"></a>00453 userl.push_back((<a class="code" href="classuserrec.html">userrec</a>*)o); +<a name="l00454"></a>00454 } +<a name="l00455"></a>00455 <span class="keywordflow">return</span> userl; +<a name="l00456"></a>00456 } +<a name="l00457"></a><a class="code" href="classServer.html#ChangeUserNick_28userrec_20_2Auser_2C_20std_3A_3Astring_20nickname_29">00457</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#ChangeUserNick_28userrec_20_2Auser_2C_20std_3A_3Astring_20nickname_29">Server::ChangeUserNick</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> nickname) +<a name="l00458"></a>00458 { +<a name="l00459"></a>00459 force_nickchange(user,nickname.c_str()); +<a name="l00460"></a>00460 } +<a name="l00461"></a>00461 +<a name="l00462"></a><a class="code" href="classServer.html#QuitUser_28userrec_20_2Auser_2C_20std_3A_3Astring_20reason_29">00462</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#QuitUser_28userrec_20_2Auser_2C_20std_3A_3Astring_20reason_29">Server::QuitUser</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> reason) +<a name="l00463"></a>00463 { +<a name="l00464"></a>00464 kill_link(user,reason.c_str()); +<a name="l00465"></a>00465 } +<a name="l00466"></a>00466 +<a name="l00467"></a><a class="code" href="classServer.html#IsUlined_28std_3A_3Astring_20server_29">00467</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#IsUlined_28std_3A_3Astring_20server_29">Server::IsUlined</a>(<a class="code" href="namespaceirc.html#string">std::string</a> server) +<a name="l00468"></a>00468 { +<a name="l00469"></a>00469 <span class="keywordflow">return</span> <a class="code" href="commands_8h.html#is_5Fuline_28const_20char_20_2Aserver_29">is_uline</a>(server.c_str()); +<a name="l00470"></a>00470 } +<a name="l00471"></a>00471 +<a name="l00472"></a><a class="code" href="classServer.html#CallCommandHandler_28std_3A_3Astring_20commandname_2C_20char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">00472</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#CallCommandHandler_28std_3A_3Astring_20commandname_2C_20char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">Server::CallCommandHandler</a>(<a class="code" href="namespaceirc.html#string">std::string</a> commandname, <span class="keywordtype">char</span>** parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a>* user) +<a name="l00473"></a>00473 { +<a name="l00474"></a>00474 call_handler(commandname.c_str(),parameters,pcnt,user); +<a name="l00475"></a>00475 } +<a name="l00476"></a>00476 +<a name="l00477"></a><a class="code" href="classServer.html#IsValidModuleCommand_28std_3A_3Astring_20commandname_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">00477</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#IsValidModuleCommand_28std_3A_3Astring_20commandname_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">Server::IsValidModuleCommand</a>(<a class="code" href="namespaceirc.html#string">std::string</a> commandname, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a>* user) +<a name="l00478"></a>00478 { +<a name="l00479"></a>00479 <span class="keywordflow">return</span> is_valid_cmd(commandname.c_str(), pcnt, user); +<a name="l00480"></a>00480 } +<a name="l00481"></a>00481 +<a name="l00482"></a><a class="code" href="classServer.html#Log_28int_20level_2C_20std_3A_3Astring_20s_29">00482</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#Log_28int_20level_2C_20std_3A_3Astring_20s_29">Server::Log</a>(<span class="keywordtype">int</span> level, <a class="code" href="namespaceirc.html#string">std::string</a> s) +<a name="l00483"></a>00483 { +<a name="l00484"></a>00484 log(level,<span class="stringliteral">"%s"</span>,s.c_str()); +<a name="l00485"></a>00485 } +<a name="l00486"></a>00486 +<a name="l00487"></a><a class="code" href="classServer.html#AddCommand_28char_20_2Acmd_2C_20handlerfunc_20f_2C_20char_20flags_2C_20int_20minparams_2C_20char_20_2Asource_29">00487</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#AddCommand_28char_20_2Acmd_2C_20handlerfunc_20f_2C_20char_20flags_2C_20int_20minparams_2C_20char_20_2Asource_29">Server::AddCommand</a>(<span class="keywordtype">char</span>* cmd, handlerfunc f, <span class="keywordtype">char</span> flags, <span class="keywordtype">int</span> minparams, <span class="keywordtype">char</span>* source) +<a name="l00488"></a>00488 { +<a name="l00489"></a>00489 <a class="code" href="modules_8h.html#createcommand_28char_20_2Acmd_2C_20handlerfunc_20f_2C_20char_20flags_2C_20int_20minparams_2C_20char_20_2Asource_29">createcommand</a>(cmd,f,flags,minparams,source); +<a name="l00490"></a>00490 } +<a name="l00491"></a>00491 +<a name="l00492"></a><a class="code" href="classServer.html#SendMode_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">00492</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendMode_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">Server::SendMode</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user) +<a name="l00493"></a>00493 { +<a name="l00494"></a>00494 <a class="code" href="mode_8h.html#server_5Fmode_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">server_mode</a>(parameters,pcnt,user); +<a name="l00495"></a>00495 } +<a name="l00496"></a>00496 +<a name="l00497"></a><a class="code" href="classServer.html#Send_28int_20Socket_2C_20std_3A_3Astring_20s_29">00497</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#Send_28int_20Socket_2C_20std_3A_3Astring_20s_29">Server::Send</a>(<span class="keywordtype">int</span> Socket, <a class="code" href="namespaceirc.html#string">std::string</a> s) +<a name="l00498"></a>00498 { +<a name="l00499"></a>00499 Write(Socket,<span class="stringliteral">"%s"</span>,s.c_str()); +<a name="l00500"></a>00500 } +<a name="l00501"></a>00501 +<a name="l00502"></a><a class="code" href="classServer.html#SendServ_28int_20Socket_2C_20std_3A_3Astring_20s_29">00502</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendServ_28int_20Socket_2C_20std_3A_3Astring_20s_29">Server::SendServ</a>(<span class="keywordtype">int</span> Socket, <a class="code" href="namespaceirc.html#string">std::string</a> s) +<a name="l00503"></a>00503 { +<a name="l00504"></a>00504 WriteServ(Socket,<span class="stringliteral">"%s"</span>,s.c_str()); +<a name="l00505"></a>00505 } +<a name="l00506"></a>00506 +<a name="l00507"></a><a class="code" href="classServer.html#SendFrom_28int_20Socket_2C_20userrec_20_2AUser_2C_20std_3A_3Astring_20s_29">00507</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendFrom_28int_20Socket_2C_20userrec_20_2AUser_2C_20std_3A_3Astring_20s_29">Server::SendFrom</a>(<span class="keywordtype">int</span> Socket, <a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="namespaceirc.html#string">std::string</a> s) +<a name="l00508"></a>00508 { +<a name="l00509"></a>00509 WriteFrom(Socket,User,<span class="stringliteral">"%s"</span>,s.c_str()); +<a name="l00510"></a>00510 } +<a name="l00511"></a>00511 +<a name="l00512"></a><a class="code" href="classServer.html#SendTo_28userrec_20_2ASource_2C_20userrec_20_2ADest_2C_20std_3A_3Astring_20s_29">00512</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendTo_28userrec_20_2ASource_2C_20userrec_20_2ADest_2C_20std_3A_3Astring_20s_29">Server::SendTo</a>(<a class="code" href="classuserrec.html">userrec</a>* Source, <a class="code" href="classuserrec.html">userrec</a>* Dest, <a class="code" href="namespaceirc.html#string">std::string</a> s) +<a name="l00513"></a>00513 { +<a name="l00514"></a>00514 <span class="keywordflow">if</span> (!Source) +<a name="l00515"></a>00515 { +<a name="l00516"></a>00516 <span class="comment">// if source is NULL, then the message originates from the local server</span> +<a name="l00517"></a>00517 Write(Dest-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">":%s %s"</span>,this->GetServerName().c_str(),s.c_str()); +<a name="l00518"></a>00518 } +<a name="l00519"></a>00519 <span class="keywordflow">else</span> +<a name="l00520"></a>00520 { +<a name="l00521"></a>00521 <span class="comment">// otherwise it comes from the user specified</span> +<a name="l00522"></a>00522 WriteTo(Source,Dest,<span class="stringliteral">"%s"</span>,s.c_str()); +<a name="l00523"></a>00523 } +<a name="l00524"></a>00524 } +<a name="l00525"></a>00525 +<a name="l00526"></a><a class="code" href="classServer.html#SendChannelServerNotice_28std_3A_3Astring_20ServName_2C_20chanrec_20_2AChannel_2C_20std_3A_3Astring_20text_29">00526</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendChannelServerNotice_28std_3A_3Astring_20ServName_2C_20chanrec_20_2AChannel_2C_20std_3A_3Astring_20text_29">Server::SendChannelServerNotice</a>(<a class="code" href="namespaceirc.html#string">std::string</a> ServName, <a class="code" href="classchanrec.html">chanrec</a>* Channel, <a class="code" href="namespaceirc.html#string">std::string</a> text) +<a name="l00527"></a>00527 { +<a name="l00528"></a>00528 WriteChannelWithServ((<span class="keywordtype">char</span>*)ServName.c_str(), Channel, <span class="stringliteral">"%s"</span>, text.c_str()); +<a name="l00529"></a>00529 } +<a name="l00530"></a>00530 +<a name="l00531"></a><a class="code" href="classServer.html#SendChannel_28userrec_20_2AUser_2C_20chanrec_20_2AChannel_2C_20std_3A_3Astring_20s_2C_20bool_20IncludeSender_29">00531</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendChannel_28userrec_20_2AUser_2C_20chanrec_20_2AChannel_2C_20std_3A_3Astring_20s_2C_20bool_20IncludeSender_29">Server::SendChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Channel, <a class="code" href="namespaceirc.html#string">std::string</a> s,<span class="keywordtype">bool</span> IncludeSender) +<a name="l00532"></a>00532 { +<a name="l00533"></a>00533 <span class="keywordflow">if</span> (IncludeSender) +<a name="l00534"></a>00534 { +<a name="l00535"></a>00535 WriteChannel(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str()); +<a name="l00536"></a>00536 } +<a name="l00537"></a>00537 <span class="keywordflow">else</span> +<a name="l00538"></a>00538 { +<a name="l00539"></a>00539 ChanExceptSender(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str()); +<a name="l00540"></a>00540 } +<a name="l00541"></a>00541 } +<a name="l00542"></a>00542 +<a name="l00543"></a><a class="code" href="classServer.html#CommonChannels_28userrec_20_2Au_31_2C_20userrec_20_2Au_32_29">00543</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#CommonChannels_28userrec_20_2Au_31_2C_20userrec_20_2Au_32_29">Server::CommonChannels</a>(<a class="code" href="classuserrec.html">userrec</a>* u1, <a class="code" href="classuserrec.html">userrec</a>* u2) +<a name="l00544"></a>00544 { +<a name="l00545"></a>00545 <span class="keywordflow">return</span> (<a class="code" href="message_8h.html#common_5Fchannels_28userrec_20_2Au_2C_20userrec_20_2Au_32_29">common_channels</a>(u1,u2) != 0); +<a name="l00546"></a>00546 } +<a name="l00547"></a>00547 +<a name="l00548"></a><a class="code" href="classServer.html#SendCommon_28userrec_20_2AUser_2C_20std_3A_3Astring_20text_2C_20bool_20IncludeSender_29">00548</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendCommon_28userrec_20_2AUser_2C_20std_3A_3Astring_20text_2C_20bool_20IncludeSender_29">Server::SendCommon</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="namespaceirc.html#string">std::string</a> text,<span class="keywordtype">bool</span> IncludeSender) +<a name="l00549"></a>00549 { +<a name="l00550"></a>00550 <span class="keywordflow">if</span> (IncludeSender) +<a name="l00551"></a>00551 { +<a name="l00552"></a>00552 WriteCommon(User,<span class="stringliteral">"%s"</span>,text.c_str()); +<a name="l00553"></a>00553 } +<a name="l00554"></a>00554 <span class="keywordflow">else</span> +<a name="l00555"></a>00555 { +<a name="l00556"></a>00556 WriteCommonExcept(User,<span class="stringliteral">"%s"</span>,text.c_str()); +<a name="l00557"></a>00557 } +<a name="l00558"></a>00558 } +<a name="l00559"></a>00559 +<a name="l00560"></a><a class="code" href="classServer.html#SendWallops_28userrec_20_2AUser_2C_20std_3A_3Astring_20text_29">00560</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendWallops_28userrec_20_2AUser_2C_20std_3A_3Astring_20text_29">Server::SendWallops</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="namespaceirc.html#string">std::string</a> text) +<a name="l00561"></a>00561 { +<a name="l00562"></a>00562 WriteWallOps(User,<span class="keyword">false</span>,<span class="stringliteral">"%s"</span>,text.c_str()); +<a name="l00563"></a>00563 } +<a name="l00564"></a>00564 +<a name="l00565"></a><a class="code" href="classServer.html#ChangeHost_28userrec_20_2Auser_2C_20std_3A_3Astring_20host_29">00565</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#ChangeHost_28userrec_20_2Auser_2C_20std_3A_3Astring_20host_29">Server::ChangeHost</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> host) +<a name="l00566"></a>00566 { +<a name="l00567"></a>00567 <a class="code" href="message_8h.html#ChangeDisplayedHost_28userrec_20_2Auser_2C_20const_20char_20_2Ahost_29">ChangeDisplayedHost</a>(user,host.c_str()); +<a name="l00568"></a>00568 } +<a name="l00569"></a>00569 +<a name="l00570"></a><a class="code" href="classServer.html#ChangeGECOS_28userrec_20_2Auser_2C_20std_3A_3Astring_20gecos_29">00570</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#ChangeGECOS_28userrec_20_2Auser_2C_20std_3A_3Astring_20gecos_29">Server::ChangeGECOS</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> gecos) +<a name="l00571"></a>00571 { +<a name="l00572"></a>00572 <a class="code" href="message_8h.html#ChangeName_28userrec_20_2Auser_2C_20const_20char_20_2Agecos_29">ChangeName</a>(user,gecos.c_str()); +<a name="l00573"></a>00573 } +<a name="l00574"></a>00574 +<a name="l00575"></a><a class="code" href="classServer.html#IsNick_28std_3A_3Astring_20nick_29">00575</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#IsNick_28std_3A_3Astring_20nick_29">Server::IsNick</a>(<a class="code" href="namespaceirc.html#string">std::string</a> nick) +<a name="l00576"></a>00576 { +<a name="l00577"></a>00577 <span class="keywordflow">return</span> (<a class="code" href="message_8h.html#isnick_28const_20char_20_2An_29">isnick</a>(nick.c_str()) != 0); +<a name="l00578"></a>00578 } +<a name="l00579"></a>00579 +<a name="l00580"></a><a class="code" href="classServer.html#FindNick_28std_3A_3Astring_20nick_29">00580</a> <a class="code" href="classuserrec.html">userrec</a>* <a class="code" href="classServer.html#FindNick_28std_3A_3Astring_20nick_29">Server::FindNick</a>(<a class="code" href="namespaceirc.html#string">std::string</a> nick) +<a name="l00581"></a>00581 { +<a name="l00582"></a>00582 <span class="keywordflow">return</span> Find(nick); +<a name="l00583"></a>00583 } +<a name="l00584"></a>00584 +<a name="l00585"></a><a class="code" href="classServer.html#FindDescriptor_28int_20socket_29">00585</a> <a class="code" href="classuserrec.html">userrec</a>* <a class="code" href="classServer.html#FindDescriptor_28int_20socket_29">Server::FindDescriptor</a>(<span class="keywordtype">int</span> socket) +<a name="l00586"></a>00586 { +<a name="l00587"></a>00587 <span class="keywordflow">return</span> (socket < 65536 ? fd_ref_table[socket] : NULL); +<a name="l00588"></a>00588 } +<a name="l00589"></a>00589 +<a name="l00590"></a><a class="code" href="classServer.html#FindChannel_28std_3A_3Astring_20channel_29">00590</a> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#FindChannel_28std_3A_3Astring_20channel_29">Server::FindChannel</a>(<a class="code" href="namespaceirc.html#string">std::string</a> channel) +<a name="l00591"></a>00591 { +<a name="l00592"></a>00592 <span class="keywordflow">return</span> FindChan(channel.c_str()); +<a name="l00593"></a>00593 } +<a name="l00594"></a>00594 +<a name="l00595"></a><a class="code" href="classServer.html#ChanMode_28userrec_20_2AUser_2C_20chanrec_20_2AChan_29">00595</a> <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classServer.html#ChanMode_28userrec_20_2AUser_2C_20chanrec_20_2AChan_29">Server::ChanMode</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Chan) +<a name="l00596"></a>00596 { +<a name="l00597"></a>00597 <span class="keywordflow">return</span> <a class="code" href="message_8h.html#cmode_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">cmode</a>(User,Chan); +<a name="l00598"></a>00598 } +<a name="l00599"></a>00599 +<a name="l00600"></a><a class="code" href="classServer.html#IsOnChannel_28userrec_20_2AUser_2C_20chanrec_20_2AChan_29">00600</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#IsOnChannel_28userrec_20_2AUser_2C_20chanrec_20_2AChan_29">Server::IsOnChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Chan) +<a name="l00601"></a>00601 { +<a name="l00602"></a>00602 <span class="keywordflow">return</span> <a class="code" href="message_8h.html#has_5Fchannel_28userrec_20_2Au_2C_20chanrec_20_2Ac_29">has_channel</a>(User,Chan); +<a name="l00603"></a>00603 } +<a name="l00604"></a>00604 +<a name="l00605"></a><a class="code" href="classServer.html#GetServerName_28_29">00605</a> <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classServer.html#GetServerName_28_29">Server::GetServerName</a>() +<a name="l00606"></a>00606 { +<a name="l00607"></a>00607 <span class="keywordflow">return</span> getservername(); +<a name="l00608"></a>00608 } +<a name="l00609"></a>00609 +<a name="l00610"></a><a class="code" href="classServer.html#GetNetworkName_28_29">00610</a> <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classServer.html#GetNetworkName_28_29">Server::GetNetworkName</a>() +<a name="l00611"></a>00611 { +<a name="l00612"></a>00612 <span class="keywordflow">return</span> getnetworkname(); +<a name="l00613"></a>00613 } +<a name="l00614"></a>00614 +<a name="l00615"></a><a class="code" href="classServer.html#GetServerDescription_28_29">00615</a> <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classServer.html#GetServerDescription_28_29">Server::GetServerDescription</a>() +<a name="l00616"></a>00616 { +<a name="l00617"></a>00617 <span class="keywordflow">return</span> getserverdesc(); +<a name="l00618"></a>00618 } +<a name="l00619"></a>00619 +<a name="l00620"></a><a class="code" href="classServer.html#GetAdmin_28_29">00620</a> <a class="code" href="classAdmin.html">Admin</a> <a class="code" href="classServer.html#GetAdmin_28_29">Server::GetAdmin</a>() +<a name="l00621"></a>00621 { +<a name="l00622"></a>00622 <span class="keywordflow">return</span> <a class="code" href="classAdmin.html">Admin</a>(getadminname(),getadminemail(),getadminnick()); +<a name="l00623"></a>00623 } +<a name="l00624"></a>00624 +<a name="l00625"></a>00625 +<a name="l00626"></a>00626 +<a name="l00627"></a><a class="code" href="classServer.html#AddExtendedMode_28char_20modechar_2C_20int_20type_2C_20bool_20requires_5Foper_2C_20int_20params_5Fwhen_5Fon_2C_20int_20params_5Fwhen_5Foff_29">00627</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#AddExtendedMode_28char_20modechar_2C_20int_20type_2C_20bool_20requires_5Foper_2C_20int_20params_5Fwhen_5Fon_2C_20int_20params_5Fwhen_5Foff_29">Server::AddExtendedMode</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type, <span class="keywordtype">bool</span> requires_oper, <span class="keywordtype">int</span> params_when_on, <span class="keywordtype">int</span> params_when_off) +<a name="l00628"></a>00628 { +<a name="l00629"></a>00629 <span class="keywordflow">if</span> (((modechar >= <span class="charliteral">'A'</span>) && (modechar <= <span class="charliteral">'Z'</span>)) || ((modechar >= <span class="charliteral">'a'</span>) && (modechar <= <span class="charliteral">'z'</span>))) +<a name="l00630"></a>00630 { +<a name="l00631"></a>00631 <span class="keywordflow">if</span> (type == <a class="code" href="modules_8h.html#MT_5FSERVER">MT_SERVER</a>) +<a name="l00632"></a>00632 { +<a name="l00633"></a>00633 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** Modes of type MT_SERVER are reserved for future expansion"</span>); +<a name="l00634"></a>00634 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00635"></a>00635 } +<a name="l00636"></a>00636 <span class="keywordflow">if</span> (((params_when_on>0) || (params_when_off>0)) && (type == <a class="code" href="modules_8h.html#MT_5FCLIENT">MT_CLIENT</a>)) +<a name="l00637"></a>00637 { +<a name="l00638"></a>00638 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** Parameters on MT_CLIENT modes are not supported"</span>); +<a name="l00639"></a>00639 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00640"></a>00640 } +<a name="l00641"></a>00641 <span class="keywordflow">if</span> ((params_when_on>1) || (params_when_off>1)) +<a name="l00642"></a>00642 { +<a name="l00643"></a>00643 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** More than one parameter for an MT_CHANNEL mode is not yet supported"</span>); +<a name="l00644"></a>00644 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00645"></a>00645 } +<a name="l00646"></a>00646 <span class="keywordflow">return</span> <a class="code" href="modules_8cpp.html#DoAddExtendedMode_28char_20modechar_2C_20int_20type_2C_20bool_20requires_5Foper_2C_20int_20params_5Fon_2C_20int_20params_5Foff_29">DoAddExtendedMode</a>(modechar,type,requires_oper,params_when_on,params_when_off); +<a name="l00647"></a>00647 } +<a name="l00648"></a>00648 <span class="keywordflow">else</span> +<a name="l00649"></a>00649 { +<a name="l00650"></a>00650 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** Muppet modechar detected."</span>); +<a name="l00651"></a>00651 } +<a name="l00652"></a>00652 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00653"></a>00653 } +<a name="l00654"></a>00654 +<a name="l00655"></a><a class="code" href="classServer.html#AddExtendedListMode_28char_20modechar_29">00655</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#AddExtendedListMode_28char_20modechar_29">Server::AddExtendedListMode</a>(<span class="keywordtype">char</span> modechar) +<a name="l00656"></a>00656 { +<a name="l00657"></a>00657 <span class="keywordtype">bool</span> res = <a class="code" href="modules_8cpp.html#DoAddExtendedMode_28char_20modechar_2C_20int_20type_2C_20bool_20requires_5Foper_2C_20int_20params_5Fon_2C_20int_20params_5Foff_29">DoAddExtendedMode</a>(modechar,<a class="code" href="modules_8h.html#MT_5FCHANNEL">MT_CHANNEL</a>,<span class="keyword">false</span>,1,1); +<a name="l00658"></a>00658 <span class="keywordflow">if</span> (res) +<a name="l00659"></a>00659 <a class="code" href="modules_8cpp.html#ModeMakeList_28char_20modechar_29">ModeMakeList</a>(modechar); +<a name="l00660"></a>00660 <span class="keywordflow">return</span> res; <a name="l00661"></a>00661 } <a name="l00662"></a>00662 -<a name="l00663"></a><a class="code" href="classServer.html#AddExtendedListMode_28char_20modechar_29">00663</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#AddExtendedListMode_28char_20modechar_29">Server::AddExtendedListMode</a>(<span class="keywordtype">char</span> modechar) +<a name="l00663"></a><a class="code" href="classServer.html#CountUsers_28chanrec_20_2Ac_29">00663</a> <span class="keywordtype">int</span> <a class="code" href="classServer.html#CountUsers_28chanrec_20_2Ac_29">Server::CountUsers</a>(<a class="code" href="classchanrec.html">chanrec</a>* c) <a name="l00664"></a>00664 { -<a name="l00665"></a>00665 <span class="keywordtype">bool</span> res = <a class="code" href="modules_8cpp.html#DoAddExtendedMode_28char_20modechar_2C_20int_20type_2C_20bool_20requires_5Foper_2C_20int_20params_5Fon_2C_20int_20params_5Foff_29">DoAddExtendedMode</a>(modechar,<a class="code" href="modules_8h.html#MT_5FCHANNEL">MT_CHANNEL</a>,<span class="keyword">false</span>,1,1); -<a name="l00666"></a>00666 <span class="keywordflow">if</span> (res) -<a name="l00667"></a>00667 <a class="code" href="modules_8cpp.html#ModeMakeList_28char_20modechar_29">ModeMakeList</a>(modechar); -<a name="l00668"></a>00668 <span class="keywordflow">return</span> res; -<a name="l00669"></a>00669 } -<a name="l00670"></a>00670 -<a name="l00671"></a><a class="code" href="classServer.html#CountUsers_28chanrec_20_2Ac_29">00671</a> <span class="keywordtype">int</span> <a class="code" href="classServer.html#CountUsers_28chanrec_20_2Ac_29">Server::CountUsers</a>(<a class="code" href="classchanrec.html">chanrec</a>* c) -<a name="l00672"></a>00672 { -<a name="l00673"></a>00673 <span class="keywordflow">return</span> usercount(c); -<a name="l00674"></a>00674 } -<a name="l00675"></a>00675 -<a name="l00676"></a>00676 -<a name="l00677"></a><a class="code" href="classServer.html#UserToPseudo_28userrec_20_2Auser_2C_20std_3A_3Astring_20message_29">00677</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#UserToPseudo_28userrec_20_2Auser_2C_20std_3A_3Astring_20message_29">Server::UserToPseudo</a>(<a class="code" href="classuserrec.html">userrec</a>* user,<a class="code" href="namespaceirc.html#string">std::string</a> message) -<a name="l00678"></a>00678 { -<a name="l00679"></a>00679 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> old_fd = user-><a class="code" href="classconnection.html#fd">fd</a>; -<a name="l00680"></a>00680 user-><a class="code" href="classconnection.html#fd">fd</a> = <a class="code" href="modules_8h.html#FD_5FMAGIC_5FNUMBER">FD_MAGIC_NUMBER</a>; -<a name="l00681"></a>00681 user-><a class="code" href="classuserrec.html#ClearBuffer_28_29">ClearBuffer</a>(); -<a name="l00682"></a>00682 Write(old_fd,<span class="stringliteral">"ERROR :Closing link (%s@%s) [%s]"</span>,user-><a class="code" href="classuserrec.html#ident_5BIDENTMAX_2B_32_5D">ident</a>,user-><a class="code" href="classconnection.html#host_5B_31_36_30_5D">host</a>,message.c_str()); -<a name="l00683"></a>00683 <span class="preprocessor">#ifdef USE_KQUEUE</span> -<a name="l00684"></a>00684 <span class="preprocessor"></span> <span class="keyword">struct </span>kevent ke; -<a name="l00685"></a>00685 EV_SET(&ke, old_fd, EVFILT_READ, EV_DELETE, 0, 0, NULL); -<a name="l00686"></a>00686 <span class="keywordtype">int</span> i = kevent(kq, &ke, 1, 0, 0, NULL); -<a name="l00687"></a>00687 <span class="keywordflow">if</span> (i == -1) -<a name="l00688"></a>00688 { -<a name="l00689"></a>00689 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"kqueue: Failed to remove user from queue!"</span>); -<a name="l00690"></a>00690 } -<a name="l00691"></a>00691 <span class="preprocessor">#endif</span> -<a name="l00692"></a>00692 <span class="preprocessor"></span><span class="preprocessor">#ifdef USE_EPOLL</span> -<a name="l00693"></a>00693 <span class="preprocessor"></span> <span class="keyword">struct </span>epoll_event ev; -<a name="l00694"></a>00694 ev.events = EPOLLIN | EPOLLET; -<a name="l00695"></a>00695 ev.data.fd = old_fd; -<a name="l00696"></a>00696 <span class="keywordtype">int</span> i = epoll_ctl(ep, EPOLL_CTL_DEL, old_fd, &ev); -<a name="l00697"></a>00697 <span class="keywordflow">if</span> (i < 0) -<a name="l00698"></a>00698 { -<a name="l00699"></a>00699 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"epoll: List deletion failure!"</span>); -<a name="l00700"></a>00700 } -<a name="l00701"></a>00701 <span class="preprocessor">#endif</span> -<a name="l00702"></a>00702 <span class="preprocessor"></span> -<a name="l00703"></a>00703 shutdown(old_fd,2); -<a name="l00704"></a>00704 close(old_fd); -<a name="l00705"></a>00705 <span class="keywordflow">return</span> <span class="keyword">true</span>; -<a name="l00706"></a>00706 } -<a name="l00707"></a>00707 -<a name="l00708"></a><a class="code" href="classServer.html#PseudoToUser_28userrec_20_2Aalive_2C_20userrec_20_2Azombie_2C_20std_3A_3Astring_20message_29">00708</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#PseudoToUser_28userrec_20_2Aalive_2C_20userrec_20_2Azombie_2C_20std_3A_3Astring_20message_29">Server::PseudoToUser</a>(<a class="code" href="classuserrec.html">userrec</a>* alive,<a class="code" href="classuserrec.html">userrec</a>* zombie,<a class="code" href="namespaceirc.html#string">std::string</a> message) -<a name="l00709"></a>00709 { -<a name="l00710"></a>00710 zombie-><a class="code" href="classconnection.html#fd">fd</a> = alive-><a class="code" href="classconnection.html#fd">fd</a>; -<a name="l00711"></a>00711 alive-><a class="code" href="classconnection.html#fd">fd</a> = <a class="code" href="modules_8h.html#FD_5FMAGIC_5FNUMBER">FD_MAGIC_NUMBER</a>; -<a name="l00712"></a>00712 alive-><a class="code" href="classuserrec.html#ClearBuffer_28_29">ClearBuffer</a>(); -<a name="l00713"></a>00713 Write(zombie-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">":%s!%s@%s NICK %s"</span>,alive-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>,alive-><a class="code" href="classuserrec.html#ident_5BIDENTMAX_2B_32_5D">ident</a>,alive-><a class="code" href="classconnection.html#host_5B_31_36_30_5D">host</a>,zombie-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>); -<a name="l00714"></a>00714 kill_link(alive,message.c_str()); -<a name="l00715"></a>00715 fd_ref_table[zombie-><a class="code" href="classconnection.html#fd">fd</a>] = zombie; -<a name="l00716"></a>00716 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i != MAXCHANS; i++) -<a name="l00717"></a>00717 { -<a name="l00718"></a>00718 <span class="keywordflow">if</span> (zombie-><a class="code" href="classuserrec.html#chans_5BMAXCHANS_5D">chans</a>[i].<a class="code" href="classucrec.html#channel">channel</a> != NULL) -<a name="l00719"></a>00719 { -<a name="l00720"></a>00720 <span class="keywordflow">if</span> (zombie-><a class="code" href="classuserrec.html#chans_5BMAXCHANS_5D">chans</a>[i].<a class="code" href="classucrec.html#channel">channel</a>-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>) -<a name="l00721"></a>00721 { -<a name="l00722"></a>00722 <a class="code" href="classchanrec.html">chanrec</a>* Ptr = zombie-><a class="code" href="classuserrec.html#chans_5BMAXCHANS_5D">chans</a>[i].<a class="code" href="classucrec.html#channel">channel</a>; -<a name="l00723"></a>00723 WriteFrom(zombie-><a class="code" href="classconnection.html#fd">fd</a>,zombie,<span class="stringliteral">"JOIN %s"</span>,Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); -<a name="l00724"></a>00724 <span class="keywordflow">if</span> (Ptr-><a class="code" href="classchanrec.html#topicset">topicset</a>) -<a name="l00725"></a>00725 { -<a name="l00726"></a>00726 WriteServ(zombie-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"332 %s %s :%s"</span>, zombie-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>, Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>, Ptr-><a class="code" href="classchanrec.html#topic_5BMAXBUF_5D">topic</a>); -<a name="l00727"></a>00727 WriteServ(zombie-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"333 %s %s %s %d"</span>, zombie-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>, Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>, Ptr-><a class="code" href="classchanrec.html#setby_5BNICKMAX_5D">setby</a>, Ptr-><a class="code" href="classchanrec.html#topicset">topicset</a>); -<a name="l00728"></a>00728 } -<a name="l00729"></a>00729 userlist(zombie,Ptr); -<a name="l00730"></a>00730 WriteServ(zombie-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"366 %s %s :End of /NAMES list."</span>, zombie-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>, Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); -<a name="l00731"></a>00731 -<a name="l00732"></a>00732 } -<a name="l00733"></a>00733 } -<a name="l00734"></a>00734 } -<a name="l00735"></a>00735 <span class="keywordflow">return</span> <span class="keyword">true</span>; -<a name="l00736"></a>00736 } -<a name="l00737"></a>00737 -<a name="l00738"></a><a class="code" href="classServer.html#AddGLine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">00738</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#AddGLine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">Server::AddGLine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, <a class="code" href="namespaceirc.html#string">std::string</a> source, <a class="code" href="namespaceirc.html#string">std::string</a> reason, <a class="code" href="namespaceirc.html#string">std::string</a> hostmask) -<a name="l00739"></a>00739 { -<a name="l00740"></a>00740 <a class="code" href="xline_8h.html#add_5Fgline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Ahostmask_29">add_gline</a>(duration, source.c_str(), reason.c_str(), hostmask.c_str()); -<a name="l00741"></a>00741 } -<a name="l00742"></a>00742 -<a name="l00743"></a><a class="code" href="classServer.html#AddQLine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20nickname_29">00743</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#AddQLine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20nickname_29">Server::AddQLine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, <a class="code" href="namespaceirc.html#string">std::string</a> source, <a class="code" href="namespaceirc.html#string">std::string</a> reason, <a class="code" href="namespaceirc.html#string">std::string</a> nickname) -<a name="l00744"></a>00744 { -<a name="l00745"></a>00745 <a class="code" href="xline_8h.html#add_5Fqline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Anickname_29">add_qline</a>(duration, source.c_str(), reason.c_str(), nickname.c_str()); -<a name="l00746"></a>00746 } -<a name="l00747"></a>00747 -<a name="l00748"></a><a class="code" href="classServer.html#AddZLine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20ipaddr_29">00748</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#AddZLine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20ipaddr_29">Server::AddZLine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, <a class="code" href="namespaceirc.html#string">std::string</a> source, <a class="code" href="namespaceirc.html#string">std::string</a> reason, <a class="code" href="namespaceirc.html#string">std::string</a> ipaddr) -<a name="l00749"></a>00749 { -<a name="l00750"></a>00750 <a class="code" href="xline_8h.html#add_5Fzline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Aipaddr_29">add_zline</a>(duration, source.c_str(), reason.c_str(), ipaddr.c_str()); -<a name="l00751"></a>00751 } -<a name="l00752"></a>00752 -<a name="l00753"></a><a class="code" href="classServer.html#AddKLine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">00753</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#AddKLine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">Server::AddKLine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, <a class="code" href="namespaceirc.html#string">std::string</a> source, <a class="code" href="namespaceirc.html#string">std::string</a> reason, <a class="code" href="namespaceirc.html#string">std::string</a> hostmask) -<a name="l00754"></a>00754 { -<a name="l00755"></a>00755 <a class="code" href="xline_8h.html#add_5Fkline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Ahostmask_29">add_kline</a>(duration, source.c_str(), reason.c_str(), hostmask.c_str()); -<a name="l00756"></a>00756 } -<a name="l00757"></a>00757 -<a name="l00758"></a><a class="code" href="classServer.html#AddELine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">00758</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#AddELine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">Server::AddELine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, <a class="code" href="namespaceirc.html#string">std::string</a> source, <a class="code" href="namespaceirc.html#string">std::string</a> reason, <a class="code" href="namespaceirc.html#string">std::string</a> hostmask) -<a name="l00759"></a>00759 { -<a name="l00760"></a>00760 <a class="code" href="xline_8h.html#add_5Feline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Ahostmask_29">add_eline</a>(duration, source.c_str(), reason.c_str(), hostmask.c_str()); -<a name="l00761"></a>00761 } -<a name="l00762"></a>00762 -<a name="l00763"></a><a class="code" href="classServer.html#DelGLine_28std_3A_3Astring_20hostmask_29">00763</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#DelGLine_28std_3A_3Astring_20hostmask_29">Server::DelGLine</a>(<a class="code" href="namespaceirc.html#string">std::string</a> hostmask) -<a name="l00764"></a>00764 { -<a name="l00765"></a>00765 <span class="keywordflow">return</span> <a class="code" href="xline_8h.html#del_5Fgline_28const_20char_20_2Ahostmask_29">del_gline</a>(hostmask.c_str()); -<a name="l00766"></a>00766 } -<a name="l00767"></a>00767 -<a name="l00768"></a><a class="code" href="classServer.html#DelQLine_28std_3A_3Astring_20nickname_29">00768</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#DelQLine_28std_3A_3Astring_20nickname_29">Server::DelQLine</a>(<a class="code" href="namespaceirc.html#string">std::string</a> nickname) -<a name="l00769"></a>00769 { -<a name="l00770"></a>00770 <span class="keywordflow">return</span> <a class="code" href="xline_8h.html#del_5Fqline_28const_20char_20_2Anickname_29">del_qline</a>(nickname.c_str()); -<a name="l00771"></a>00771 } -<a name="l00772"></a>00772 -<a name="l00773"></a><a class="code" href="classServer.html#DelZLine_28std_3A_3Astring_20ipaddr_29">00773</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#DelZLine_28std_3A_3Astring_20ipaddr_29">Server::DelZLine</a>(<a class="code" href="namespaceirc.html#string">std::string</a> ipaddr) -<a name="l00774"></a>00774 { -<a name="l00775"></a>00775 <span class="keywordflow">return</span> <a class="code" href="xline_8h.html#del_5Fzline_28const_20char_20_2Aipaddr_29">del_zline</a>(ipaddr.c_str()); -<a name="l00776"></a>00776 } -<a name="l00777"></a>00777 -<a name="l00778"></a><a class="code" href="classServer.html#DelKLine_28std_3A_3Astring_20hostmask_29">00778</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#DelKLine_28std_3A_3Astring_20hostmask_29">Server::DelKLine</a>(<a class="code" href="namespaceirc.html#string">std::string</a> hostmask) -<a name="l00779"></a>00779 { -<a name="l00780"></a>00780 <span class="keywordflow">return</span> <a class="code" href="xline_8h.html#del_5Fkline_28const_20char_20_2Ahostmask_29">del_kline</a>(hostmask.c_str()); -<a name="l00781"></a>00781 } -<a name="l00782"></a>00782 -<a name="l00783"></a><a class="code" href="classServer.html#DelELine_28std_3A_3Astring_20hostmask_29">00783</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#DelELine_28std_3A_3Astring_20hostmask_29">Server::DelELine</a>(<a class="code" href="namespaceirc.html#string">std::string</a> hostmask) -<a name="l00784"></a>00784 { -<a name="l00785"></a>00785 <span class="keywordflow">return</span> <a class="code" href="xline_8h.html#del_5Feline_28const_20char_20_2Ahostmask_29">del_eline</a>(hostmask.c_str()); -<a name="l00786"></a>00786 } -<a name="l00787"></a>00787 -<a name="l00788"></a><a class="code" href="classServer.html#CalcDuration_28std_3A_3Astring_20duration_29">00788</a> <span class="keywordtype">long</span> <a class="code" href="classServer.html#CalcDuration_28std_3A_3Astring_20duration_29">Server::CalcDuration</a>(<a class="code" href="namespaceirc.html#string">std::string</a> delta) -<a name="l00789"></a>00789 { -<a name="l00790"></a>00790 <span class="keywordflow">return</span> <a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>(delta.c_str()); -<a name="l00791"></a>00791 } -<a name="l00792"></a>00792 -<a name="l00793"></a><a class="code" href="classServer.html#IsValidMask_28std_3A_3Astring_20mask_29">00793</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#IsValidMask_28std_3A_3Astring_20mask_29">Server::IsValidMask</a>(<a class="code" href="namespaceirc.html#string">std::string</a> mask) -<a name="l00794"></a>00794 { -<a name="l00795"></a>00795 <span class="keyword">const</span> <span class="keywordtype">char</span>* dest = mask.c_str(); -<a name="l00796"></a>00796 <span class="keywordflow">if</span> (strchr(dest,<span class="charliteral">'!'</span>)==0) -<a name="l00797"></a>00797 <span class="keywordflow">return</span> <span class="keyword">false</span>; -<a name="l00798"></a>00798 <span class="keywordflow">if</span> (strchr(dest,<span class="charliteral">'@'</span>)==0) -<a name="l00799"></a>00799 <span class="keywordflow">return</span> <span class="keyword">false</span>; -<a name="l00800"></a>00800 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i < strlen(dest); i++) -<a name="l00801"></a>00801 <span class="keywordflow">if</span> (dest[i] < 32) -<a name="l00802"></a>00802 <span class="keywordflow">return</span> <span class="keyword">false</span>; -<a name="l00803"></a>00803 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i < strlen(dest); i++) -<a name="l00804"></a>00804 <span class="keywordflow">if</span> (dest[i] > 126) -<a name="l00805"></a>00805 <span class="keywordflow">return</span> <span class="keyword">false</span>; -<a name="l00806"></a>00806 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> c = 0; -<a name="l00807"></a>00807 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i < strlen(dest); i++) -<a name="l00808"></a>00808 <span class="keywordflow">if</span> (dest[i] == <span class="charliteral">'!'</span>) -<a name="l00809"></a>00809 c++; -<a name="l00810"></a>00810 <span class="keywordflow">if</span> (c>1) -<a name="l00811"></a>00811 <span class="keywordflow">return</span> <span class="keyword">false</span>; -<a name="l00812"></a>00812 c = 0; -<a name="l00813"></a>00813 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i < strlen(dest); i++) -<a name="l00814"></a>00814 <span class="keywordflow">if</span> (dest[i] == <span class="charliteral">'@'</span>) -<a name="l00815"></a>00815 c++; -<a name="l00816"></a>00816 <span class="keywordflow">if</span> (c>1) -<a name="l00817"></a>00817 <span class="keywordflow">return</span> <span class="keyword">false</span>; -<a name="l00818"></a>00818 -<a name="l00819"></a>00819 <span class="keywordflow">return</span> <span class="keyword">true</span>; -<a name="l00820"></a>00820 } -<a name="l00821"></a>00821 -<a name="l00822"></a><a class="code" href="classServer.html#FindModule_28std_3A_3Astring_20name_29">00822</a> <a class="code" href="classModule.html">Module</a>* <a class="code" href="classServer.html#FindModule_28std_3A_3Astring_20name_29">Server::FindModule</a>(<a class="code" href="namespaceirc.html#string">std::string</a> name) -<a name="l00823"></a>00823 { -<a name="l00824"></a>00824 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i <= <a class="code" href="channels_8cpp.html#MODCOUNT">MODCOUNT</a>; i++) -<a name="l00825"></a>00825 { -<a name="l00826"></a>00826 <span class="keywordflow">if</span> (<a class="code" href="channels_8cpp.html#module_5Fnames">module_names</a>[i] == name) -<a name="l00827"></a>00827 { -<a name="l00828"></a>00828 <span class="keywordflow">return</span> <a class="code" href="channels_8cpp.html#modules">modules</a>[i]; -<a name="l00829"></a>00829 } -<a name="l00830"></a>00830 } -<a name="l00831"></a>00831 <span class="keywordflow">return</span> NULL; -<a name="l00832"></a>00832 } -<a name="l00833"></a>00833 -<a name="l00834"></a><a class="code" href="classConfigReader.html#ConfigReader_28_29">00834</a> <a class="code" href="classConfigReader.html#ConfigReader_28_29">ConfigReader::ConfigReader</a>() -<a name="l00835"></a>00835 { -<a name="l00836"></a>00836 <a class="code" href="modules_8cpp.html#include_5Fstack">include_stack</a>.clear(); -<a name="l00837"></a>00837 this-><a class="code" href="classConfigReader.html#cache">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); -<a name="l00838"></a>00838 this-><a class="code" href="classConfigReader.html#errorlog">errorlog</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); -<a name="l00839"></a>00839 this-><a class="code" href="classConfigReader.html#readerror">readerror</a> = LoadConf(CONFIG_FILE,this->cache,this->errorlog); -<a name="l00840"></a>00840 <span class="keywordflow">if</span> (!this->readerror) -<a name="l00841"></a>00841 this-><a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FFILE_5FNOT_5FFOUND">CONF_FILE_NOT_FOUND</a>; -<a name="l00842"></a>00842 } -<a name="l00843"></a>00843 -<a name="l00844"></a>00844 -<a name="l00845"></a><a class="code" href="classConfigReader.html#_7EConfigReader_28_29">00845</a> <a class="code" href="classConfigReader.html#_7EConfigReader_28_29">ConfigReader::~ConfigReader</a>() -<a name="l00846"></a>00846 { -<a name="l00847"></a>00847 <span class="keywordflow">if</span> (this->cache) -<a name="l00848"></a>00848 <span class="keyword">delete</span> this-><a class="code" href="classConfigReader.html#cache">cache</a>; -<a name="l00849"></a>00849 <span class="keywordflow">if</span> (this->errorlog) -<a name="l00850"></a>00850 <span class="keyword">delete</span> this-><a class="code" href="classConfigReader.html#errorlog">errorlog</a>; -<a name="l00851"></a>00851 } -<a name="l00852"></a>00852 -<a name="l00853"></a>00853 -<a name="l00854"></a><a class="code" href="classConfigReader.html#ConfigReader_28std_3A_3Astring_20filename_29">00854</a> <a class="code" href="classConfigReader.html#ConfigReader_28_29">ConfigReader::ConfigReader</a>(<a class="code" href="namespaceirc.html#string">std::string</a> filename) -<a name="l00855"></a>00855 { -<a name="l00856"></a>00856 this-><a class="code" href="classConfigReader.html#cache">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); -<a name="l00857"></a>00857 this-><a class="code" href="classConfigReader.html#errorlog">errorlog</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); -<a name="l00858"></a>00858 this-><a class="code" href="classConfigReader.html#readerror">readerror</a> = LoadConf(filename.c_str(),this-><a class="code" href="classConfigReader.html#cache">cache</a>,this-><a class="code" href="classConfigReader.html#errorlog">errorlog</a>); -<a name="l00859"></a>00859 <span class="keywordflow">if</span> (!this->readerror) -<a name="l00860"></a>00860 this-><a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FFILE_5FNOT_5FFOUND">CONF_FILE_NOT_FOUND</a>; -<a name="l00861"></a>00861 }; -<a name="l00862"></a>00862 -<a name="l00863"></a><a class="code" href="classConfigReader.html#ReadValue_28std_3A_3Astring_20tag_2C_20std_3A_3Astring_20name_2C_20int_20index_29">00863</a> <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classConfigReader.html#ReadValue_28std_3A_3Astring_20tag_2C_20std_3A_3Astring_20name_2C_20int_20index_29">ConfigReader::ReadValue</a>(<a class="code" href="namespaceirc.html#string">std::string</a> tag, <a class="code" href="namespaceirc.html#string">std::string</a> name, <span class="keywordtype">int</span> index) -<a name="l00864"></a>00864 { -<a name="l00865"></a>00865 <span class="keywordtype">char</span> val[MAXBUF]; -<a name="l00866"></a>00866 <span class="keywordtype">char</span> t[MAXBUF]; -<a name="l00867"></a>00867 <span class="keywordtype">char</span> n[MAXBUF]; -<a name="l00868"></a>00868 strlcpy(t,tag.c_str(),MAXBUF); -<a name="l00869"></a>00869 strlcpy(n,name.c_str(),MAXBUF); -<a name="l00870"></a>00870 <span class="keywordtype">int</span> res = ReadConf(<a class="code" href="classConfigReader.html#cache">cache</a>,t,n,index,val); -<a name="l00871"></a>00871 <span class="keywordflow">if</span> (!res) -<a name="l00872"></a>00872 { -<a name="l00873"></a>00873 this-><a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FVALUE_5FNOT_5FFOUND">CONF_VALUE_NOT_FOUND</a>; -<a name="l00874"></a>00874 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; -<a name="l00875"></a>00875 } -<a name="l00876"></a>00876 <span class="keywordflow">return</span> val; -<a name="l00877"></a>00877 } -<a name="l00878"></a>00878 -<a name="l00879"></a><a class="code" href="classConfigReader.html#ReadFlag_28std_3A_3Astring_20tag_2C_20std_3A_3Astring_20name_2C_20int_20index_29">00879</a> <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#ReadFlag_28std_3A_3Astring_20tag_2C_20std_3A_3Astring_20name_2C_20int_20index_29">ConfigReader::ReadFlag</a>(<a class="code" href="namespaceirc.html#string">std::string</a> tag, <a class="code" href="namespaceirc.html#string">std::string</a> name, <span class="keywordtype">int</span> index) -<a name="l00880"></a>00880 { -<a name="l00881"></a>00881 <span class="keywordtype">char</span> val[MAXBUF]; -<a name="l00882"></a>00882 <span class="keywordtype">char</span> t[MAXBUF]; -<a name="l00883"></a>00883 <span class="keywordtype">char</span> n[MAXBUF]; -<a name="l00884"></a>00884 strlcpy(t,tag.c_str(),MAXBUF); -<a name="l00885"></a>00885 strlcpy(n,name.c_str(),MAXBUF); -<a name="l00886"></a>00886 <span class="keywordtype">int</span> res = ReadConf(<a class="code" href="classConfigReader.html#cache">cache</a>,t,n,index,val); -<a name="l00887"></a>00887 <span class="keywordflow">if</span> (!res) -<a name="l00888"></a>00888 { -<a name="l00889"></a>00889 this-><a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FVALUE_5FNOT_5FFOUND">CONF_VALUE_NOT_FOUND</a>; -<a name="l00890"></a>00890 <span class="keywordflow">return</span> <span class="keyword">false</span>; -<a name="l00891"></a>00891 } -<a name="l00892"></a>00892 <a class="code" href="namespaceirc.html#string">std::string</a> s = val; -<a name="l00893"></a>00893 <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>)); -<a name="l00894"></a>00894 } -<a name="l00895"></a>00895 -<a name="l00896"></a><a class="code" href="classConfigReader.html#ReadInteger_28std_3A_3Astring_20tag_2C_20std_3A_3Astring_20name_2C_20int_20index_2C_20bool_20needs_5Funsigned_29">00896</a> <span class="keywordtype">long</span> <a class="code" href="classConfigReader.html#ReadInteger_28std_3A_3Astring_20tag_2C_20std_3A_3Astring_20name_2C_20int_20index_2C_20bool_20needs_5Funsigned_29">ConfigReader::ReadInteger</a>(<a class="code" href="namespaceirc.html#string">std::string</a> tag, <a class="code" href="namespaceirc.html#string">std::string</a> name, <span class="keywordtype">int</span> index, <span class="keywordtype">bool</span> needs_unsigned) -<a name="l00897"></a>00897 { -<a name="l00898"></a>00898 <span class="keywordtype">char</span> val[MAXBUF]; -<a name="l00899"></a>00899 <span class="keywordtype">char</span> t[MAXBUF]; -<a name="l00900"></a>00900 <span class="keywordtype">char</span> n[MAXBUF]; -<a name="l00901"></a>00901 strlcpy(t,tag.c_str(),MAXBUF); -<a name="l00902"></a>00902 strlcpy(n,name.c_str(),MAXBUF); -<a name="l00903"></a>00903 <span class="keywordtype">int</span> res = ReadConf(<a class="code" href="classConfigReader.html#cache">cache</a>,t,n,index,val); -<a name="l00904"></a>00904 <span class="keywordflow">if</span> (!res) -<a name="l00905"></a>00905 { -<a name="l00906"></a>00906 this-><a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FVALUE_5FNOT_5FFOUND">CONF_VALUE_NOT_FOUND</a>; -<a name="l00907"></a>00907 <span class="keywordflow">return</span> 0; -<a name="l00908"></a>00908 } -<a name="l00909"></a>00909 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i < strlen(val); i++) -<a name="l00910"></a>00910 { -<a name="l00911"></a>00911 <span class="keywordflow">if</span> (!isdigit(val[i])) -<a name="l00912"></a>00912 { -<a name="l00913"></a>00913 this-><a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FNOT_5FA_5FNUMBER">CONF_NOT_A_NUMBER</a>; -<a name="l00914"></a>00914 <span class="keywordflow">return</span> 0; -<a name="l00915"></a>00915 } -<a name="l00916"></a>00916 } -<a name="l00917"></a>00917 <span class="keywordflow">if</span> ((needs_unsigned) && (atoi(val)<0)) -<a name="l00918"></a>00918 { -<a name="l00919"></a>00919 this-><a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FNOT_5FUNSIGNED">CONF_NOT_UNSIGNED</a>; -<a name="l00920"></a>00920 <span class="keywordflow">return</span> 0; -<a name="l00921"></a>00921 } -<a name="l00922"></a>00922 <span class="keywordflow">return</span> atoi(val); -<a name="l00923"></a>00923 } -<a name="l00924"></a>00924 -<a name="l00925"></a><a class="code" href="classConfigReader.html#GetError_28_29">00925</a> <span class="keywordtype">long</span> <a class="code" href="classConfigReader.html#GetError_28_29">ConfigReader::GetError</a>() -<a name="l00926"></a>00926 { -<a name="l00927"></a>00927 <span class="keywordtype">long</span> olderr = this-><a class="code" href="classConfigReader.html#error">error</a>; -<a name="l00928"></a>00928 this-><a class="code" href="classConfigReader.html#error">error</a> = 0; -<a name="l00929"></a>00929 <span class="keywordflow">return</span> olderr; -<a name="l00930"></a>00930 } -<a name="l00931"></a>00931 -<a name="l00932"></a><a class="code" href="classConfigReader.html#DumpErrors_28bool_20bail_2C_20userrec_20_2Auser_29">00932</a> <span class="keywordtype">void</span> <a class="code" href="classConfigReader.html#DumpErrors_28bool_20bail_2C_20userrec_20_2Auser_29">ConfigReader::DumpErrors</a>(<span class="keywordtype">bool</span> bail, <a class="code" href="classuserrec.html">userrec</a>* user) -<a name="l00933"></a>00933 { -<a name="l00934"></a>00934 <span class="keywordflow">if</span> (bail) -<a name="l00935"></a>00935 { -<a name="l00936"></a>00936 printf(<span class="stringliteral">"There were errors in your configuration:\n%s"</span>,<a class="code" href="classConfigReader.html#errorlog">errorlog</a>->str().c_str()); -<a name="l00937"></a>00937 exit(0); -<a name="l00938"></a>00938 } -<a name="l00939"></a>00939 <span class="keywordflow">else</span> -<a name="l00940"></a>00940 { -<a name="l00941"></a>00941 <span class="keywordtype">char</span> dataline[1024]; -<a name="l00942"></a>00942 <span class="keywordflow">if</span> (user) -<a name="l00943"></a>00943 { -<a name="l00944"></a>00944 WriteServ(user-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"NOTICE %s :There were errors in the configuration file:"</span>,user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>); -<a name="l00945"></a>00945 <span class="keywordflow">while</span> (!<a class="code" href="classConfigReader.html#errorlog">errorlog</a>->eof()) -<a name="l00946"></a>00946 { -<a name="l00947"></a>00947 <a class="code" href="classConfigReader.html#errorlog">errorlog</a>->getline(dataline,1024); -<a name="l00948"></a>00948 WriteServ(user-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"NOTICE %s :%s"</span>,user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>,dataline); -<a name="l00949"></a>00949 } -<a name="l00950"></a>00950 } -<a name="l00951"></a>00951 <span class="keywordflow">else</span> -<a name="l00952"></a>00952 { -<a name="l00953"></a>00953 WriteOpers(<span class="stringliteral">"There were errors in the configuration file:"</span>,user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>); -<a name="l00954"></a>00954 <span class="keywordflow">while</span> (!<a class="code" href="classConfigReader.html#errorlog">errorlog</a>->eof()) -<a name="l00955"></a>00955 { -<a name="l00956"></a>00956 <a class="code" href="classConfigReader.html#errorlog">errorlog</a>->getline(dataline,1024); -<a name="l00957"></a>00957 WriteOpers(dataline); -<a name="l00958"></a>00958 } -<a name="l00959"></a>00959 } -<a name="l00960"></a>00960 <span class="keywordflow">return</span>; -<a name="l00961"></a>00961 } -<a name="l00962"></a>00962 } -<a name="l00963"></a>00963 +<a name="l00665"></a>00665 <span class="keywordflow">return</span> usercount(c); +<a name="l00666"></a>00666 } +<a name="l00667"></a>00667 +<a name="l00668"></a>00668 +<a name="l00669"></a><a class="code" href="classServer.html#UserToPseudo_28userrec_20_2Auser_2C_20std_3A_3Astring_20message_29">00669</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#UserToPseudo_28userrec_20_2Auser_2C_20std_3A_3Astring_20message_29">Server::UserToPseudo</a>(<a class="code" href="classuserrec.html">userrec</a>* user,<a class="code" href="namespaceirc.html#string">std::string</a> message) +<a name="l00670"></a>00670 { +<a name="l00671"></a>00671 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> old_fd = user-><a class="code" href="classconnection.html#fd">fd</a>; +<a name="l00672"></a>00672 user-><a class="code" href="classconnection.html#fd">fd</a> = <a class="code" href="modules_8h.html#FD_5FMAGIC_5FNUMBER">FD_MAGIC_NUMBER</a>; +<a name="l00673"></a>00673 user-><a class="code" href="classuserrec.html#ClearBuffer_28_29">ClearBuffer</a>(); +<a name="l00674"></a>00674 Write(old_fd,<span class="stringliteral">"ERROR :Closing link (%s@%s) [%s]"</span>,user-><a class="code" href="classuserrec.html#ident_5BIDENTMAX_2B_32_5D">ident</a>,user-><a class="code" href="classconnection.html#host_5B_31_36_30_5D">host</a>,message.c_str()); +<a name="l00675"></a>00675 SE-><a class="code" href="classSocketEngine.html#DelFd_28int_20fd_29">DelFd</a>(old_fd); +<a name="l00676"></a>00676 shutdown(old_fd,2); +<a name="l00677"></a>00677 close(old_fd); +<a name="l00678"></a>00678 <span class="keywordflow">return</span> <span class="keyword">true</span>; +<a name="l00679"></a>00679 } +<a name="l00680"></a>00680 +<a name="l00681"></a><a class="code" href="classServer.html#PseudoToUser_28userrec_20_2Aalive_2C_20userrec_20_2Azombie_2C_20std_3A_3Astring_20message_29">00681</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#PseudoToUser_28userrec_20_2Aalive_2C_20userrec_20_2Azombie_2C_20std_3A_3Astring_20message_29">Server::PseudoToUser</a>(<a class="code" href="classuserrec.html">userrec</a>* alive,<a class="code" href="classuserrec.html">userrec</a>* zombie,<a class="code" href="namespaceirc.html#string">std::string</a> message) +<a name="l00682"></a>00682 { +<a name="l00683"></a>00683 zombie-><a class="code" href="classconnection.html#fd">fd</a> = alive-><a class="code" href="classconnection.html#fd">fd</a>; +<a name="l00684"></a>00684 alive-><a class="code" href="classconnection.html#fd">fd</a> = <a class="code" href="modules_8h.html#FD_5FMAGIC_5FNUMBER">FD_MAGIC_NUMBER</a>; +<a name="l00685"></a>00685 alive-><a class="code" href="classuserrec.html#ClearBuffer_28_29">ClearBuffer</a>(); +<a name="l00686"></a>00686 Write(zombie-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">":%s!%s@%s NICK %s"</span>,alive-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>,alive-><a class="code" href="classuserrec.html#ident_5BIDENTMAX_2B_32_5D">ident</a>,alive-><a class="code" href="classconnection.html#host_5B_31_36_30_5D">host</a>,zombie-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>); +<a name="l00687"></a>00687 kill_link(alive,message.c_str()); +<a name="l00688"></a>00688 fd_ref_table[zombie-><a class="code" href="classconnection.html#fd">fd</a>] = zombie; +<a name="l00689"></a>00689 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i != MAXCHANS; i++) +<a name="l00690"></a>00690 { +<a name="l00691"></a>00691 <span class="keywordflow">if</span> (zombie-><a class="code" href="classuserrec.html#chans_5BMAXCHANS_5D">chans</a>[i].<a class="code" href="classucrec.html#channel">channel</a> != NULL) +<a name="l00692"></a>00692 { +<a name="l00693"></a>00693 <span class="keywordflow">if</span> (zombie-><a class="code" href="classuserrec.html#chans_5BMAXCHANS_5D">chans</a>[i].<a class="code" href="classucrec.html#channel">channel</a>-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>) +<a name="l00694"></a>00694 { +<a name="l00695"></a>00695 <a class="code" href="classchanrec.html">chanrec</a>* Ptr = zombie-><a class="code" href="classuserrec.html#chans_5BMAXCHANS_5D">chans</a>[i].<a class="code" href="classucrec.html#channel">channel</a>; +<a name="l00696"></a>00696 WriteFrom(zombie-><a class="code" href="classconnection.html#fd">fd</a>,zombie,<span class="stringliteral">"JOIN %s"</span>,Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); +<a name="l00697"></a>00697 <span class="keywordflow">if</span> (Ptr-><a class="code" href="classchanrec.html#topicset">topicset</a>) +<a name="l00698"></a>00698 { +<a name="l00699"></a>00699 WriteServ(zombie-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"332 %s %s :%s"</span>, zombie-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>, Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>, Ptr-><a class="code" href="classchanrec.html#topic_5BMAXBUF_5D">topic</a>); +<a name="l00700"></a>00700 WriteServ(zombie-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"333 %s %s %s %d"</span>, zombie-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>, Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>, Ptr-><a class="code" href="classchanrec.html#setby_5BNICKMAX_5D">setby</a>, Ptr-><a class="code" href="classchanrec.html#topicset">topicset</a>); +<a name="l00701"></a>00701 } +<a name="l00702"></a>00702 userlist(zombie,Ptr); +<a name="l00703"></a>00703 WriteServ(zombie-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"366 %s %s :End of /NAMES list."</span>, zombie-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>, Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); +<a name="l00704"></a>00704 +<a name="l00705"></a>00705 } +<a name="l00706"></a>00706 } +<a name="l00707"></a>00707 } +<a name="l00708"></a>00708 <span class="keywordflow">return</span> <span class="keyword">true</span>; +<a name="l00709"></a>00709 } +<a name="l00710"></a>00710 +<a name="l00711"></a><a class="code" href="classServer.html#AddGLine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">00711</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#AddGLine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">Server::AddGLine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, <a class="code" href="namespaceirc.html#string">std::string</a> source, <a class="code" href="namespaceirc.html#string">std::string</a> reason, <a class="code" href="namespaceirc.html#string">std::string</a> hostmask) +<a name="l00712"></a>00712 { +<a name="l00713"></a>00713 <a class="code" href="xline_8h.html#add_5Fgline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Ahostmask_29">add_gline</a>(duration, source.c_str(), reason.c_str(), hostmask.c_str()); +<a name="l00714"></a>00714 } +<a name="l00715"></a>00715 +<a name="l00716"></a><a class="code" href="classServer.html#AddQLine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20nickname_29">00716</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#AddQLine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20nickname_29">Server::AddQLine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, <a class="code" href="namespaceirc.html#string">std::string</a> source, <a class="code" href="namespaceirc.html#string">std::string</a> reason, <a class="code" href="namespaceirc.html#string">std::string</a> nickname) +<a name="l00717"></a>00717 { +<a name="l00718"></a>00718 <a class="code" href="xline_8h.html#add_5Fqline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Anickname_29">add_qline</a>(duration, source.c_str(), reason.c_str(), nickname.c_str()); +<a name="l00719"></a>00719 } +<a name="l00720"></a>00720 +<a name="l00721"></a><a class="code" href="classServer.html#AddZLine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20ipaddr_29">00721</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#AddZLine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20ipaddr_29">Server::AddZLine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, <a class="code" href="namespaceirc.html#string">std::string</a> source, <a class="code" href="namespaceirc.html#string">std::string</a> reason, <a class="code" href="namespaceirc.html#string">std::string</a> ipaddr) +<a name="l00722"></a>00722 { +<a name="l00723"></a>00723 <a class="code" href="xline_8h.html#add_5Fzline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Aipaddr_29">add_zline</a>(duration, source.c_str(), reason.c_str(), ipaddr.c_str()); +<a name="l00724"></a>00724 } +<a name="l00725"></a>00725 +<a name="l00726"></a><a class="code" href="classServer.html#AddKLine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">00726</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#AddKLine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">Server::AddKLine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, <a class="code" href="namespaceirc.html#string">std::string</a> source, <a class="code" href="namespaceirc.html#string">std::string</a> reason, <a class="code" href="namespaceirc.html#string">std::string</a> hostmask) +<a name="l00727"></a>00727 { +<a name="l00728"></a>00728 <a class="code" href="xline_8h.html#add_5Fkline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Ahostmask_29">add_kline</a>(duration, source.c_str(), reason.c_str(), hostmask.c_str()); +<a name="l00729"></a>00729 } +<a name="l00730"></a>00730 +<a name="l00731"></a><a class="code" href="classServer.html#AddELine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">00731</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#AddELine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">Server::AddELine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, <a class="code" href="namespaceirc.html#string">std::string</a> source, <a class="code" href="namespaceirc.html#string">std::string</a> reason, <a class="code" href="namespaceirc.html#string">std::string</a> hostmask) +<a name="l00732"></a>00732 { +<a name="l00733"></a>00733 <a class="code" href="xline_8h.html#add_5Feline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Ahostmask_29">add_eline</a>(duration, source.c_str(), reason.c_str(), hostmask.c_str()); +<a name="l00734"></a>00734 } +<a name="l00735"></a>00735 +<a name="l00736"></a><a class="code" href="classServer.html#DelGLine_28std_3A_3Astring_20hostmask_29">00736</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#DelGLine_28std_3A_3Astring_20hostmask_29">Server::DelGLine</a>(<a class="code" href="namespaceirc.html#string">std::string</a> hostmask) +<a name="l00737"></a>00737 { +<a name="l00738"></a>00738 <span class="keywordflow">return</span> <a class="code" href="xline_8h.html#del_5Fgline_28const_20char_20_2Ahostmask_29">del_gline</a>(hostmask.c_str()); +<a name="l00739"></a>00739 } +<a name="l00740"></a>00740 +<a name="l00741"></a><a class="code" href="classServer.html#DelQLine_28std_3A_3Astring_20nickname_29">00741</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#DelQLine_28std_3A_3Astring_20nickname_29">Server::DelQLine</a>(<a class="code" href="namespaceirc.html#string">std::string</a> nickname) +<a name="l00742"></a>00742 { +<a name="l00743"></a>00743 <span class="keywordflow">return</span> <a class="code" href="xline_8h.html#del_5Fqline_28const_20char_20_2Anickname_29">del_qline</a>(nickname.c_str()); +<a name="l00744"></a>00744 } +<a name="l00745"></a>00745 +<a name="l00746"></a><a class="code" href="classServer.html#DelZLine_28std_3A_3Astring_20ipaddr_29">00746</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#DelZLine_28std_3A_3Astring_20ipaddr_29">Server::DelZLine</a>(<a class="code" href="namespaceirc.html#string">std::string</a> ipaddr) +<a name="l00747"></a>00747 { +<a name="l00748"></a>00748 <span class="keywordflow">return</span> <a class="code" href="xline_8h.html#del_5Fzline_28const_20char_20_2Aipaddr_29">del_zline</a>(ipaddr.c_str()); +<a name="l00749"></a>00749 } +<a name="l00750"></a>00750 +<a name="l00751"></a><a class="code" href="classServer.html#DelKLine_28std_3A_3Astring_20hostmask_29">00751</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#DelKLine_28std_3A_3Astring_20hostmask_29">Server::DelKLine</a>(<a class="code" href="namespaceirc.html#string">std::string</a> hostmask) +<a name="l00752"></a>00752 { +<a name="l00753"></a>00753 <span class="keywordflow">return</span> <a class="code" href="xline_8h.html#del_5Fkline_28const_20char_20_2Ahostmask_29">del_kline</a>(hostmask.c_str()); +<a name="l00754"></a>00754 } +<a name="l00755"></a>00755 +<a name="l00756"></a><a class="code" href="classServer.html#DelELine_28std_3A_3Astring_20hostmask_29">00756</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#DelELine_28std_3A_3Astring_20hostmask_29">Server::DelELine</a>(<a class="code" href="namespaceirc.html#string">std::string</a> hostmask) +<a name="l00757"></a>00757 { +<a name="l00758"></a>00758 <span class="keywordflow">return</span> <a class="code" href="xline_8h.html#del_5Feline_28const_20char_20_2Ahostmask_29">del_eline</a>(hostmask.c_str()); +<a name="l00759"></a>00759 } +<a name="l00760"></a>00760 +<a name="l00761"></a><a class="code" href="classServer.html#CalcDuration_28std_3A_3Astring_20duration_29">00761</a> <span class="keywordtype">long</span> <a class="code" href="classServer.html#CalcDuration_28std_3A_3Astring_20duration_29">Server::CalcDuration</a>(<a class="code" href="namespaceirc.html#string">std::string</a> delta) +<a name="l00762"></a>00762 { +<a name="l00763"></a>00763 <span class="keywordflow">return</span> <a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>(delta.c_str()); +<a name="l00764"></a>00764 } +<a name="l00765"></a>00765 +<a name="l00766"></a><a class="code" href="classServer.html#IsValidMask_28std_3A_3Astring_20mask_29">00766</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#IsValidMask_28std_3A_3Astring_20mask_29">Server::IsValidMask</a>(<a class="code" href="namespaceirc.html#string">std::string</a> mask) +<a name="l00767"></a>00767 { +<a name="l00768"></a>00768 <span class="keyword">const</span> <span class="keywordtype">char</span>* dest = mask.c_str(); +<a name="l00769"></a>00769 <span class="keywordflow">if</span> (strchr(dest,<span class="charliteral">'!'</span>)==0) +<a name="l00770"></a>00770 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00771"></a>00771 <span class="keywordflow">if</span> (strchr(dest,<span class="charliteral">'@'</span>)==0) +<a name="l00772"></a>00772 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00773"></a>00773 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i < strlen(dest); i++) +<a name="l00774"></a>00774 <span class="keywordflow">if</span> (dest[i] < 32) +<a name="l00775"></a>00775 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00776"></a>00776 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i < strlen(dest); i++) +<a name="l00777"></a>00777 <span class="keywordflow">if</span> (dest[i] > 126) +<a name="l00778"></a>00778 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00779"></a>00779 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> c = 0; +<a name="l00780"></a>00780 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i < strlen(dest); i++) +<a name="l00781"></a>00781 <span class="keywordflow">if</span> (dest[i] == <span class="charliteral">'!'</span>) +<a name="l00782"></a>00782 c++; +<a name="l00783"></a>00783 <span class="keywordflow">if</span> (c>1) +<a name="l00784"></a>00784 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00785"></a>00785 c = 0; +<a name="l00786"></a>00786 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i < strlen(dest); i++) +<a name="l00787"></a>00787 <span class="keywordflow">if</span> (dest[i] == <span class="charliteral">'@'</span>) +<a name="l00788"></a>00788 c++; +<a name="l00789"></a>00789 <span class="keywordflow">if</span> (c>1) +<a name="l00790"></a>00790 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00791"></a>00791 +<a name="l00792"></a>00792 <span class="keywordflow">return</span> <span class="keyword">true</span>; +<a name="l00793"></a>00793 } +<a name="l00794"></a>00794 +<a name="l00795"></a><a class="code" href="classServer.html#FindModule_28std_3A_3Astring_20name_29">00795</a> <a class="code" href="classModule.html">Module</a>* <a class="code" href="classServer.html#FindModule_28std_3A_3Astring_20name_29">Server::FindModule</a>(<a class="code" href="namespaceirc.html#string">std::string</a> name) +<a name="l00796"></a>00796 { +<a name="l00797"></a>00797 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i <= <a class="code" href="channels_8cpp.html#MODCOUNT">MODCOUNT</a>; i++) +<a name="l00798"></a>00798 { +<a name="l00799"></a>00799 <span class="keywordflow">if</span> (<a class="code" href="channels_8cpp.html#module_5Fnames">module_names</a>[i] == name) +<a name="l00800"></a>00800 { +<a name="l00801"></a>00801 <span class="keywordflow">return</span> <a class="code" href="channels_8cpp.html#modules">modules</a>[i]; +<a name="l00802"></a>00802 } +<a name="l00803"></a>00803 } +<a name="l00804"></a>00804 <span class="keywordflow">return</span> NULL; +<a name="l00805"></a>00805 } +<a name="l00806"></a>00806 +<a name="l00807"></a><a class="code" href="classConfigReader.html#ConfigReader_28_29">00807</a> <a class="code" href="classConfigReader.html#ConfigReader_28_29">ConfigReader::ConfigReader</a>() +<a name="l00808"></a>00808 { +<a name="l00809"></a>00809 <a class="code" href="modules_8cpp.html#include_5Fstack">include_stack</a>.clear(); +<a name="l00810"></a>00810 this-><a class="code" href="classConfigReader.html#cache">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); +<a name="l00811"></a>00811 this-><a class="code" href="classConfigReader.html#errorlog">errorlog</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); +<a name="l00812"></a>00812 this-><a class="code" href="classConfigReader.html#readerror">readerror</a> = LoadConf(CONFIG_FILE,this->cache,this->errorlog); +<a name="l00813"></a>00813 <span class="keywordflow">if</span> (!this->readerror) +<a name="l00814"></a>00814 this-><a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FFILE_5FNOT_5FFOUND">CONF_FILE_NOT_FOUND</a>; +<a name="l00815"></a>00815 } +<a name="l00816"></a>00816 +<a name="l00817"></a>00817 +<a name="l00818"></a><a class="code" href="classConfigReader.html#_7EConfigReader_28_29">00818</a> <a class="code" href="classConfigReader.html#_7EConfigReader_28_29">ConfigReader::~ConfigReader</a>() +<a name="l00819"></a>00819 { +<a name="l00820"></a>00820 <span class="keywordflow">if</span> (this->cache) +<a name="l00821"></a>00821 <span class="keyword">delete</span> this-><a class="code" href="classConfigReader.html#cache">cache</a>; +<a name="l00822"></a>00822 <span class="keywordflow">if</span> (this->errorlog) +<a name="l00823"></a>00823 <span class="keyword">delete</span> this-><a class="code" href="classConfigReader.html#errorlog">errorlog</a>; +<a name="l00824"></a>00824 } +<a name="l00825"></a>00825 +<a name="l00826"></a>00826 +<a name="l00827"></a><a class="code" href="classConfigReader.html#ConfigReader_28std_3A_3Astring_20filename_29">00827</a> <a class="code" href="classConfigReader.html#ConfigReader_28_29">ConfigReader::ConfigReader</a>(<a class="code" href="namespaceirc.html#string">std::string</a> filename) +<a name="l00828"></a>00828 { +<a name="l00829"></a>00829 this-><a class="code" href="classConfigReader.html#cache">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); +<a name="l00830"></a>00830 this-><a class="code" href="classConfigReader.html#errorlog">errorlog</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); +<a name="l00831"></a>00831 this-><a class="code" href="classConfigReader.html#readerror">readerror</a> = LoadConf(filename.c_str(),this-><a class="code" href="classConfigReader.html#cache">cache</a>,this-><a class="code" href="classConfigReader.html#errorlog">errorlog</a>); +<a name="l00832"></a>00832 <span class="keywordflow">if</span> (!this->readerror) +<a name="l00833"></a>00833 this-><a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FFILE_5FNOT_5FFOUND">CONF_FILE_NOT_FOUND</a>; +<a name="l00834"></a>00834 }; +<a name="l00835"></a>00835 +<a name="l00836"></a><a class="code" href="classConfigReader.html#ReadValue_28std_3A_3Astring_20tag_2C_20std_3A_3Astring_20name_2C_20int_20index_29">00836</a> <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classConfigReader.html#ReadValue_28std_3A_3Astring_20tag_2C_20std_3A_3Astring_20name_2C_20int_20index_29">ConfigReader::ReadValue</a>(<a class="code" href="namespaceirc.html#string">std::string</a> tag, <a class="code" href="namespaceirc.html#string">std::string</a> name, <span class="keywordtype">int</span> index) +<a name="l00837"></a>00837 { +<a name="l00838"></a>00838 <span class="keywordtype">char</span> val[MAXBUF]; +<a name="l00839"></a>00839 <span class="keywordtype">char</span> t[MAXBUF]; +<a name="l00840"></a>00840 <span class="keywordtype">char</span> n[MAXBUF]; +<a name="l00841"></a>00841 strlcpy(t,tag.c_str(),MAXBUF); +<a name="l00842"></a>00842 strlcpy(n,name.c_str(),MAXBUF); +<a name="l00843"></a>00843 <span class="keywordtype">int</span> res = ReadConf(<a class="code" href="classConfigReader.html#cache">cache</a>,t,n,index,val); +<a name="l00844"></a>00844 <span class="keywordflow">if</span> (!res) +<a name="l00845"></a>00845 { +<a name="l00846"></a>00846 this-><a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FVALUE_5FNOT_5FFOUND">CONF_VALUE_NOT_FOUND</a>; +<a name="l00847"></a>00847 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; +<a name="l00848"></a>00848 } +<a name="l00849"></a>00849 <span class="keywordflow">return</span> val; +<a name="l00850"></a>00850 } +<a name="l00851"></a>00851 +<a name="l00852"></a><a class="code" href="classConfigReader.html#ReadFlag_28std_3A_3Astring_20tag_2C_20std_3A_3Astring_20name_2C_20int_20index_29">00852</a> <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#ReadFlag_28std_3A_3Astring_20tag_2C_20std_3A_3Astring_20name_2C_20int_20index_29">ConfigReader::ReadFlag</a>(<a class="code" href="namespaceirc.html#string">std::string</a> tag, <a class="code" href="namespaceirc.html#string">std::string</a> name, <span class="keywordtype">int</span> index) +<a name="l00853"></a>00853 { +<a name="l00854"></a>00854 <span class="keywordtype">char</span> val[MAXBUF]; +<a name="l00855"></a>00855 <span class="keywordtype">char</span> t[MAXBUF]; +<a name="l00856"></a>00856 <span class="keywordtype">char</span> n[MAXBUF]; +<a name="l00857"></a>00857 strlcpy(t,tag.c_str(),MAXBUF); +<a name="l00858"></a>00858 strlcpy(n,name.c_str(),MAXBUF); +<a name="l00859"></a>00859 <span class="keywordtype">int</span> res = ReadConf(<a class="code" href="classConfigReader.html#cache">cache</a>,t,n,index,val); +<a name="l00860"></a>00860 <span class="keywordflow">if</span> (!res) +<a name="l00861"></a>00861 { +<a name="l00862"></a>00862 this-><a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FVALUE_5FNOT_5FFOUND">CONF_VALUE_NOT_FOUND</a>; +<a name="l00863"></a>00863 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00864"></a>00864 } +<a name="l00865"></a>00865 <a class="code" href="namespaceirc.html#string">std::string</a> s = val; +<a name="l00866"></a>00866 <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>)); +<a name="l00867"></a>00867 } +<a name="l00868"></a>00868 +<a name="l00869"></a><a class="code" href="classConfigReader.html#ReadInteger_28std_3A_3Astring_20tag_2C_20std_3A_3Astring_20name_2C_20int_20index_2C_20bool_20needs_5Funsigned_29">00869</a> <span class="keywordtype">long</span> <a class="code" href="classConfigReader.html#ReadInteger_28std_3A_3Astring_20tag_2C_20std_3A_3Astring_20name_2C_20int_20index_2C_20bool_20needs_5Funsigned_29">ConfigReader::ReadInteger</a>(<a class="code" href="namespaceirc.html#string">std::string</a> tag, <a class="code" href="namespaceirc.html#string">std::string</a> name, <span class="keywordtype">int</span> index, <span class="keywordtype">bool</span> needs_unsigned) +<a name="l00870"></a>00870 { +<a name="l00871"></a>00871 <span class="keywordtype">char</span> val[MAXBUF]; +<a name="l00872"></a>00872 <span class="keywordtype">char</span> t[MAXBUF]; +<a name="l00873"></a>00873 <span class="keywordtype">char</span> n[MAXBUF]; +<a name="l00874"></a>00874 strlcpy(t,tag.c_str(),MAXBUF); +<a name="l00875"></a>00875 strlcpy(n,name.c_str(),MAXBUF); +<a name="l00876"></a>00876 <span class="keywordtype">int</span> res = ReadConf(<a class="code" href="classConfigReader.html#cache">cache</a>,t,n,index,val); +<a name="l00877"></a>00877 <span class="keywordflow">if</span> (!res) +<a name="l00878"></a>00878 { +<a name="l00879"></a>00879 this-><a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FVALUE_5FNOT_5FFOUND">CONF_VALUE_NOT_FOUND</a>; +<a name="l00880"></a>00880 <span class="keywordflow">return</span> 0; +<a name="l00881"></a>00881 } +<a name="l00882"></a>00882 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i < strlen(val); i++) +<a name="l00883"></a>00883 { +<a name="l00884"></a>00884 <span class="keywordflow">if</span> (!isdigit(val[i])) +<a name="l00885"></a>00885 { +<a name="l00886"></a>00886 this-><a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FNOT_5FA_5FNUMBER">CONF_NOT_A_NUMBER</a>; +<a name="l00887"></a>00887 <span class="keywordflow">return</span> 0; +<a name="l00888"></a>00888 } +<a name="l00889"></a>00889 } +<a name="l00890"></a>00890 <span class="keywordflow">if</span> ((needs_unsigned) && (atoi(val)<0)) +<a name="l00891"></a>00891 { +<a name="l00892"></a>00892 this-><a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FNOT_5FUNSIGNED">CONF_NOT_UNSIGNED</a>; +<a name="l00893"></a>00893 <span class="keywordflow">return</span> 0; +<a name="l00894"></a>00894 } +<a name="l00895"></a>00895 <span class="keywordflow">return</span> atoi(val); +<a name="l00896"></a>00896 } +<a name="l00897"></a>00897 +<a name="l00898"></a><a class="code" href="classConfigReader.html#GetError_28_29">00898</a> <span class="keywordtype">long</span> <a class="code" href="classConfigReader.html#GetError_28_29">ConfigReader::GetError</a>() +<a name="l00899"></a>00899 { +<a name="l00900"></a>00900 <span class="keywordtype">long</span> olderr = this-><a class="code" href="classConfigReader.html#error">error</a>; +<a name="l00901"></a>00901 this-><a class="code" href="classConfigReader.html#error">error</a> = 0; +<a name="l00902"></a>00902 <span class="keywordflow">return</span> olderr; +<a name="l00903"></a>00903 } +<a name="l00904"></a>00904 +<a name="l00905"></a><a class="code" href="classConfigReader.html#DumpErrors_28bool_20bail_2C_20userrec_20_2Auser_29">00905</a> <span class="keywordtype">void</span> <a class="code" href="classConfigReader.html#DumpErrors_28bool_20bail_2C_20userrec_20_2Auser_29">ConfigReader::DumpErrors</a>(<span class="keywordtype">bool</span> bail, <a class="code" href="classuserrec.html">userrec</a>* user) +<a name="l00906"></a>00906 { +<a name="l00907"></a>00907 <span class="keywordflow">if</span> (bail) +<a name="l00908"></a>00908 { +<a name="l00909"></a>00909 printf(<span class="stringliteral">"There were errors in your configuration:\n%s"</span>,<a class="code" href="classConfigReader.html#errorlog">errorlog</a>->str().c_str()); +<a name="l00910"></a>00910 exit(0); +<a name="l00911"></a>00911 } +<a name="l00912"></a>00912 <span class="keywordflow">else</span> +<a name="l00913"></a>00913 { +<a name="l00914"></a>00914 <span class="keywordtype">char</span> dataline[1024]; +<a name="l00915"></a>00915 <span class="keywordflow">if</span> (user) +<a name="l00916"></a>00916 { +<a name="l00917"></a>00917 WriteServ(user-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"NOTICE %s :There were errors in the configuration file:"</span>,user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>); +<a name="l00918"></a>00918 <span class="keywordflow">while</span> (!<a class="code" href="classConfigReader.html#errorlog">errorlog</a>->eof()) +<a name="l00919"></a>00919 { +<a name="l00920"></a>00920 <a class="code" href="classConfigReader.html#errorlog">errorlog</a>->getline(dataline,1024); +<a name="l00921"></a>00921 WriteServ(user-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"NOTICE %s :%s"</span>,user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>,dataline); +<a name="l00922"></a>00922 } +<a name="l00923"></a>00923 } +<a name="l00924"></a>00924 <span class="keywordflow">else</span> +<a name="l00925"></a>00925 { +<a name="l00926"></a>00926 WriteOpers(<span class="stringliteral">"There were errors in the configuration file:"</span>,user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>); +<a name="l00927"></a>00927 <span class="keywordflow">while</span> (!<a class="code" href="classConfigReader.html#errorlog">errorlog</a>->eof()) +<a name="l00928"></a>00928 { +<a name="l00929"></a>00929 <a class="code" href="classConfigReader.html#errorlog">errorlog</a>->getline(dataline,1024); +<a name="l00930"></a>00930 WriteOpers(dataline); +<a name="l00931"></a>00931 } +<a name="l00932"></a>00932 } +<a name="l00933"></a>00933 <span class="keywordflow">return</span>; +<a name="l00934"></a>00934 } +<a name="l00935"></a>00935 } +<a name="l00936"></a>00936 +<a name="l00937"></a>00937 +<a name="l00938"></a><a class="code" href="classConfigReader.html#Enumerate_28std_3A_3Astring_20tag_29">00938</a> <span class="keywordtype">int</span> <a class="code" href="classConfigReader.html#Enumerate_28std_3A_3Astring_20tag_29">ConfigReader::Enumerate</a>(<a class="code" href="namespaceirc.html#string">std::string</a> tag) +<a name="l00939"></a>00939 { +<a name="l00940"></a>00940 <span class="keywordflow">return</span> EnumConf(<a class="code" href="classConfigReader.html#cache">cache</a>,tag.c_str()); +<a name="l00941"></a>00941 } +<a name="l00942"></a>00942 +<a name="l00943"></a><a class="code" href="classConfigReader.html#EnumerateValues_28std_3A_3Astring_20tag_2C_20int_20index_29">00943</a> <span class="keywordtype">int</span> <a class="code" href="classConfigReader.html#EnumerateValues_28std_3A_3Astring_20tag_2C_20int_20index_29">ConfigReader::EnumerateValues</a>(<a class="code" href="namespaceirc.html#string">std::string</a> tag, <span class="keywordtype">int</span> index) +<a name="l00944"></a>00944 { +<a name="l00945"></a>00945 <span class="keywordflow">return</span> EnumValues(<a class="code" href="classConfigReader.html#cache">cache</a>, tag.c_str(), index); +<a name="l00946"></a>00946 } +<a name="l00947"></a>00947 +<a name="l00948"></a><a class="code" href="classConfigReader.html#Verify_28_29">00948</a> <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#Verify_28_29">ConfigReader::Verify</a>() +<a name="l00949"></a>00949 { +<a name="l00950"></a>00950 <span class="keywordflow">return</span> this-><a class="code" href="classConfigReader.html#readerror">readerror</a>; +<a name="l00951"></a>00951 } +<a name="l00952"></a>00952 +<a name="l00953"></a>00953 +<a name="l00954"></a><a class="code" href="classFileReader.html#FileReader_28std_3A_3Astring_20filename_29">00954</a> <a class="code" href="classFileReader.html#FileReader_28_29">FileReader::FileReader</a>(<a class="code" href="namespaceirc.html#string">std::string</a> filename) +<a name="l00955"></a>00955 { +<a name="l00956"></a>00956 <a class="code" href="modules_8h.html#file_5Fcache">file_cache</a> c; +<a name="l00957"></a>00957 readfile(c,filename.c_str()); +<a name="l00958"></a>00958 this-><a class="code" href="classFileReader.html#fc">fc</a> = c; +<a name="l00959"></a>00959 } +<a name="l00960"></a>00960 +<a name="l00961"></a><a class="code" href="classFileReader.html#FileReader_28_29">00961</a> <a class="code" href="classFileReader.html#FileReader_28_29">FileReader::FileReader</a>() +<a name="l00962"></a>00962 { +<a name="l00963"></a>00963 } <a name="l00964"></a>00964 -<a name="l00965"></a><a class="code" href="classConfigReader.html#Enumerate_28std_3A_3Astring_20tag_29">00965</a> <span class="keywordtype">int</span> <a class="code" href="classConfigReader.html#Enumerate_28std_3A_3Astring_20tag_29">ConfigReader::Enumerate</a>(<a class="code" href="namespaceirc.html#string">std::string</a> tag) +<a name="l00965"></a><a class="code" href="classFileReader.html#LoadFile_28std_3A_3Astring_20filename_29">00965</a> <span class="keywordtype">void</span> <a class="code" href="classFileReader.html#LoadFile_28std_3A_3Astring_20filename_29">FileReader::LoadFile</a>(<a class="code" href="namespaceirc.html#string">std::string</a> filename) <a name="l00966"></a>00966 { -<a name="l00967"></a>00967 <span class="keywordflow">return</span> EnumConf(<a class="code" href="classConfigReader.html#cache">cache</a>,tag.c_str()); -<a name="l00968"></a>00968 } -<a name="l00969"></a>00969 -<a name="l00970"></a><a class="code" href="classConfigReader.html#EnumerateValues_28std_3A_3Astring_20tag_2C_20int_20index_29">00970</a> <span class="keywordtype">int</span> <a class="code" href="classConfigReader.html#EnumerateValues_28std_3A_3Astring_20tag_2C_20int_20index_29">ConfigReader::EnumerateValues</a>(<a class="code" href="namespaceirc.html#string">std::string</a> tag, <span class="keywordtype">int</span> index) -<a name="l00971"></a>00971 { -<a name="l00972"></a>00972 <span class="keywordflow">return</span> EnumValues(<a class="code" href="classConfigReader.html#cache">cache</a>, tag.c_str(), index); -<a name="l00973"></a>00973 } -<a name="l00974"></a>00974 -<a name="l00975"></a><a class="code" href="classConfigReader.html#Verify_28_29">00975</a> <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#Verify_28_29">ConfigReader::Verify</a>() -<a name="l00976"></a>00976 { -<a name="l00977"></a>00977 <span class="keywordflow">return</span> this-><a class="code" href="classConfigReader.html#readerror">readerror</a>; -<a name="l00978"></a>00978 } -<a name="l00979"></a>00979 -<a name="l00980"></a>00980 -<a name="l00981"></a><a class="code" href="classFileReader.html#FileReader_28std_3A_3Astring_20filename_29">00981</a> <a class="code" href="classFileReader.html#FileReader_28_29">FileReader::FileReader</a>(<a class="code" href="namespaceirc.html#string">std::string</a> filename) -<a name="l00982"></a>00982 { -<a name="l00983"></a>00983 <a class="code" href="modules_8h.html#file_5Fcache">file_cache</a> c; -<a name="l00984"></a>00984 readfile(c,filename.c_str()); -<a name="l00985"></a>00985 this-><a class="code" href="classFileReader.html#fc">fc</a> = c; -<a name="l00986"></a>00986 } -<a name="l00987"></a>00987 -<a name="l00988"></a><a class="code" href="classFileReader.html#FileReader_28_29">00988</a> <a class="code" href="classFileReader.html#FileReader_28_29">FileReader::FileReader</a>() -<a name="l00989"></a>00989 { -<a name="l00990"></a>00990 } -<a name="l00991"></a>00991 -<a name="l00992"></a><a class="code" href="classFileReader.html#LoadFile_28std_3A_3Astring_20filename_29">00992</a> <span class="keywordtype">void</span> <a class="code" href="classFileReader.html#LoadFile_28std_3A_3Astring_20filename_29">FileReader::LoadFile</a>(<a class="code" href="namespaceirc.html#string">std::string</a> filename) -<a name="l00993"></a>00993 { -<a name="l00994"></a>00994 <a class="code" href="modules_8h.html#file_5Fcache">file_cache</a> c; -<a name="l00995"></a>00995 readfile(c,filename.c_str()); -<a name="l00996"></a>00996 this-><a class="code" href="classFileReader.html#fc">fc</a> = c; -<a name="l00997"></a>00997 } -<a name="l00998"></a>00998 -<a name="l00999"></a>00999 -<a name="l01000"></a><a class="code" href="classFileReader.html#_7EFileReader_28_29">01000</a> <a class="code" href="classFileReader.html#_7EFileReader_28_29">FileReader::~FileReader</a>() -<a name="l01001"></a>01001 { -<a name="l01002"></a>01002 } -<a name="l01003"></a>01003 -<a name="l01004"></a><a class="code" href="classFileReader.html#Exists_28_29">01004</a> <span class="keywordtype">bool</span> <a class="code" href="classFileReader.html#Exists_28_29">FileReader::Exists</a>() -<a name="l01005"></a>01005 { -<a name="l01006"></a>01006 <span class="keywordflow">if</span> (<a class="code" href="classFileReader.html#fc">fc</a>.size() == 0) -<a name="l01007"></a>01007 { -<a name="l01008"></a>01008 <span class="keywordflow">return</span>(<span class="keyword">false</span>); -<a name="l01009"></a>01009 } -<a name="l01010"></a>01010 <span class="keywordflow">else</span> -<a name="l01011"></a>01011 { -<a name="l01012"></a>01012 <span class="keywordflow">return</span>(<span class="keyword">true</span>); -<a name="l01013"></a>01013 } -<a name="l01014"></a>01014 } -<a name="l01015"></a>01015 -<a name="l01016"></a><a class="code" href="classFileReader.html#GetLine_28int_20x_29">01016</a> <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classFileReader.html#GetLine_28int_20x_29">FileReader::GetLine</a>(<span class="keywordtype">int</span> x) -<a name="l01017"></a>01017 { -<a name="l01018"></a>01018 <span class="keywordflow">if</span> ((x<0) || ((<span class="keywordtype">unsigned</span>)x><a class="code" href="classFileReader.html#fc">fc</a>.size())) -<a name="l01019"></a>01019 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; -<a name="l01020"></a>01020 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#fc">fc</a>[x]; -<a name="l01021"></a>01021 } -<a name="l01022"></a>01022 -<a name="l01023"></a><a class="code" href="classFileReader.html#FileSize_28_29">01023</a> <span class="keywordtype">int</span> <a class="code" href="classFileReader.html#FileSize_28_29">FileReader::FileSize</a>() -<a name="l01024"></a>01024 { -<a name="l01025"></a>01025 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#fc">fc</a>.size(); -<a name="l01026"></a>01026 } -<a name="l01027"></a>01027 -<a name="l01028"></a>01028 -<a name="l01029"></a>01029 std::vector<Module*> <a class="code" href="channels_8cpp.html#modules">modules</a>(255); -<a name="l01030"></a>01030 std::vector<ircd_module*> <a class="code" href="channels_8cpp.html#factory">factory</a>(255); -<a name="l01031"></a>01031 -<a name="l01032"></a><a class="code" href="modules_8cpp.html#MODCOUNT">01032</a> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#MODCOUNT">MODCOUNT</a> = -1; -<a name="l01033"></a>01033 -<a name="l01034"></a>01034 -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:03 2005 for InspIRCd by +<a name="l00967"></a>00967 <a class="code" href="modules_8h.html#file_5Fcache">file_cache</a> c; +<a name="l00968"></a>00968 readfile(c,filename.c_str()); +<a name="l00969"></a>00969 this-><a class="code" href="classFileReader.html#fc">fc</a> = c; +<a name="l00970"></a>00970 } +<a name="l00971"></a>00971 +<a name="l00972"></a>00972 +<a name="l00973"></a><a class="code" href="classFileReader.html#_7EFileReader_28_29">00973</a> <a class="code" href="classFileReader.html#_7EFileReader_28_29">FileReader::~FileReader</a>() +<a name="l00974"></a>00974 { +<a name="l00975"></a>00975 } +<a name="l00976"></a>00976 +<a name="l00977"></a><a class="code" href="classFileReader.html#Exists_28_29">00977</a> <span class="keywordtype">bool</span> <a class="code" href="classFileReader.html#Exists_28_29">FileReader::Exists</a>() +<a name="l00978"></a>00978 { +<a name="l00979"></a>00979 <span class="keywordflow">if</span> (<a class="code" href="classFileReader.html#fc">fc</a>.size() == 0) +<a name="l00980"></a>00980 { +<a name="l00981"></a>00981 <span class="keywordflow">return</span>(<span class="keyword">false</span>); +<a name="l00982"></a>00982 } +<a name="l00983"></a>00983 <span class="keywordflow">else</span> +<a name="l00984"></a>00984 { +<a name="l00985"></a>00985 <span class="keywordflow">return</span>(<span class="keyword">true</span>); +<a name="l00986"></a>00986 } +<a name="l00987"></a>00987 } +<a name="l00988"></a>00988 +<a name="l00989"></a><a class="code" href="classFileReader.html#GetLine_28int_20x_29">00989</a> <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classFileReader.html#GetLine_28int_20x_29">FileReader::GetLine</a>(<span class="keywordtype">int</span> x) +<a name="l00990"></a>00990 { +<a name="l00991"></a>00991 <span class="keywordflow">if</span> ((x<0) || ((<span class="keywordtype">unsigned</span>)x><a class="code" href="classFileReader.html#fc">fc</a>.size())) +<a name="l00992"></a>00992 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; +<a name="l00993"></a>00993 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#fc">fc</a>[x]; +<a name="l00994"></a>00994 } +<a name="l00995"></a>00995 +<a name="l00996"></a><a class="code" href="classFileReader.html#FileSize_28_29">00996</a> <span class="keywordtype">int</span> <a class="code" href="classFileReader.html#FileSize_28_29">FileReader::FileSize</a>() +<a name="l00997"></a>00997 { +<a name="l00998"></a>00998 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#fc">fc</a>.size(); +<a name="l00999"></a>00999 } +<a name="l01000"></a>01000 +<a name="l01001"></a>01001 +<a name="l01002"></a>01002 std::vector<Module*> <a class="code" href="channels_8cpp.html#modules">modules</a>(255); +<a name="l01003"></a>01003 std::vector<ircd_module*> <a class="code" href="channels_8cpp.html#factory">factory</a>(255); +<a name="l01004"></a>01004 +<a name="l01005"></a><a class="code" href="modules_8cpp.html#MODCOUNT">01005</a> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#MODCOUNT">MODCOUNT</a> = -1; +<a name="l01006"></a>01006 +<a name="l01007"></a>01007 +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:08 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/modules_8cpp.html b/docs/module-doc/modules_8cpp.html index 3b456b97d..ca1936835 100644 --- a/docs/module-doc/modules_8cpp.html +++ b/docs/module-doc/modules_8cpp.html @@ -34,19 +34,21 @@ <code>#include "helperfuncs.h"</code><br> <code>#include "<a class="el" href="hashcomp_8h-source.html">hashcomp.h</a>"</code><br> <code>#include "<a class="el" href="socket_8h-source.html">socket.h</a>"</code><br> +<code>#include "<a class="el" href="socketengine_8h-source.html">socketengine.h</a>"</code><br> <p> Include dependency graph for modules.cpp:<p><center><img src="modules_8cpp__incl.gif" border="0" usemap="#modules.cpp_map" alt=""></center> <map name="modules.cpp_map"> -<area href="users_8h-source.html" shape="rect" coords="322,738,386,764" alt=""> -<area href="ctables_8h-source.html" shape="rect" coords="316,180,391,207" alt=""> -<area href="modules_8h-source.html" shape="rect" coords="164,383,247,410" alt=""> -<area href="socket_8h-source.html" shape="rect" coords="318,383,390,410" alt=""> -<area href="message_8h-source.html" shape="rect" coords="163,839,248,866" alt=""> -<area href="mode_8h-source.html" shape="rect" coords="172,586,239,612" alt=""> -<area href="xline_8h-source.html" shape="rect" coords="175,788,236,815" alt=""> -<area href="commands_8h-source.html" shape="rect" coords="156,687,255,714" alt=""> -<area href="hashcomp_8h-source.html" shape="rect" coords="307,79,400,106" alt=""> +<area href="users_8h-source.html" shape="rect" coords="330,283,394,309" alt=""> +<area href="ctables_8h-source.html" shape="rect" coords="324,1093,399,1120" alt=""> +<area href="modules_8h-source.html" shape="rect" coords="168,1043,251,1069" alt=""> +<area href="socket_8h-source.html" shape="rect" coords="326,941,398,968" alt=""> +<area href="message_8h-source.html" shape="rect" coords="167,404,252,431" alt=""> +<area href="mode_8h-source.html" shape="rect" coords="176,533,243,560" alt=""> +<area href="xline_8h-source.html" shape="rect" coords="179,341,240,368" alt=""> +<area href="commands_8h-source.html" shape="rect" coords="160,637,259,664" alt=""> +<area href="hashcomp_8h-source.html" shape="rect" coords="315,80,408,107" alt=""> +<area href="socketengine_8h-source.html" shape="rect" coords="154,815,266,841" alt=""> </map> <p> @@ -98,6 +100,8 @@ Include dependency graph for modules.cpp:<p><center><img src="modules_8cpp__incl <tr><td class="memItemLeft" nowrap align="right" valign="top">std::vector< <a class="el" href="modules_8h.html#ircd_5Fmodule">ircd_module</a> * > </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8cpp.html#factory_28_32_35_35_29">factory</a> (255)</td></tr> <tr><td colspan="2"><br><h2>Variables</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classSocketEngine.html">SocketEngine</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8cpp.html#SE">SE</a></td></tr> + <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8cpp.html#MODCOUNT">MODCOUNT</a> = -1</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">std::vector< <a class="el" href="classModule.html">Module</a> * > </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8cpp.html#modules">modules</a></td></tr> @@ -208,7 +212,7 @@ Include dependency graph for modules.cpp:<p><center><img src="modules_8cpp__incl <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00123">123</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#l00117">117</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> <a class="anchor" name="chan_5Fhash"></a><!-- doxytag: member="modules.cpp::chan_hash" ref="chan_5Fhash" args="" --><p> @@ -233,7 +237,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00123">123</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00122">122</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00116">116</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> <a class="anchor" name="command_5Ftable"></a><!-- doxytag: member="modules.cpp::command_table" ref="command_5Ftable" args="" --><p> @@ -258,7 +262,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00122">122</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00125">125</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00119">119</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> <a class="anchor" name="ExtModeList"></a><!-- doxytag: member="modules.cpp::ExtModeList" ref="ExtModeList" args="" --><p> @@ -283,7 +287,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00125">125</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00151">151</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#l00145">145</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> <a class="anchor" name="ExtModeListIter"></a><!-- doxytag: member="modules.cpp::ExtModeListIter" ref="ExtModeListIter" args="" --><p> @@ -308,7 +312,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00151">151</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00152">152</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#l00146">146</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> <a class="anchor" name="user_5Fhash"></a><!-- doxytag: member="modules.cpp::user_hash" ref="user_5Fhash" args="" --><p> @@ -333,7 +337,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00152">152</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00121">121</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00115">115</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> <a class="anchor" name="whowas_5Fhash"></a><!-- doxytag: member="modules.cpp::whowas_hash" ref="whowas_5Fhash" args="" --><p> @@ -358,7 +362,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00121">121</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00124">124</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00118">118</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> <hr><h2>Function Documentation</h2> @@ -416,17 +420,17 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00124">124</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00221">221</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#l00215">215</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8cpp-source.html#l00155">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00158">ModeDefined()</a>. +References <a class="el" href="modules_8cpp-source.html#l00149">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00152">ModeDefined()</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00663">Server::AddExtendedListMode()</a>, and <a class="el" href="modules_8cpp-source.html#l00635">Server::AddExtendedMode()</a>.<div class="fragment"><pre class="fragment"><a name="l00222"></a>00222 { -<a name="l00223"></a>00223 <span class="keywordflow">if</span> (<a class="code" href="modules_8cpp.html#ModeDefined_28char_20modechar_2C_20int_20type_29">ModeDefined</a>(modechar,type)) { -<a name="l00224"></a>00224 <span class="keywordflow">return</span> <span class="keyword">false</span>; -<a name="l00225"></a>00225 } -<a name="l00226"></a>00226 <a class="code" href="modules_8cpp.html#EMode">EMode</a>.push_back(<a class="code" href="classExtMode.html">ExtMode</a>(modechar,type,requires_oper,params_on,params_off)); -<a name="l00227"></a>00227 <span class="keywordflow">return</span> <span class="keyword">true</span>; -<a name="l00228"></a>00228 } +Referenced by <a class="el" href="modules_8cpp-source.html#l00655">Server::AddExtendedListMode()</a>, and <a class="el" href="modules_8cpp-source.html#l00627">Server::AddExtendedMode()</a>.<div class="fragment"><pre class="fragment"><a name="l00216"></a>00216 { +<a name="l00217"></a>00217 <span class="keywordflow">if</span> (<a class="code" href="modules_8cpp.html#ModeDefined_28char_20modechar_2C_20int_20type_29">ModeDefined</a>(modechar,type)) { +<a name="l00218"></a>00218 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00219"></a>00219 } +<a name="l00220"></a>00220 <a class="code" href="modules_8cpp.html#EMode">EMode</a>.push_back(<a class="code" href="classExtMode.html">ExtMode</a>(modechar,type,requires_oper,params_on,params_off)); +<a name="l00221"></a>00221 <span class="keywordflow">return</span> <span class="keyword">true</span>; +<a name="l00222"></a>00222 } </pre></div> <p> </td> @@ -496,20 +500,20 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00663">Server::AddEx <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00158">158</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#l00152">152</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8cpp-source.html#l00155">EMode</a>. +References <a class="el" href="modules_8cpp-source.html#l00149">EMode</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00221">DoAddExtendedMode()</a>.<div class="fragment"><pre class="fragment"><a name="l00159"></a>00159 { -<a name="l00160"></a>00160 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#ExtModeListIter">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#EMode">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#EMode">EMode</a>.end(); i++) -<a name="l00161"></a>00161 { -<a name="l00162"></a>00162 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) -<a name="l00163"></a>00163 { -<a name="l00164"></a>00164 <span class="keywordflow">return</span> <span class="keyword">true</span>; -<a name="l00165"></a>00165 } -<a name="l00166"></a>00166 } -<a name="l00167"></a>00167 <span class="keywordflow">return</span> <span class="keyword">false</span>; -<a name="l00168"></a>00168 } +Referenced by <a class="el" href="modules_8cpp-source.html#l00215">DoAddExtendedMode()</a>.<div class="fragment"><pre class="fragment"><a name="l00153"></a>00153 { +<a name="l00154"></a>00154 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#ExtModeListIter">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#EMode">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#EMode">EMode</a>.end(); i++) +<a name="l00155"></a>00155 { +<a name="l00156"></a>00156 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) +<a name="l00157"></a>00157 { +<a name="l00158"></a>00158 <span class="keywordflow">return</span> <span class="keyword">true</span>; +<a name="l00159"></a>00159 } +<a name="l00160"></a>00160 } +<a name="l00161"></a>00161 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00162"></a>00162 } </pre></div> <p> </td> @@ -551,18 +555,18 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00221">DoAddExtended <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00208">208</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00202">202</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8cpp-source.html#l00155">EMode</a>.<div class="fragment"><pre class="fragment"><a name="l00209"></a>00209 { -<a name="l00210"></a>00210 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#ExtModeListIter">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#EMode">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#EMode">EMode</a>.end(); i++) -<a name="l00211"></a>00211 { -<a name="l00212"></a>00212 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) -<a name="l00213"></a>00213 { -<a name="l00214"></a>00214 <span class="keywordflow">return</span> i->params_when_off; -<a name="l00215"></a>00215 } -<a name="l00216"></a>00216 } -<a name="l00217"></a>00217 <span class="keywordflow">return</span> 0; -<a name="l00218"></a>00218 } +References <a class="el" href="modules_8cpp-source.html#l00149">EMode</a>.<div class="fragment"><pre class="fragment"><a name="l00203"></a>00203 { +<a name="l00204"></a>00204 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#ExtModeListIter">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#EMode">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#EMode">EMode</a>.end(); i++) +<a name="l00205"></a>00205 { +<a name="l00206"></a>00206 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) +<a name="l00207"></a>00207 { +<a name="l00208"></a>00208 <span class="keywordflow">return</span> i->params_when_off; +<a name="l00209"></a>00209 } +<a name="l00210"></a>00210 } +<a name="l00211"></a>00211 <span class="keywordflow">return</span> 0; +<a name="l00212"></a>00212 } </pre></div> <p> </td> @@ -604,18 +608,18 @@ References <a class="el" href="modules_8cpp-source.html#l00155">EMode</a>.<div c <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00195">195</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00189">189</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8cpp-source.html#l00155">EMode</a>.<div class="fragment"><pre class="fragment"><a name="l00196"></a>00196 { -<a name="l00197"></a>00197 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#ExtModeListIter">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#EMode">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#EMode">EMode</a>.end(); i++) -<a name="l00198"></a>00198 { -<a name="l00199"></a>00199 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) -<a name="l00200"></a>00200 { -<a name="l00201"></a>00201 <span class="keywordflow">return</span> i->params_when_on; -<a name="l00202"></a>00202 } -<a name="l00203"></a>00203 } -<a name="l00204"></a>00204 <span class="keywordflow">return</span> 0; -<a name="l00205"></a>00205 } +References <a class="el" href="modules_8cpp-source.html#l00149">EMode</a>.<div class="fragment"><pre class="fragment"><a name="l00190"></a>00190 { +<a name="l00191"></a>00191 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#ExtModeListIter">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#EMode">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#EMode">EMode</a>.end(); i++) +<a name="l00192"></a>00192 { +<a name="l00193"></a>00193 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) +<a name="l00194"></a>00194 { +<a name="l00195"></a>00195 <span class="keywordflow">return</span> i->params_when_on; +<a name="l00196"></a>00196 } +<a name="l00197"></a>00197 } +<a name="l00198"></a>00198 <span class="keywordflow">return</span> 0; +<a name="l00199"></a>00199 } </pre></div> <p> </td> @@ -657,18 +661,18 @@ References <a class="el" href="modules_8cpp-source.html#l00155">EMode</a>.<div c <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00182">182</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00176">176</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8cpp-source.html#l00155">EMode</a>.<div class="fragment"><pre class="fragment"><a name="l00183"></a>00183 { -<a name="l00184"></a>00184 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#ExtModeListIter">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#EMode">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#EMode">EMode</a>.end(); i++) -<a name="l00185"></a>00185 { -<a name="l00186"></a>00186 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type) && (i->needsoper == <span class="keyword">true</span>)) -<a name="l00187"></a>00187 { -<a name="l00188"></a>00188 <span class="keywordflow">return</span> <span class="keyword">true</span>; -<a name="l00189"></a>00189 } -<a name="l00190"></a>00190 } -<a name="l00191"></a>00191 <span class="keywordflow">return</span> <span class="keyword">false</span>; -<a name="l00192"></a>00192 } +References <a class="el" href="modules_8cpp-source.html#l00149">EMode</a>.<div class="fragment"><pre class="fragment"><a name="l00177"></a>00177 { +<a name="l00178"></a>00178 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#ExtModeListIter">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#EMode">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#EMode">EMode</a>.end(); i++) +<a name="l00179"></a>00179 { +<a name="l00180"></a>00180 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type) && (i->needsoper == <span class="keyword">true</span>)) +<a name="l00181"></a>00181 { +<a name="l00182"></a>00182 <span class="keywordflow">return</span> <span class="keyword">true</span>; +<a name="l00183"></a>00183 } +<a name="l00184"></a>00184 } +<a name="l00185"></a>00185 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00186"></a>00186 } </pre></div> <p> </td> @@ -710,18 +714,18 @@ References <a class="el" href="modules_8cpp-source.html#l00155">EMode</a>.<div c <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00170">170</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00164">164</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8cpp-source.html#l00155">EMode</a>.<div class="fragment"><pre class="fragment"><a name="l00171"></a>00171 { -<a name="l00172"></a>00172 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#ExtModeListIter">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#EMode">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#EMode">EMode</a>.end(); i++) -<a name="l00173"></a>00173 { -<a name="l00174"></a>00174 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type) && (i->list == <span class="keyword">true</span>)) -<a name="l00175"></a>00175 { -<a name="l00176"></a>00176 <span class="keywordflow">return</span> <span class="keyword">true</span>; -<a name="l00177"></a>00177 } -<a name="l00178"></a>00178 } -<a name="l00179"></a>00179 <span class="keywordflow">return</span> <span class="keyword">false</span>; -<a name="l00180"></a>00180 } +References <a class="el" href="modules_8cpp-source.html#l00149">EMode</a>.<div class="fragment"><pre class="fragment"><a name="l00165"></a>00165 { +<a name="l00166"></a>00166 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#ExtModeListIter">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#EMode">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#EMode">EMode</a>.end(); i++) +<a name="l00167"></a>00167 { +<a name="l00168"></a>00168 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type) && (i->list == <span class="keyword">true</span>)) +<a name="l00169"></a>00169 { +<a name="l00170"></a>00170 <span class="keywordflow">return</span> <span class="keyword">true</span>; +<a name="l00171"></a>00171 } +<a name="l00172"></a>00172 } +<a name="l00173"></a>00173 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00174"></a>00174 } </pre></div> <p> </td> @@ -754,21 +758,21 @@ References <a class="el" href="modules_8cpp-source.html#l00155">EMode</a>.<div c <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00231">231</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00225">225</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8cpp-source.html#l00155">EMode</a>, and <a class="el" href="modules_8h-source.html#l00031">MT_CHANNEL</a>. +References <a class="el" href="modules_8cpp-source.html#l00149">EMode</a>, and <a class="el" href="modules_8h-source.html#l00031">MT_CHANNEL</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00663">Server::AddExtendedListMode()</a>.<div class="fragment"><pre class="fragment"><a name="l00232"></a>00232 { -<a name="l00233"></a>00233 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#ExtModeListIter">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#EMode">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#EMode">EMode</a>.end(); i++) -<a name="l00234"></a>00234 { -<a name="l00235"></a>00235 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == <a class="code" href="modules_8h.html#MT_5FCHANNEL">MT_CHANNEL</a>)) -<a name="l00236"></a>00236 { -<a name="l00237"></a>00237 i->list = <span class="keyword">true</span>; -<a name="l00238"></a>00238 <span class="keywordflow">return</span>; -<a name="l00239"></a>00239 } -<a name="l00240"></a>00240 } -<a name="l00241"></a>00241 <span class="keywordflow">return</span>; -<a name="l00242"></a>00242 } +Referenced by <a class="el" href="modules_8cpp-source.html#l00655">Server::AddExtendedListMode()</a>.<div class="fragment"><pre class="fragment"><a name="l00226"></a>00226 { +<a name="l00227"></a>00227 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#ExtModeListIter">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#EMode">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#EMode">EMode</a>.end(); i++) +<a name="l00228"></a>00228 { +<a name="l00229"></a>00229 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == <a class="code" href="modules_8h.html#MT_5FCHANNEL">MT_CHANNEL</a>)) +<a name="l00230"></a>00230 { +<a name="l00231"></a>00231 i->list = <span class="keyword">true</span>; +<a name="l00232"></a>00232 <span class="keywordflow">return</span>; +<a name="l00233"></a>00233 } +<a name="l00234"></a>00234 } +<a name="l00235"></a>00235 <span class="keywordflow">return</span>; +<a name="l00236"></a>00236 } </pre></div> <p> </td> @@ -1101,9 +1105,9 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00663">Server::AddEx <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00155">155</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#l00149">149</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00221">DoAddExtendedMode()</a>, <a class="el" href="modules_8cpp-source.html#l00158">ModeDefined()</a>, <a class="el" href="modules_8cpp-source.html#l00208">ModeDefinedOff()</a>, <a class="el" href="modules_8cpp-source.html#l00195">ModeDefinedOn()</a>, <a class="el" href="modules_8cpp-source.html#l00182">ModeDefinedOper()</a>, <a class="el" href="modules_8cpp-source.html#l00170">ModeIsListMode()</a>, and <a class="el" href="modules_8cpp-source.html#l00231">ModeMakeList()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00215">DoAddExtendedMode()</a>, <a class="el" href="modules_8cpp-source.html#l00152">ModeDefined()</a>, <a class="el" href="modules_8cpp-source.html#l00202">ModeDefinedOff()</a>, <a class="el" href="modules_8cpp-source.html#l00189">ModeDefinedOn()</a>, <a class="el" href="modules_8cpp-source.html#l00176">ModeDefinedOper()</a>, <a class="el" href="modules_8cpp-source.html#l00164">ModeIsListMode()</a>, and <a class="el" href="modules_8cpp-source.html#l00225">ModeMakeList()</a>. </td> </tr> </table> <a class="anchor" name="factory"></a><!-- doxytag: member="modules.cpp::factory" ref="factory" args="" --><p> @@ -1174,7 +1178,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00221">DoAddExtended <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00834">ConfigReader::ConfigReader()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00807">ConfigReader::ConfigReader()</a>. </td> </tr> </table> <a class="anchor" name="IP"></a><!-- doxytag: member="modules.cpp::IP" ref="IP" args="" --><p> @@ -1316,7 +1320,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00081">81</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l01032">1032</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#l01005">1005</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> <a class="anchor" name="module_5Fnames"></a><!-- doxytag: member="modules.cpp::module_names" ref="module_5Fnames" args="" --><p> @@ -1364,7 +1368,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l01032">1032</a> <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00402">Server::AddSocket()</a>, and <a class="el" href="modules_8cpp-source.html#l00413">Server::DelSocket()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00394">Server::AddSocket()</a>, and <a class="el" href="modules_8cpp-source.html#l00405">Server::DelSocket()</a>. </td> </tr> </table> <a class="anchor" name="modules"></a><!-- doxytag: member="modules.cpp::modules" ref="modules" args="" --><p> @@ -1643,6 +1647,29 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00402">Server::AddSo </td> </tr> </table> +<a class="anchor" name="SE"></a><!-- doxytag: member="modules.cpp::SE" ref="SE" args="" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"><a class="el" href="classSocketEngine.html">SocketEngine</a>* <a class="el" href="socket_8cpp.html#SE">SE</a> </td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> <a class="anchor" name="ServerDesc_5BMAXBUF_5D"></a><!-- doxytag: member="modules.cpp::ServerDesc" ref="ServerDesc_5BMAXBUF_5D" args="[MAXBUF]" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> @@ -1804,7 +1831,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00402">Server::AddSo </td> </tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:09 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:10 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/modules_8cpp__incl.gif b/docs/module-doc/modules_8cpp__incl.gif Binary files differindex 19414b0cf..e04be883e 100644 --- a/docs/module-doc/modules_8cpp__incl.gif +++ b/docs/module-doc/modules_8cpp__incl.gif diff --git a/docs/module-doc/modules_8cpp__incl.map b/docs/module-doc/modules_8cpp__incl.map index af1895853..97e8339ae 100644 --- a/docs/module-doc/modules_8cpp__incl.map +++ b/docs/module-doc/modules_8cpp__incl.map @@ -1,10 +1,11 @@ base referer -rect $users_8h-source.html 322,738 386,764 -rect $ctables_8h-source.html 316,180 391,207 -rect $modules_8h-source.html 164,383 247,410 -rect $socket_8h-source.html 318,383 390,410 -rect $message_8h-source.html 163,839 248,866 -rect $mode_8h-source.html 172,586 239,612 -rect $xline_8h-source.html 175,788 236,815 -rect $commands_8h-source.html 156,687 255,714 -rect $hashcomp_8h-source.html 307,79 400,106 +rect $users_8h-source.html 330,283 394,309 +rect $ctables_8h-source.html 324,1093 399,1120 +rect $modules_8h-source.html 168,1043 251,1069 +rect $socket_8h-source.html 326,941 398,968 +rect $message_8h-source.html 167,404 252,431 +rect $mode_8h-source.html 176,533 243,560 +rect $xline_8h-source.html 179,341 240,368 +rect $commands_8h-source.html 160,637 259,664 +rect $hashcomp_8h-source.html 315,80 408,107 +rect $socketengine_8h-source.html 154,815 266,841 diff --git a/docs/module-doc/modules_8cpp__incl.md5 b/docs/module-doc/modules_8cpp__incl.md5 index 40a066bd0..ae89d4383 100644 --- a/docs/module-doc/modules_8cpp__incl.md5 +++ b/docs/module-doc/modules_8cpp__incl.md5 @@ -1 +1 @@ -1b005f3bb4371af3d7b1f0bde019cdee
\ No newline at end of file +185b983a6f4a9db06196c064c1bb980e
\ No newline at end of file diff --git a/docs/module-doc/modules_8h-source.html b/docs/module-doc/modules_8h-source.html index 5fc39102d..9c23a2e84 100644 --- a/docs/module-doc/modules_8h-source.html +++ b/docs/module-doc/modules_8h-source.html @@ -511,7 +511,7 @@ <a name="l01667"></a><a class="code" href="modules_8h.html#ircd_5Fmodule">01667</a> <span class="keyword">typedef</span> DLLFactory<ModuleFactory> <a class="code" href="modules_8h.html#ircd_5Fmodule">ircd_module</a>; <a name="l01668"></a>01668 <a name="l01669"></a>01669 <span class="preprocessor">#endif</span> -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:03 2005 for InspIRCd by +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:08 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/modules_8h.html b/docs/module-doc/modules_8h.html index e10dfd7ea..eb243b313 100644 --- a/docs/module-doc/modules_8h.html +++ b/docs/module-doc/modules_8h.html @@ -425,7 +425,7 @@ Used with OnAccessCheck() method of modules. <p> Definition at line <a class="el" href="modules_8h-source.html#l00037">37</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#l00330">Module::OnAccessCheck()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00322">Module::OnAccessCheck()</a>. </td> </tr> </table> <a class="anchor" name="ACR_5FDENY"></a><!-- doxytag: member="modules.h::ACR_DENY" ref="ACR_5FDENY" args="" --><p> @@ -477,7 +477,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00038">38</a> of <p> Definition at line <a class="el" href="modules_8h-source.html#l01501">1501</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#l00834">ConfigReader::ConfigReader()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00807">ConfigReader::ConfigReader()</a>. </td> </tr> </table> <a class="anchor" name="CONF_5FNOT_5FA_5FNUMBER"></a><!-- doxytag: member="modules.h::CONF_NOT_A_NUMBER" ref="CONF_5FNOT_5FA_5FNUMBER" args="" --><p> @@ -504,7 +504,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00834">ConfigReader: <p> Definition at line <a class="el" href="modules_8h-source.html#l01498">1498</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#l00896">ConfigReader::ReadInteger()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00869">ConfigReader::ReadInteger()</a>. </td> </tr> </table> <a class="anchor" name="CONF_5FNOT_5FUNSIGNED"></a><!-- doxytag: member="modules.h::CONF_NOT_UNSIGNED" ref="CONF_5FNOT_5FUNSIGNED" args="" --><p> @@ -531,7 +531,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00896">ConfigReader: <p> Definition at line <a class="el" href="modules_8h-source.html#l01499">1499</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#l00896">ConfigReader::ReadInteger()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00869">ConfigReader::ReadInteger()</a>. </td> </tr> </table> <a class="anchor" name="CONF_5FVALUE_5FNOT_5FFOUND"></a><!-- doxytag: member="modules.h::CONF_VALUE_NOT_FOUND" ref="CONF_5FVALUE_5FNOT_5FFOUND" args="" --><p> @@ -558,7 +558,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00896">ConfigReader: <p> Definition at line <a class="el" href="modules_8h-source.html#l01500">1500</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#l00879">ConfigReader::ReadFlag()</a>, <a class="el" href="modules_8cpp-source.html#l00896">ConfigReader::ReadInteger()</a>, and <a class="el" href="modules_8cpp-source.html#l00863">ConfigReader::ReadValue()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00852">ConfigReader::ReadFlag()</a>, <a class="el" href="modules_8cpp-source.html#l00869">ConfigReader::ReadInteger()</a>, and <a class="el" href="modules_8cpp-source.html#l00836">ConfigReader::ReadValue()</a>. </td> </tr> </table> <a class="anchor" name="DEBUG"></a><!-- doxytag: member="modules.h::DEBUG" ref="DEBUG" args="" --><p> @@ -587,7 +587,7 @@ log levels <p> Definition at line <a class="el" href="modules_8h-source.html#l00023">23</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#l00635">Server::AddExtendedMode()</a>, <a class="el" href="channels_8cpp-source.html#l00195">chanrec::AddUser()</a>, <a class="el" href="channels_8cpp-source.html#l00201">chanrec::DelUser()</a>, <a class="el" href="socket_8cpp-source.html#l00058">InspSocket::InspSocket()</a>, <a class="el" href="channels_8cpp-source.html#l00169">chanrec::IsCustomModeSet()</a>, <a class="el" href="socket_8cpp-source.html#l00149">InspSocket::Read()</a>, <a class="el" href="users_8cpp-source.html#l00085">userrec::ReadData()</a>, <a class="el" href="users_8cpp-source.html#l00129">userrec::RemoveInvite()</a>, <a class="el" href="channels_8cpp-source.html#l00113">chanrec::SetCustomMode()</a>, <a class="el" href="channels_8cpp-source.html#l00138">chanrec::SetCustomModeParam()</a>, <a class="el" href="socket_8cpp-source.html#l00235">InspSocket::SetState()</a>, <a class="el" href="users_8cpp-source.html#l00299">userrec::SetWriteError()</a>, and <a class="el" href="modules_8cpp-source.html#l00677">Server::UserToPseudo()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00627">Server::AddExtendedMode()</a>, <a class="el" href="socketengine_8cpp-source.html#l00065">SocketEngine::AddFd()</a>, <a class="el" href="channels_8cpp-source.html#l00195">chanrec::AddUser()</a>, <a class="el" href="socketengine_8cpp-source.html#l00103">SocketEngine::DelFd()</a>, <a class="el" href="channels_8cpp-source.html#l00201">chanrec::DelUser()</a>, <a class="el" href="socket_8cpp-source.html#l00062">InspSocket::InspSocket()</a>, <a class="el" href="channels_8cpp-source.html#l00169">chanrec::IsCustomModeSet()</a>, <a class="el" href="socket_8cpp-source.html#l00155">InspSocket::Read()</a>, <a class="el" href="users_8cpp-source.html#l00085">userrec::ReadData()</a>, <a class="el" href="users_8cpp-source.html#l00129">userrec::RemoveInvite()</a>, <a class="el" href="channels_8cpp-source.html#l00113">chanrec::SetCustomMode()</a>, <a class="el" href="channels_8cpp-source.html#l00138">chanrec::SetCustomModeParam()</a>, <a class="el" href="socket_8cpp-source.html#l00241">InspSocket::SetState()</a>, <a class="el" href="users_8cpp-source.html#l00299">userrec::SetWriteError()</a>, <a class="el" href="socketengine_8cpp-source.html#l00035">SocketEngine::SocketEngine()</a>, <a class="el" href="socketengine_8cpp-source.html#l00146">SocketEngine::Wait()</a>, and <a class="el" href="socketengine_8cpp-source.html#l00046">SocketEngine::~SocketEngine()</a>. </td> </tr> </table> <a class="anchor" name="DEFAULT"></a><!-- doxytag: member="modules.h::DEFAULT" ref="DEFAULT" args="" --><p> @@ -639,7 +639,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00025">25</a> of <p> Definition at line <a class="el" href="modules_8h-source.html#l00101">101</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#l00708">Server::PseudoToUser()</a>, and <a class="el" href="modules_8cpp-source.html#l00677">Server::UserToPseudo()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00681">Server::PseudoToUser()</a>, and <a class="el" href="modules_8cpp-source.html#l00669">Server::UserToPseudo()</a>. </td> </tr> </table> <a class="anchor" name="FOREACH_5FMOD"></a><!-- doxytag: member="modules.h::FOREACH_MOD" ref="FOREACH_5FMOD" args="" --><p> @@ -666,7 +666,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00708">Server::Pseud <p> Definition at line <a class="el" href="modules_8h-source.html#l00081">81</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#l00293">Event::Send()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00287">Event::Send()</a>. </td> </tr> </table> <a class="anchor" name="FOREACH_5FRESULT_28x_29"></a><!-- doxytag: member="modules.h::FOREACH_RESULT" ref="FOREACH_5FRESULT_28x_29" args="(x)" --><p> @@ -734,7 +734,7 @@ Used with OnExtendedMode() method of modules. <p> Definition at line <a class="el" href="modules_8h-source.html#l00031">31</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#l00663">Server::AddExtendedListMode()</a>, and <a class="el" href="modules_8cpp-source.html#l00231">ModeMakeList()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00655">Server::AddExtendedListMode()</a>, and <a class="el" href="modules_8cpp-source.html#l00225">ModeMakeList()</a>. </td> </tr> </table> <a class="anchor" name="MT_5FCLIENT"></a><!-- doxytag: member="modules.h::MT_CLIENT" ref="MT_5FCLIENT" args="" --><p> @@ -761,7 +761,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00663">Server::AddEx <p> Definition at line <a class="el" href="modules_8h-source.html#l00032">32</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#l00635">Server::AddExtendedMode()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00627">Server::AddExtendedMode()</a>. </td> </tr> </table> <a class="anchor" name="MT_5FSERVER"></a><!-- doxytag: member="modules.h::MT_SERVER" ref="MT_5FSERVER" args="" --><p> @@ -788,7 +788,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00635">Server::AddEx <p> Definition at line <a class="el" href="modules_8h-source.html#l00033">33</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#l00635">Server::AddExtendedMode()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00627">Server::AddExtendedMode()</a>. </td> </tr> </table> <a class="anchor" name="NONE"></a><!-- doxytag: member="modules.h::NONE" ref="NONE" args="" --><p> @@ -967,7 +967,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00052">52</a> of <p> Definition at line <a class="el" href="modules_8h-source.html#l00053">53</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#l00321">Module::GetVersion()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00313">Module::GetVersion()</a>. </td> </tr> </table> <hr><h2>Typedef Documentation</h2> @@ -1130,7 +1130,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00070">70</a> of <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00495">Server::AddCommand()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00487">Server::AddCommand()</a>. </td> </tr> </table> <a class="anchor" name="server_5Fmode_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29"></a><!-- doxytag: member="modules.h::server_mode" ref="server_5Fmode_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29" args="(char **parameters, int pcnt, userrec *user)" --><p> @@ -1176,7 +1176,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00495">Server::AddCo </td> </tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:09 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:10 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/namespaceirc.html b/docs/module-doc/namespaceirc.html index 1d19f74f2..a228de9d5 100644 --- a/docs/module-doc/namespaceirc.html +++ b/docs/module-doc/namespaceirc.html @@ -56,7 +56,7 @@ This typedef declares <a class="el" href="namespaceirc.html#string">irc::string< Definition at line <a class="el" href="hashcomp_8h-source.html#l00129">129</a> of file <a class="el" href="hashcomp_8h-source.html">hashcomp.h</a>. </td> </tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:14 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/namespacemembers.html b/docs/module-doc/namespacemembers.html index e5032f8de..0abfc6e1b 100644 --- a/docs/module-doc/namespacemembers.html +++ b/docs/module-doc/namespacemembers.html @@ -11,7 +11,7 @@ Here is a list of all namespace members with links to the namespace documentatio <ul> <li>string : <a class="el" href="namespaceirc.html#string">irc</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:14 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:14 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/namespacemembers_type.html b/docs/module-doc/namespacemembers_type.html index c3edcd117..9344106f8 100644 --- a/docs/module-doc/namespacemembers_type.html +++ b/docs/module-doc/namespacemembers_type.html @@ -11,7 +11,7 @@ <ul> <li>string : <a class="el" href="namespaceirc.html#string">irc</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:14 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:14 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/namespacenspace.html b/docs/module-doc/namespacenspace.html index d22c8eef6..fc5f1bb8e 100644 --- a/docs/module-doc/namespacenspace.html +++ b/docs/module-doc/namespacenspace.html @@ -15,7 +15,7 @@ <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structnspace_1_1hash_3_01string_01_4.html">hash< string ></a></td></tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:14 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/namespaces.html b/docs/module-doc/namespaces.html index 5d3391290..1ad038c21 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 size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:14 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/namespacestd.html b/docs/module-doc/namespacestd.html index cf71bb1fe..272ac466b 100644 --- a/docs/module-doc/namespacestd.html +++ b/docs/module-doc/namespacestd.html @@ -10,7 +10,7 @@ <table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:14 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/socket_8cpp-source.html b/docs/module-doc/socket_8cpp-source.html index bdd849a0d..0a22a089d 100644 --- a/docs/module-doc/socket_8cpp-source.html +++ b/docs/module-doc/socket_8cpp-source.html @@ -44,232 +44,243 @@ <a name="l00035"></a>00035 <span class="preprocessor">#include "inspircd_util.h"</span> <a name="l00036"></a>00036 <span class="preprocessor">#include "inspstring.h"</span> <a name="l00037"></a>00037 <span class="preprocessor">#include "helperfuncs.h"</span> -<a name="l00038"></a>00038 -<a name="l00039"></a>00039 <span class="keyword">extern</span> FILE *<a class="code" href="channels_8cpp.html#log_5Ffile">log_file</a>; -<a name="l00040"></a>00040 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#boundPortCount">boundPortCount</a>; -<a name="l00041"></a>00041 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="socket_8cpp.html#openSockfd_5BMAXSOCKS_5D">openSockfd</a>[MAXSOCKS]; -<a name="l00042"></a>00042 <span class="keyword">extern</span> time_t <a class="code" href="channels_8cpp.html#TIME">TIME</a>; -<a name="l00043"></a>00043 <span class="keyword">extern</span> <span class="keywordtype">bool</span> <a class="code" href="socket_8cpp.html#unlimitcore">unlimitcore</a>; -<a name="l00044"></a>00044 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="socket_8cpp.html#MaxConn">MaxConn</a>; -<a name="l00045"></a>00045 -<a name="l00046"></a><a class="code" href="classInspSocket.html#InspSocket_28_29">00046</a> <a class="code" href="classInspSocket.html#InspSocket_28_29">InspSocket::InspSocket</a>() -<a name="l00047"></a>00047 { -<a name="l00048"></a>00048 this-><a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FDISCONNECTED">I_DISCONNECTED</a>; -<a name="l00049"></a>00049 } -<a name="l00050"></a>00050 -<a name="l00051"></a><a class="code" href="classInspSocket.html#InspSocket_28int_20newfd_2C_20char_20_2Aip_29">00051</a> <a class="code" href="classInspSocket.html#InspSocket_28_29">InspSocket::InspSocket</a>(<span class="keywordtype">int</span> newfd, <span class="keywordtype">char</span>* ip) -<a name="l00052"></a>00052 { -<a name="l00053"></a>00053 this-><a class="code" href="classInspSocket.html#fd">fd</a> = newfd; -<a name="l00054"></a>00054 this-><a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FCONNECTED">I_CONNECTED</a>; -<a name="l00055"></a>00055 this-><a class="code" href="classInspSocket.html#IP">IP</a> = ip; -<a name="l00056"></a>00056 } -<a name="l00057"></a>00057 -<a name="l00058"></a><a class="code" href="classInspSocket.html#InspSocket_28std_3A_3Astring_20host_2C_20int_20port_2C_20bool_20listening_2C_20unsigned_20long_20maxtime_29">00058</a> <a class="code" href="classInspSocket.html#InspSocket_28_29">InspSocket::InspSocket</a>(<a class="code" href="namespaceirc.html#string">std::string</a> host, <span class="keywordtype">int</span> port, <span class="keywordtype">bool</span> listening, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> maxtime) -<a name="l00059"></a>00059 { -<a name="l00060"></a>00060 <span class="keywordflow">if</span> (listening) { -<a name="l00061"></a>00061 <span class="keywordflow">if</span> ((this->fd = OpenTCPSocket()) == ERROR) -<a name="l00062"></a>00062 { -<a name="l00063"></a>00063 this-><a class="code" href="classInspSocket.html#fd">fd</a> = -1; -<a name="l00064"></a>00064 this-><a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FERROR">I_ERROR</a>; -<a name="l00065"></a>00065 this-><a class="code" href="classInspSocket.html#OnError_28InspSocketError_20e_29">OnError</a>(<a class="code" href="socket_8h.html#InspSocketErrorI_5FERR_5FSOCKET">I_ERR_SOCKET</a>); -<a name="l00066"></a>00066 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"OpenTCPSocket() error"</span>); -<a name="l00067"></a>00067 <span class="keywordflow">return</span>; -<a name="l00068"></a>00068 } -<a name="l00069"></a>00069 <span class="keywordflow">else</span> -<a name="l00070"></a>00070 { -<a name="l00071"></a>00071 <span class="keywordflow">if</span> (BindSocket(this->fd,this->client,this->server,port,(<span class="keywordtype">char</span>*)host.c_str()) == ERROR) -<a name="l00072"></a>00072 { -<a name="l00073"></a>00073 this-><a class="code" href="classInspSocket.html#Close_28_29">Close</a>(); -<a name="l00074"></a>00074 this-><a class="code" href="classInspSocket.html#fd">fd</a> = -1; -<a name="l00075"></a>00075 this-><a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FERROR">I_ERROR</a>; -<a name="l00076"></a>00076 this-><a class="code" href="classInspSocket.html#OnError_28InspSocketError_20e_29">OnError</a>(<a class="code" href="socket_8h.html#InspSocketErrorI_5FERR_5FBIND">I_ERR_BIND</a>); -<a name="l00077"></a>00077 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"BindSocket() error %s"</span>,strerror(errno)); -<a name="l00078"></a>00078 <span class="keywordflow">return</span>; -<a name="l00079"></a>00079 } -<a name="l00080"></a>00080 <span class="keywordflow">else</span> -<a name="l00081"></a>00081 { -<a name="l00082"></a>00082 this-><a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FLISTENING">I_LISTENING</a>; -<a name="l00083"></a>00083 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"New socket now in I_LISTENING state"</span>); -<a name="l00084"></a>00084 <span class="keywordflow">return</span>; -<a name="l00085"></a>00085 } -<a name="l00086"></a>00086 } -<a name="l00087"></a>00087 } <span class="keywordflow">else</span> { -<a name="l00088"></a>00088 <span class="keywordtype">char</span>* ip; -<a name="l00089"></a>00089 this->host = host; -<a name="l00090"></a>00090 hostent* hoste = gethostbyname(host.c_str()); -<a name="l00091"></a>00091 <span class="keywordflow">if</span> (!hoste) { -<a name="l00092"></a>00092 ip = (<span class="keywordtype">char</span>*)host.c_str(); -<a name="l00093"></a>00093 } <span class="keywordflow">else</span> { -<a name="l00094"></a>00094 <span class="keyword">struct </span>in_addr* ia = (in_addr*)hoste->h_addr; -<a name="l00095"></a>00095 ip = inet_ntoa(*ia); -<a name="l00096"></a>00096 } -<a name="l00097"></a>00097 -<a name="l00098"></a>00098 this-><a class="code" href="classInspSocket.html#IP">IP</a> = ip; -<a name="l00099"></a>00099 -<a name="l00100"></a>00100 <a class="code" href="classInspSocket.html#timeout_5Fend">timeout_end</a> = time(NULL)+maxtime; -<a name="l00101"></a>00101 <a class="code" href="classInspSocket.html#timeout">timeout</a> = <span class="keyword">false</span>; -<a name="l00102"></a>00102 <span class="keywordflow">if</span> ((this->fd = socket(AF_INET, SOCK_STREAM, 0)) == -1) -<a name="l00103"></a>00103 { -<a name="l00104"></a>00104 this-><a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FERROR">I_ERROR</a>; -<a name="l00105"></a>00105 this-><a class="code" href="classInspSocket.html#OnError_28InspSocketError_20e_29">OnError</a>(<a class="code" href="socket_8h.html#InspSocketErrorI_5FERR_5FSOCKET">I_ERR_SOCKET</a>); -<a name="l00106"></a>00106 <span class="keywordflow">return</span>; -<a name="l00107"></a>00107 } -<a name="l00108"></a>00108 this->port = port; -<a name="l00109"></a>00109 inet_aton(ip,&<a class="code" href="classInspSocket.html#addy">addy</a>); -<a name="l00110"></a>00110 <a class="code" href="classInspSocket.html#addr">addr</a>.sin_family = AF_INET; -<a name="l00111"></a>00111 <a class="code" href="classInspSocket.html#addr">addr</a>.sin_addr = <a class="code" href="classInspSocket.html#addy">addy</a>; -<a name="l00112"></a>00112 <a class="code" href="classInspSocket.html#addr">addr</a>.sin_port = htons(this->port); -<a name="l00113"></a>00113 -<a name="l00114"></a>00114 <span class="keywordtype">int</span> flags; -<a name="l00115"></a>00115 flags = fcntl(this->fd, F_GETFL, 0); -<a name="l00116"></a>00116 fcntl(this->fd, F_SETFL, flags | O_NONBLOCK); -<a name="l00117"></a>00117 -<a name="l00118"></a>00118 <span class="keywordflow">if</span>(connect(this->fd, (sockaddr*)&this->addr,<span class="keyword">sizeof</span>(this->addr)) == -1) -<a name="l00119"></a>00119 { -<a name="l00120"></a>00120 <span class="keywordflow">if</span> (errno != EINPROGRESS) -<a name="l00121"></a>00121 { -<a name="l00122"></a>00122 this-><a class="code" href="classInspSocket.html#Close_28_29">Close</a>(); -<a name="l00123"></a>00123 this-><a class="code" href="classInspSocket.html#OnError_28InspSocketError_20e_29">OnError</a>(<a class="code" href="socket_8h.html#InspSocketErrorI_5FERR_5FCONNECT">I_ERR_CONNECT</a>); -<a name="l00124"></a>00124 this-><a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FERROR">I_ERROR</a>; -<a name="l00125"></a>00125 <span class="keywordflow">return</span>; -<a name="l00126"></a>00126 } -<a name="l00127"></a>00127 } -<a name="l00128"></a>00128 this-><a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FCONNECTING">I_CONNECTING</a>; -<a name="l00129"></a>00129 <span class="keywordflow">return</span>; -<a name="l00130"></a>00130 } -<a name="l00131"></a>00131 } -<a name="l00132"></a>00132 -<a name="l00133"></a><a class="code" href="classInspSocket.html#Close_28_29">00133</a> <span class="keywordtype">void</span> <a class="code" href="classInspSocket.html#Close_28_29">InspSocket::Close</a>() -<a name="l00134"></a>00134 { -<a name="l00135"></a>00135 <span class="keywordflow">if</span> (this->fd != -1) -<a name="l00136"></a>00136 { -<a name="l00137"></a>00137 this-><a class="code" href="classInspSocket.html#OnClose_28_29">OnClose</a>(); -<a name="l00138"></a>00138 shutdown(this->fd,2); -<a name="l00139"></a>00139 close(this->fd); -<a name="l00140"></a>00140 this-><a class="code" href="classInspSocket.html#fd">fd</a> = -1; -<a name="l00141"></a>00141 } -<a name="l00142"></a>00142 } -<a name="l00143"></a>00143 -<a name="l00144"></a><a class="code" href="classInspSocket.html#GetIP_28_29">00144</a> <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classInspSocket.html#GetIP_28_29">InspSocket::GetIP</a>() -<a name="l00145"></a>00145 { -<a name="l00146"></a>00146 <span class="keywordflow">return</span> this-><a class="code" href="classInspSocket.html#IP">IP</a>; -<a name="l00147"></a>00147 } -<a name="l00148"></a>00148 -<a name="l00149"></a><a class="code" href="classInspSocket.html#Read_28_29">00149</a> <span class="keywordtype">char</span>* <a class="code" href="classInspSocket.html#Read_28_29">InspSocket::Read</a>() -<a name="l00150"></a>00150 { -<a name="l00151"></a>00151 <span class="keywordtype">int</span> n = recv(this->fd,this->ibuf,<span class="keyword">sizeof</span>(this->ibuf),0); -<a name="l00152"></a>00152 <span class="keywordflow">if</span> (n > 0) -<a name="l00153"></a>00153 { -<a name="l00154"></a>00154 <a class="code" href="classInspSocket.html#ibuf_5B_31_36_33_38_34_5D">ibuf</a>[n] = 0; -<a name="l00155"></a>00155 <span class="keywordflow">return</span> <a class="code" href="classInspSocket.html#ibuf_5B_31_36_33_38_34_5D">ibuf</a>; -<a name="l00156"></a>00156 } -<a name="l00157"></a>00157 <span class="keywordflow">else</span> -<a name="l00158"></a>00158 { -<a name="l00159"></a>00159 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"EOF or error on socket"</span>); -<a name="l00160"></a>00160 <span class="keywordflow">return</span> NULL; -<a name="l00161"></a>00161 } -<a name="l00162"></a>00162 } -<a name="l00163"></a>00163 -<a name="l00164"></a>00164 <span class="comment">// There are two possible outcomes to this function.</span> -<a name="l00165"></a>00165 <span class="comment">// It will either write all of the data, or an undefined amount.</span> -<a name="l00166"></a>00166 <span class="comment">// If an undefined amount is written the connection has failed</span> -<a name="l00167"></a>00167 <span class="comment">// and should be aborted.</span> -<a name="l00168"></a><a class="code" href="classInspSocket.html#Write_28std_3A_3Astring_20data_29">00168</a> <span class="keywordtype">int</span> <a class="code" href="classInspSocket.html#Write_28std_3A_3Astring_20data_29">InspSocket::Write</a>(<a class="code" href="namespaceirc.html#string">std::string</a> data) -<a name="l00169"></a>00169 { -<a name="l00170"></a>00170 <span class="keywordtype">char</span>* d = (<span class="keywordtype">char</span>*)data.c_str(); -<a name="l00171"></a>00171 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> written = 0; -<a name="l00172"></a>00172 <span class="keywordtype">int</span> n = 0; -<a name="l00173"></a>00173 <span class="keywordtype">int</span> s = data.length(); -<a name="l00174"></a>00174 <span class="keywordflow">while</span> ((written < data.length()) && (n >= 0)) -<a name="l00175"></a>00175 { -<a name="l00176"></a>00176 n = send(this->fd,d,s,0); -<a name="l00177"></a>00177 <span class="keywordflow">if</span> (n > 0) -<a name="l00178"></a>00178 { -<a name="l00179"></a>00179 <span class="comment">// If we didnt write everything, advance</span> -<a name="l00180"></a>00180 <span class="comment">// the pointers so that when we retry</span> -<a name="l00181"></a>00181 <span class="comment">// the next time around the loop, we try</span> -<a name="l00182"></a>00182 <span class="comment">// to write what we failed to write before.</span> -<a name="l00183"></a>00183 written += n; -<a name="l00184"></a>00184 s -= n; -<a name="l00185"></a>00185 d += n; -<a name="l00186"></a>00186 } -<a name="l00187"></a>00187 } -<a name="l00188"></a>00188 <span class="keywordflow">return</span> written; -<a name="l00189"></a>00189 } -<a name="l00190"></a>00190 -<a name="l00191"></a><a class="code" href="classInspSocket.html#Poll_28_29">00191</a> <span class="keywordtype">bool</span> <a class="code" href="classInspSocket.html#Poll_28_29">InspSocket::Poll</a>() -<a name="l00192"></a>00192 { -<a name="l00193"></a>00193 <span class="keywordflow">if</span> ((time(NULL) > <a class="code" href="classInspSocket.html#timeout_5Fend">timeout_end</a>) && (this->state == <a class="code" href="socket_8h.html#InspSocketStateI_5FCONNECTING">I_CONNECTING</a>)) -<a name="l00194"></a>00194 { -<a name="l00195"></a>00195 <span class="comment">// for non-listening sockets, the timeout can occur</span> -<a name="l00196"></a>00196 <span class="comment">// which causes termination of the connection after</span> -<a name="l00197"></a>00197 <span class="comment">// the given number of seconds without a successful</span> -<a name="l00198"></a>00198 <span class="comment">// connection.</span> -<a name="l00199"></a>00199 this-><a class="code" href="classInspSocket.html#OnTimeout_28_29">OnTimeout</a>(); -<a name="l00200"></a>00200 this-><a class="code" href="classInspSocket.html#OnError_28InspSocketError_20e_29">OnError</a>(<a class="code" href="socket_8h.html#InspSocketErrorI_5FERR_5FTIMEOUT">I_ERR_TIMEOUT</a>); -<a name="l00201"></a>00201 <a class="code" href="classInspSocket.html#timeout">timeout</a> = <span class="keyword">true</span>; -<a name="l00202"></a>00202 this-><a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FERROR">I_ERROR</a>; -<a name="l00203"></a>00203 <span class="keywordflow">return</span> <span class="keyword">false</span>; -<a name="l00204"></a>00204 } -<a name="l00205"></a>00205 <a class="code" href="classInspSocket.html#polls">polls</a>.fd = this-><a class="code" href="classInspSocket.html#fd">fd</a>; -<a name="l00206"></a>00206 <a class="code" href="classInspSocket.html#state">state</a> == <a class="code" href="socket_8h.html#InspSocketStateI_5FCONNECTING">I_CONNECTING</a> ? <a class="code" href="classInspSocket.html#polls">polls</a>.events = POLLOUT : <a class="code" href="classInspSocket.html#polls">polls</a>.events = POLLIN; -<a name="l00207"></a>00207 <span class="keywordtype">int</span> ret = poll(&<a class="code" href="classInspSocket.html#polls">polls</a>,1,1); -<a name="l00208"></a>00208 -<a name="l00209"></a>00209 <span class="keywordflow">if</span> (ret > 0) -<a name="l00210"></a>00210 { -<a name="l00211"></a>00211 <span class="keywordtype">int</span> incoming = -1; -<a name="l00212"></a>00212 -<a name="l00213"></a>00213 <span class="keywordflow">switch</span> (this->state) -<a name="l00214"></a>00214 { -<a name="l00215"></a>00215 <span class="keywordflow">case</span> <a class="code" href="socket_8h.html#InspSocketStateI_5FCONNECTING">I_CONNECTING</a>: -<a name="l00216"></a>00216 this-><a class="code" href="classInspSocket.html#SetState_28InspSocketState_20s_29">SetState</a>(<a class="code" href="socket_8h.html#InspSocketStateI_5FCONNECTED">I_CONNECTED</a>); -<a name="l00217"></a>00217 <span class="keywordflow">return</span> this-><a class="code" href="classInspSocket.html#OnConnected_28_29">OnConnected</a>(); -<a name="l00218"></a>00218 <span class="keywordflow">break</span>; -<a name="l00219"></a>00219 <span class="keywordflow">case</span> <a class="code" href="socket_8h.html#InspSocketStateI_5FLISTENING">I_LISTENING</a>: -<a name="l00220"></a>00220 <a class="code" href="classInspSocket.html#length">length</a> = <span class="keyword">sizeof</span> (<a class="code" href="classInspSocket.html#client">client</a>); -<a name="l00221"></a>00221 incoming = accept (this->fd, (sockaddr*)&<a class="code" href="classInspSocket.html#client">client</a>,&<a class="code" href="classInspSocket.html#length">length</a>); -<a name="l00222"></a>00222 this-><a class="code" href="classInspSocket.html#OnIncomingConnection_28int_20newfd_2C_20char_20_2Aip_29">OnIncomingConnection</a>(incoming,inet_ntoa(client.sin_addr)); -<a name="l00223"></a>00223 <span class="keywordflow">return</span> <span class="keyword">true</span>; -<a name="l00224"></a>00224 <span class="keywordflow">break</span>; -<a name="l00225"></a>00225 <span class="keywordflow">case</span> <a class="code" href="socket_8h.html#InspSocketStateI_5FCONNECTED">I_CONNECTED</a>: -<a name="l00226"></a>00226 <span class="keywordflow">return</span> this-><a class="code" href="classInspSocket.html#OnDataReady_28_29">OnDataReady</a>(); -<a name="l00227"></a>00227 <span class="keywordflow">break</span>; -<a name="l00228"></a>00228 <span class="keywordflow">default</span>: -<a name="l00229"></a>00229 <span class="keywordflow">break</span>; -<a name="l00230"></a>00230 } -<a name="l00231"></a>00231 } -<a name="l00232"></a>00232 <span class="keywordflow">return</span> <span class="keyword">true</span>; -<a name="l00233"></a>00233 } -<a name="l00234"></a>00234 -<a name="l00235"></a><a class="code" href="classInspSocket.html#SetState_28InspSocketState_20s_29">00235</a> <span class="keywordtype">void</span> <a class="code" href="classInspSocket.html#SetState_28InspSocketState_20s_29">InspSocket::SetState</a>(<a class="code" href="socket_8h.html#InspSocketState">InspSocketState</a> s) -<a name="l00236"></a>00236 { -<a name="l00237"></a>00237 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Socket state change"</span>); -<a name="l00238"></a>00238 this-><a class="code" href="classInspSocket.html#state">state</a> = s; +<a name="l00038"></a>00038 <span class="preprocessor">#include "<a class="code" href="socketengine_8h.html">socketengine.h</a>"</span> +<a name="l00039"></a>00039 +<a name="l00040"></a>00040 <span class="keyword">extern</span> <a class="code" href="classSocketEngine.html">SocketEngine</a>* <a class="code" href="modules_8cpp.html#SE">SE</a>; +<a name="l00041"></a>00041 +<a name="l00042"></a>00042 <span class="keyword">extern</span> FILE *<a class="code" href="channels_8cpp.html#log_5Ffile">log_file</a>; +<a name="l00043"></a>00043 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#boundPortCount">boundPortCount</a>; +<a name="l00044"></a>00044 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="socket_8cpp.html#openSockfd_5BMAXSOCKS_5D">openSockfd</a>[MAXSOCKS]; +<a name="l00045"></a>00045 <span class="keyword">extern</span> time_t <a class="code" href="channels_8cpp.html#TIME">TIME</a>; +<a name="l00046"></a>00046 <span class="keyword">extern</span> <span class="keywordtype">bool</span> <a class="code" href="socket_8cpp.html#unlimitcore">unlimitcore</a>; +<a name="l00047"></a>00047 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="socket_8cpp.html#MaxConn">MaxConn</a>; +<a name="l00048"></a>00048 +<a name="l00049"></a><a class="code" href="classInspSocket.html#InspSocket_28_29">00049</a> <a class="code" href="classInspSocket.html#InspSocket_28_29">InspSocket::InspSocket</a>() +<a name="l00050"></a>00050 { +<a name="l00051"></a>00051 this-><a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FDISCONNECTED">I_DISCONNECTED</a>; +<a name="l00052"></a>00052 } +<a name="l00053"></a>00053 +<a name="l00054"></a><a class="code" href="classInspSocket.html#InspSocket_28int_20newfd_2C_20char_20_2Aip_29">00054</a> <a class="code" href="classInspSocket.html#InspSocket_28_29">InspSocket::InspSocket</a>(<span class="keywordtype">int</span> newfd, <span class="keywordtype">char</span>* ip) +<a name="l00055"></a>00055 { +<a name="l00056"></a>00056 this-><a class="code" href="classInspSocket.html#fd">fd</a> = newfd; +<a name="l00057"></a>00057 this-><a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FCONNECTED">I_CONNECTED</a>; +<a name="l00058"></a>00058 this-><a class="code" href="classInspSocket.html#IP">IP</a> = ip; +<a name="l00059"></a>00059 SE-><a class="code" href="classSocketEngine.html#AddFd_28int_20fd_2C_20bool_20readable_2C_20char_20type_29">AddFd</a>(this->fd,<span class="keyword">true</span>,<a class="code" href="socketengine_8h.html#X_5FESTAB_5FMODULE">X_ESTAB_MODULE</a>); +<a name="l00060"></a>00060 } +<a name="l00061"></a>00061 +<a name="l00062"></a><a class="code" href="classInspSocket.html#InspSocket_28std_3A_3Astring_20host_2C_20int_20port_2C_20bool_20listening_2C_20unsigned_20long_20maxtime_29">00062</a> <a class="code" href="classInspSocket.html#InspSocket_28_29">InspSocket::InspSocket</a>(<a class="code" href="namespaceirc.html#string">std::string</a> host, <span class="keywordtype">int</span> port, <span class="keywordtype">bool</span> listening, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> maxtime) +<a name="l00063"></a>00063 { +<a name="l00064"></a>00064 <span class="keywordflow">if</span> (listening) { +<a name="l00065"></a>00065 <span class="keywordflow">if</span> ((this->fd = OpenTCPSocket()) == ERROR) +<a name="l00066"></a>00066 { +<a name="l00067"></a>00067 this-><a class="code" href="classInspSocket.html#fd">fd</a> = -1; +<a name="l00068"></a>00068 this-><a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FERROR">I_ERROR</a>; +<a name="l00069"></a>00069 this-><a class="code" href="classInspSocket.html#OnError_28InspSocketError_20e_29">OnError</a>(<a class="code" href="socket_8h.html#InspSocketErrorI_5FERR_5FSOCKET">I_ERR_SOCKET</a>); +<a name="l00070"></a>00070 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"OpenTCPSocket() error"</span>); +<a name="l00071"></a>00071 <span class="keywordflow">return</span>; +<a name="l00072"></a>00072 } +<a name="l00073"></a>00073 <span class="keywordflow">else</span> +<a name="l00074"></a>00074 { +<a name="l00075"></a>00075 <span class="keywordflow">if</span> (BindSocket(this->fd,this->client,this->server,port,(<span class="keywordtype">char</span>*)host.c_str()) == ERROR) +<a name="l00076"></a>00076 { +<a name="l00077"></a>00077 this-><a class="code" href="classInspSocket.html#Close_28_29">Close</a>(); +<a name="l00078"></a>00078 this-><a class="code" href="classInspSocket.html#fd">fd</a> = -1; +<a name="l00079"></a>00079 this-><a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FERROR">I_ERROR</a>; +<a name="l00080"></a>00080 this-><a class="code" href="classInspSocket.html#OnError_28InspSocketError_20e_29">OnError</a>(<a class="code" href="socket_8h.html#InspSocketErrorI_5FERR_5FBIND">I_ERR_BIND</a>); +<a name="l00081"></a>00081 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"BindSocket() error %s"</span>,strerror(errno)); +<a name="l00082"></a>00082 <span class="keywordflow">return</span>; +<a name="l00083"></a>00083 } +<a name="l00084"></a>00084 <span class="keywordflow">else</span> +<a name="l00085"></a>00085 { +<a name="l00086"></a>00086 this-><a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FLISTENING">I_LISTENING</a>; +<a name="l00087"></a>00087 SE-><a class="code" href="classSocketEngine.html#AddFd_28int_20fd_2C_20bool_20readable_2C_20char_20type_29">AddFd</a>(this->fd,<span class="keyword">true</span>,<a class="code" href="socketengine_8h.html#X_5FESTAB_5FMODULE">X_ESTAB_MODULE</a>); +<a name="l00088"></a>00088 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"New socket now in I_LISTENING state"</span>); +<a name="l00089"></a>00089 <span class="keywordflow">return</span>; +<a name="l00090"></a>00090 } +<a name="l00091"></a>00091 } +<a name="l00092"></a>00092 } <span class="keywordflow">else</span> { +<a name="l00093"></a>00093 <span class="keywordtype">char</span>* ip; +<a name="l00094"></a>00094 this->host = host; +<a name="l00095"></a>00095 hostent* hoste = gethostbyname(host.c_str()); +<a name="l00096"></a>00096 <span class="keywordflow">if</span> (!hoste) { +<a name="l00097"></a>00097 ip = (<span class="keywordtype">char</span>*)host.c_str(); +<a name="l00098"></a>00098 } <span class="keywordflow">else</span> { +<a name="l00099"></a>00099 <span class="keyword">struct </span>in_addr* ia = (in_addr*)hoste->h_addr; +<a name="l00100"></a>00100 ip = inet_ntoa(*ia); +<a name="l00101"></a>00101 } +<a name="l00102"></a>00102 +<a name="l00103"></a>00103 this-><a class="code" href="classInspSocket.html#IP">IP</a> = ip; +<a name="l00104"></a>00104 +<a name="l00105"></a>00105 <a class="code" href="classInspSocket.html#timeout_5Fend">timeout_end</a> = time(NULL)+maxtime; +<a name="l00106"></a>00106 <a class="code" href="classInspSocket.html#timeout">timeout</a> = <span class="keyword">false</span>; +<a name="l00107"></a>00107 <span class="keywordflow">if</span> ((this->fd = socket(AF_INET, SOCK_STREAM, 0)) == -1) +<a name="l00108"></a>00108 { +<a name="l00109"></a>00109 this-><a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FERROR">I_ERROR</a>; +<a name="l00110"></a>00110 this-><a class="code" href="classInspSocket.html#OnError_28InspSocketError_20e_29">OnError</a>(<a class="code" href="socket_8h.html#InspSocketErrorI_5FERR_5FSOCKET">I_ERR_SOCKET</a>); +<a name="l00111"></a>00111 <span class="keywordflow">return</span>; +<a name="l00112"></a>00112 } +<a name="l00113"></a>00113 this->port = port; +<a name="l00114"></a>00114 inet_aton(ip,&<a class="code" href="classInspSocket.html#addy">addy</a>); +<a name="l00115"></a>00115 <a class="code" href="classInspSocket.html#addr">addr</a>.sin_family = AF_INET; +<a name="l00116"></a>00116 <a class="code" href="classInspSocket.html#addr">addr</a>.sin_addr = <a class="code" href="classInspSocket.html#addy">addy</a>; +<a name="l00117"></a>00117 <a class="code" href="classInspSocket.html#addr">addr</a>.sin_port = htons(this->port); +<a name="l00118"></a>00118 +<a name="l00119"></a>00119 <span class="keywordtype">int</span> flags; +<a name="l00120"></a>00120 flags = fcntl(this->fd, F_GETFL, 0); +<a name="l00121"></a>00121 fcntl(this->fd, F_SETFL, flags | O_NONBLOCK); +<a name="l00122"></a>00122 +<a name="l00123"></a>00123 <span class="keywordflow">if</span>(connect(this->fd, (sockaddr*)&this->addr,<span class="keyword">sizeof</span>(this->addr)) == -1) +<a name="l00124"></a>00124 { +<a name="l00125"></a>00125 <span class="keywordflow">if</span> (errno != EINPROGRESS) +<a name="l00126"></a>00126 { +<a name="l00127"></a>00127 this-><a class="code" href="classInspSocket.html#Close_28_29">Close</a>(); +<a name="l00128"></a>00128 this-><a class="code" href="classInspSocket.html#OnError_28InspSocketError_20e_29">OnError</a>(<a class="code" href="socket_8h.html#InspSocketErrorI_5FERR_5FCONNECT">I_ERR_CONNECT</a>); +<a name="l00129"></a>00129 this-><a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FERROR">I_ERROR</a>; +<a name="l00130"></a>00130 <span class="keywordflow">return</span>; +<a name="l00131"></a>00131 } +<a name="l00132"></a>00132 } +<a name="l00133"></a>00133 this-><a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FCONNECTING">I_CONNECTING</a>; +<a name="l00134"></a>00134 SE-><a class="code" href="classSocketEngine.html#AddFd_28int_20fd_2C_20bool_20readable_2C_20char_20type_29">AddFd</a>(this->fd,<span class="keyword">false</span>,<a class="code" href="socketengine_8h.html#X_5FESTAB_5FMODULE">X_ESTAB_MODULE</a>); +<a name="l00135"></a>00135 <span class="keywordflow">return</span>; +<a name="l00136"></a>00136 } +<a name="l00137"></a>00137 } +<a name="l00138"></a>00138 +<a name="l00139"></a><a class="code" href="classInspSocket.html#Close_28_29">00139</a> <span class="keywordtype">void</span> <a class="code" href="classInspSocket.html#Close_28_29">InspSocket::Close</a>() +<a name="l00140"></a>00140 { +<a name="l00141"></a>00141 <span class="keywordflow">if</span> (this->fd != -1) +<a name="l00142"></a>00142 { +<a name="l00143"></a>00143 this-><a class="code" href="classInspSocket.html#OnClose_28_29">OnClose</a>(); +<a name="l00144"></a>00144 shutdown(this->fd,2); +<a name="l00145"></a>00145 close(this->fd); +<a name="l00146"></a>00146 this-><a class="code" href="classInspSocket.html#fd">fd</a> = -1; +<a name="l00147"></a>00147 } +<a name="l00148"></a>00148 } +<a name="l00149"></a>00149 +<a name="l00150"></a><a class="code" href="classInspSocket.html#GetIP_28_29">00150</a> <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classInspSocket.html#GetIP_28_29">InspSocket::GetIP</a>() +<a name="l00151"></a>00151 { +<a name="l00152"></a>00152 <span class="keywordflow">return</span> this-><a class="code" href="classInspSocket.html#IP">IP</a>; +<a name="l00153"></a>00153 } +<a name="l00154"></a>00154 +<a name="l00155"></a><a class="code" href="classInspSocket.html#Read_28_29">00155</a> <span class="keywordtype">char</span>* <a class="code" href="classInspSocket.html#Read_28_29">InspSocket::Read</a>() +<a name="l00156"></a>00156 { +<a name="l00157"></a>00157 <span class="keywordtype">int</span> n = recv(this->fd,this->ibuf,<span class="keyword">sizeof</span>(this->ibuf),0); +<a name="l00158"></a>00158 <span class="keywordflow">if</span> (n > 0) +<a name="l00159"></a>00159 { +<a name="l00160"></a>00160 <a class="code" href="classInspSocket.html#ibuf_5B_31_36_33_38_34_5D">ibuf</a>[n] = 0; +<a name="l00161"></a>00161 <span class="keywordflow">return</span> <a class="code" href="classInspSocket.html#ibuf_5B_31_36_33_38_34_5D">ibuf</a>; +<a name="l00162"></a>00162 } +<a name="l00163"></a>00163 <span class="keywordflow">else</span> +<a name="l00164"></a>00164 { +<a name="l00165"></a>00165 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"EOF or error on socket"</span>); +<a name="l00166"></a>00166 <span class="keywordflow">return</span> NULL; +<a name="l00167"></a>00167 } +<a name="l00168"></a>00168 } +<a name="l00169"></a>00169 +<a name="l00170"></a>00170 <span class="comment">// There are two possible outcomes to this function.</span> +<a name="l00171"></a>00171 <span class="comment">// It will either write all of the data, or an undefined amount.</span> +<a name="l00172"></a>00172 <span class="comment">// If an undefined amount is written the connection has failed</span> +<a name="l00173"></a>00173 <span class="comment">// and should be aborted.</span> +<a name="l00174"></a><a class="code" href="classInspSocket.html#Write_28std_3A_3Astring_20data_29">00174</a> <span class="keywordtype">int</span> <a class="code" href="classInspSocket.html#Write_28std_3A_3Astring_20data_29">InspSocket::Write</a>(<a class="code" href="namespaceirc.html#string">std::string</a> data) +<a name="l00175"></a>00175 { +<a name="l00176"></a>00176 <span class="keywordtype">char</span>* d = (<span class="keywordtype">char</span>*)data.c_str(); +<a name="l00177"></a>00177 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> written = 0; +<a name="l00178"></a>00178 <span class="keywordtype">int</span> n = 0; +<a name="l00179"></a>00179 <span class="keywordtype">int</span> s = data.length(); +<a name="l00180"></a>00180 <span class="keywordflow">while</span> ((written < data.length()) && (n >= 0)) +<a name="l00181"></a>00181 { +<a name="l00182"></a>00182 n = send(this->fd,d,s,0); +<a name="l00183"></a>00183 <span class="keywordflow">if</span> (n > 0) +<a name="l00184"></a>00184 { +<a name="l00185"></a>00185 <span class="comment">// If we didnt write everything, advance</span> +<a name="l00186"></a>00186 <span class="comment">// the pointers so that when we retry</span> +<a name="l00187"></a>00187 <span class="comment">// the next time around the loop, we try</span> +<a name="l00188"></a>00188 <span class="comment">// to write what we failed to write before.</span> +<a name="l00189"></a>00189 written += n; +<a name="l00190"></a>00190 s -= n; +<a name="l00191"></a>00191 d += n; +<a name="l00192"></a>00192 } +<a name="l00193"></a>00193 } +<a name="l00194"></a>00194 <span class="keywordflow">return</span> written; +<a name="l00195"></a>00195 } +<a name="l00196"></a>00196 +<a name="l00197"></a><a class="code" href="classInspSocket.html#Poll_28_29">00197</a> <span class="keywordtype">bool</span> <a class="code" href="classInspSocket.html#Poll_28_29">InspSocket::Poll</a>() +<a name="l00198"></a>00198 { +<a name="l00199"></a>00199 <span class="keywordflow">if</span> ((time(NULL) > <a class="code" href="classInspSocket.html#timeout_5Fend">timeout_end</a>) && (this->state == <a class="code" href="socket_8h.html#InspSocketStateI_5FCONNECTING">I_CONNECTING</a>)) +<a name="l00200"></a>00200 { +<a name="l00201"></a>00201 <span class="comment">// for non-listening sockets, the timeout can occur</span> +<a name="l00202"></a>00202 <span class="comment">// which causes termination of the connection after</span> +<a name="l00203"></a>00203 <span class="comment">// the given number of seconds without a successful</span> +<a name="l00204"></a>00204 <span class="comment">// connection.</span> +<a name="l00205"></a>00205 this-><a class="code" href="classInspSocket.html#OnTimeout_28_29">OnTimeout</a>(); +<a name="l00206"></a>00206 this-><a class="code" href="classInspSocket.html#OnError_28InspSocketError_20e_29">OnError</a>(<a class="code" href="socket_8h.html#InspSocketErrorI_5FERR_5FTIMEOUT">I_ERR_TIMEOUT</a>); +<a name="l00207"></a>00207 <a class="code" href="classInspSocket.html#timeout">timeout</a> = <span class="keyword">true</span>; +<a name="l00208"></a>00208 this-><a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FERROR">I_ERROR</a>; +<a name="l00209"></a>00209 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00210"></a>00210 } +<a name="l00211"></a>00211 +<a name="l00212"></a>00212 <span class="keywordtype">int</span> incoming = -1; +<a name="l00213"></a>00213 +<a name="l00214"></a>00214 <span class="keywordflow">switch</span> (this->state) +<a name="l00215"></a>00215 { +<a name="l00216"></a>00216 <span class="keywordflow">case</span> <a class="code" href="socket_8h.html#InspSocketStateI_5FCONNECTING">I_CONNECTING</a>: +<a name="l00217"></a>00217 this-><a class="code" href="classInspSocket.html#SetState_28InspSocketState_20s_29">SetState</a>(<a class="code" href="socket_8h.html#InspSocketStateI_5FCONNECTED">I_CONNECTED</a>); +<a name="l00218"></a>00218 <span class="comment">/* Our socket was in write-state, so delete it and re-add it</span> +<a name="l00219"></a>00219 <span class="comment"> * in read-state.</span> +<a name="l00220"></a>00220 <span class="comment"> */</span> +<a name="l00221"></a>00221 SE-><a class="code" href="classSocketEngine.html#DelFd_28int_20fd_29">DelFd</a>(this->fd); +<a name="l00222"></a>00222 SE-><a class="code" href="classSocketEngine.html#AddFd_28int_20fd_2C_20bool_20readable_2C_20char_20type_29">AddFd</a>(this->fd,<span class="keyword">true</span>,<a class="code" href="socketengine_8h.html#X_5FESTAB_5FMODULE">X_ESTAB_MODULE</a>); +<a name="l00223"></a>00223 <span class="keywordflow">return</span> this-><a class="code" href="classInspSocket.html#OnConnected_28_29">OnConnected</a>(); +<a name="l00224"></a>00224 <span class="keywordflow">break</span>; +<a name="l00225"></a>00225 <span class="keywordflow">case</span> <a class="code" href="socket_8h.html#InspSocketStateI_5FLISTENING">I_LISTENING</a>: +<a name="l00226"></a>00226 <a class="code" href="classInspSocket.html#length">length</a> = <span class="keyword">sizeof</span> (<a class="code" href="classInspSocket.html#client">client</a>); +<a name="l00227"></a>00227 incoming = accept (this->fd, (sockaddr*)&<a class="code" href="classInspSocket.html#client">client</a>,&<a class="code" href="classInspSocket.html#length">length</a>); +<a name="l00228"></a>00228 this-><a class="code" href="classInspSocket.html#OnIncomingConnection_28int_20newfd_2C_20char_20_2Aip_29">OnIncomingConnection</a>(incoming,inet_ntoa(client.sin_addr)); +<a name="l00229"></a>00229 <span class="keywordflow">return</span> <span class="keyword">true</span>; +<a name="l00230"></a>00230 <span class="keywordflow">break</span>; +<a name="l00231"></a>00231 <span class="keywordflow">case</span> <a class="code" href="socket_8h.html#InspSocketStateI_5FCONNECTED">I_CONNECTED</a>: +<a name="l00232"></a>00232 <span class="keywordflow">return</span> this-><a class="code" href="classInspSocket.html#OnDataReady_28_29">OnDataReady</a>(); +<a name="l00233"></a>00233 <span class="keywordflow">break</span>; +<a name="l00234"></a>00234 <span class="keywordflow">default</span>: +<a name="l00235"></a>00235 <span class="keywordflow">break</span>; +<a name="l00236"></a>00236 } +<a name="l00237"></a>00237 +<a name="l00238"></a>00238 <span class="keywordflow">return</span> <span class="keyword">true</span>; <a name="l00239"></a>00239 } <a name="l00240"></a>00240 -<a name="l00241"></a><a class="code" href="classInspSocket.html#GetState_28_29">00241</a> <a class="code" href="socket_8h.html#InspSocketState">InspSocketState</a> <a class="code" href="classInspSocket.html#GetState_28_29">InspSocket::GetState</a>() +<a name="l00241"></a><a class="code" href="classInspSocket.html#SetState_28InspSocketState_20s_29">00241</a> <span class="keywordtype">void</span> <a class="code" href="classInspSocket.html#SetState_28InspSocketState_20s_29">InspSocket::SetState</a>(<a class="code" href="socket_8h.html#InspSocketState">InspSocketState</a> s) <a name="l00242"></a>00242 { -<a name="l00243"></a>00243 <span class="keywordflow">return</span> this-><a class="code" href="classInspSocket.html#state">state</a>; -<a name="l00244"></a>00244 } -<a name="l00245"></a>00245 -<a name="l00246"></a><a class="code" href="classInspSocket.html#OnConnected_28_29">00246</a> <span class="keywordtype">bool</span> <a class="code" href="classInspSocket.html#OnConnected_28_29">InspSocket::OnConnected</a>() { <span class="keywordflow">return</span> <span class="keyword">true</span>; } -<a name="l00247"></a><a class="code" href="classInspSocket.html#OnError_28InspSocketError_20e_29">00247</a> <span class="keywordtype">void</span> <a class="code" href="classInspSocket.html#OnError_28InspSocketError_20e_29">InspSocket::OnError</a>(<a class="code" href="socket_8h.html#InspSocketError">InspSocketError</a> e) { <span class="keywordflow">return</span>; } -<a name="l00248"></a><a class="code" href="classInspSocket.html#OnDisconnect_28_29">00248</a> <span class="keywordtype">int</span> <a class="code" href="classInspSocket.html#OnDisconnect_28_29">InspSocket::OnDisconnect</a>() { <span class="keywordflow">return</span> 0; } -<a name="l00249"></a><a class="code" href="classInspSocket.html#OnIncomingConnection_28int_20newfd_2C_20char_20_2Aip_29">00249</a> <span class="keywordtype">int</span> <a class="code" href="classInspSocket.html#OnIncomingConnection_28int_20newfd_2C_20char_20_2Aip_29">InspSocket::OnIncomingConnection</a>(<span class="keywordtype">int</span> newfd, <span class="keywordtype">char</span>* ip) { <span class="keywordflow">return</span> 0; } -<a name="l00250"></a><a class="code" href="classInspSocket.html#OnDataReady_28_29">00250</a> <span class="keywordtype">bool</span> <a class="code" href="classInspSocket.html#OnDataReady_28_29">InspSocket::OnDataReady</a>() { <span class="keywordflow">return</span> <span class="keyword">true</span>; } -<a name="l00251"></a><a class="code" href="classInspSocket.html#OnTimeout_28_29">00251</a> <span class="keywordtype">void</span> <a class="code" href="classInspSocket.html#OnTimeout_28_29">InspSocket::OnTimeout</a>() { <span class="keywordflow">return</span>; } -<a name="l00252"></a><a class="code" href="classInspSocket.html#OnClose_28_29">00252</a> <span class="keywordtype">void</span> <a class="code" href="classInspSocket.html#OnClose_28_29">InspSocket::OnClose</a>() { <span class="keywordflow">return</span>; } -<a name="l00253"></a>00253 -<a name="l00254"></a><a class="code" href="classInspSocket.html#_7EInspSocket_28_29">00254</a> <a class="code" href="classInspSocket.html#_7EInspSocket_28_29">InspSocket::~InspSocket</a>() -<a name="l00255"></a>00255 { -<a name="l00256"></a>00256 this-><a class="code" href="classInspSocket.html#Close_28_29">Close</a>(); -<a name="l00257"></a>00257 } -<a name="l00258"></a>00258 -<a name="l00259"></a>00259 <span class="comment">/*</span> -<a name="l00260"></a>00260 <span class="comment">int BindSocket (int sockfd, struct sockaddr_in client, struct sockaddr_in server, int port, char* addr)</span> -<a name="l00261"></a>00261 <span class="comment">int OpenTCPSocket (void)</span> -<a name="l00262"></a>00262 <span class="comment">*/</span> -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:03 2005 for InspIRCd by +<a name="l00243"></a>00243 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Socket state change"</span>); +<a name="l00244"></a>00244 this-><a class="code" href="classInspSocket.html#state">state</a> = s; +<a name="l00245"></a>00245 } +<a name="l00246"></a>00246 +<a name="l00247"></a><a class="code" href="classInspSocket.html#GetState_28_29">00247</a> <a class="code" href="socket_8h.html#InspSocketState">InspSocketState</a> <a class="code" href="classInspSocket.html#GetState_28_29">InspSocket::GetState</a>() +<a name="l00248"></a>00248 { +<a name="l00249"></a>00249 <span class="keywordflow">return</span> this-><a class="code" href="classInspSocket.html#state">state</a>; +<a name="l00250"></a>00250 } +<a name="l00251"></a>00251 +<a name="l00252"></a><a class="code" href="classInspSocket.html#GetFd_28_29">00252</a> <span class="keywordtype">int</span> <a class="code" href="classInspSocket.html#GetFd_28_29">InspSocket::GetFd</a>() +<a name="l00253"></a>00253 { +<a name="l00254"></a>00254 <span class="keywordflow">return</span> this-><a class="code" href="classInspSocket.html#fd">fd</a>; +<a name="l00255"></a>00255 } +<a name="l00256"></a>00256 +<a name="l00257"></a><a class="code" href="classInspSocket.html#OnConnected_28_29">00257</a> <span class="keywordtype">bool</span> <a class="code" href="classInspSocket.html#OnConnected_28_29">InspSocket::OnConnected</a>() { <span class="keywordflow">return</span> <span class="keyword">true</span>; } +<a name="l00258"></a><a class="code" href="classInspSocket.html#OnError_28InspSocketError_20e_29">00258</a> <span class="keywordtype">void</span> <a class="code" href="classInspSocket.html#OnError_28InspSocketError_20e_29">InspSocket::OnError</a>(<a class="code" href="socket_8h.html#InspSocketError">InspSocketError</a> e) { <span class="keywordflow">return</span>; } +<a name="l00259"></a><a class="code" href="classInspSocket.html#OnDisconnect_28_29">00259</a> <span class="keywordtype">int</span> <a class="code" href="classInspSocket.html#OnDisconnect_28_29">InspSocket::OnDisconnect</a>() { <span class="keywordflow">return</span> 0; } +<a name="l00260"></a><a class="code" href="classInspSocket.html#OnIncomingConnection_28int_20newfd_2C_20char_20_2Aip_29">00260</a> <span class="keywordtype">int</span> <a class="code" href="classInspSocket.html#OnIncomingConnection_28int_20newfd_2C_20char_20_2Aip_29">InspSocket::OnIncomingConnection</a>(<span class="keywordtype">int</span> newfd, <span class="keywordtype">char</span>* ip) { <span class="keywordflow">return</span> 0; } +<a name="l00261"></a><a class="code" href="classInspSocket.html#OnDataReady_28_29">00261</a> <span class="keywordtype">bool</span> <a class="code" href="classInspSocket.html#OnDataReady_28_29">InspSocket::OnDataReady</a>() { <span class="keywordflow">return</span> <span class="keyword">true</span>; } +<a name="l00262"></a><a class="code" href="classInspSocket.html#OnTimeout_28_29">00262</a> <span class="keywordtype">void</span> <a class="code" href="classInspSocket.html#OnTimeout_28_29">InspSocket::OnTimeout</a>() { <span class="keywordflow">return</span>; } +<a name="l00263"></a><a class="code" href="classInspSocket.html#OnClose_28_29">00263</a> <span class="keywordtype">void</span> <a class="code" href="classInspSocket.html#OnClose_28_29">InspSocket::OnClose</a>() { <span class="keywordflow">return</span>; } +<a name="l00264"></a>00264 +<a name="l00265"></a><a class="code" href="classInspSocket.html#_7EInspSocket_28_29">00265</a> <a class="code" href="classInspSocket.html#_7EInspSocket_28_29">InspSocket::~InspSocket</a>() +<a name="l00266"></a>00266 { +<a name="l00267"></a>00267 this-><a class="code" href="classInspSocket.html#Close_28_29">Close</a>(); +<a name="l00268"></a>00268 } +<a name="l00269"></a>00269 +<a name="l00270"></a>00270 <span class="comment">/*</span> +<a name="l00271"></a>00271 <span class="comment">int BindSocket (int sockfd, struct sockaddr_in client, struct sockaddr_in server, int port, char* addr)</span> +<a name="l00272"></a>00272 <span class="comment">int OpenTCPSocket (void)</span> +<a name="l00273"></a>00273 <span class="comment">*/</span> +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:08 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/socket_8cpp.html b/docs/module-doc/socket_8cpp.html index a600dc335..915f77162 100644 --- a/docs/module-doc/socket_8cpp.html +++ b/docs/module-doc/socket_8cpp.html @@ -26,17 +26,21 @@ <code>#include "inspircd_util.h"</code><br> <code>#include "inspstring.h"</code><br> <code>#include "helperfuncs.h"</code><br> +<code>#include "<a class="el" href="socketengine_8h-source.html">socketengine.h</a>"</code><br> <p> Include dependency graph for socket.cpp:<p><center><img src="socket_8cpp__incl.gif" border="0" usemap="#socket.cpp_map" alt=""></center> <map name="socket.cpp_map"> -<area href="socket_8h-source.html" shape="rect" coords="165,311,237,337" alt=""> +<area href="socket_8h-source.html" shape="rect" coords="160,362,232,388" alt=""> +<area href="socketengine_8h-source.html" shape="rect" coords="140,159,252,186" alt=""> </map> <p> <a href="socket_8cpp-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Variables</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classSocketEngine.html">SocketEngine</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="socket_8cpp.html#SE">SE</a></td></tr> + <tr><td class="memItemLeft" nowrap align="right" valign="top">FILE * </td><td class="memItemRight" valign="bottom"><a class="el" href="socket_8cpp.html#log_5Ffile">log_file</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="socket_8cpp.html#boundPortCount">boundPortCount</a></td></tr> @@ -143,6 +147,29 @@ Include dependency graph for socket.cpp:<p><center><img src="socket_8cpp__incl.g </td> </tr> </table> +<a class="anchor" name="SE"></a><!-- doxytag: member="socket.cpp::SE" ref="SE" args="" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"><a class="el" href="classSocketEngine.html">SocketEngine</a>* <a class="el" href="socket_8cpp.html#SE">SE</a> </td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> <a class="anchor" name="TIME"></a><!-- doxytag: member="socket.cpp::TIME" ref="TIME" args="" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> @@ -189,7 +216,7 @@ Include dependency graph for socket.cpp:<p><center><img src="socket_8cpp__incl.g </td> </tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:09 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:10 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/socket_8cpp__incl.gif b/docs/module-doc/socket_8cpp__incl.gif Binary files differindex b2372fe26..6ac525510 100644 --- a/docs/module-doc/socket_8cpp__incl.gif +++ b/docs/module-doc/socket_8cpp__incl.gif diff --git a/docs/module-doc/socket_8cpp__incl.map b/docs/module-doc/socket_8cpp__incl.map index 948e5d95f..2be61668c 100644 --- a/docs/module-doc/socket_8cpp__incl.map +++ b/docs/module-doc/socket_8cpp__incl.map @@ -1,2 +1,3 @@ base referer -rect $socket_8h-source.html 165,311 237,337 +rect $socket_8h-source.html 160,362 232,388 +rect $socketengine_8h-source.html 140,159 252,186 diff --git a/docs/module-doc/socket_8cpp__incl.md5 b/docs/module-doc/socket_8cpp__incl.md5 index 1d1909209..4140df46e 100644 --- a/docs/module-doc/socket_8cpp__incl.md5 +++ b/docs/module-doc/socket_8cpp__incl.md5 @@ -1 +1 @@ -78dadbc1b7f94f0bf980df9c4743c562
\ No newline at end of file +daf398806f05395bb877e2ce03da24ff
\ No newline at end of file diff --git a/docs/module-doc/socket_8h-source.html b/docs/module-doc/socket_8h-source.html index cd591d23e..3f5815e6c 100644 --- a/docs/module-doc/socket_8h-source.html +++ b/docs/module-doc/socket_8h-source.html @@ -70,12 +70,13 @@ <a name="l00061"></a>00061 <span class="keywordtype">void</span> <a class="code" href="classInspSocket.html#SetState_28InspSocketState_20s_29">SetState</a>(<a class="code" href="socket_8h.html#InspSocketState">InspSocketState</a> s); <a name="l00062"></a>00062 <a class="code" href="socket_8h.html#InspSocketState">InspSocketState</a> <a class="code" href="classInspSocket.html#GetState_28_29">GetState</a>(); <a name="l00063"></a>00063 <span class="keywordtype">bool</span> <a class="code" href="classInspSocket.html#Poll_28_29">Poll</a>(); -<a name="l00064"></a>00064 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classInspSocket.html#Close_28_29">Close</a>(); -<a name="l00065"></a>00065 <span class="keyword">virtual</span> <a class="code" href="classInspSocket.html#_7EInspSocket_28_29">~InspSocket</a>(); -<a name="l00066"></a>00066 }; -<a name="l00067"></a>00067 -<a name="l00068"></a>00068 <span class="preprocessor">#endif</span> -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:03 2005 for InspIRCd by +<a name="l00064"></a>00064 <span class="keywordtype">int</span> <a class="code" href="classInspSocket.html#GetFd_28_29">GetFd</a>(); +<a name="l00065"></a>00065 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classInspSocket.html#Close_28_29">Close</a>(); +<a name="l00066"></a>00066 <span class="keyword">virtual</span> <a class="code" href="classInspSocket.html#_7EInspSocket_28_29">~InspSocket</a>(); +<a name="l00067"></a>00067 }; +<a name="l00068"></a>00068 +<a name="l00069"></a>00069 <span class="preprocessor">#endif</span> +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:08 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/socket_8h.html b/docs/module-doc/socket_8h.html index 09b395e38..ef8c79fd8 100644 --- a/docs/module-doc/socket_8h.html +++ b/docs/module-doc/socket_8h.html @@ -133,7 +133,7 @@ Definition at line <a class="el" href="socket_8h-source.html#l00027">27</a> of f </td> </tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:09 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:10 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/socketengine_8cpp-source.html b/docs/module-doc/socketengine_8cpp-source.html new file mode 100644 index 000000000..564b17817 --- /dev/null +++ b/docs/module-doc/socketengine_8cpp-source.html @@ -0,0 +1,222 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>InspIRCd: socketengine.cpp Source File</title> +<link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.4.4-20050815 --> +<div class="qindex"><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">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="nav"> +<a class="el" href="dir_000000.html">home</a> » <a class="el" href="dir_000001.html">brain</a> » <a class="el" href="dir_000002.html">inspircd-cvs</a> » <a class="el" href="dir_000003.html">inspircd</a> » <a class="el" href="dir_000005.html">src</a></div> +<h1>socketengine.cpp</h1><a href="socketengine_8cpp.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/* +------------------------------------+</span> +<a name="l00002"></a>00002 <span class="comment"> * | Inspire Internet Relay Chat Daemon |</span> +<a name="l00003"></a>00003 <span class="comment"> * +------------------------------------+</span> +<a name="l00004"></a>00004 <span class="comment"> *</span> +<a name="l00005"></a>00005 <span class="comment"> * Inspire is copyright (C) 2002-2005 ChatSpike-Dev.</span> +<a name="l00006"></a>00006 <span class="comment"> * E-mail:</span> +<a name="l00007"></a>00007 <span class="comment"> * <brain@chatspike.net></span> +<a name="l00008"></a>00008 <span class="comment"> * <Craig@chatspike.net></span> +<a name="l00009"></a>00009 <span class="comment"> *</span> +<a name="l00010"></a>00010 <span class="comment"> * Written by Craig Edwards, Craig McLure, and others.</span> +<a name="l00011"></a>00011 <span class="comment"> * This program is free but copyrighted software; see</span> +<a name="l00012"></a>00012 <span class="comment"> * the file COPYING for details.</span> +<a name="l00013"></a>00013 <span class="comment"> *</span> +<a name="l00014"></a>00014 <span class="comment"> * ---------------------------------------------------</span> +<a name="l00015"></a>00015 <span class="comment"> */</span> +<a name="l00016"></a>00016 +<a name="l00017"></a>00017 <span class="preprocessor">#include "inspircd_config.h"</span> +<a name="l00018"></a>00018 <span class="preprocessor">#include "globals.h"</span> +<a name="l00019"></a>00019 <span class="preprocessor">#include "inspircd.h"</span> +<a name="l00020"></a>00020 <span class="preprocessor">#ifdef USE_EPOLL</span> +<a name="l00021"></a>00021 <span class="preprocessor"></span><span class="preprocessor">#include <sys/epoll.h></span> +<a name="l00022"></a>00022 <span class="preprocessor">#define EP_DELAY 5</span> +<a name="l00023"></a>00023 <span class="preprocessor"></span><span class="preprocessor">#endif</span> +<a name="l00024"></a>00024 <span class="preprocessor"></span><span class="preprocessor">#ifdef USE_KQUEUE</span> +<a name="l00025"></a>00025 <span class="preprocessor"></span><span class="preprocessor">#include <sys/types.h></span> +<a name="l00026"></a>00026 <span class="preprocessor">#include <sys/event.h></span> +<a name="l00027"></a>00027 <span class="preprocessor">#include <sys/time.h></span> +<a name="l00028"></a>00028 <span class="preprocessor">#endif</span> +<a name="l00029"></a>00029 <span class="preprocessor"></span><span class="preprocessor">#include <vector></span> +<a name="l00030"></a>00030 <span class="preprocessor">#include <string></span> +<a name="l00031"></a>00031 <span class="preprocessor">#include "<a class="code" href="socketengine_8h.html">socketengine.h</a>"</span> +<a name="l00032"></a>00032 +<a name="l00033"></a><a class="code" href="socketengine_8cpp.html#ref_5B_36_35_35_33_35_5D">00033</a> <span class="keywordtype">char</span> <a class="code" href="socketengine_8cpp.html#ref_5B_36_35_35_33_35_5D">ref</a>[65535]; +<a name="l00034"></a>00034 +<a name="l00035"></a><a class="code" href="classSocketEngine.html#SocketEngine_28_29">00035</a> <a class="code" href="classSocketEngine.html#SocketEngine_28_29">SocketEngine::SocketEngine</a>() +<a name="l00036"></a>00036 { +<a name="l00037"></a>00037 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"SocketEngine::SocketEngine()"</span>); +<a name="l00038"></a>00038 <span class="preprocessor">#ifdef USE_EPOLL</span> +<a name="l00039"></a>00039 <span class="preprocessor"></span> <a class="code" href="classSocketEngine.html#EngineHandle">EngineHandle</a> = epoll_create(65535); +<a name="l00040"></a>00040 <span class="preprocessor">#endif</span> +<a name="l00041"></a>00041 <span class="preprocessor"></span><span class="preprocessor">#ifdef USE_KQUEUE</span> +<a name="l00042"></a>00042 <span class="preprocessor"></span> <a class="code" href="classSocketEngine.html#EngineHandle">EngineHandle</a> = kqueue(); +<a name="l00043"></a>00043 <span class="preprocessor">#endif</span> +<a name="l00044"></a>00044 <span class="preprocessor"></span>} +<a name="l00045"></a>00045 +<a name="l00046"></a><a class="code" href="classSocketEngine.html#_7ESocketEngine_28_29">00046</a> <a class="code" href="classSocketEngine.html#_7ESocketEngine_28_29">SocketEngine::~SocketEngine</a>() +<a name="l00047"></a>00047 { +<a name="l00048"></a>00048 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"SocketEngine::~SocketEngine()"</span>); +<a name="l00049"></a>00049 <span class="preprocessor">#ifdef USE_EPOLL</span> +<a name="l00050"></a>00050 <span class="preprocessor"></span> close(<a class="code" href="classSocketEngine.html#EngineHandle">EngineHandle</a>); +<a name="l00051"></a>00051 <span class="preprocessor">#endif</span> +<a name="l00052"></a>00052 <span class="preprocessor"></span><span class="preprocessor">#ifdef USE_KQUEUE</span> +<a name="l00053"></a>00053 <span class="preprocessor"></span> close(<a class="code" href="classSocketEngine.html#EngineHandle">EngineHandle</a>); +<a name="l00054"></a>00054 <span class="preprocessor">#endif</span> +<a name="l00055"></a>00055 <span class="preprocessor"></span>} +<a name="l00056"></a>00056 +<a name="l00057"></a><a class="code" href="classSocketEngine.html#GetType_28int_20fd_29">00057</a> <span class="keywordtype">char</span> <a class="code" href="classSocketEngine.html#GetType_28int_20fd_29">SocketEngine::GetType</a>(<span class="keywordtype">int</span> fd) +<a name="l00058"></a>00058 { +<a name="l00059"></a>00059 <span class="keywordflow">if</span> ((fd < 0) || (fd > 65535)) +<a name="l00060"></a>00060 <span class="keywordflow">return</span> <a class="code" href="socketengine_8h.html#X_5FEMPTY_5FSLOT">X_EMPTY_SLOT</a>; +<a name="l00061"></a>00061 <span class="comment">/* Mask off the top bit used for 'read/write' state */</span> +<a name="l00062"></a>00062 <span class="keywordflow">return</span> (<a class="code" href="socketengine_8cpp.html#ref_5B_36_35_35_33_35_5D">ref</a>[fd] & ~0x80); +<a name="l00063"></a>00063 } +<a name="l00064"></a>00064 +<a name="l00065"></a><a class="code" href="classSocketEngine.html#AddFd_28int_20fd_2C_20bool_20readable_2C_20char_20type_29">00065</a> <span class="keywordtype">bool</span> <a class="code" href="classSocketEngine.html#AddFd_28int_20fd_2C_20bool_20readable_2C_20char_20type_29">SocketEngine::AddFd</a>(<span class="keywordtype">int</span> fd, <span class="keywordtype">bool</span> readable, <span class="keywordtype">char</span> type) +<a name="l00066"></a>00066 { +<a name="l00067"></a>00067 <span class="keywordflow">if</span> ((fd < 0) || (fd > 65535)) +<a name="l00068"></a>00068 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00069"></a>00069 this-><a class="code" href="classSocketEngine.html#fds">fds</a>.push_back(fd); +<a name="l00070"></a>00070 <a class="code" href="socketengine_8cpp.html#ref_5B_36_35_35_33_35_5D">ref</a>[fd] = type; +<a name="l00071"></a>00071 <span class="keywordflow">if</span> (readable) +<a name="l00072"></a>00072 { +<a name="l00073"></a>00073 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Set readbit"</span>); +<a name="l00074"></a>00074 <a class="code" href="socketengine_8cpp.html#ref_5B_36_35_35_33_35_5D">ref</a>[fd] |= <a class="code" href="socketengine_8h.html#X_5FREADBIT">X_READBIT</a>; +<a name="l00075"></a>00075 } +<a name="l00076"></a>00076 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Add socket %d"</span>,fd); +<a name="l00077"></a>00077 <span class="preprocessor">#ifdef USE_EPOLL</span> +<a name="l00078"></a>00078 <span class="preprocessor"></span> <span class="keyword">struct </span>epoll_event ev; +<a name="l00079"></a>00079 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"epoll: Add socket to events, ep=%d socket=%d"</span>,<a class="code" href="classSocketEngine.html#EngineHandle">EngineHandle</a>,fd); +<a name="l00080"></a>00080 readable ? ev.events = EPOLLIN | EPOLLET : ev.events = EPOLLOUT | EPOLLET; +<a name="l00081"></a>00081 ev.data.fd = fd; +<a name="l00082"></a>00082 <span class="keywordtype">int</span> i = epoll_ctl(<a class="code" href="classSocketEngine.html#EngineHandle">EngineHandle</a>, EPOLL_CTL_ADD, fd, &ev); +<a name="l00083"></a>00083 <span class="keywordflow">if</span> (i < 0) +<a name="l00084"></a>00084 { +<a name="l00085"></a>00085 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"epoll: List insertion failure!"</span>); +<a name="l00086"></a>00086 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00087"></a>00087 } +<a name="l00088"></a>00088 <span class="preprocessor">#endif</span> +<a name="l00089"></a>00089 <span class="preprocessor"></span><span class="preprocessor">#ifdef USE_KQUEUE</span> +<a name="l00090"></a>00090 <span class="preprocessor"></span> <span class="keyword">struct </span>kevent ke; +<a name="l00091"></a>00091 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"kqueue: Add socket to events, kq=%d socket=%d"</span>,<a class="code" href="classSocketEngine.html#EngineHandle">EngineHandle</a>,fd); +<a name="l00092"></a>00092 EV_SET(&ke, fd, readable ? EVFILT_READ : EVFILT_WRITE, EV_ADD, 0, 0, NULL); +<a name="l00093"></a>00093 <span class="keywordtype">int</span> i = kevent(<a class="code" href="classSocketEngine.html#EngineHandle">EngineHandle</a>, &ke, 1, 0, 0, NULL); +<a name="l00094"></a>00094 <span class="keywordflow">if</span> (i == -1) +<a name="l00095"></a>00095 { +<a name="l00096"></a>00096 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"kqueue: List insertion failure!"</span>); +<a name="l00097"></a>00097 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00098"></a>00098 } +<a name="l00099"></a>00099 <span class="preprocessor">#endif</span> +<a name="l00100"></a>00100 <span class="preprocessor"></span><span class="keywordflow">return</span> <span class="keyword">true</span>; +<a name="l00101"></a>00101 } +<a name="l00102"></a>00102 +<a name="l00103"></a><a class="code" href="classSocketEngine.html#DelFd_28int_20fd_29">00103</a> <span class="keywordtype">bool</span> <a class="code" href="classSocketEngine.html#DelFd_28int_20fd_29">SocketEngine::DelFd</a>(<span class="keywordtype">int</span> fd) +<a name="l00104"></a>00104 { +<a name="l00105"></a>00105 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"SocketEngine::DelFd(%d)"</span>,fd); +<a name="l00106"></a>00106 +<a name="l00107"></a>00107 <span class="keywordflow">if</span> ((fd < 0) || (fd > 65535)) +<a name="l00108"></a>00108 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00109"></a>00109 +<a name="l00110"></a>00110 <span class="keywordtype">bool</span> found = <span class="keyword">false</span>; +<a name="l00111"></a>00111 <span class="keywordflow">for</span> (std::vector<int>::iterator i = <a class="code" href="classSocketEngine.html#fds">fds</a>.begin(); i != <a class="code" href="classSocketEngine.html#fds">fds</a>.end(); i++) +<a name="l00112"></a>00112 { +<a name="l00113"></a>00113 <span class="keywordflow">if</span> (*i == fd) +<a name="l00114"></a>00114 { +<a name="l00115"></a>00115 <a class="code" href="classSocketEngine.html#fds">fds</a>.erase(i); +<a name="l00116"></a>00116 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Deleted fd %d"</span>,fd); +<a name="l00117"></a>00117 found = <span class="keyword">true</span>; +<a name="l00118"></a>00118 <span class="keywordflow">break</span>; +<a name="l00119"></a>00119 } +<a name="l00120"></a>00120 } +<a name="l00121"></a>00121 <span class="preprocessor">#ifdef USE_KQUEUE</span> +<a name="l00122"></a>00122 <span class="preprocessor"></span> <span class="keyword">struct </span>kevent ke; +<a name="l00123"></a>00123 EV_SET(&ke, fd, <a class="code" href="socketengine_8cpp.html#ref_5B_36_35_35_33_35_5D">ref</a>[fd] && <a class="code" href="socketengine_8h.html#X_5FREADBIT">X_READBIT</a> ? EVFILT_READ : EVFILT_WRITE, EV_DELETE, 0, 0, NULL); +<a name="l00124"></a>00124 <span class="keywordtype">int</span> i = kevent(<a class="code" href="classSocketEngine.html#EngineHandle">EngineHandle</a>, &ke, 1, 0, 0, NULL); +<a name="l00125"></a>00125 <span class="keywordflow">if</span> (i == -1) +<a name="l00126"></a>00126 { +<a name="l00127"></a>00127 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"kqueue: Failed to remove socket from queue!"</span>); +<a name="l00128"></a>00128 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00129"></a>00129 } +<a name="l00130"></a>00130 <span class="preprocessor">#endif</span> +<a name="l00131"></a>00131 <span class="preprocessor"></span><span class="preprocessor">#ifdef USE_EPOLL</span> +<a name="l00132"></a>00132 <span class="preprocessor"></span> <span class="keyword">struct </span>epoll_event ev; +<a name="l00133"></a>00133 <a class="code" href="socketengine_8cpp.html#ref_5B_36_35_35_33_35_5D">ref</a>[fd] && <a class="code" href="socketengine_8h.html#X_5FREADBIT">X_READBIT</a> ? ev.events = EPOLLIN | EPOLLET : ev.events = EPOLLOUT | EPOLLET; +<a name="l00134"></a>00134 ev.data.fd = fd; +<a name="l00135"></a>00135 <span class="keywordtype">int</span> i = epoll_ctl(<a class="code" href="classSocketEngine.html#EngineHandle">EngineHandle</a>, EPOLL_CTL_DEL, fd, &ev); +<a name="l00136"></a>00136 <span class="keywordflow">if</span> (i < 0) +<a name="l00137"></a>00137 { +<a name="l00138"></a>00138 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"epoll: List deletion failure!"</span>); +<a name="l00139"></a>00139 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00140"></a>00140 } +<a name="l00141"></a>00141 <span class="preprocessor">#endif</span> +<a name="l00142"></a>00142 <span class="preprocessor"></span> <a class="code" href="socketengine_8cpp.html#ref_5B_36_35_35_33_35_5D">ref</a>[fd] = 0; +<a name="l00143"></a>00143 <span class="keywordflow">return</span> found; +<a name="l00144"></a>00144 } +<a name="l00145"></a>00145 +<a name="l00146"></a><a class="code" href="classSocketEngine.html#Wait_28std_3A_3Avector_3C_20int_20_3E_20_26fdlist_29">00146</a> <span class="keywordtype">bool</span> <a class="code" href="classSocketEngine.html#Wait_28std_3A_3Avector_3C_20int_20_3E_20_26fdlist_29">SocketEngine::Wait</a>(std::vector<int> &fdlist) +<a name="l00147"></a>00147 { +<a name="l00148"></a>00148 fdlist.clear(); +<a name="l00149"></a>00149 <span class="preprocessor">#ifdef USE_SELECT</span> +<a name="l00150"></a>00150 <span class="preprocessor"></span> FD_ZERO(&wfdset); +<a name="l00151"></a>00151 FD_ZERO(&rfdset); +<a name="l00152"></a>00152 timeval tval; +<a name="l00153"></a>00153 <span class="keywordtype">int</span> sresult; +<a name="l00154"></a>00154 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> a = 0; a < <a class="code" href="classSocketEngine.html#fds">fds</a>.size(); a++) +<a name="l00155"></a>00155 { +<a name="l00156"></a>00156 <span class="keywordflow">if</span> (<a class="code" href="socketengine_8cpp.html#ref_5B_36_35_35_33_35_5D">ref</a>[<a class="code" href="classSocketEngine.html#fds">fds</a>[a]] & <a class="code" href="socketengine_8h.html#X_5FREADBIT">X_READBIT</a>) +<a name="l00157"></a>00157 { +<a name="l00158"></a>00158 FD_SET (<a class="code" href="classSocketEngine.html#fds">fds</a>[a], &rfdset); +<a name="l00159"></a>00159 } +<a name="l00160"></a>00160 <span class="keywordflow">else</span> +<a name="l00161"></a>00161 { +<a name="l00162"></a>00162 FD_SET (<a class="code" href="classSocketEngine.html#fds">fds</a>[a], &wfdset); +<a name="l00163"></a>00163 } +<a name="l00164"></a>00164 +<a name="l00165"></a>00165 } +<a name="l00166"></a>00166 tval.tv_sec = 0; +<a name="l00167"></a>00167 tval.tv_usec = 1000L; +<a name="l00168"></a>00168 sresult = select(FD_SETSIZE, &rfdset, &wfdset, NULL, &tval); +<a name="l00169"></a>00169 <span class="keywordflow">if</span> (sresult > 0) +<a name="l00170"></a>00170 { +<a name="l00171"></a>00171 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> a = 0; a < <a class="code" href="classSocketEngine.html#fds">fds</a>.size(); a++) +<a name="l00172"></a>00172 { +<a name="l00173"></a>00173 <span class="keywordflow">if</span> ((FD_ISSET (<a class="code" href="classSocketEngine.html#fds">fds</a>[a], &rfdset)) || (FD_ISSET (<a class="code" href="classSocketEngine.html#fds">fds</a>[a], &wfdset))) +<a name="l00174"></a>00174 { +<a name="l00175"></a>00175 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"...Adding active %d"</span>,<a class="code" href="classSocketEngine.html#fds">fds</a>[a]); +<a name="l00176"></a>00176 fdlist.push_back(<a class="code" href="classSocketEngine.html#fds">fds</a>[a]); +<a name="l00177"></a>00177 } +<a name="l00178"></a>00178 } +<a name="l00179"></a>00179 } +<a name="l00180"></a>00180 <span class="preprocessor">#endif</span> +<a name="l00181"></a>00181 <span class="preprocessor"></span><span class="preprocessor">#ifdef USE_KQUEUE</span> +<a name="l00182"></a>00182 <span class="preprocessor"></span> <a class="code" href="classSocketEngine.html#ts">ts</a>.tv_nsec = 1000L; +<a name="l00183"></a>00183 <a class="code" href="classSocketEngine.html#ts">ts</a>.tv_sec = 0; +<a name="l00184"></a>00184 <span class="keywordtype">int</span> i = kevent(<a class="code" href="classSocketEngine.html#EngineHandle">EngineHandle</a>, NULL, 0, &<a class="code" href="classSocketEngine.html#ke_5Flist_5B_36_35_35_33_35_5D">ke_list</a>[0], 65535, &<a class="code" href="classSocketEngine.html#ts">ts</a>); +<a name="l00185"></a>00185 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> j = 0; j < i; j++) +<a name="l00186"></a>00186 fdlist.push_back(<a class="code" href="classSocketEngine.html#ke_5Flist_5B_36_35_35_33_35_5D">ke_list</a>[j].ident); +<a name="l00187"></a>00187 <span class="preprocessor">#endif</span> +<a name="l00188"></a>00188 <span class="preprocessor"></span><span class="preprocessor">#ifdef USE_EPOLL</span> +<a name="l00189"></a>00189 <span class="preprocessor"></span> <span class="keywordtype">int</span> i = epoll_wait(<a class="code" href="classSocketEngine.html#EngineHandle">EngineHandle</a>, events, 65535, 1); +<a name="l00190"></a>00190 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> j = 0; j < i; j++) +<a name="l00191"></a>00191 fdlist.push_back(events[j].data.fd); +<a name="l00192"></a>00192 <span class="preprocessor">#endif</span> +<a name="l00193"></a>00193 <span class="preprocessor"></span> <span class="keywordflow">return</span> <span class="keyword">true</span>; +<a name="l00194"></a>00194 } +<a name="l00195"></a>00195 +<a name="l00196"></a><a class="code" href="classSocketEngine.html#GetName_28_29">00196</a> <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classSocketEngine.html#GetName_28_29">SocketEngine::GetName</a>() +<a name="l00197"></a>00197 { +<a name="l00198"></a>00198 <span class="preprocessor">#ifdef USE_SELECT</span> +<a name="l00199"></a>00199 <span class="preprocessor"></span> <span class="keywordflow">return</span> <span class="stringliteral">"select"</span>; +<a name="l00200"></a>00200 <span class="preprocessor">#endif</span> +<a name="l00201"></a>00201 <span class="preprocessor"></span><span class="preprocessor">#ifdef USE_KQUEUE</span> +<a name="l00202"></a>00202 <span class="preprocessor"></span> <span class="keywordflow">return</span> <span class="stringliteral">"kqueue"</span>; +<a name="l00203"></a>00203 <span class="preprocessor">#endif</span> +<a name="l00204"></a>00204 <span class="preprocessor"></span><span class="preprocessor">#ifdef USE_EPOLL</span> +<a name="l00205"></a>00205 <span class="preprocessor"></span> <span class="keywordflow">return</span> <span class="stringliteral">"epoll"</span>; +<a name="l00206"></a>00206 <span class="preprocessor">#endif</span> +<a name="l00207"></a>00207 <span class="preprocessor"></span> <span class="keywordflow">return</span> <span class="stringliteral">"misconfigured"</span>; +<a name="l00208"></a>00208 } +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:08 2005 for InspIRCd by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> +</body> +</html> diff --git a/docs/module-doc/socketengine_8cpp.html b/docs/module-doc/socketengine_8cpp.html new file mode 100644 index 000000000..b99de8006 --- /dev/null +++ b/docs/module-doc/socketengine_8cpp.html @@ -0,0 +1,62 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>InspIRCd: socketengine.cpp File Reference</title> +<link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.4.4-20050815 --> +<div class="qindex"><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">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="nav"> +<a class="el" href="dir_000000.html">home</a> » <a class="el" href="dir_000001.html">brain</a> » <a class="el" href="dir_000002.html">inspircd-cvs</a> » <a class="el" href="dir_000003.html">inspircd</a> » <a class="el" href="dir_000005.html">src</a></div> +<h1>socketengine.cpp File Reference</h1><code>#include "inspircd_config.h"</code><br> +<code>#include "globals.h"</code><br> +<code>#include "inspircd.h"</code><br> +<code>#include <vector></code><br> +<code>#include <string></code><br> +<code>#include "<a class="el" href="socketengine_8h-source.html">socketengine.h</a>"</code><br> + +<p> +Include dependency graph for socketengine.cpp:<p><center><img src="socketengine_8cpp__incl.gif" border="0" usemap="#socketengine.cpp_map" alt=""></center> +<map name="socketengine.cpp_map"> +<area href="socketengine_8h-source.html" shape="rect" coords="180,159,292,186" alt=""> +</map> + +<p> +<a href="socketengine_8cpp-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +<tr><td colspan="2"><br><h2>Variables</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="socketengine_8cpp.html#ref_5B_36_35_35_33_35_5D">ref</a> [65535]</td></tr> + +</table> +<hr><h2>Variable Documentation</h2> +<a class="anchor" name="ref_5B_36_35_35_33_35_5D"></a><!-- doxytag: member="socketengine.cpp::ref" ref="ref_5B_36_35_35_33_35_5D" args="[65535]" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">char <a class="el" href="socketengine_8cpp.html#ref_5B_36_35_35_33_35_5D">ref</a>[65535] </td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="socketengine_8cpp-source.html#l00033">33</a> of file <a class="el" href="socketengine_8cpp-source.html">socketengine.cpp</a>. +<p> +Referenced by <a class="el" href="socketengine_8cpp-source.html#l00065">SocketEngine::AddFd()</a>, <a class="el" href="socketengine_8cpp-source.html#l00103">SocketEngine::DelFd()</a>, <a class="el" href="socketengine_8cpp-source.html#l00057">SocketEngine::GetType()</a>, and <a class="el" href="socketengine_8cpp-source.html#l00146">SocketEngine::Wait()</a>. </td> + </tr> +</table> +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:10 2005 for InspIRCd by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> +</body> +</html> diff --git a/docs/module-doc/socketengine_8cpp__incl.gif b/docs/module-doc/socketengine_8cpp__incl.gif Binary files differnew file mode 100644 index 000000000..a9b4ee54a --- /dev/null +++ b/docs/module-doc/socketengine_8cpp__incl.gif diff --git a/docs/module-doc/socketengine_8cpp__incl.map b/docs/module-doc/socketengine_8cpp__incl.map new file mode 100644 index 000000000..f45ed643e --- /dev/null +++ b/docs/module-doc/socketengine_8cpp__incl.map @@ -0,0 +1,2 @@ +base referer +rect $socketengine_8h-source.html 180,159 292,186 diff --git a/docs/module-doc/socketengine_8cpp__incl.md5 b/docs/module-doc/socketengine_8cpp__incl.md5 new file mode 100644 index 000000000..7588e9a56 --- /dev/null +++ b/docs/module-doc/socketengine_8cpp__incl.md5 @@ -0,0 +1 @@ +afe277f87830f5268eeca66a5c32895e
\ No newline at end of file diff --git a/docs/module-doc/socketengine_8h-source.html b/docs/module-doc/socketengine_8h-source.html new file mode 100644 index 000000000..12481b1fe --- /dev/null +++ b/docs/module-doc/socketengine_8h-source.html @@ -0,0 +1,89 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>InspIRCd: socketengine.h Source File</title> +<link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.4.4-20050815 --> +<div class="qindex"><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">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="nav"> +<a class="el" href="dir_000000.html">home</a> » <a class="el" href="dir_000001.html">brain</a> » <a class="el" href="dir_000002.html">inspircd-cvs</a> » <a class="el" href="dir_000003.html">inspircd</a> » <a class="el" href="dir_000004.html">include</a></div> +<h1>socketengine.h</h1><a href="socketengine_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/* +------------------------------------+</span> +<a name="l00002"></a>00002 <span class="comment"> * | Inspire Internet Relay Chat Daemon |</span> +<a name="l00003"></a>00003 <span class="comment"> * +------------------------------------+</span> +<a name="l00004"></a>00004 <span class="comment"> *</span> +<a name="l00005"></a>00005 <span class="comment"> * Inspire is copyright (C) 2002-2005 ChatSpike-Dev.</span> +<a name="l00006"></a>00006 <span class="comment"> * E-mail:</span> +<a name="l00007"></a>00007 <span class="comment"> * <brain@chatspike.net></span> +<a name="l00008"></a>00008 <span class="comment"> * <Craig@chatspike.net></span> +<a name="l00009"></a>00009 <span class="comment"> *</span> +<a name="l00010"></a>00010 <span class="comment"> * Written by Craig Edwards, Craig McLure, and others.</span> +<a name="l00011"></a>00011 <span class="comment"> * This program is free but copyrighted software; see</span> +<a name="l00012"></a>00012 <span class="comment"> * the file COPYING for details.</span> +<a name="l00013"></a>00013 <span class="comment"> *</span> +<a name="l00014"></a>00014 <span class="comment"> * ---------------------------------------------------</span> +<a name="l00015"></a>00015 <span class="comment">*/</span> +<a name="l00016"></a>00016 +<a name="l00017"></a>00017 <span class="preprocessor">#ifndef __SOCKETENGINE__</span> +<a name="l00018"></a>00018 <span class="preprocessor"></span><span class="preprocessor">#define __SOCKETENGINE__</span> +<a name="l00019"></a>00019 <span class="preprocessor"></span> +<a name="l00020"></a>00020 <span class="preprocessor">#include <vector></span> +<a name="l00021"></a>00021 <span class="preprocessor">#include <string></span> +<a name="l00022"></a>00022 <span class="preprocessor">#include "inspircd_config.h"</span> +<a name="l00023"></a>00023 <span class="preprocessor">#include "globals.h"</span> +<a name="l00024"></a>00024 <span class="preprocessor">#include "inspircd.h"</span> +<a name="l00025"></a>00025 <span class="preprocessor">#ifdef USE_EPOLL</span> +<a name="l00026"></a>00026 <span class="preprocessor"></span><span class="preprocessor">#include <sys/epoll.h></span> +<a name="l00027"></a>00027 <span class="preprocessor">#define EP_DELAY 5</span> +<a name="l00028"></a>00028 <span class="preprocessor"></span><span class="preprocessor">#endif</span> +<a name="l00029"></a>00029 <span class="preprocessor"></span><span class="preprocessor">#ifdef USE_KQUEUE</span> +<a name="l00030"></a>00030 <span class="preprocessor"></span><span class="preprocessor">#include <sys/types.h></span> +<a name="l00031"></a>00031 <span class="preprocessor">#include <sys/event.h></span> +<a name="l00032"></a>00032 <span class="preprocessor">#include <sys/time.h></span> +<a name="l00033"></a>00033 <span class="preprocessor">#endif</span> +<a name="l00034"></a>00034 <span class="preprocessor"></span> +<a name="l00041"></a><a class="code" href="socketengine_8h.html#X_5FEMPTY_5FSLOT">00041</a> <span class="keyword">const</span> <span class="keywordtype">char</span> <a class="code" href="socketengine_8h.html#X_5FEMPTY_5FSLOT">X_EMPTY_SLOT</a> = 0; +<a name="l00042"></a><a class="code" href="socketengine_8h.html#X_5FLISTEN">00042</a> <span class="keyword">const</span> <span class="keywordtype">char</span> <a class="code" href="socketengine_8h.html#X_5FLISTEN">X_LISTEN</a> = 1; +<a name="l00043"></a><a class="code" href="socketengine_8h.html#X_5FESTAB_5FCLIENT">00043</a> <span class="keyword">const</span> <span class="keywordtype">char</span> <a class="code" href="socketengine_8h.html#X_5FESTAB_5FCLIENT">X_ESTAB_CLIENT</a> = 2; +<a name="l00044"></a><a class="code" href="socketengine_8h.html#X_5FESTAB_5FMODULE">00044</a> <span class="keyword">const</span> <span class="keywordtype">char</span> <a class="code" href="socketengine_8h.html#X_5FESTAB_5FMODULE">X_ESTAB_MODULE</a> = 3; +<a name="l00045"></a><a class="code" href="socketengine_8h.html#X_5FESTAB_5FDNS">00045</a> <span class="keyword">const</span> <span class="keywordtype">char</span> <a class="code" href="socketengine_8h.html#X_5FESTAB_5FDNS">X_ESTAB_DNS</a> = 4; +<a name="l00046"></a>00046 +<a name="l00055"></a><a class="code" href="socketengine_8h.html#X_5FREADBIT">00055</a> <span class="keyword">const</span> <span class="keywordtype">char</span> <a class="code" href="socketengine_8h.html#X_5FREADBIT">X_READBIT</a> = 0x80; +<a name="l00056"></a>00056 +<a name="l00066"></a><a class="code" href="classSocketEngine.html">00066</a> <span class="keyword">class </span><a class="code" href="classSocketEngine.html">SocketEngine</a> { +<a name="l00067"></a>00067 +<a name="l00068"></a><a class="code" href="classSocketEngine.html#fds">00068</a> std::vector<int> <a class="code" href="classSocketEngine.html#fds">fds</a>; <span class="comment">/* List of file descriptors being monitored */</span> +<a name="l00069"></a><a class="code" href="classSocketEngine.html#EngineHandle">00069</a> <span class="keywordtype">int</span> <a class="code" href="classSocketEngine.html#EngineHandle">EngineHandle</a>; <span class="comment">/* Handle to the socket engine if needed */</span> +<a name="l00070"></a>00070 <span class="preprocessor">#ifdef USE_SELECT</span> +<a name="l00071"></a>00071 <span class="preprocessor"></span> fd_set wfdset, rfdset; <span class="comment">/* Readable and writeable sets for select() */</span> +<a name="l00072"></a>00072 <span class="preprocessor">#endif</span> +<a name="l00073"></a>00073 <span class="preprocessor"></span><span class="preprocessor">#ifdef USE_KQUEUE</span> +<a name="l00074"></a><a class="code" href="classSocketEngine.html#ke_5Flist_5B_36_35_35_33_35_5D">00074</a> <span class="preprocessor"></span> <span class="keyword">struct </span>kevent ke_list[65535]; <span class="comment">/* Up to 64k sockets for kqueue */</span> +<a name="l00075"></a><a class="code" href="classSocketEngine.html#ts">00075</a> <span class="keyword">struct </span>timespec ts; <span class="comment">/* kqueue delay value */</span> +<a name="l00076"></a>00076 <span class="preprocessor">#endif</span> +<a name="l00077"></a>00077 <span class="preprocessor"></span><span class="preprocessor">#ifdef USE_EPOLL</span> +<a name="l00078"></a>00078 <span class="preprocessor"></span> <span class="keyword">struct </span>epoll_event events[65535]; <span class="comment">/* Up to 64k sockets for epoll */</span> +<a name="l00079"></a>00079 <span class="preprocessor">#endif</span> +<a name="l00080"></a>00080 <span class="preprocessor"></span> +<a name="l00081"></a>00081 <span class="keyword">public</span>: +<a name="l00082"></a>00082 +<a name="l00091"></a>00091 <a class="code" href="classSocketEngine.html#SocketEngine_28_29">SocketEngine</a>(); +<a name="l00092"></a>00092 +<a name="l00097"></a>00097 <a class="code" href="classSocketEngine.html#_7ESocketEngine_28_29">~SocketEngine</a>(); +<a name="l00098"></a>00098 +<a name="l00108"></a>00108 <span class="keywordtype">bool</span> <a class="code" href="classSocketEngine.html#AddFd_28int_20fd_2C_20bool_20readable_2C_20char_20type_29">AddFd</a>(<span class="keywordtype">int</span> fd, <span class="keywordtype">bool</span> readable, <span class="keywordtype">char</span> type); +<a name="l00109"></a>00109 +<a name="l00120"></a>00120 <span class="keywordtype">char</span> <a class="code" href="classSocketEngine.html#GetType_28int_20fd_29">GetType</a>(<span class="keywordtype">int</span> fd); +<a name="l00121"></a>00121 +<a name="l00127"></a>00127 <span class="keywordtype">bool</span> <a class="code" href="classSocketEngine.html#DelFd_28int_20fd_29">DelFd</a>(<span class="keywordtype">int</span> fd); +<a name="l00128"></a>00128 +<a name="l00135"></a>00135 <span class="keywordtype">bool</span> <a class="code" href="classSocketEngine.html#Wait_28std_3A_3Avector_3C_20int_20_3E_20_26fdlist_29">Wait</a>(std::vector<int> &fdlist); +<a name="l00136"></a>00136 +<a name="l00141"></a>00141 <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classSocketEngine.html#GetName_28_29">GetName</a>(); +<a name="l00142"></a>00142 }; +<a name="l00143"></a>00143 +<a name="l00144"></a>00144 <span class="preprocessor">#endif</span> +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:08 2005 for InspIRCd by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> +</body> +</html> diff --git a/docs/module-doc/socketengine_8h.html b/docs/module-doc/socketengine_8h.html new file mode 100644 index 000000000..f91808a45 --- /dev/null +++ b/docs/module-doc/socketengine_8h.html @@ -0,0 +1,218 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>InspIRCd: socketengine.h File Reference</title> +<link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.4.4-20050815 --> +<div class="qindex"><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">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="nav"> +<a class="el" href="dir_000000.html">home</a> » <a class="el" href="dir_000001.html">brain</a> » <a class="el" href="dir_000002.html">inspircd-cvs</a> » <a class="el" href="dir_000003.html">inspircd</a> » <a class="el" href="dir_000004.html">include</a></div> +<h1>socketengine.h File Reference</h1><code>#include <vector></code><br> +<code>#include <string></code><br> +<code>#include "inspircd_config.h"</code><br> +<code>#include "globals.h"</code><br> +<code>#include "inspircd.h"</code><br> +<code>#include <sys/types.h></code><br> +<code>#include <sys/event.h></code><br> +<code>#include <sys/time.h></code><br> + +<p> +Include dependency graph for socketengine.h:<p><center><img src="socketengine_8h__incl.gif" border="0" usemap="#socketengine.h_map" alt=""></center> + +<p> +This graph shows which files directly or indirectly include this file:<p><center><img src="socketengine_8h__dep__incl.gif" border="0" usemap="#socketengine.hdep_map" alt=""></center> +<map name="socketengine.hdep_map"> +<area href="modules_8cpp-source.html" shape="rect" coords="180,7,279,33" alt=""> +<area href="socket_8cpp-source.html" shape="rect" coords="187,57,272,84" alt=""> +<area href="socketengine_8cpp-source.html" shape="rect" coords="167,108,292,135" alt=""> +</map> + +<p> +<a href="socketengine_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +<tr><td colspan="2"><br><h2>Classes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classSocketEngine.html">SocketEngine</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">The actual socketengine class presents the same interface on all operating systems, but its private members and internal behaviour should be treated as blackboxed, and vary from system to system and upon the config settings chosen by the server admin. <a href="classSocketEngine.html#_details">More...</a><br></td></tr> +<tr><td colspan="2"><br><h2>Variables</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">const char </td><td class="memItemRight" valign="bottom"><a class="el" href="socketengine_8h.html#X_5FEMPTY_5FSLOT">X_EMPTY_SLOT</a> = 0</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Each of these values represents a socket type in our reference table (the reference table itself is only accessible to <a class="el" href="socketengine_8cpp.html">socketengine.cpp</a>). <a href="#X_5FEMPTY_5FSLOT"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">const char </td><td class="memItemRight" valign="bottom"><a class="el" href="socketengine_8h.html#X_5FLISTEN">X_LISTEN</a> = 1</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">const char </td><td class="memItemRight" valign="bottom"><a class="el" href="socketengine_8h.html#X_5FESTAB_5FCLIENT">X_ESTAB_CLIENT</a> = 2</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">const char </td><td class="memItemRight" valign="bottom"><a class="el" href="socketengine_8h.html#X_5FESTAB_5FMODULE">X_ESTAB_MODULE</a> = 3</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">const char </td><td class="memItemRight" valign="bottom"><a class="el" href="socketengine_8h.html#X_5FESTAB_5FDNS">X_ESTAB_DNS</a> = 4</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">const char </td><td class="memItemRight" valign="bottom"><a class="el" href="socketengine_8h.html#X_5FREADBIT">X_READBIT</a> = 0x80</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">To indicate that a socket is readable, we mask its top bit with this X_READBIT value. <a href="#X_5FREADBIT"></a><br></td></tr> +</table> +<hr><h2>Variable Documentation</h2> +<a class="anchor" name="X_5FEMPTY_5FSLOT"></a><!-- doxytag: member="socketengine.h::X_EMPTY_SLOT" ref="X_5FEMPTY_5FSLOT" args="" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">const char <a class="el" href="socketengine_8h.html#X_5FEMPTY_5FSLOT">X_EMPTY_SLOT</a> = 0 </td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> +Each of these values represents a socket type in our reference table (the reference table itself is only accessible to <a class="el" href="socketengine_8cpp.html">socketengine.cpp</a>). +<p> + +<p> +Definition at line <a class="el" href="socketengine_8h-source.html#l00041">41</a> of file <a class="el" href="socketengine_8h-source.html">socketengine.h</a>. +<p> +Referenced by <a class="el" href="socketengine_8cpp-source.html#l00057">SocketEngine::GetType()</a>. </td> + </tr> +</table> +<a class="anchor" name="X_5FESTAB_5FCLIENT"></a><!-- doxytag: member="socketengine.h::X_ESTAB_CLIENT" ref="X_5FESTAB_5FCLIENT" args="" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">const char <a class="el" href="socketengine_8h.html#X_5FESTAB_5FCLIENT">X_ESTAB_CLIENT</a> = 2 </td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="socketengine_8h-source.html#l00043">43</a> of file <a class="el" href="socketengine_8h-source.html">socketengine.h</a>. </td> + </tr> +</table> +<a class="anchor" name="X_5FESTAB_5FDNS"></a><!-- doxytag: member="socketengine.h::X_ESTAB_DNS" ref="X_5FESTAB_5FDNS" args="" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">const char <a class="el" href="socketengine_8h.html#X_5FESTAB_5FDNS">X_ESTAB_DNS</a> = 4 </td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="socketengine_8h-source.html#l00045">45</a> of file <a class="el" href="socketengine_8h-source.html">socketengine.h</a>. </td> + </tr> +</table> +<a class="anchor" name="X_5FESTAB_5FMODULE"></a><!-- doxytag: member="socketengine.h::X_ESTAB_MODULE" ref="X_5FESTAB_5FMODULE" args="" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">const char <a class="el" href="socketengine_8h.html#X_5FESTAB_5FMODULE">X_ESTAB_MODULE</a> = 3 </td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="socketengine_8h-source.html#l00044">44</a> of file <a class="el" href="socketengine_8h-source.html">socketengine.h</a>. +<p> +Referenced by <a class="el" href="socket_8cpp-source.html#l00054">InspSocket::InspSocket()</a>, and <a class="el" href="socket_8cpp-source.html#l00197">InspSocket::Poll()</a>. </td> + </tr> +</table> +<a class="anchor" name="X_5FLISTEN"></a><!-- doxytag: member="socketengine.h::X_LISTEN" ref="X_5FLISTEN" args="" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">const char <a class="el" href="socketengine_8h.html#X_5FLISTEN">X_LISTEN</a> = 1 </td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="socketengine_8h-source.html#l00042">42</a> of file <a class="el" href="socketengine_8h-source.html">socketengine.h</a>. </td> + </tr> +</table> +<a class="anchor" name="X_5FREADBIT"></a><!-- doxytag: member="socketengine.h::X_READBIT" ref="X_5FREADBIT" args="" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">const char <a class="el" href="socketengine_8h.html#X_5FREADBIT">X_READBIT</a> = 0x80 </td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> +To indicate that a socket is readable, we mask its top bit with this X_READBIT value. +<p> +The socket engine can handle two types of socket, readable and writeable (error sockets are dealt with when read() and write() return negative or zero values). +<p> +Definition at line <a class="el" href="socketengine_8h-source.html#l00055">55</a> of file <a class="el" href="socketengine_8h-source.html">socketengine.h</a>. +<p> +Referenced by <a class="el" href="socketengine_8cpp-source.html#l00065">SocketEngine::AddFd()</a>, <a class="el" href="socketengine_8cpp-source.html#l00103">SocketEngine::DelFd()</a>, and <a class="el" href="socketengine_8cpp-source.html#l00146">SocketEngine::Wait()</a>. </td> + </tr> +</table> +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> +</body> +</html> diff --git a/docs/module-doc/socketengine_8h__dep__incl.gif b/docs/module-doc/socketengine_8h__dep__incl.gif Binary files differnew file mode 100644 index 000000000..7b835f18d --- /dev/null +++ b/docs/module-doc/socketengine_8h__dep__incl.gif diff --git a/docs/module-doc/socketengine_8h__dep__incl.map b/docs/module-doc/socketengine_8h__dep__incl.map new file mode 100644 index 000000000..d19518b55 --- /dev/null +++ b/docs/module-doc/socketengine_8h__dep__incl.map @@ -0,0 +1,4 @@ +base referer +rect $modules_8cpp-source.html 180,7 279,33 +rect $socket_8cpp-source.html 187,57 272,84 +rect $socketengine_8cpp-source.html 167,108 292,135 diff --git a/docs/module-doc/socketengine_8h__dep__incl.md5 b/docs/module-doc/socketengine_8h__dep__incl.md5 new file mode 100644 index 000000000..eb92fe10f --- /dev/null +++ b/docs/module-doc/socketengine_8h__dep__incl.md5 @@ -0,0 +1 @@ +00d3a68c8884c78980281618846deffd
\ No newline at end of file diff --git a/docs/module-doc/socketengine_8h__incl.gif b/docs/module-doc/socketengine_8h__incl.gif Binary files differnew file mode 100644 index 000000000..314924cd0 --- /dev/null +++ b/docs/module-doc/socketengine_8h__incl.gif diff --git a/docs/module-doc/socketengine_8h__incl.map b/docs/module-doc/socketengine_8h__incl.map new file mode 100644 index 000000000..5a14779e7 --- /dev/null +++ b/docs/module-doc/socketengine_8h__incl.map @@ -0,0 +1 @@ +base referer diff --git a/docs/module-doc/socketengine_8h__incl.md5 b/docs/module-doc/socketengine_8h__incl.md5 new file mode 100644 index 000000000..b52cfeccc --- /dev/null +++ b/docs/module-doc/socketengine_8h__incl.md5 @@ -0,0 +1 @@ +d61c5ce9be257a944950df9c9b0b0b2b
\ No newline at end of file diff --git a/docs/module-doc/structdns__ip4list-members.html b/docs/module-doc/structdns__ip4list-members.html index 40ab17ab3..c1a61e7ce 100644 --- a/docs/module-doc/structdns__ip4list-members.html +++ b/docs/module-doc/structdns__ip4list-members.html @@ -8,7 +8,7 @@ <h1>dns_ip4list Member List</h1>This is the complete list of members for <a class="el" href="structdns__ip4list.html">dns_ip4list</a>, including all inherited members.<p><table> <tr class="memlist"><td><a class="el" href="structdns__ip4list.html#ip">ip</a></td><td><a class="el" href="structdns__ip4list.html">dns_ip4list</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="structdns__ip4list.html#next">next</a></td><td><a class="el" href="structdns__ip4list.html">dns_ip4list</a></td><td></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/structdns__ip4list.html b/docs/module-doc/structdns__ip4list.html index 5e9a9e17c..825b6119d 100644 --- a/docs/module-doc/structdns__ip4list.html +++ b/docs/module-doc/structdns__ip4list.html @@ -74,7 +74,7 @@ Definition at line <a class="el" href="dns_8h-source.html#l00028">28</a> of file </table> <hr>The documentation for this struct was generated from the following file:<ul> <li><a class="el" href="dns_8h-source.html">dns.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/structirc_1_1InAddr__HashComp-members.html b/docs/module-doc/structirc_1_1InAddr__HashComp-members.html index f5693f7f1..8b6f00b43 100644 --- a/docs/module-doc/structirc_1_1InAddr__HashComp-members.html +++ b/docs/module-doc/structirc_1_1InAddr__HashComp-members.html @@ -7,7 +7,7 @@ <div class="qindex"><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">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>irc::InAddr_HashComp Member List</h1>This is the complete list of members for <a class="el" href="structirc_1_1InAddr__HashComp.html">irc::InAddr_HashComp</a>, including all inherited members.<p><table> <tr class="memlist"><td><a class="el" href="structirc_1_1InAddr__HashComp.html#operator_28_29_28const_20in_5Faddr_20_26s_31_2C_20const_20in_5Faddr_20_26s_32_29_20const_20">operator()</a>(const in_addr &s1, const in_addr &s2) const </td><td><a class="el" href="structirc_1_1InAddr__HashComp.html">irc::InAddr_HashComp</a></td><td></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:14 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/structirc_1_1InAddr__HashComp.html b/docs/module-doc/structirc_1_1InAddr__HashComp.html index 83e07d260..c31a34e35 100644 --- a/docs/module-doc/structirc_1_1InAddr__HashComp.html +++ b/docs/module-doc/structirc_1_1InAddr__HashComp.html @@ -68,7 +68,7 @@ The operator () does the actual comparison in hash_map. </table> <hr>The documentation for this struct was generated from the following file:<ul> <li><a class="el" href="hashcomp_8h-source.html">hashcomp.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:14 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/structirc_1_1StrHashComp-members.html b/docs/module-doc/structirc_1_1StrHashComp-members.html index 9bf858e6c..ae265e1b3 100644 --- a/docs/module-doc/structirc_1_1StrHashComp-members.html +++ b/docs/module-doc/structirc_1_1StrHashComp-members.html @@ -7,7 +7,7 @@ <div class="qindex"><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">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>irc::StrHashComp Member List</h1>This is the complete list of members for <a class="el" href="structirc_1_1StrHashComp.html">irc::StrHashComp</a>, including all inherited members.<p><table> <tr class="memlist"><td><a class="el" href="structirc_1_1StrHashComp.html#operator_28_29_28const_20std_3A_3Astring_20_26s_31_2C_20const_20std_3A_3Astring_20_26s_32_29_20const_20">operator()</a>(const std::string &s1, const std::string &s2) const </td><td><a class="el" href="structirc_1_1StrHashComp.html">irc::StrHashComp</a></td><td></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:14 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/structirc_1_1StrHashComp.html b/docs/module-doc/structirc_1_1StrHashComp.html index 5c6c1c97d..1153c272f 100644 --- a/docs/module-doc/structirc_1_1StrHashComp.html +++ b/docs/module-doc/structirc_1_1StrHashComp.html @@ -68,7 +68,7 @@ The operator () does the actual comparison in hash_map. </table> <hr>The documentation for this struct was generated from the following file:<ul> <li><a class="el" href="hashcomp_8h-source.html">hashcomp.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:14 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/structirc_1_1irc__char__traits-members.html b/docs/module-doc/structirc_1_1irc__char__traits-members.html index f40a3458d..f2d990926 100644 --- a/docs/module-doc/structirc_1_1irc__char__traits-members.html +++ b/docs/module-doc/structirc_1_1irc__char__traits-members.html @@ -11,7 +11,7 @@ <tr class="memlist"><td><a class="el" href="structirc_1_1irc__char__traits.html#find_28const_20char_20_2As_31_2C_20int_20n_2C_20char_20c_29">find</a>(const char *s1, int n, char c)</td><td><a class="el" href="structirc_1_1irc__char__traits.html">irc::irc_char_traits</a></td><td><code> [static]</code></td></tr> <tr class="memlist"><td><a class="el" href="structirc_1_1irc__char__traits.html#lt_28char_20c_31st_2C_20char_20c_32nd_29">lt</a>(char c1st, char c2nd)</td><td><a class="el" href="structirc_1_1irc__char__traits.html">irc::irc_char_traits</a></td><td><code> [static]</code></td></tr> <tr class="memlist"><td><a class="el" href="structirc_1_1irc__char__traits.html#ne_28char_20c_31st_2C_20char_20c_32nd_29">ne</a>(char c1st, char c2nd)</td><td><a class="el" href="structirc_1_1irc__char__traits.html">irc::irc_char_traits</a></td><td><code> [static]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:14 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/structirc_1_1irc__char__traits.html b/docs/module-doc/structirc_1_1irc__char__traits.html index 60ad0d63e..8e6ecded8 100644 --- a/docs/module-doc/structirc_1_1irc__char__traits.html +++ b/docs/module-doc/structirc_1_1irc__char__traits.html @@ -256,7 +256,7 @@ Check if two chars do NOT match. </table> <hr>The documentation for this struct was generated from the following file:<ul> <li><a class="el" href="hashcomp_8h-source.html">hashcomp.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:14 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/structnspace_1_1hash_3_01in__addr_01_4-members.html b/docs/module-doc/structnspace_1_1hash_3_01in__addr_01_4-members.html index 00a4cfb59..4311a24d5 100644 --- a/docs/module-doc/structnspace_1_1hash_3_01in__addr_01_4-members.html +++ b/docs/module-doc/structnspace_1_1hash_3_01in__addr_01_4-members.html @@ -7,7 +7,7 @@ <div class="qindex"><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">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>nspace::hash< in_addr > Member List</h1>This is the complete list of members for <a class="el" href="structnspace_1_1hash_3_01in__addr_01_4.html">nspace::hash< in_addr ></a>, including all inherited members.<p><table> <tr class="memlist"><td><a class="el" href="structnspace_1_1hash_3_01in__addr_01_4.html#operator_28_29_28const_20struct_20in_5Faddr_20_26a_29_20const_20">operator()</a>(const struct in_addr &a) const </td><td><a class="el" href="structnspace_1_1hash_3_01in__addr_01_4.html">nspace::hash< in_addr ></a></td><td></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:14 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/structnspace_1_1hash_3_01in__addr_01_4.html b/docs/module-doc/structnspace_1_1hash_3_01in__addr_01_4.html index 439e9c023..b97d6155b 100644 --- a/docs/module-doc/structnspace_1_1hash_3_01in__addr_01_4.html +++ b/docs/module-doc/structnspace_1_1hash_3_01in__addr_01_4.html @@ -54,7 +54,7 @@ Definition at line <a class="el" href="hashcomp_8h-source.html#l00054">54</a> of </table> <hr>The documentation for this struct was generated from the following file:<ul> <li><a class="el" href="hashcomp_8h-source.html">hashcomp.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:14 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/structnspace_1_1hash_3_01string_01_4-members.html b/docs/module-doc/structnspace_1_1hash_3_01string_01_4-members.html index 94058dcac..6d0b12462 100644 --- a/docs/module-doc/structnspace_1_1hash_3_01string_01_4-members.html +++ b/docs/module-doc/structnspace_1_1hash_3_01string_01_4-members.html @@ -7,7 +7,7 @@ <div class="qindex"><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">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>nspace::hash< string > Member List</h1>This is the complete list of members for <a class="el" href="structnspace_1_1hash_3_01string_01_4.html">nspace::hash< string ></a>, including all inherited members.<p><table> <tr class="memlist"><td><a class="el" href="structnspace_1_1hash_3_01string_01_4.html#operator_28_29_28const_20string_20_26s_29_20const_20">operator()</a>(const string &s) const </td><td><a class="el" href="structnspace_1_1hash_3_01string_01_4.html">nspace::hash< string ></a></td><td></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:14 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/structnspace_1_1hash_3_01string_01_4.html b/docs/module-doc/structnspace_1_1hash_3_01string_01_4.html index a963e1d80..c582cd7f2 100644 --- a/docs/module-doc/structnspace_1_1hash_3_01string_01_4.html +++ b/docs/module-doc/structnspace_1_1hash_3_01string_01_4.html @@ -54,7 +54,7 @@ Definition at line <a class="el" href="hashcomp_8h-source.html#l00062">62</a> of </table> <hr>The documentation for this struct was generated from the following file:<ul> <li><a class="el" href="hashcomp_8h-source.html">hashcomp.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:14 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/tree.html b/docs/module-doc/tree.html index e05db0113..39c87256d 100644 --- a/docs/module-doc/tree.html +++ b/docs/module-doc/tree.html @@ -88,6 +88,8 @@ <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="modules_8h.html" target="basefrm">modules.h</a></p> <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="socket_8cpp.html" target="basefrm">socket.cpp</a></p> <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="socket_8h.html" target="basefrm">socket.h</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="socketengine_8cpp.html" target="basefrm">socketengine.cpp</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="socketengine_8h.html" target="basefrm">socketengine.h</a></p> <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="users_8cpp.html" target="basefrm">users.cpp</a></p> <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="users_8h.html" target="basefrm">users.h</a></p> <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2lastnode.png" alt="\" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="xline_8h.html" target="basefrm">xline.h</a></p> @@ -129,6 +131,7 @@ <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classQLine.html" target="basefrm">QLine</a></p> <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classRequest.html" target="basefrm">Request</a></p> <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classServer.html" target="basefrm">Server</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classSocketEngine.html" target="basefrm">SocketEngine</a></p> <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="structirc_1_1StrHashComp.html" target="basefrm">irc::StrHashComp</a></p> <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classucrec.html" target="basefrm">ucrec</a></p> <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classuserrec.html" target="basefrm">userrec</a></p> @@ -193,6 +196,7 @@ <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="structnspace_1_1hash_3_01string_01_4.html" target="basefrm">nspace::hash< string ></a></p> <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="structirc_1_1InAddr__HashComp.html" target="basefrm">irc::InAddr_HashComp</a></p> <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classInspSocket.html" target="basefrm">InspSocket</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classSocketEngine.html" target="basefrm">SocketEngine</a></p> <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="structirc_1_1StrHashComp.html" target="basefrm">irc::StrHashComp</a></p> <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2lastnode.png" alt="\" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classWhoWasUser.html" target="basefrm">WhoWasUser</a></p> </div> diff --git a/docs/module-doc/users_8cpp-source.html b/docs/module-doc/users_8cpp-source.html index 4254d8509..23de4fd45 100644 --- a/docs/module-doc/users_8cpp-source.html +++ b/docs/module-doc/users_8cpp-source.html @@ -317,7 +317,7 @@ <a name="l00308"></a>00308 { <a name="l00309"></a>00309 <span class="keywordflow">return</span> this-><a class="code" href="classuserrec.html#WriteError">WriteError</a>; <a name="l00310"></a>00310 } -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:03 2005 for InspIRCd by +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:08 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/users_8cpp.html b/docs/module-doc/users_8cpp.html index c0507b2e0..183a218ff 100644 --- a/docs/module-doc/users_8cpp.html +++ b/docs/module-doc/users_8cpp.html @@ -107,7 +107,7 @@ Include dependency graph for users.cpp:<p><center><img src="users_8cpp__incl.gif </td> </tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:09 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/users_8h-source.html b/docs/module-doc/users_8h-source.html index f355eeb54..8be668888 100644 --- a/docs/module-doc/users_8h-source.html +++ b/docs/module-doc/users_8h-source.html @@ -192,7 +192,7 @@ <a name="l00342"></a>00342 }; <a name="l00343"></a>00343 <a name="l00344"></a>00344 <span class="preprocessor">#endif</span> -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:03 2005 for InspIRCd by +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:08 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/users_8h.html b/docs/module-doc/users_8h.html index 5a1e5c89c..3e2cd0b88 100644 --- a/docs/module-doc/users_8h.html +++ b/docs/module-doc/users_8h.html @@ -275,7 +275,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#l00097">97</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td> </tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/xline_8h-source.html b/docs/module-doc/xline_8h-source.html index c15e7534b..7ec20e052 100644 --- a/docs/module-doc/xline_8h-source.html +++ b/docs/module-doc/xline_8h-source.html @@ -124,7 +124,7 @@ <a name="l00156"></a>00156 <span class="keywordtype">bool</span> <a class="code" href="xline_8h.html#qline_5Fmake_5Fglobal_28const_20char_20_2Anickname_29">qline_make_global</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* nickname); <a name="l00157"></a>00157 <a name="l00158"></a>00158 <span class="preprocessor">#endif</span> -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:04 2005 for InspIRCd by +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:08 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/xline_8h.html b/docs/module-doc/xline_8h.html index 15600f2c5..af1f2d9a8 100644 --- a/docs/module-doc/xline_8h.html +++ b/docs/module-doc/xline_8h.html @@ -161,7 +161,7 @@ This graph shows which files directly or indirectly include this file:<p><center <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00758">Server::AddELine()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00731">Server::AddELine()</a>. </td> </tr> </table> <a class="anchor" name="add_5Fgline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Ahostmask_29"></a><!-- doxytag: member="xline.h::add_gline" ref="add_5Fgline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Ahostmask_29" args="(long duration, const char *source, const char *reason, const char *hostmask)" --><p> @@ -212,7 +212,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00758">Server::AddEL <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00738">Server::AddGLine()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00711">Server::AddGLine()</a>. </td> </tr> </table> <a class="anchor" name="add_5Fkline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Ahostmask_29"></a><!-- doxytag: member="xline.h::add_kline" ref="add_5Fkline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Ahostmask_29" args="(long duration, const char *source, const char *reason, const char *hostmask)" --><p> @@ -263,7 +263,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00738">Server::AddGL <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00753">Server::AddKLine()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00726">Server::AddKLine()</a>. </td> </tr> </table> <a class="anchor" name="add_5Fqline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Anickname_29"></a><!-- doxytag: member="xline.h::add_qline" ref="add_5Fqline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Anickname_29" args="(long duration, const char *source, const char *reason, const char *nickname)" --><p> @@ -314,7 +314,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00753">Server::AddKL <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00743">Server::AddQLine()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00716">Server::AddQLine()</a>. </td> </tr> </table> <a class="anchor" name="add_5Fzline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Aipaddr_29"></a><!-- doxytag: member="xline.h::add_zline" ref="add_5Fzline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Aipaddr_29" args="(long duration, const char *source, const char *reason, const char *ipaddr)" --><p> @@ -365,7 +365,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00743">Server::AddQL <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00748">Server::AddZLine()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00721">Server::AddZLine()</a>. </td> </tr> </table> <a class="anchor" name="apply_5Flines_28_29"></a><!-- doxytag: member="xline.h::apply_lines" ref="apply_5Flines_28_29" args="()" --><p> @@ -422,7 +422,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00748">Server::AddZL <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00783">Server::DelELine()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00756">Server::DelELine()</a>. </td> </tr> </table> <a class="anchor" name="del_5Fgline_28const_20char_20_2Ahostmask_29"></a><!-- doxytag: member="xline.h::del_gline" ref="del_5Fgline_28const_20char_20_2Ahostmask_29" args="(const char *hostmask)" --><p> @@ -452,7 +452,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00783">Server::DelEL <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00763">Server::DelGLine()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00736">Server::DelGLine()</a>. </td> </tr> </table> <a class="anchor" name="del_5Fkline_28const_20char_20_2Ahostmask_29"></a><!-- doxytag: member="xline.h::del_kline" ref="del_5Fkline_28const_20char_20_2Ahostmask_29" args="(const char *hostmask)" --><p> @@ -482,7 +482,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00763">Server::DelGL <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00778">Server::DelKLine()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00751">Server::DelKLine()</a>. </td> </tr> </table> <a class="anchor" name="del_5Fqline_28const_20char_20_2Anickname_29"></a><!-- doxytag: member="xline.h::del_qline" ref="del_5Fqline_28const_20char_20_2Anickname_29" args="(const char *nickname)" --><p> @@ -512,7 +512,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00778">Server::DelKL <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00768">Server::DelQLine()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00741">Server::DelQLine()</a>. </td> </tr> </table> <a class="anchor" name="del_5Fzline_28const_20char_20_2Aipaddr_29"></a><!-- doxytag: member="xline.h::del_zline" ref="del_5Fzline_28const_20char_20_2Aipaddr_29" args="(const char *ipaddr)" --><p> @@ -542,7 +542,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00768">Server::DelQL <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00773">Server::DelZLine()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00746">Server::DelZLine()</a>. </td> </tr> </table> <a class="anchor" name="eline_5Fset_5Fcreation_5Ftime_28char_20_2Ahost_2C_20time_5Ft_20create_5Ftime_29"></a><!-- doxytag: member="xline.h::eline_set_creation_time" ref="eline_5Fset_5Fcreation_5Ftime_28char_20_2Ahost_2C_20time_5Ft_20create_5Ftime_29" args="(char *host, time_t create_time)" --><p> @@ -1083,7 +1083,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00773">Server::DelZL </td> </tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> |