diff options
87 files changed, 2195 insertions, 1107 deletions
diff --git a/docs/module-doc/annotated.html b/docs/module-doc/annotated.html index 9879d9358..ed5abbe31 100644 --- a/docs/module-doc/annotated.html +++ b/docs/module-doc/annotated.html @@ -16,6 +16,7 @@ <tr><td class="indexkey"><a class="el" href="classConnectClass.html">ConnectClass</a></td><td class="indexvalue">Holds information relevent to <connect allow> and <connect deny> tags in the config file</td></tr> <tr><td class="indexkey"><a class="el" href="classconnection.html">connection</a></td><td class="indexvalue"></td></tr> <tr><td class="indexkey"><a class="el" href="classExemptItem.html">ExemptItem</a></td><td class="indexvalue">A subclass of <a class="el" href="classHostItem.html">HostItem</a> designed to hold channel exempts (+e)</td></tr> + <tr><td class="indexkey"><a class="el" href="classExtMode.html">ExtMode</a></td><td class="indexvalue"></td></tr> <tr><td class="indexkey"><a class="el" href="classFileReader.html">FileReader</a></td><td class="indexvalue">Caches a text file into memory and can be used to retrieve lines from it</td></tr> <tr><td class="indexkey"><a class="el" href="classHostItem.html">HostItem</a></td><td class="indexvalue">Holds an entry for a ban list, exemption list, or invite list</td></tr> <tr><td class="indexkey"><a class="el" href="classInvited.html">Invited</a></td><td class="indexvalue">Holds a channel name to which a user has been invited</td></tr> @@ -29,7 +30,7 @@ <tr><td class="indexkey"><a class="el" href="classuserrec.html">userrec</a></td><td class="indexvalue">Holds all information about a user This class stores all information about a user connected to the irc server</td></tr> <tr><td class="indexkey"><a class="el" href="classVersion.html">Version</a></td><td class="indexvalue">Holds a module's Version information The four members (set by the constructor only) indicate details as to the version number of a module</td></tr> </table> -<hr><address style="align: right;"><small>Generated on Sun Mar 30 19:35:25 2003 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:33 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/base_8h-source.html b/docs/module-doc/base_8h-source.html index e9446e8fa..469f7da72 100644 --- a/docs/module-doc/base_8h-source.html +++ b/docs/module-doc/base_8h-source.html @@ -29,7 +29,7 @@ 00028 00029 <span class="preprocessor">#endif</span> 00030 <span class="preprocessor"></span> -</pre></div><hr><address style="align: right;"><small>Generated on Sun Mar 30 19:34:53 2003 for InspIRCd by +</pre></div><hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:27 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/base_8h.html b/docs/module-doc/base_8h.html index 21d927c07..bdf85e41f 100644 --- a/docs/module-doc/base_8h.html +++ b/docs/module-doc/base_8h.html @@ -15,15 +15,16 @@ Include dependency graph for base.h:<p><center><img src="base_8h__incl.gif" bord <p> This graph shows which files directly or indirectly include this file:<p><center><img src="base_8h__dep__incl.gif" border="0" usemap="#base.hdep_map" alt="Included by dependency graph"></center> <map name="base.hdep_map"> -<area href="channels_8h.html" shape="rect" coords="7,155,79,176" alt=""> -<area href="users_8cpp.html" shape="rect" coords="12,16,79,38" alt=""> -<area href="users_8h.html" shape="rect" coords="59,86,109,107" alt=""> -<area href="connection_8h.html" shape="rect" coords="103,155,183,176" alt=""> -<area href="servers_8h.html" shape="rect" coords="133,86,197,107" alt=""> -<area href="servers_8cpp.html" shape="rect" coords="125,16,205,38" alt=""> -<area href="ctables_8h.html" shape="rect" coords="207,155,268,176" alt=""> -<area href="modules_8h.html" shape="rect" coords="292,155,359,176" alt=""> -<area href="modules_8cpp.html" shape="rect" coords="284,86,367,107" alt=""> +<area href="channels_8h.html" shape="rect" coords="105,155,177,176" alt=""> +<area href="channels_8cpp.html" shape="rect" coords="7,86,95,107" alt=""> +<area href="users_8cpp.html" shape="rect" coords="123,16,189,38" alt=""> +<area href="users_8h.html" shape="rect" coords="169,86,220,107" alt=""> +<area href="connection_8h.html" shape="rect" coords="211,155,291,176" alt=""> +<area href="servers_8h.html" shape="rect" coords="244,86,308,107" alt=""> +<area href="servers_8cpp.html" shape="rect" coords="236,16,316,38" alt=""> +<area href="ctables_8h.html" shape="rect" coords="315,155,376,176" alt=""> +<area href="modules_8cpp.html" shape="rect" coords="357,16,440,38" alt=""> +<area href="modules_8h.html" shape="rect" coords="383,86,449,107" alt=""> </map> <p> @@ -33,7 +34,7 @@ This graph shows which files directly or indirectly include this file:<p><center <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classclassbase.html">classbase</a></td></tr> <tr><td> </td><td><font size=-1><em>The base class for all inspircd classes.</em> <a href="classclassbase.html#_details">More...</a><em></em></font><br><br></td></tr> </table> -<hr><address style="align: right;"><small>Generated on Sun Mar 30 19:34:59 2003 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:28 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/base_8h__dep__incl.gif b/docs/module-doc/base_8h__dep__incl.gif Binary files differindex 45c01e127..bdb0299db 100644 --- a/docs/module-doc/base_8h__dep__incl.gif +++ b/docs/module-doc/base_8h__dep__incl.gif diff --git a/docs/module-doc/channels_8h-source.html b/docs/module-doc/channels_8h-source.html index b4c35f4a8..412803c9b 100644 --- a/docs/module-doc/channels_8h-source.html +++ b/docs/module-doc/channels_8h-source.html @@ -50,11 +50,11 @@ 00051 }; 00052 00053 -<a name="l00056"></a><a class="code" href="channels_8h.html#a5">00056</a> <span class="keyword">typedef</span> vector<BanItem> <a class="code" href="channels_8h.html#a5">BanList</a>; +<a name="l00056"></a><a class="code" href="channels_8h.html#a5">00056</a> <span class="keyword">typedef</span> std::vector<BanItem> <a class="code" href="channels_8h.html#a5">BanList</a>; 00057 -<a name="l00060"></a><a class="code" href="channels_8h.html#a6">00060</a> <span class="keyword">typedef</span> vector<ExemptItem> <a class="code" href="channels_8h.html#a6">ExemptList</a>; +<a name="l00060"></a><a class="code" href="channels_8h.html#a6">00060</a> <span class="keyword">typedef</span> std::vector<ExemptItem> <a class="code" href="channels_8h.html#a6">ExemptList</a>; 00061 -<a name="l00064"></a><a class="code" href="channels_8h.html#a7">00064</a> <span class="keyword">typedef</span> vector<InviteItem> <a class="code" href="channels_8h.html#a7">InviteList</a>; +<a name="l00064"></a><a class="code" href="channels_8h.html#a7">00064</a> <span class="keyword">typedef</span> std::vector<InviteItem> <a class="code" href="channels_8h.html#a7">InviteList</a>; 00065 <a name="l00070"></a><a class="code" href="classchanrec.html">00070</a> <span class="keyword">class </span><a class="code" href="classchanrec.html">chanrec</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> 00071 { @@ -84,43 +84,38 @@ 00131 <a name="l00134"></a><a class="code" href="classchanrec.html#m14">00134</a> <a class="code" href="channels_8h.html#a5">BanList</a> <a class="code" href="classchanrec.html#m14">bans</a>; 00135 -<a name="l00138"></a><a class="code" href="classchanrec.html#a0">00138</a> <a class="code" href="classchanrec.html#a0">chanrec</a>() -00139 { -00140 strcpy(name,<span class="stringliteral">""</span>); -00141 strcpy(custom_modes,<span class="stringliteral">""</span>); -00142 strcpy(topic,<span class="stringliteral">""</span>); -00143 strcpy(setby,<span class="stringliteral">""</span>); -00144 strcpy(key,<span class="stringliteral">""</span>); -00145 created = topicset = limit = 0; -00146 topiclock = noexternal = inviteonly = moderated = secret = c_private = <span class="keyword">false</span>; -00147 } -00148 -<a name="l00149"></a><a class="code" href="classchanrec.html#a1">00149</a> <span class="keyword">virtual</span> <a class="code" href="classchanrec.html#a1">~chanrec</a>() { <span class="comment">/* stub */</span> } -00150 }; -00151 -00152 <span class="comment">/* used to hold a channel and a users modes on that channel, e.g. +v, +h, +o</span> -00153 <span class="comment"> * needs to come AFTER struct chanrec */</span> -00154 -<a name="l00155"></a><a class="code" href="channels_8h.html#a0">00155</a> <span class="preprocessor">#define UCMODE_OP 1</span> -<a name="l00156"></a><a class="code" href="channels_8h.html#a1">00156</a> <span class="preprocessor"></span><span class="preprocessor">#define UCMODE_VOICE 2</span> -<a name="l00157"></a><a class="code" href="channels_8h.html#a2">00157</a> <span class="preprocessor"></span><span class="preprocessor">#define UCMODE_HOP 4</span> -<a name="l00158"></a><a class="code" href="channels_8h.html#a3">00158</a> <span class="preprocessor"></span><span class="preprocessor">#define UCMODE_PROTECT 8</span> -<a name="l00159"></a><a class="code" href="channels_8h.html#a4">00159</a> <span class="preprocessor"></span><span class="preprocessor">#define UCMODE_FOUNDER 16</span> -00160 <span class="preprocessor"></span> -<a name="l00166"></a><a class="code" href="classucrec.html">00166</a> <span class="keyword">class </span><a class="code" href="classucrec.html">ucrec</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> -00167 { -00168 <span class="keyword">public</span>: -<a name="l00172"></a><a class="code" href="classucrec.html#m0">00172</a> <span class="keywordtype">long</span> <a class="code" href="classucrec.html#m0">uc_modes</a>; -00173 -<a name="l00177"></a><a class="code" href="classucrec.html#m1">00177</a> <a class="code" href="classchanrec.html">chanrec</a> *<a class="code" href="classucrec.html#m1">channel</a>; -00178 -<a name="l00179"></a><a class="code" href="classucrec.html#a0">00179</a> <a class="code" href="classucrec.html#a0">ucrec</a>() { <span class="comment">/* stub */</span> } -<a name="l00180"></a><a class="code" href="classucrec.html#a1">00180</a> <span class="keyword">virtual</span> <a class="code" href="classucrec.html#a1">~ucrec</a>() { <span class="comment">/* stub */</span> } -00181 }; -00182 -00183 <span class="preprocessor">#endif</span> -00184 <span class="preprocessor"></span> -</pre></div><hr><address style="align: right;"><small>Generated on Sun Mar 30 19:34:53 2003 for InspIRCd by +00138 <span class="keywordtype">void</span> <a class="code" href="classchanrec.html#a0">SetCustomMode</a>(<span class="keywordtype">char</span> mode,<span class="keywordtype">bool</span> mode_on); +00139 +00142 <span class="keywordtype">void</span> <a class="code" href="classchanrec.html#a1">SetCustomModeParam</a>(<span class="keywordtype">char</span> mode,<span class="keywordtype">char</span>* parameter,<span class="keywordtype">bool</span> mode_on); +00143 +00146 <a class="code" href="classchanrec.html#a2">chanrec</a>(); +00147 +<a name="l00148"></a><a class="code" href="classchanrec.html#a3">00148</a> <span class="keyword">virtual</span> <a class="code" href="classchanrec.html#a3">~chanrec</a>() { <span class="comment">/* stub */</span> } +00149 }; +00150 +00151 <span class="comment">/* used to hold a channel and a users modes on that channel, e.g. +v, +h, +o</span> +00152 <span class="comment"> * needs to come AFTER struct chanrec */</span> +00153 +<a name="l00154"></a><a class="code" href="channels_8h.html#a0">00154</a> <span class="preprocessor">#define UCMODE_OP 1</span> +<a name="l00155"></a><a class="code" href="channels_8h.html#a1">00155</a> <span class="preprocessor"></span><span class="preprocessor">#define UCMODE_VOICE 2</span> +<a name="l00156"></a><a class="code" href="channels_8h.html#a2">00156</a> <span class="preprocessor"></span><span class="preprocessor">#define UCMODE_HOP 4</span> +<a name="l00157"></a><a class="code" href="channels_8h.html#a3">00157</a> <span class="preprocessor"></span><span class="preprocessor">#define UCMODE_PROTECT 8</span> +<a name="l00158"></a><a class="code" href="channels_8h.html#a4">00158</a> <span class="preprocessor"></span><span class="preprocessor">#define UCMODE_FOUNDER 16</span> +00159 <span class="preprocessor"></span> +<a name="l00165"></a><a class="code" href="classucrec.html">00165</a> <span class="keyword">class </span><a class="code" href="classucrec.html">ucrec</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> +00166 { +00167 <span class="keyword">public</span>: +<a name="l00171"></a><a class="code" href="classucrec.html#m0">00171</a> <span class="keywordtype">long</span> <a class="code" href="classucrec.html#m0">uc_modes</a>; +00172 +<a name="l00176"></a><a class="code" href="classucrec.html#m1">00176</a> <a class="code" href="classchanrec.html">chanrec</a> *<a class="code" href="classucrec.html#m1">channel</a>; +00177 +<a name="l00178"></a><a class="code" href="classucrec.html#a0">00178</a> <a class="code" href="classucrec.html#a0">ucrec</a>() { <span class="comment">/* stub */</span> } +<a name="l00179"></a><a class="code" href="classucrec.html#a1">00179</a> <span class="keyword">virtual</span> <a class="code" href="classucrec.html#a1">~ucrec</a>() { <span class="comment">/* stub */</span> } +00180 }; +00181 +00182 <span class="preprocessor">#endif</span> +00183 <span class="preprocessor"></span> +</pre></div><hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:27 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/channels_8h.html b/docs/module-doc/channels_8h.html index a405b8b44..a3666bb59 100644 --- a/docs/module-doc/channels_8h.html +++ b/docs/module-doc/channels_8h.html @@ -20,8 +20,9 @@ Include dependency graph for channels.h:<p><center><img src="channels_8h__incl.g <p> This graph shows which files directly or indirectly include this file:<p><center><img src="channels_8h__dep__incl.gif" border="0" usemap="#channels.hdep_map" alt="Included by dependency graph"></center> <map name="channels.hdep_map"> -<area href="users_8cpp.html" shape="rect" coords="17,16,84,37" alt=""> -<area href="users_8h.html" shape="rect" coords="57,85,108,106" alt=""> +<area href="channels_8cpp.html" shape="rect" coords="7,85,95,106" alt=""> +<area href="users_8cpp.html" shape="rect" coords="129,16,196,37" alt=""> +<area href="users_8h.html" shape="rect" coords="169,85,220,106" alt=""> </map> <p> @@ -47,11 +48,11 @@ This graph shows which files directly or indirectly include this file:<p><center <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="channels_8h.html#a3">UCMODE_PROTECT</a> 8</td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="channels_8h.html#a4">UCMODE_FOUNDER</a> 16</td></tr> <tr><td colspan=2><br><h2>Typedefs</h2></td></tr> -<tr><td nowrap align=right valign=top>typedef vector< <a class="el" href="classBanItem.html">BanItem</a> > </td><td valign=bottom><a class="el" href="channels_8h.html#a5">BanList</a></td></tr> +<tr><td nowrap align=right valign=top>typedef std::vector< <a class="el" href="classBanItem.html">BanItem</a> > </td><td valign=bottom><a class="el" href="channels_8h.html#a5">BanList</a></td></tr> <tr><td> </td><td><font size=-1><em>Holds a complete ban list.</em> <a href="#a5"></a><em></em></font><br><br></td></tr> -<tr><td nowrap align=right valign=top>typedef vector< <a class="el" href="classExemptItem.html">ExemptItem</a> > </td><td valign=bottom><a class="el" href="channels_8h.html#a6">ExemptList</a></td></tr> +<tr><td nowrap align=right valign=top>typedef std::vector< <a class="el" href="classExemptItem.html">ExemptItem</a> > </td><td valign=bottom><a class="el" href="channels_8h.html#a6">ExemptList</a></td></tr> <tr><td> </td><td><font size=-1><em>Holds a complete exempt list.</em> <a href="#a6"></a><em></em></font><br><br></td></tr> -<tr><td nowrap align=right valign=top>typedef vector< <a class="el" href="classInviteItem.html">InviteItem</a> > </td><td valign=bottom><a class="el" href="channels_8h.html#a7">InviteList</a></td></tr> +<tr><td nowrap align=right valign=top>typedef std::vector< <a class="el" href="classInviteItem.html">InviteItem</a> > </td><td valign=bottom><a class="el" href="channels_8h.html#a7">InviteList</a></td></tr> <tr><td> </td><td><font size=-1><em>Holds a complete invite list.</em> <a href="#a7"></a><em></em></font><br><br></td></tr> </table> <hr><h2>Define Documentation</h2> @@ -76,7 +77,7 @@ This graph shows which files directly or indirectly include this file:<p><center <p> <p> -Definition at line <a class="el" href="channels_8h-source.html#l00159">159</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td> +Definition at line <a class="el" href="channels_8h-source.html#l00158">158</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td> </tr> </table> <a name="a2" doxytag="channels.h::UCMODE_HOP"></a><p> @@ -100,7 +101,7 @@ Definition at line <a class="el" href="channels_8h-source.html#l00159">159</a> o <p> <p> -Definition at line <a class="el" href="channels_8h-source.html#l00157">157</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td> +Definition at line <a class="el" href="channels_8h-source.html#l00156">156</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td> </tr> </table> <a name="a0" doxytag="channels.h::UCMODE_OP"></a><p> @@ -124,7 +125,7 @@ Definition at line <a class="el" href="channels_8h-source.html#l00157">157</a> o <p> <p> -Definition at line <a class="el" href="channels_8h-source.html#l00155">155</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td> +Definition at line <a class="el" href="channels_8h-source.html#l00154">154</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td> </tr> </table> <a name="a3" doxytag="channels.h::UCMODE_PROTECT"></a><p> @@ -148,7 +149,7 @@ Definition at line <a class="el" href="channels_8h-source.html#l00155">155</a> o <p> <p> -Definition at line <a class="el" href="channels_8h-source.html#l00158">158</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td> +Definition at line <a class="el" href="channels_8h-source.html#l00157">157</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td> </tr> </table> <a name="a1" doxytag="channels.h::UCMODE_VOICE"></a><p> @@ -172,7 +173,7 @@ Definition at line <a class="el" href="channels_8h-source.html#l00158">158</a> o <p> <p> -Definition at line <a class="el" href="channels_8h-source.html#l00156">156</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td> +Definition at line <a class="el" href="channels_8h-source.html#l00155">155</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td> </tr> </table> <hr><h2>Typedef Documentation</h2> @@ -182,7 +183,7 @@ Definition at line <a class="el" href="channels_8h-source.html#l00156">156</a> o <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> typedef vector<<a class="el" href="classBanItem.html">BanItem</a>> BanList + <td class="md" nowrap valign="top"> typedef std::vector<<a class="el" href="classBanItem.html">BanItem</a>> BanList </table> </td> </tr> @@ -208,7 +209,7 @@ Definition at line <a class="el" href="channels_8h-source.html#l00056">56</a> of <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> typedef vector<<a class="el" href="classExemptItem.html">ExemptItem</a>> ExemptList + <td class="md" nowrap valign="top"> typedef std::vector<<a class="el" href="classExemptItem.html">ExemptItem</a>> ExemptList </table> </td> </tr> @@ -234,7 +235,7 @@ Definition at line <a class="el" href="channels_8h-source.html#l00060">60</a> of <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> typedef vector<<a class="el" href="classInviteItem.html">InviteItem</a>> InviteList + <td class="md" nowrap valign="top"> typedef std::vector<<a class="el" href="classInviteItem.html">InviteItem</a>> InviteList </table> </td> </tr> @@ -254,7 +255,7 @@ Holds a complete invite list. Definition at line <a class="el" href="channels_8h-source.html#l00064">64</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td> </tr> </table> -<hr><address style="align: right;"><small>Generated on Sun Mar 30 19:35:02 2003 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:29 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/channels_8h__dep__incl.gif b/docs/module-doc/channels_8h__dep__incl.gif Binary files differindex 5da863d58..ebb5cea13 100644 --- a/docs/module-doc/channels_8h__dep__incl.gif +++ b/docs/module-doc/channels_8h__dep__incl.gif diff --git a/docs/module-doc/classAdmin-members.html b/docs/module-doc/classAdmin-members.html index 71c622652..c0fb96fe9 100644 --- a/docs/module-doc/classAdmin-members.html +++ b/docs/module-doc/classAdmin-members.html @@ -7,14 +7,14 @@ <center> <a class="qindex" href="main.html">Main Page</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center> <hr><h1>Admin Member List</h1>This is the complete list of members for <a class="el" href="classAdmin.html">Admin</a>, including all inherited members.<table> - <tr bgcolor="#f0f0f0"><td><a class="el" href="classAdmin.html#a0">Admin</a>(string name, string email, string nick)</td><td><a class="el" href="classAdmin.html">Admin</a></td><td></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classAdmin.html#a0">Admin</a>(std::string name, std::string email, std::string nick)</td><td><a class="el" href="classAdmin.html">Admin</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#m0">age</a></td><td><a class="el" href="classclassbase.html">classbase</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a0">classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classAdmin.html#m1">Email</a></td><td><a class="el" href="classAdmin.html">Admin</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classAdmin.html#m0">Name</a></td><td><a class="el" href="classAdmin.html">Admin</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classAdmin.html#m2">Nick</a></td><td><a class="el" href="classAdmin.html">Admin</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr><address style="align: right;"><small>Generated on Sun Mar 30 19:35:28 2003 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:34 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classAdmin.html b/docs/module-doc/classAdmin.html index f4a52be04..44b91c229 100644 --- a/docs/module-doc/classAdmin.html +++ b/docs/module-doc/classAdmin.html @@ -22,11 +22,11 @@ Inheritance diagram for Admin:<p><center><img src="classAdmin__inherit__graph.gi <center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center><a href="classAdmin-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> <tr><td></td></tr> <tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> -<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classAdmin.html#a0">Admin</a> (string name, string email, string nick)</td></tr> +<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classAdmin.html#a0">Admin</a> (std::string name, std::string email, std::string nick)</td></tr> <tr><td colspan=2><br><h2>Public Attributes</h2></td></tr> -<tr><td nowrap align=right valign=top>const string </td><td valign=bottom><a class="el" href="classAdmin.html#m0">Name</a></td></tr> -<tr><td nowrap align=right valign=top>const string </td><td valign=bottom><a class="el" href="classAdmin.html#m1">Email</a></td></tr> -<tr><td nowrap align=right valign=top>const string </td><td valign=bottom><a class="el" href="classAdmin.html#m2">Nick</a></td></tr> +<tr><td nowrap align=right valign=top>const std::string </td><td valign=bottom><a class="el" href="classAdmin.html#m0">Name</a></td></tr> +<tr><td nowrap align=right valign=top>const std::string </td><td valign=bottom><a class="el" href="classAdmin.html#m1">Email</a></td></tr> +<tr><td nowrap align=right valign=top>const std::string </td><td valign=bottom><a class="el" href="classAdmin.html#m2">Nick</a></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Holds /ADMIN data This class contains the admin details of the local server. @@ -35,7 +35,7 @@ It is constructed by class <a class="el" href="classServer.html">Server</a>, and <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00053">53</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> +Definition at line <a class="el" href="modules_8h-source.html#l00059">59</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> <a name="a0" doxytag="Admin::Admin"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> @@ -44,19 +44,19 @@ Definition at line <a class="el" href="modules_8h-source.html#l00053">53</a> of <tr> <td class="md" nowrap valign="top"> Admin::Admin </td> <td class="md" valign="top">( </td> - <td class="md" nowrap valign="top">string </td> + <td class="md" nowrap valign="top">std::string </td> <td class="mdname" nowrap> <em>name</em>, </td> </tr> <tr> <td></td> <td></td> - <td class="md" nowrap>string </td> + <td class="md" nowrap>std::string </td> <td class="mdname" nowrap> <em>email</em>, </td> </tr> <tr> <td></td> <td></td> - <td class="md" nowrap>string </td> + <td class="md" nowrap>std::string </td> <td class="mdname" nowrap> <em>nick</em></td> </tr> <tr> @@ -79,9 +79,9 @@ Definition at line <a class="el" href="modules_8h-source.html#l00053">53</a> of <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00020">20</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00086">86</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00020 : <a class="code" href="classAdmin.html#m0">Name</a>(name), <a class="code" href="classAdmin.html#m1">Email</a>(email), <a class="code" href="classAdmin.html#m2">Nick</a>(nick) { }; +<div class="fragment"><pre>00086 : <a class="code" href="classAdmin.html#m0">Name</a>(name), <a class="code" href="classAdmin.html#m1">Email</a>(email), <a class="code" href="classAdmin.html#m2">Nick</a>(nick) { }; </pre></div> </td> </tr> </table> @@ -92,7 +92,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00020">20</a> o <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> const string Admin::Email + <td class="md" nowrap valign="top"> const std::string Admin::Email </table> </td> </tr> @@ -107,7 +107,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00020">20</a> o <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00056">56</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td> +Definition at line <a class="el" href="modules_8h-source.html#l00062">62</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td> </tr> </table> <a name="m0" doxytag="Admin::Name"></a><p> @@ -116,7 +116,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00056">56</a> of <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> const string Admin::Name + <td class="md" nowrap valign="top"> const std::string Admin::Name </table> </td> </tr> @@ -131,7 +131,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00056">56</a> of <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00056">56</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td> +Definition at line <a class="el" href="modules_8h-source.html#l00062">62</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td> </tr> </table> <a name="m2" doxytag="Admin::Nick"></a><p> @@ -140,7 +140,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00056">56</a> of <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> const string Admin::Nick + <td class="md" nowrap valign="top"> const std::string Admin::Nick </table> </td> </tr> @@ -155,12 +155,12 @@ Definition at line <a class="el" href="modules_8h-source.html#l00056">56</a> of <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00056">56</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td> +Definition at line <a class="el" href="modules_8h-source.html#l00062">62</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td> </tr> </table> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="modules_8h-source.html">modules.h</a><li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul> -<hr><address style="align: right;"><small>Generated on Sun Mar 30 19:35:28 2003 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:34 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classAdmin__coll__graph.gif b/docs/module-doc/classAdmin__coll__graph.gif Binary files differindex e44815fb6..01f5cffd2 100644 --- a/docs/module-doc/classAdmin__coll__graph.gif +++ b/docs/module-doc/classAdmin__coll__graph.gif diff --git a/docs/module-doc/classBanItem-members.html b/docs/module-doc/classBanItem-members.html index ea7414c7a..3d73df95c 100644 --- a/docs/module-doc/classBanItem-members.html +++ b/docs/module-doc/classBanItem-members.html @@ -15,7 +15,7 @@ <tr bgcolor="#f0f0f0"><td><a class="el" href="classHostItem.html#m0">set_time</a></td><td><a class="el" href="classHostItem.html">HostItem</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classHostItem.html#a1">~HostItem</a>()</td><td><a class="el" href="classHostItem.html">HostItem</a></td><td><code> [inline, virtual]</code></td></tr> -</table><hr><address style="align: right;"><small>Generated on Sun Mar 30 19:35:31 2003 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:34 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classBanItem.html b/docs/module-doc/classBanItem.html index d039e35e7..a8f3bef9f 100644 --- a/docs/module-doc/classBanItem.html +++ b/docs/module-doc/classBanItem.html @@ -31,7 +31,7 @@ A subclass of <a class="el" href="classHostItem.html">HostItem</a> designed to h <p> Definition at line <a class="el" href="channels_8h-source.html#l00033">33</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.<hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="channels_8h-source.html">channels.h</a></ul> -<hr><address style="align: right;"><small>Generated on Sun Mar 30 19:35:31 2003 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:34 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classConfigReader-members.html b/docs/module-doc/classConfigReader-members.html index 156ff1475..856781c26 100644 --- a/docs/module-doc/classConfigReader-members.html +++ b/docs/module-doc/classConfigReader-members.html @@ -10,14 +10,14 @@ <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#m0">age</a></td><td><a class="el" href="classclassbase.html">classbase</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a0">classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classConfigReader.html#a0">ConfigReader</a>()</td><td><a class="el" href="classConfigReader.html">ConfigReader</a></td><td></td></tr> - <tr bgcolor="#f0f0f0"><td><a class="el" href="classConfigReader.html#a1">ConfigReader</a>(string filename)</td><td><a class="el" href="classConfigReader.html">ConfigReader</a></td><td></td></tr> - <tr bgcolor="#f0f0f0"><td><a class="el" href="classConfigReader.html#a4">Enumerate</a>(string tag)</td><td><a class="el" href="classConfigReader.html">ConfigReader</a></td><td></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classConfigReader.html#a1">ConfigReader</a>(std::string filename)</td><td><a class="el" href="classConfigReader.html">ConfigReader</a></td><td></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classConfigReader.html#a4">Enumerate</a>(std::string tag)</td><td><a class="el" href="classConfigReader.html">ConfigReader</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classConfigReader.html#n0">fname</a></td><td><a class="el" href="classConfigReader.html">ConfigReader</a></td><td><code> [protected]</code></td></tr> - <tr bgcolor="#f0f0f0"><td><a class="el" href="classConfigReader.html#a3">ReadValue</a>(string tag, string name, int index)</td><td><a class="el" href="classConfigReader.html">ConfigReader</a></td><td></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classConfigReader.html#a3">ReadValue</a>(std::string tag, std::string name, int index)</td><td><a class="el" href="classConfigReader.html">ConfigReader</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classConfigReader.html#a5">Verify</a>()</td><td><a class="el" href="classConfigReader.html">ConfigReader</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classConfigReader.html#a2">~ConfigReader</a>()</td><td><a class="el" href="classConfigReader.html">ConfigReader</a></td><td></td></tr> -</table><hr><address style="align: right;"><small>Generated on Sun Mar 30 19:35:47 2003 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:37 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classConfigReader.html b/docs/module-doc/classConfigReader.html index 7858c077e..5fb1368d4 100644 --- a/docs/module-doc/classConfigReader.html +++ b/docs/module-doc/classConfigReader.html @@ -24,18 +24,18 @@ Inheritance diagram for ConfigReader:<p><center><img src="classConfigReader__inh <tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classConfigReader.html#a0">ConfigReader</a> ()</td></tr> <tr><td> </td><td><font size=-1><em>Default constructor.</em> <a href="#a0"></a><em></em></font><br><br></td></tr> -<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classConfigReader.html#a1">ConfigReader</a> (string filename)</td></tr> +<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classConfigReader.html#a1">ConfigReader</a> (std::string filename)</td></tr> <tr><td> </td><td><font size=-1><em>Overloaded constructor.</em> <a href="#a1"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classConfigReader.html#a2">~ConfigReader</a> ()</td></tr> <tr><td> </td><td><font size=-1><em>Default destructor.</em> <a href="#a2"></a><em></em></font><br><br></td></tr> -<tr><td nowrap align=right valign=top>string </td><td valign=bottom><a class="el" href="classConfigReader.html#a3">ReadValue</a> (string tag, string name, int index)</td></tr> +<tr><td nowrap align=right valign=top>std::string </td><td valign=bottom><a class="el" href="classConfigReader.html#a3">ReadValue</a> (std::string tag, std::string name, int index)</td></tr> <tr><td> </td><td><font size=-1><em>Retrieves a value from the config file.</em> <a href="#a3"></a><em></em></font><br><br></td></tr> -<tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="classConfigReader.html#a4">Enumerate</a> (string tag)</td></tr> +<tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="classConfigReader.html#a4">Enumerate</a> (std::string tag)</td></tr> <tr><td> </td><td><font size=-1><em>Counts the number of times a given tag appears in the config file.</em> <a href="#a4"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classConfigReader.html#a5">Verify</a> ()</td></tr> <tr><td> </td><td><font size=-1><em>Returns true if a config file is valid.</em> <a href="#a5"></a><em></em></font><br><br></td></tr> <tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr> -<tr><td nowrap align=right valign=top>string </td><td valign=bottom><a class="el" href="classConfigReader.html#n0">fname</a></td></tr> +<tr><td nowrap align=right valign=top>std::string </td><td valign=bottom><a class="el" href="classConfigReader.html#n0">fname</a></td></tr> <tr><td> </td><td><font size=-1><em>The filename of the configuration file, as set by the constructor.</em> <a href="#n0"></a><em></em></font><br><br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> @@ -45,7 +45,7 @@ It may either be instantiated with one parameter or none. Constructing the class <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00252">252</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> +Definition at line <a class="el" href="modules_8h-source.html#l00302">302</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> <a name="a0" doxytag="ConfigReader::ConfigReader"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> @@ -75,13 +75,13 @@ Default constructor. <p> This constructor initialises the ConfigReader class to read the inspircd.conf file as specified when running ./configure. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00152">152</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_8h-source.html#l00257">fname</a>. +References <a class="el" href="modules_8h-source.html#l00307">fname</a>. <p> -<div class="fragment"><pre>00153 { -00154 <a class="code" href="classConfigReader.html#n0">fname</a> = CONFIG_FILE; -00155 } +<div class="fragment"><pre>00226 { +00227 <a class="code" href="classConfigReader.html#n0">fname</a> = CONFIG_FILE; +00228 } </pre></div> </td> </tr> </table> @@ -93,7 +93,7 @@ References <a class="el" href="modules_8h-source.html#l00257">fname</a>. <tr> <td class="md" nowrap valign="top"> ConfigReader::ConfigReader </td> <td class="md" valign="top">( </td> - <td class="md" nowrap valign="top">string </td> + <td class="md" nowrap valign="top">std::string </td> <td class="mdname1" valign="top" nowrap> <em>filename</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> @@ -115,9 +115,9 @@ Overloaded constructor. <p> This constructor initialises the ConfigReader class to read a user-specified config file <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00163">163</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#l00236">236</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00163 : <a class="code" href="classConfigReader.html#n0">fname</a>(filename) { }; +<div class="fragment"><pre>00236 : <a class="code" href="classConfigReader.html#n0">fname</a>(filename) { }; </pre></div> </td> </tr> </table> @@ -150,10 +150,10 @@ Default destructor. <p> This method destroys the ConfigReader class. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#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#l00231">231</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00159 { -00160 } +<div class="fragment"><pre>00232 { +00233 } </pre></div> </td> </tr> </table> @@ -166,7 +166,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00158">158</a> <tr> <td class="md" nowrap valign="top"> int ConfigReader::Enumerate </td> <td class="md" valign="top">( </td> - <td class="md" nowrap valign="top">string </td> + <td class="md" nowrap valign="top">std::string </td> <td class="mdname1" valign="top" nowrap> <em>tag</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> @@ -188,13 +188,13 @@ Counts the number of times a given tag appears in the config file. <p> This method counts the number of times a tag appears in a config file, for use where there are several tags of the same kind, e.g. with opers and connect types. It can be used with the index value of <a class="el" href="classConfigReader.html#a3">ConfigReader::ReadValue</a> to loop through all copies of a multiple instance tag. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00174">174</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00246">246</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l00257">fname</a>. +References <a class="el" href="modules_8h-source.html#l00307">fname</a>. <p> -<div class="fragment"><pre>00175 { -00176 <span class="keywordflow">return</span> EnumConf(<a class="code" href="classConfigReader.html#n0">fname</a>.c_str(),tag.c_str()); -00177 } +<div class="fragment"><pre>00247 { +00248 <span class="keywordflow">return</span> EnumConf(<a class="code" href="classConfigReader.html#n0">fname</a>.c_str(),tag.c_str()); +00249 } </pre></div> </td> </tr> </table> @@ -204,15 +204,15 @@ References <a class="el" href="modules_8h-source.html#l00257">fname</a>. <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> string ConfigReader::ReadValue </td> + <td class="md" nowrap valign="top"> std::string ConfigReader::ReadValue </td> <td class="md" valign="top">( </td> - <td class="md" nowrap valign="top">string </td> + <td class="md" nowrap valign="top">std::string </td> <td class="mdname" nowrap> <em>tag</em>, </td> </tr> <tr> <td></td> <td></td> - <td class="md" nowrap>string </td> + <td class="md" nowrap>std::string </td> <td class="mdname" nowrap> <em>name</em>, </td> </tr> <tr> @@ -243,16 +243,15 @@ Retrieves a value from the config file. <p> This method retrieves a value from the config file. Where multiple copies of the tag exist in the config file, index indicates which of the values to retrieve. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00165">165</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#l00238">238</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l00257">fname</a>. +References <a class="el" href="modules_8h-source.html#l00307">fname</a>. <p> -<div class="fragment"><pre>00166 { -00167 <span class="keywordtype">char</span> val[MAXBUF]; -00168 ReadConf(<a class="code" href="classConfigReader.html#n0">fname</a>.c_str(),tag.c_str(),name.c_str(),index,val); -00169 string s = val; -00170 <span class="keywordflow">return</span> s; -00171 } +<div class="fragment"><pre>00239 { +00240 <span class="keywordtype">char</span> val[MAXBUF]; +00241 ReadConf(<a class="code" href="classConfigReader.html#n0">fname</a>.c_str(),tag.c_str(),name.c_str(),index,val); +00242 <span class="keywordflow">return</span> val; +00243 } </pre></div> </td> </tr> </table> @@ -285,11 +284,11 @@ Returns true if a config file is valid. <p> This method is unimplemented and will always return true. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00180">180</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00252">252</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00181 { -00182 <span class="keywordflow">return</span> <span class="keyword">true</span>; -00183 } +<div class="fragment"><pre>00253 { +00254 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00255 } </pre></div> </td> </tr> </table> @@ -300,7 +299,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00180">180</a> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> string ConfigReader::fname<code> [protected]</code> + <td class="md" nowrap valign="top"> std::string ConfigReader::fname<code> [protected]</code> </table> </td> </tr> @@ -317,14 +316,14 @@ The filename of the configuration file, as set by the constructor. <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00257">257</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. +Definition at line <a class="el" href="modules_8h-source.html#l00307">307</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#l00152">ConfigReader()</a>, <a class="el" href="modules_8cpp-source.html#l00174">Enumerate()</a>, and <a class="el" href="modules_8cpp-source.html#l00165">ReadValue()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00225">ConfigReader()</a>, <a class="el" href="modules_8cpp-source.html#l00246">Enumerate()</a>, and <a class="el" href="modules_8cpp-source.html#l00238">ReadValue()</a>. </td> </tr> </table> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="modules_8h-source.html">modules.h</a><li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul> -<hr><address style="align: right;"><small>Generated on Sun Mar 30 19:35:47 2003 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:37 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classConnectClass-members.html b/docs/module-doc/classConnectClass-members.html index 6aa94af03..41af98c8b 100644 --- a/docs/module-doc/classConnectClass-members.html +++ b/docs/module-doc/classConnectClass-members.html @@ -13,7 +13,7 @@ <tr bgcolor="#f0f0f0"><td><a class="el" href="classConnectClass.html#m2">pass</a></td><td><a class="el" href="classConnectClass.html">ConnectClass</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classConnectClass.html#m0">type</a></td><td><a class="el" href="classConnectClass.html">ConnectClass</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr><address style="align: right;"><small>Generated on Sun Mar 30 19:35:50 2003 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:37 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classConnectClass.html b/docs/module-doc/classConnectClass.html index e7dcf8c6e..37a3b3988 100644 --- a/docs/module-doc/classConnectClass.html +++ b/docs/module-doc/classConnectClass.html @@ -106,7 +106,7 @@ Definition at line <a class="el" href="users_8h-source.html#l00037">37</a> of fi </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="users_8h-source.html">users.h</a></ul> -<hr><address style="align: right;"><small>Generated on Sun Mar 30 19:35:50 2003 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:37 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classExemptItem-members.html b/docs/module-doc/classExemptItem-members.html index e16833939..0af329b96 100644 --- a/docs/module-doc/classExemptItem-members.html +++ b/docs/module-doc/classExemptItem-members.html @@ -15,7 +15,7 @@ <tr bgcolor="#f0f0f0"><td><a class="el" href="classHostItem.html#m0">set_time</a></td><td><a class="el" href="classHostItem.html">HostItem</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classHostItem.html#a1">~HostItem</a>()</td><td><a class="el" href="classHostItem.html">HostItem</a></td><td><code> [inline, virtual]</code></td></tr> -</table><hr><address style="align: right;"><small>Generated on Sun Mar 30 19:35:58 2003 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:39 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classExemptItem.html b/docs/module-doc/classExemptItem.html index 8d9649559..74eb595da 100644 --- a/docs/module-doc/classExemptItem.html +++ b/docs/module-doc/classExemptItem.html @@ -31,7 +31,7 @@ A subclass of <a class="el" href="classHostItem.html">HostItem</a> designed to h <p> Definition at line <a class="el" href="channels_8h-source.html#l00041">41</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.<hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="channels_8h-source.html">channels.h</a></ul> -<hr><address style="align: right;"><small>Generated on Sun Mar 30 19:35:58 2003 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:39 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classFileReader-members.html b/docs/module-doc/classFileReader-members.html index 58b99bda6..5212798f9 100644 --- a/docs/module-doc/classFileReader-members.html +++ b/docs/module-doc/classFileReader-members.html @@ -9,15 +9,16 @@ <hr><h1>FileReader Member List</h1>This is the complete list of members for <a class="el" href="classFileReader.html">FileReader</a>, including all inherited members.<table> <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#m0">age</a></td><td><a class="el" href="classclassbase.html">classbase</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a0">classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classFileReader.html#a4">Exists</a>()</td><td><a class="el" href="classFileReader.html">FileReader</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classFileReader.html#o0">fc</a></td><td><a class="el" href="classFileReader.html">FileReader</a></td><td><code> [private]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classFileReader.html#a0">FileReader</a>()</td><td><a class="el" href="classFileReader.html">FileReader</a></td><td></td></tr> - <tr bgcolor="#f0f0f0"><td><a class="el" href="classFileReader.html#a1">FileReader</a>(string filename)</td><td><a class="el" href="classFileReader.html">FileReader</a></td><td></td></tr> - <tr bgcolor="#f0f0f0"><td><a class="el" href="classFileReader.html#a5">FileSize</a>()</td><td><a class="el" href="classFileReader.html">FileReader</a></td><td></td></tr> - <tr bgcolor="#f0f0f0"><td><a class="el" href="classFileReader.html#a4">GetLine</a>(int x)</td><td><a class="el" href="classFileReader.html">FileReader</a></td><td></td></tr> - <tr bgcolor="#f0f0f0"><td><a class="el" href="classFileReader.html#a3">LoadFile</a>(string filename)</td><td><a class="el" href="classFileReader.html">FileReader</a></td><td></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classFileReader.html#a1">FileReader</a>(std::string filename)</td><td><a class="el" href="classFileReader.html">FileReader</a></td><td></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classFileReader.html#a6">FileSize</a>()</td><td><a class="el" href="classFileReader.html">FileReader</a></td><td></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classFileReader.html#a5">GetLine</a>(int x)</td><td><a class="el" href="classFileReader.html">FileReader</a></td><td></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classFileReader.html#a3">LoadFile</a>(std::string filename)</td><td><a class="el" href="classFileReader.html">FileReader</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classFileReader.html#a2">~FileReader</a>()</td><td><a class="el" href="classFileReader.html">FileReader</a></td><td></td></tr> -</table><hr><address style="align: right;"><small>Generated on Sun Mar 30 19:36:01 2003 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:39 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classFileReader.html b/docs/module-doc/classFileReader.html index b60532125..d2ba2399b 100644 --- a/docs/module-doc/classFileReader.html +++ b/docs/module-doc/classFileReader.html @@ -24,18 +24,19 @@ Inheritance diagram for FileReader:<p><center><img src="classFileReader__inherit <tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classFileReader.html#a0">FileReader</a> ()</td></tr> <tr><td> </td><td><font size=-1><em>Default constructor.</em> <a href="#a0"></a><em></em></font><br><br></td></tr> -<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classFileReader.html#a1">FileReader</a> (string filename)</td></tr> +<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classFileReader.html#a1">FileReader</a> (std::string filename)</td></tr> <tr><td> </td><td><font size=-1><em>Secondary constructor.</em> <a href="#a1"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classFileReader.html#a2">~FileReader</a> ()</td></tr> <tr><td> </td><td><font size=-1><em>Default destructor.</em> <a href="#a2"></a><em></em></font><br><br></td></tr> -<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classFileReader.html#a3">LoadFile</a> (string filename)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classFileReader.html#a3">LoadFile</a> (std::string filename)</td></tr> <tr><td> </td><td><font size=-1><em>Used to load a file.</em> <a href="#a3"></a><em></em></font><br><br></td></tr> -<tr><td nowrap align=right valign=top>string </td><td valign=bottom><a class="el" href="classFileReader.html#a4">GetLine</a> (int x)</td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classFileReader.html#a4">Exists</a> ()</td></tr> <tr><td> </td><td><font size=-1><em>Retrieve one line from the file.</em> <a href="#a4"></a><em></em></font><br><br></td></tr> -<tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="classFileReader.html#a5">FileSize</a> ()</td></tr> -<tr><td> </td><td><font size=-1><em>Returns the size of the file in lines.</em> <a href="#a5"></a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>std::string </td><td valign=bottom><a class="el" href="classFileReader.html#a5">GetLine</a> (int x)</td></tr> +<tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="classFileReader.html#a6">FileSize</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Returns the size of the file in lines.</em> <a href="#a6"></a><em></em></font><br><br></td></tr> <tr><td colspan=2><br><h2>Private Attributes</h2></td></tr> -<tr><td nowrap align=right valign=top><a class="el" href="modules_8h.html#a6">file_cache</a> </td><td valign=bottom><a class="el" href="classFileReader.html#o0">fc</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="modules_8h.html#a9">file_cache</a> </td><td valign=bottom><a class="el" href="classFileReader.html#o0">fc</a></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Caches a text file into memory and can be used to retrieve lines from it. @@ -44,7 +45,7 @@ This class contains methods for read-only manipulation of a text file in memory. <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00297">297</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> +Definition at line <a class="el" href="modules_8h-source.html#l00347">347</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> <a name="a0" doxytag="FileReader::FileReader"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> @@ -74,10 +75,10 @@ Default constructor. <p> This method does not load any file into memory, you must use the LoadFile method after constructing the class this way. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00193">193</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00265">265</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00194 { -00195 } +<div class="fragment"><pre>00266 { +00267 } </pre></div> </td> </tr> </table> @@ -89,7 +90,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00193">193</a> <tr> <td class="md" nowrap valign="top"> FileReader::FileReader </td> <td class="md" valign="top">( </td> - <td class="md" nowrap valign="top">string </td> + <td class="md" nowrap valign="top">std::string </td> <td class="mdname1" valign="top" nowrap> <em>filename</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> @@ -109,17 +110,17 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00193">193</a> <p> 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#a5">FileReader::FileSize</a> returns 0. +This method initialises the class with a file loaded into it ready for GetLine and and other methods to be called. If the file could not be loaded, <a class="el" href="classFileReader.html#a6">FileReader::FileSize</a> returns 0. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00186">186</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#l00299">fc</a>, and <a class="el" href="modules_8h-source.html#l00024">file_cache</a>. +References <a class="el" href="modules_8h-source.html#l00349">fc</a>, and <a class="el" href="modules_8h-source.html#l00029">file_cache</a>. <p> -<div class="fragment"><pre>00187 { -00188 <a class="code" href="modules_8h.html#a6">file_cache</a> c; -00189 readfile(c,filename.c_str()); -00190 this-><a class="code" href="classFileReader.html#o0">fc</a> = c; -00191 } +<div class="fragment"><pre>00259 { +00260 <a class="code" href="modules_8h.html#a9">file_cache</a> c; +00261 readfile(c,filename.c_str()); +00262 this-><a class="code" href="classFileReader.html#o0">fc</a> = c; +00263 } </pre></div> </td> </tr> </table> @@ -152,15 +153,61 @@ Default destructor. <p> This deletes the memory allocated to the file. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00204">204</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> -<div class="fragment"><pre>00205 { -00206 } +<div class="fragment"><pre>00278 { +00279 } </pre></div> </td> </tr> </table> <hr><h2>Member Function Documentation</h2> -<a name="a5" doxytag="FileReader::FileSize"></a><p> +<a name="a4" doxytag="FileReader::Exists"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool FileReader::Exists </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> +Retrieve one line from the file. +<p> +This method retrieves one line from the text file. If an empty non-NULL string is returned, the index was out of bounds, or the line had no data on it. +<p> +Definition at line <a class="el" href="modules_8cpp-source.html#l00281">281</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="modules_8h-source.html#l00349">fc</a>. +<p> +<div class="fragment"><pre>00282 { +00283 <span class="keywordflow">if</span> (<a class="code" href="classFileReader.html#o0">fc</a>.size() == 0) +00284 { +00285 <span class="keywordflow">return</span>(false); +00286 } +00287 <span class="keywordflow">else</span> +00288 { +00289 <span class="keywordflow">return</span>(true); +00290 } +00291 } +</pre></div> </td> + </tr> +</table> +<a name="a6" doxytag="FileReader::FileSize"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> @@ -189,23 +236,23 @@ 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#l00215">215</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00300">300</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l00299">fc</a>. +References <a class="el" href="modules_8h-source.html#l00349">fc</a>. <p> -<div class="fragment"><pre>00216 { -00217 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#o0">fc</a>.size(); -00218 } +<div class="fragment"><pre>00301 { +00302 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#o0">fc</a>.size(); +00303 } </pre></div> </td> </tr> </table> -<a name="a4" doxytag="FileReader::GetLine"></a><p> +<a name="a5" doxytag="FileReader::GetLine"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> string FileReader::GetLine </td> + <td class="md" nowrap valign="top"> std::string FileReader::GetLine </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">int </td> <td class="mdname1" valign="top" nowrap> <em>x</em> </td> @@ -225,19 +272,17 @@ References <a class="el" href="modules_8h-source.html#l00299">fc</a>. <td> <p> -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#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#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#l00299">fc</a>. +References <a class="el" href="modules_8h-source.html#l00349">fc</a>. <p> -<div class="fragment"><pre>00209 { -00210 <span class="keywordflow">if</span> ((x<0) || (x><a class="code" href="classFileReader.html#o0">fc</a>.size())) -00211 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; -00212 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#o0">fc</a>[x]; -00213 } +<div class="fragment"><pre>00294 { +00295 <span class="keywordflow">if</span> ((x<0) || (x><a class="code" href="classFileReader.html#o0">fc</a>.size())) +00296 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; +00297 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#o0">fc</a>[x]; +00298 } </pre></div> </td> </tr> </table> @@ -249,7 +294,7 @@ References <a class="el" href="modules_8h-source.html#l00299">fc</a>. <tr> <td class="md" nowrap valign="top"> void FileReader::LoadFile </td> <td class="md" valign="top">( </td> - <td class="md" nowrap valign="top">string </td> + <td class="md" nowrap valign="top">std::string </td> <td class="mdname1" valign="top" nowrap> <em>filename</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> @@ -269,17 +314,17 @@ References <a class="el" href="modules_8h-source.html#l00299">fc</a>. <p> 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#a5">FileReader::FileSize</a> returns 0. +This method loads a file into the class ready for GetLine and and other methods to be called. If the file could not be loaded, <a class="el" href="classFileReader.html#a6">FileReader::FileSize</a> returns 0. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00197">197</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00269">269</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l00299">fc</a>, and <a class="el" href="modules_8h-source.html#l00024">file_cache</a>. +References <a class="el" href="modules_8h-source.html#l00349">fc</a>, and <a class="el" href="modules_8h-source.html#l00029">file_cache</a>. <p> -<div class="fragment"><pre>00198 { -00199 <a class="code" href="modules_8h.html#a6">file_cache</a> c; -00200 readfile(c,filename.c_str()); -00201 this-><a class="code" href="classFileReader.html#o0">fc</a> = c; -00202 } +<div class="fragment"><pre>00270 { +00271 <a class="code" href="modules_8h.html#a9">file_cache</a> c; +00272 readfile(c,filename.c_str()); +00273 this-><a class="code" href="classFileReader.html#o0">fc</a> = c; +00274 } </pre></div> </td> </tr> </table> @@ -290,7 +335,7 @@ References <a class="el" href="modules_8h-source.html#l00299">fc</a>, and <a cla <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> <a class="el" href="modules_8h.html#a6">file_cache</a> FileReader::fc<code> [private]</code> + <td class="md" nowrap valign="top"> <a class="el" href="modules_8h.html#a9">file_cache</a> FileReader::fc<code> [private]</code> </table> </td> </tr> @@ -305,14 +350,14 @@ References <a class="el" href="modules_8h-source.html#l00299">fc</a>, and <a cla <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00299">299</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. +Definition at line <a class="el" href="modules_8h-source.html#l00349">349</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#l00186">FileReader()</a>, <a class="el" href="modules_8cpp-source.html#l00215">FileSize()</a>, <a class="el" href="modules_8cpp-source.html#l00208">GetLine()</a>, and <a class="el" href="modules_8cpp-source.html#l00197">LoadFile()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00281">Exists()</a>, <a class="el" href="modules_8cpp-source.html#l00258">FileReader()</a>, <a class="el" href="modules_8cpp-source.html#l00300">FileSize()</a>, <a class="el" href="modules_8cpp-source.html#l00293">GetLine()</a>, and <a class="el" href="modules_8cpp-source.html#l00269">LoadFile()</a>. </td> </tr> </table> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="modules_8h-source.html">modules.h</a><li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul> -<hr><address style="align: right;"><small>Generated on Sun Mar 30 19:36:00 2003 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:39 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classHostItem-members.html b/docs/module-doc/classHostItem-members.html index acab71e65..d4cd904b3 100644 --- a/docs/module-doc/classHostItem-members.html +++ b/docs/module-doc/classHostItem-members.html @@ -15,7 +15,7 @@ <tr bgcolor="#f0f0f0"><td><a class="el" href="classHostItem.html#m0">set_time</a></td><td><a class="el" href="classHostItem.html">HostItem</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classHostItem.html#a1">~HostItem</a>()</td><td><a class="el" href="classHostItem.html">HostItem</a></td><td><code> [inline, virtual]</code></td></tr> -</table><hr><address style="align: right;"><small>Generated on Sun Mar 30 19:36:04 2003 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:40 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classHostItem.html b/docs/module-doc/classHostItem.html index 7c6ae247a..d6d0bf1d9 100644 --- a/docs/module-doc/classHostItem.html +++ b/docs/module-doc/classHostItem.html @@ -181,7 +181,7 @@ Definition at line <a class="el" href="channels_8h-source.html#l00020">20</a> of </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="channels_8h-source.html">channels.h</a></ul> -<hr><address style="align: right;"><small>Generated on Sun Mar 30 19:36:04 2003 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:40 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classInviteItem-members.html b/docs/module-doc/classInviteItem-members.html index 84b51da84..9ed7b3423 100644 --- a/docs/module-doc/classInviteItem-members.html +++ b/docs/module-doc/classInviteItem-members.html @@ -15,7 +15,7 @@ <tr bgcolor="#f0f0f0"><td><a class="el" href="classHostItem.html#m0">set_time</a></td><td><a class="el" href="classHostItem.html">HostItem</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classHostItem.html#a1">~HostItem</a>()</td><td><a class="el" href="classHostItem.html">HostItem</a></td><td><code> [inline, virtual]</code></td></tr> -</table><hr><address style="align: right;"><small>Generated on Sun Mar 30 19:36:10 2003 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:41 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classInviteItem.html b/docs/module-doc/classInviteItem.html index e7c4f08d8..9975b710a 100644 --- a/docs/module-doc/classInviteItem.html +++ b/docs/module-doc/classInviteItem.html @@ -31,7 +31,7 @@ A subclass of <a class="el" href="classHostItem.html">HostItem</a> designed to h <p> Definition at line <a class="el" href="channels_8h-source.html#l00049">49</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.<hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="channels_8h-source.html">channels.h</a></ul> -<hr><address style="align: right;"><small>Generated on Sun Mar 30 19:36:10 2003 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:41 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classInvited-members.html b/docs/module-doc/classInvited-members.html index 6a4760eb5..767028b0b 100644 --- a/docs/module-doc/classInvited-members.html +++ b/docs/module-doc/classInvited-members.html @@ -11,7 +11,7 @@ <tr bgcolor="#f0f0f0"><td><a class="el" href="classInvited.html#m0">channel</a></td><td><a class="el" href="classInvited.html">Invited</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a0">classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr><address style="align: right;"><small>Generated on Sun Mar 30 19:36:07 2003 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:40 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classInvited.html b/docs/module-doc/classInvited.html index 6d587ee01..b0a25c634 100644 --- a/docs/module-doc/classInvited.html +++ b/docs/module-doc/classInvited.html @@ -53,12 +53,12 @@ Definition at line <a class="el" href="users_8h-source.html#l00025">25</a> of fi <p> Definition at line <a class="el" href="users_8h-source.html#l00028">28</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#l00060">userrec::InviteTo()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00063">userrec::InviteTo()</a>. </td> </tr> </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="users_8h-source.html">users.h</a></ul> -<hr><address style="align: right;"><small>Generated on Sun Mar 30 19:36:07 2003 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:40 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classModule-members.html b/docs/module-doc/classModule-members.html index 77d9a44b3..dbcdc378f 100644 --- a/docs/module-doc/classModule-members.html +++ b/docs/module-doc/classModule-members.html @@ -13,15 +13,16 @@ <tr bgcolor="#f0f0f0"><td><a class="el" href="classModule.html#a0">Module</a>()</td><td><a class="el" href="classModule.html">Module</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classModule.html#a8">Module::OnPacketReceive</a>(char *p)</td><td><a class="el" href="classModule.html">Module</a></td><td><code> [virtual]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classModule.html#a7">Module::OnPacketTransmit</a>(char *p)</td><td><a class="el" href="classModule.html">Module</a></td><td><code> [virtual]</code></td></tr> - <tr bgcolor="#f0f0f0"><td><a class="el" href="classModule.html#a10">Module::OnServerRaw</a>(string &raw, bool inbound)</td><td><a class="el" href="classModule.html">Module</a></td><td><code> [virtual]</code></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classModule.html#a11">OnExtendedMode</a>(userrec *user, chanrec *chan, char modechar, int type, bool mode_on, string_list &params)</td><td><a class="el" href="classModule.html">Module</a></td><td><code> [virtual]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classModule.html#a9">OnRehash</a>()</td><td><a class="el" href="classModule.html">Module</a></td><td><code> [virtual]</code></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classModule.html#a10">OnServerRaw</a>(std::string &raw, bool inbound)</td><td><a class="el" href="classModule.html">Module</a></td><td><code> [virtual]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classModule.html#a3">OnUserConnect</a>(userrec *user)</td><td><a class="el" href="classModule.html">Module</a></td><td><code> [virtual]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classModule.html#a5">OnUserJoin</a>(userrec *user, chanrec *channel)</td><td><a class="el" href="classModule.html">Module</a></td><td><code> [virtual]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classModule.html#a6">OnUserPart</a>(userrec *user, chanrec *channel)</td><td><a class="el" href="classModule.html">Module</a></td><td><code> [virtual]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classModule.html#a4">OnUserQuit</a>(userrec *user)</td><td><a class="el" href="classModule.html">Module</a></td><td><code> [virtual]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classModule.html#a1">~Module</a>()</td><td><a class="el" href="classModule.html">Module</a></td><td><code> [virtual]</code></td></tr> -</table><hr><address style="align: right;"><small>Generated on Sun Mar 30 19:36:13 2003 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:42 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classModule.html b/docs/module-doc/classModule.html index 7fd4956d7..926b2a40a 100644 --- a/docs/module-doc/classModule.html +++ b/docs/module-doc/classModule.html @@ -42,8 +42,10 @@ Inheritance diagram for Module:<p><center><img src="classModule__inherit__graph. <tr><td> </td><td><font size=-1><em>Called after a packet is received from another irc server.</em> <a href="#a8"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classModule.html#a9">OnRehash</a> ()</td></tr> <tr><td> </td><td><font size=-1><em>Called on rehash.</em> <a href="#a9"></a><em></em></font><br><br></td></tr> -<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classModule.html#a10">Module::OnServerRaw</a> (string &raw, bool inbound)</td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classModule.html#a10">OnServerRaw</a> (std::string &raw, bool inbound)</td></tr> <tr><td> </td><td><font size=-1><em>Called when a raw command is transmitted or received.</em> <a href="#a10"></a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="classModule.html#a11">OnExtendedMode</a> (<a class="el" href="classuserrec.html">userrec</a> *user, <a class="el" href="classchanrec.html">chanrec</a> *chan, char modechar, int type, bool mode_on, <a class="el" href="modules_8h.html#a10">string_list</a> &params)</td></tr> +<tr><td> </td><td><font size=-1><em>Called whenever an extended mode is to be processed.</em> <a href="#a11"></a><em></em></font><br><br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Base class for all InspIRCd modules This class is the base class for InspIRCd modules. @@ -52,7 +54,7 @@ All modules must inherit from this class, its methods will be called when irc se <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00065">65</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> +Definition at line <a class="el" href="modules_8h-source.html#l00071">71</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> <a name="a0" doxytag="Module::Module"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> @@ -82,9 +84,9 @@ Default constructor creates a module class. <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00027">27</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00088">88</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00027 { } +<div class="fragment"><pre>00088 { } </pre></div> </td> </tr> </table> @@ -117,9 +119,9 @@ Default destructor destroys a module class. <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00028">28</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00089">89</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00028 { } +<div class="fragment"><pre>00089 { } </pre></div> </td> </tr> </table> @@ -153,9 +155,9 @@ Returns the version number of a Module. <p> The method should return a <a class="el" href="classVersion.html">Version</a> object with its version information assigned via <a class="el" href="classVersion.html#a0">Version::Version</a> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00037">37</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00099">99</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00037 { <span class="keywordflow">return</span> <a class="code" href="classVersion.html">Version</a>(1,0,0,0); } +<div class="fragment"><pre>00099 { <span class="keywordflow">return</span> <a class="code" href="classVersion.html">Version</a>(1,0,0,0); } </pre></div> </td> </tr> </table> @@ -221,22 +223,46 @@ Called before a packet is transmitted across the irc network between two irc ser The packet is represented as a char*, as it should be regarded as a buffer, and not a string. This allows you to easily represent it in the correct ways to implement encryption, compression, digital signatures and anything else you may want to add. This should be regarded as a pre-processor and will be called before ANY other operations within the ircd core program. </td> </tr> </table> -<a name="a10" doxytag="Module::Module::OnServerRaw"></a><p> +<a name="a11" doxytag="Module::OnExtendedMode"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> virtual void Module::Module::OnServerRaw </td> + <td class="md" nowrap valign="top"> bool Module::OnExtendedMode </td> <td class="md" valign="top">( </td> - <td class="md" nowrap valign="top">string & </td> - <td class="mdname" nowrap> <em>raw</em>, </td> + <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classchanrec.html">chanrec</a> * </td> + <td class="mdname" nowrap> <em>chan</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char </td> + <td class="mdname" nowrap> <em>modechar</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>type</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>bool </td> - <td class="mdname" nowrap> <em>inbound</em></td> + <td class="mdname" nowrap> <em>mode_on</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="modules_8h.html#a10">string_list</a> & </td> + <td class="mdname" nowrap> <em>params</em></td> </tr> <tr> <td></td> @@ -256,9 +282,14 @@ The packet is represented as a char*, as it should be regarded as a buffer, and <td> <p> -Called when a raw command is transmitted or received. +Called whenever an extended mode is to be processed. +<p> +The type parameter is MT_SERVER, MT_CLIENT or MT_CHANNEL, dependent on where the mode is being changed. mode_on is set when the mode is being set, in which case params contains a list of parameters for the mode as strings. If mode_on is false, the mode is being removed, and parameters may contain the parameters for the mode, dependent on wether they were defined when a mode handler was set up with <a class="el" href="classServer.html#a19">Server::AddExtendedMode</a> If the mode is not a channel mode, chanrec* chan is null, and should not be read from or written to. +<p> +Definition at line <a class="el" href="modules_8cpp-source.html#l00098">98</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -This method is the lowest level of handler available to a module. It will be called with raw data which is passing through a connected socket. If you wish, you may munge this data by changing the string parameter "raw". If you do this, after your function exits it will immediately be cut down to 510 characters plus a carriage return and linefeed. </td> +<div class="fragment"><pre>00098 { } +</pre></div> </td> </tr> </table> <a name="a9" doxytag="Module::OnRehash"></a><p> @@ -290,9 +321,54 @@ Called on rehash. <p> This method is called prior to a /REHASH or when a SIGHUP is received from the operating system. You should use it to reload any files so that your module keeps in step with the rest of the application. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00035">35</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#l00096">96</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +<div class="fragment"><pre>00096 { } +</pre></div> </td> + </tr> +</table> +<a name="a10" doxytag="Module::OnServerRaw"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void Module::OnServerRaw </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">std::string & </td> + <td class="mdname" nowrap> <em>raw</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>inbound</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Called when a raw command is transmitted or received. +<p> +This method is the lowest level of handler available to a module. It will be called with raw data which is passing through a connected socket. If you wish, you may munge this data by changing the string parameter "raw". If you do this, after your function exits it will immediately be cut down to 510 characters plus a carriage return and linefeed. +<p> +Definition at line <a class="el" href="modules_8cpp-source.html#l00097">97</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00035 { } +<div class="fragment"><pre>00097 { } </pre></div> </td> </tr> </table> @@ -326,9 +402,9 @@ Called when a user connects. <p> The details of the connecting user are available to you in the parameter userrec *user <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00029">29</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#l00090">90</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00029 { } +<div class="fragment"><pre>00090 { } </pre></div> </td> </tr> </table> @@ -371,9 +447,9 @@ Called when a user joins a channel. <p> The details of the joining user are available to you in the parameter userrec *user, and the details of the channel they have joined is available in the variable chanrec *channel <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00031">31</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#l00092">92</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00031 { } +<div class="fragment"><pre>00092 { } </pre></div> </td> </tr> </table> @@ -416,9 +492,9 @@ Called when a user parts a channel. <p> The details of the leaving user are available to you in the parameter userrec *user, and the details of the channel they have left is available in the variable chanrec *channel <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00032">32</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00093">93</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00032 { } +<div class="fragment"><pre>00093 { } </pre></div> </td> </tr> </table> @@ -452,15 +528,15 @@ Called when a user quits. <p> The details of the exiting user are available to you in the parameter userrec *user <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00030">30</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#l00091">91</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00030 { } +<div class="fragment"><pre>00091 { } </pre></div> </td> </tr> </table> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="modules_8h-source.html">modules.h</a><li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul> -<hr><address style="align: right;"><small>Generated on Sun Mar 30 19:36:13 2003 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:42 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classModuleFactory-members.html b/docs/module-doc/classModuleFactory-members.html index 41068ba46..a96bcad47 100644 --- a/docs/module-doc/classModuleFactory-members.html +++ b/docs/module-doc/classModuleFactory-members.html @@ -13,7 +13,7 @@ <tr bgcolor="#f0f0f0"><td><a class="el" href="classModuleFactory.html#a0">ModuleFactory</a>()</td><td><a class="el" href="classModuleFactory.html">ModuleFactory</a></td><td><code> [inline]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classModuleFactory.html#a1">~ModuleFactory</a>()</td><td><a class="el" href="classModuleFactory.html">ModuleFactory</a></td><td><code> [inline, virtual]</code></td></tr> -</table><hr><address style="align: right;"><small>Generated on Sun Mar 30 19:36:16 2003 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:42 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classModuleFactory.html b/docs/module-doc/classModuleFactory.html index ac37d000b..bd6c71fca 100644 --- a/docs/module-doc/classModuleFactory.html +++ b/docs/module-doc/classModuleFactory.html @@ -34,7 +34,7 @@ This is to allow for modules to create many different variants of <a class="el" <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00342">342</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> +Definition at line <a class="el" href="modules_8h-source.html#l00393">393</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> <a name="a0" doxytag="ModuleFactory::ModuleFactory"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> @@ -62,9 +62,9 @@ Definition at line <a class="el" href="modules_8h-source.html#l00342">342</a> of <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00345">345</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. +Definition at line <a class="el" href="modules_8h-source.html#l00396">396</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. <p> -<div class="fragment"><pre>00345 { } +<div class="fragment"><pre>00396 { } </pre></div> </td> </tr> </table> @@ -95,9 +95,9 @@ Definition at line <a class="el" href="modules_8h-source.html#l00345">345</a> of <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00346">346</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. +Definition at line <a class="el" href="modules_8h-source.html#l00397">397</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. <p> -<div class="fragment"><pre>00346 { } +<div class="fragment"><pre>00397 { } </pre></div> </td> </tr> </table> @@ -134,7 +134,7 @@ Your inherited class of ModuleFactory must return a pointer to your <a class="el </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="modules_8h-source.html">modules.h</a></ul> -<hr><address style="align: right;"><small>Generated on Sun Mar 30 19:36:16 2003 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:42 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classServer-members.html b/docs/module-doc/classServer-members.html index 66e47420d..afd500c66 100644 --- a/docs/module-doc/classServer-members.html +++ b/docs/module-doc/classServer-members.html @@ -7,29 +7,31 @@ <center> <a class="qindex" href="main.html">Main Page</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center> <hr><h1>Server Member List</h1>This is the complete list of members for <a class="el" href="classServer.html">Server</a>, including all inherited members.<table> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classServer.html#a20">AddCommand</a>(char *cmd, handlerfunc f, char flags, int minparams)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classServer.html#a19">AddExtendedMode</a>(char modechar, int type, bool default_on, int params_when_on, int params_when_off)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#m0">age</a></td><td><a class="el" href="classclassbase.html">classbase</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classServer.html#a15">ChanMode</a>(userrec *User, chanrec *Chan)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a0">classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classServer.html#a9">CommonChannels</a>(userrec *u1, userrec *u2)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> - <tr bgcolor="#f0f0f0"><td><a class="el" href="classServer.html#a14">FindChannel</a>(string channel)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> - <tr bgcolor="#f0f0f0"><td><a class="el" href="classServer.html#a13">FindNick</a>(string nick)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classServer.html#a14">FindChannel</a>(std::string channel)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classServer.html#a13">FindNick</a>(std::string nick)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classServer.html#a18">GetAdmin</a>()</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classServer.html#a17">GetNetworkName</a>()</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classServer.html#a16">GetServerName</a>()</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> - <tr bgcolor="#f0f0f0"><td><a class="el" href="classServer.html#a12">IsNick</a>(string nick)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> - <tr bgcolor="#f0f0f0"><td><a class="el" href="classServer.html#a3">Log</a>(int level, string s)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> - <tr bgcolor="#f0f0f0"><td><a class="el" href="classServer.html#a4">Send</a>(int Socket, string s)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> - <tr bgcolor="#f0f0f0"><td><a class="el" href="classServer.html#a8">SendChannel</a>(userrec *User, chanrec *Channel, string s, bool IncludeSender)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> - <tr bgcolor="#f0f0f0"><td><a class="el" href="classServer.html#a10">SendCommon</a>(userrec *User, string text, bool IncludeSender)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> - <tr bgcolor="#f0f0f0"><td><a class="el" href="classServer.html#a6">SendFrom</a>(int Socket, userrec *User, string s)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> - <tr bgcolor="#f0f0f0"><td><a class="el" href="classServer.html#a2">SendOpers</a>(string s)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> - <tr bgcolor="#f0f0f0"><td><a class="el" href="classServer.html#a5">SendServ</a>(int Socket, string s)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> - <tr bgcolor="#f0f0f0"><td><a class="el" href="classServer.html#a7">SendTo</a>(userrec *Source, userrec *Dest, string s)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> - <tr bgcolor="#f0f0f0"><td><a class="el" href="classServer.html#a11">SendWallops</a>(userrec *User, string text)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classServer.html#a12">IsNick</a>(std::string nick)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classServer.html#a3">Log</a>(int level, std::string s)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classServer.html#a4">Send</a>(int Socket, std::string s)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classServer.html#a8">SendChannel</a>(userrec *User, chanrec *Channel, std::string s, bool IncludeSender)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classServer.html#a10">SendCommon</a>(userrec *User, std::string text, bool IncludeSender)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classServer.html#a6">SendFrom</a>(int Socket, userrec *User, std::string s)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classServer.html#a2">SendOpers</a>(std::string s)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classServer.html#a5">SendServ</a>(int Socket, std::string s)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classServer.html#a7">SendTo</a>(userrec *Source, userrec *Dest, std::string s)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classServer.html#a11">SendWallops</a>(userrec *User, std::string text)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classServer.html#a0">Server</a>()</td><td><a class="el" href="classServer.html">Server</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classServer.html#a1">~Server</a>()</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> -</table><hr><address style="align: right;"><small>Generated on Sun Mar 30 19:36:22 2003 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:44 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classServer.html b/docs/module-doc/classServer.html index f9af699a5..c7b08f426 100644 --- a/docs/module-doc/classServer.html +++ b/docs/module-doc/classServer.html @@ -26,40 +26,44 @@ Inheritance diagram for Server:<p><center><img src="classServer__inherit__graph. <tr><td> </td><td><font size=-1><em>Default constructor.</em> <a href="#a0"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>virtual </td><td valign=bottom><a class="el" href="classServer.html#a1">~Server</a> ()</td></tr> <tr><td> </td><td><font size=-1><em>Default destructor.</em> <a href="#a1"></a><em></em></font><br><br></td></tr> -<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classServer.html#a2">SendOpers</a> (string s)</td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classServer.html#a2">SendOpers</a> (std::string s)</td></tr> <tr><td> </td><td><font size=-1><em>Sends text to all opers.</em> <a href="#a2"></a><em></em></font><br><br></td></tr> -<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classServer.html#a3">Log</a> (int level, string s)</td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classServer.html#a3">Log</a> (int level, std::string s)</td></tr> <tr><td> </td><td><font size=-1><em>Writes a log string.</em> <a href="#a3"></a><em></em></font><br><br></td></tr> -<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classServer.html#a4">Send</a> (int Socket, string s)</td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classServer.html#a4">Send</a> (int Socket, std::string s)</td></tr> <tr><td> </td><td><font size=-1><em>Sends a line of text down a TCP/IP socket.</em> <a href="#a4"></a><em></em></font><br><br></td></tr> -<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classServer.html#a5">SendServ</a> (int Socket, string s)</td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classServer.html#a5">SendServ</a> (int Socket, std::string s)</td></tr> <tr><td> </td><td><font size=-1><em>Sends text from the server to a socket.</em> <a href="#a5"></a><em></em></font><br><br></td></tr> -<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classServer.html#a6">SendFrom</a> (int Socket, <a class="el" href="classuserrec.html">userrec</a> *User, string s)</td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classServer.html#a6">SendFrom</a> (int Socket, <a class="el" href="classuserrec.html">userrec</a> *User, std::string s)</td></tr> <tr><td> </td><td><font size=-1><em>Sends text from a user to a socket.</em> <a href="#a6"></a><em></em></font><br><br></td></tr> -<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classServer.html#a7">SendTo</a> (<a class="el" href="classuserrec.html">userrec</a> *Source, <a class="el" href="classuserrec.html">userrec</a> *Dest, string s)</td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classServer.html#a7">SendTo</a> (<a class="el" href="classuserrec.html">userrec</a> *Source, <a class="el" href="classuserrec.html">userrec</a> *Dest, std::string s)</td></tr> <tr><td> </td><td><font size=-1><em>Sends text from a user to another user.</em> <a href="#a7"></a><em></em></font><br><br></td></tr> -<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classServer.html#a8">SendChannel</a> (<a class="el" href="classuserrec.html">userrec</a> *User, <a class="el" href="classchanrec.html">chanrec</a> *Channel, string s, bool IncludeSender)</td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classServer.html#a8">SendChannel</a> (<a class="el" href="classuserrec.html">userrec</a> *User, <a class="el" href="classchanrec.html">chanrec</a> *Channel, std::string s, bool IncludeSender)</td></tr> <tr><td> </td><td><font size=-1><em>Sends text from a user to a channel (mulicast).</em> <a href="#a8"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="classServer.html#a9">CommonChannels</a> (<a class="el" href="classuserrec.html">userrec</a> *u1, <a class="el" href="classuserrec.html">userrec</a> *u2)</td></tr> <tr><td> </td><td><font size=-1><em>Returns true if two users share a common channel.</em> <a href="#a9"></a><em></em></font><br><br></td></tr> -<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classServer.html#a10">SendCommon</a> (<a class="el" href="classuserrec.html">userrec</a> *User, string text, bool IncludeSender)</td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classServer.html#a10">SendCommon</a> (<a class="el" href="classuserrec.html">userrec</a> *User, std::string text, bool IncludeSender)</td></tr> <tr><td> </td><td><font size=-1><em>Sends text from a user to one or more channels (mulicast).</em> <a href="#a10"></a><em></em></font><br><br></td></tr> -<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classServer.html#a11">SendWallops</a> (<a class="el" href="classuserrec.html">userrec</a> *User, string text)</td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classServer.html#a11">SendWallops</a> (<a class="el" href="classuserrec.html">userrec</a> *User, std::string text)</td></tr> <tr><td> </td><td><font size=-1><em>Sends a WALLOPS message.</em> <a href="#a11"></a><em></em></font><br><br></td></tr> -<tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="classServer.html#a12">IsNick</a> (string nick)</td></tr> +<tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="classServer.html#a12">IsNick</a> (std::string nick)</td></tr> <tr><td> </td><td><font size=-1><em>Returns true if a nick is valid.</em> <a href="#a12"></a><em></em></font><br><br></td></tr> -<tr><td nowrap align=right valign=top>virtual <a class="el" href="classuserrec.html">userrec</a> * </td><td valign=bottom><a class="el" href="classServer.html#a13">FindNick</a> (string nick)</td></tr> +<tr><td nowrap align=right valign=top>virtual <a class="el" href="classuserrec.html">userrec</a> * </td><td valign=bottom><a class="el" href="classServer.html#a13">FindNick</a> (std::string nick)</td></tr> <tr><td> </td><td><font size=-1><em>Attempts to look up a nick and return a pointer to it.</em> <a href="#a13"></a><em></em></font><br><br></td></tr> -<tr><td nowrap align=right valign=top>virtual <a class="el" href="classchanrec.html">chanrec</a> * </td><td valign=bottom><a class="el" href="classServer.html#a14">FindChannel</a> (string channel)</td></tr> +<tr><td nowrap align=right valign=top>virtual <a class="el" href="classchanrec.html">chanrec</a> * </td><td valign=bottom><a class="el" href="classServer.html#a14">FindChannel</a> (std::string channel)</td></tr> <tr><td> </td><td><font size=-1><em>Attempts to look up a channel and return a pointer to it.</em> <a href="#a14"></a><em></em></font><br><br></td></tr> -<tr><td nowrap align=right valign=top>virtual string </td><td valign=bottom><a class="el" href="classServer.html#a15">ChanMode</a> (<a class="el" href="classuserrec.html">userrec</a> *User, <a class="el" href="classchanrec.html">chanrec</a> *Chan)</td></tr> +<tr><td nowrap align=right valign=top>virtual std::string </td><td valign=bottom><a class="el" href="classServer.html#a15">ChanMode</a> (<a class="el" href="classuserrec.html">userrec</a> *User, <a class="el" href="classchanrec.html">chanrec</a> *Chan)</td></tr> <tr><td> </td><td><font size=-1><em>Attempts to look up a user's privilages on a channel.</em> <a href="#a15"></a><em></em></font><br><br></td></tr> -<tr><td nowrap align=right valign=top>virtual string </td><td valign=bottom><a class="el" href="classServer.html#a16">GetServerName</a> ()</td></tr> +<tr><td nowrap align=right valign=top>virtual std::string </td><td valign=bottom><a class="el" href="classServer.html#a16">GetServerName</a> ()</td></tr> <tr><td> </td><td><font size=-1><em>Returns the server name of the server where the module is loaded.</em> <a href="#a16"></a><em></em></font><br><br></td></tr> -<tr><td nowrap align=right valign=top>virtual string </td><td valign=bottom><a class="el" href="classServer.html#a17">GetNetworkName</a> ()</td></tr> +<tr><td nowrap align=right valign=top>virtual std::string </td><td valign=bottom><a class="el" href="classServer.html#a17">GetNetworkName</a> ()</td></tr> <tr><td> </td><td><font size=-1><em>Returns the network name, global to all linked servers.</em> <a href="#a17"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>virtual <a class="el" href="classAdmin.html">Admin</a> </td><td valign=bottom><a class="el" href="classServer.html#a18">GetAdmin</a> ()</td></tr> <tr><td> </td><td><font size=-1><em>Returns the information of the server as returned by the /ADMIN command.</em> <a href="#a18"></a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="classServer.html#a19">AddExtendedMode</a> (char modechar, int type, bool default_on, int params_when_on, int params_when_off)</td></tr> +<tr><td> </td><td><font size=-1><em>Adds an extended mode letter which is parsed by a module This allows modules to add extra mode letters, e.g.</em> <a href="#a19"></a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classServer.html#a20">AddCommand</a> (char *cmd, <a class="el" href="ctables_8h.html#a0">handlerfunc</a> f, char flags, int minparams)</td></tr> +<tr><td> </td><td><font size=-1><em>Adds a command to the command table.</em> <a href="#a20"></a><em></em></font><br><br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Allows server output and query functions This class contains methods which allow a module to query the state of the irc server, and produce output to users and other servers. @@ -68,7 +72,7 @@ All modules should instantiate at least one copy of this class, and use its memb <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00147">147</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> +Definition at line <a class="el" href="modules_8h-source.html#l00163">163</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> <a name="a0" doxytag="Server::Server"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> @@ -98,10 +102,10 @@ Default constructor. <p> Creates a Server object. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00043">43</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00105">105</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00044 { -00045 } +<div class="fragment"><pre>00106 { +00107 } </pre></div> </td> </tr> </table> @@ -134,21 +138,148 @@ Default destructor. <p> Destroys a Server object. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00047">47</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00109">109</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00048 { -00049 } +<div class="fragment"><pre>00110 { +00111 } </pre></div> </td> </tr> </table> <hr><h2>Member Function Documentation</h2> +<a name="a20" doxytag="Server::AddCommand"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void Server::AddCommand </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char * </td> + <td class="mdname" nowrap> <em>cmd</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="ctables_8h.html#a0">handlerfunc</a> </td> + <td class="mdname" nowrap> <em>f</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char </td> + <td class="mdname" nowrap> <em>flags</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>minparams</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Adds a command to the command table. +<p> +This allows modules to add extra commands into the command table. You must place a function within your module which is is of type handlerfunc:<p> +typedef void (handlerfunc) (char**, int, userrec*); ... void handle_kill(char **parameters, int pcnt, userrec *user)<p> +When the command is typed, the parameters will be placed into the parameters array (similar to argv) and the parameter count will be placed into pcnt (similar to argv). There will never be any less parameters than the 'minparams' value you specified when creating the command. The *user parameter is the class of the user which caused the command to trigger, who will always have the flag you specified in 'flags' when creating the initial command. For example to create an oper only command create the commands with flags='o'. +<p> +Definition at line <a class="el" href="modules_8cpp-source.html#l00123">123</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="modules_8h.html#a12">createcommand()</a>. +<p> +<div class="fragment"><pre>00124 { +00125 <a class="code" href="modules_8h.html#a12">createcommand</a>(cmd,f,flags,minparams); +00126 } +</pre></div> </td> + </tr> +</table> +<a name="a19" doxytag="Server::AddExtendedMode"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool Server::AddExtendedMode </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char </td> + <td class="mdname" nowrap> <em>modechar</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>type</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>default_on</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>params_when_on</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>params_when_off</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Adds an extended mode letter which is parsed by a module This allows modules to add extra mode letters, e.g. +<p> ++x for hostcloak. the "type" parameter is either MT_CHANNEL, MT_CLIENT, or MT_SERVER, to indicate wether the mode is a channel mode, a client mode, or a server mode. default_on is true if the mode is to be applied to default connections. params_when_on is the number of modes to expect when the mode is turned on (for type MT_CHANNEL only), e.g. with mode +b, this would have a value of 1. the params_when_off value has a similar value to params_when_on, except it indicates the number of parameters to expect when the mode is disabled. Modes which act in a similar way to channel mode +l (e.g. require a parameter to enable, but not to disable) should use this parameter. The function returns false if the mode is unavailable, and will not attempt to allocate another character, as this will confuse users. This also means that as only one module can claim a specific mode character, the core does not need to keep track of which modules own which modes, which speeds up operation of the server. In this version, a mode can have at most one parameter, attempting to use more parameters will have undefined effects. +<p> +Definition at line <a class="el" href="modules_8cpp-source.html#l00220">220</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +<div class="fragment"><pre>00221 { +00222 } +</pre></div> </td> + </tr> +</table> <a name="a15" doxytag="Server::ChanMode"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> string Server::ChanMode </td> + <td class="md" nowrap valign="top"> std::string Server::ChanMode </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td> <td class="mdname" nowrap> <em>User</em>, </td> @@ -181,12 +312,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#l00130">130</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#l00198">198</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00131 { -00132 string mode = cmode(User,Chan); -00133 <span class="keywordflow">return</span> mode; -00134 } +<div class="fragment"><pre>00199 { +00200 <span class="keywordflow">return</span> cmode(User,Chan); +00201 } </pre></div> </td> </tr> </table> @@ -229,11 +359,11 @@ Returns true if two users share a common channel. <p> This method is used internally by the NICK and QUIT commands, and the <a class="el" href="classServer.html#a10">Server::SendCommon</a> method. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00093">93</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00161">161</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00094 { -00095 <span class="keywordflow">return</span> (common_channels(u1,u2) != 0); -00096 } +<div class="fragment"><pre>00162 { +00163 <span class="keywordflow">return</span> (common_channels(u1,u2) != 0); +00164 } </pre></div> </td> </tr> </table> @@ -245,7 +375,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00093">93</a> o <tr> <td class="md" nowrap valign="top"> <a class="el" href="classchanrec.html">chanrec</a> * Server::FindChannel </td> <td class="md" valign="top">( </td> - <td class="md" nowrap valign="top">string </td> + <td class="md" nowrap valign="top">std::string </td> <td class="mdname1" valign="top" nowrap> <em>channel</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [virtual]</code></td> @@ -267,11 +397,11 @@ Attempts to look up a channel and return a pointer to it. <p> This function will return NULL if the channel does not exist. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00125">125</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00193">193</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00126 { -00127 <span class="keywordflow">return</span> FindChan(channel.c_str()); -00128 } +<div class="fragment"><pre>00194 { +00195 <span class="keywordflow">return</span> FindChan(channel.c_str()); +00196 } </pre></div> </td> </tr> </table> @@ -283,7 +413,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00125">125</a> <tr> <td class="md" nowrap valign="top"> <a class="el" href="classuserrec.html">userrec</a> * Server::FindNick </td> <td class="md" valign="top">( </td> - <td class="md" nowrap valign="top">string </td> + <td class="md" nowrap valign="top">std::string </td> <td class="mdname1" valign="top" nowrap> <em>nick</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [virtual]</code></td> @@ -305,11 +435,11 @@ Attempts to look up a nick and return a pointer to it. <p> This function will return NULL if the nick does not exist. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00120">120</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00188">188</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00121 { -00122 <span class="keywordflow">return</span> Find(nick); -00123 } +<div class="fragment"><pre>00189 { +00190 <span class="keywordflow">return</span> Find(nick); +00191 } </pre></div> </td> </tr> </table> @@ -342,11 +472,11 @@ Returns the information of the server as returned by the /ADMIN command. <p> See the <a class="el" href="classAdmin.html">Admin</a> class for further information of the return value. The members <a class="el" href="classAdmin.html#m2">Admin::Nick</a>, <a class="el" href="classAdmin.html#m1">Admin::Email</a> and <a class="el" href="classAdmin.html#m0">Admin::Name</a> contain the information for the server where the module is loaded. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00146">146</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00213">213</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00147 { -00148 <span class="keywordflow">return</span> <a class="code" href="classAdmin.html">Admin</a>(getadminname(),getadminemail(),getadminnick()); -00149 } +<div class="fragment"><pre>00214 { +00215 <span class="keywordflow">return</span> <a class="code" href="classAdmin.html">Admin</a>(getadminname(),getadminemail(),getadminnick()); +00216 } </pre></div> </td> </tr> </table> @@ -356,7 +486,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00146">146</a> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> string Server::GetNetworkName </td> + <td class="md" nowrap valign="top"> std::string Server::GetNetworkName </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> @@ -379,11 +509,11 @@ Returns the network name, global to all linked servers. <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00141">141</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00208">208</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00142 { -00143 <span class="keywordflow">return</span> getnetworkname(); -00144 } +<div class="fragment"><pre>00209 { +00210 <span class="keywordflow">return</span> getnetworkname(); +00211 } </pre></div> </td> </tr> </table> @@ -393,7 +523,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00141">141</a> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> string Server::GetServerName </td> + <td class="md" nowrap valign="top"> std::string Server::GetServerName </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> @@ -416,11 +546,11 @@ Returns the server name of the server where the module is loaded. <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00136">136</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#l00203">203</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00137 { -00138 <span class="keywordflow">return</span> getservername(); -00139 } +<div class="fragment"><pre>00204 { +00205 <span class="keywordflow">return</span> getservername(); +00206 } </pre></div> </td> </tr> </table> @@ -432,7 +562,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00136">136</a> <tr> <td class="md" nowrap valign="top"> bool Server::IsNick </td> <td class="md" valign="top">( </td> - <td class="md" nowrap valign="top">string </td> + <td class="md" nowrap valign="top">std::string </td> <td class="mdname1" valign="top" nowrap> <em>nick</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [virtual]</code></td> @@ -454,11 +584,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#l00115">115</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00183">183</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00116 { -00117 <span class="keywordflow">return</span> (isnick(nick.c_str()) != 0); -00118 } +<div class="fragment"><pre>00184 { +00185 <span class="keywordflow">return</span> (isnick(nick.c_str()) != 0); +00186 } </pre></div> </td> </tr> </table> @@ -476,7 +606,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00115">115</a> <tr> <td></td> <td></td> - <td class="md" nowrap>string </td> + <td class="md" nowrap>std::string </td> <td class="mdname" nowrap> <em>s</em></td> </tr> <tr> @@ -501,11 +631,11 @@ Writes a log string. <p> This method writes a line of text to the log. If the level given is lower than the level given in the configuration, this command has no effect. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00056">56</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00118">118</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00057 { -00058 log(level,<span class="stringliteral">"%s"</span>,s.c_str()); -00059 } +<div class="fragment"><pre>00119 { +00120 log(level,<span class="stringliteral">"%s"</span>,s.c_str()); +00121 } </pre></div> </td> </tr> </table> @@ -523,7 +653,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00056">56</a> o <tr> <td></td> <td></td> - <td class="md" nowrap>string </td> + <td class="md" nowrap>std::string </td> <td class="mdname" nowrap> <em>s</em></td> </tr> <tr> @@ -548,11 +678,11 @@ Sends a line of text down a TCP/IP socket. <p> This method writes a line of text to an established socket, cutting it to 510 characters plus a carriage return and linefeed if required. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00061">61</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#l00129">129</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00062 { -00063 Write(Socket,<span class="stringliteral">"%s"</span>,s.c_str()); -00064 } +<div class="fragment"><pre>00130 { +00131 Write(Socket,<span class="stringliteral">"%s"</span>,s.c_str()); +00132 } </pre></div> </td> </tr> </table> @@ -576,7 +706,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00061">61</a> o <tr> <td></td> <td></td> - <td class="md" nowrap>string </td> + <td class="md" nowrap>std::string </td> <td class="mdname" nowrap> <em>s</em>, </td> </tr> <tr> @@ -607,18 +737,18 @@ Sends text from a user to a channel (mulicast). <p> This method writes a line of text to a channel, with the given user's nick/ident /host combination prepended, as used in PRIVMSG etc commands (see RFC 1459). If the IncludeSender flag is set, then the text is also sent back to the user from which it originated, as seen in MODE (see RFC 1459). <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00081">81</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. -<p> -<div class="fragment"><pre>00082 { -00083 <span class="keywordflow">if</span> (IncludeSender) -00084 { -00085 WriteChannel(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str()); -00086 } -00087 <span class="keywordflow">else</span> -00088 { -00089 ChanExceptSender(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str()); -00090 } -00091 } +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> +<div class="fragment"><pre>00150 { +00151 <span class="keywordflow">if</span> (IncludeSender) +00152 { +00153 WriteChannel(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str()); +00154 } +00155 <span class="keywordflow">else</span> +00156 { +00157 ChanExceptSender(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str()); +00158 } +00159 } </pre></div> </td> </tr> </table> @@ -636,7 +766,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00081">81</a> o <tr> <td></td> <td></td> - <td class="md" nowrap>string </td> + <td class="md" nowrap>std::string </td> <td class="mdname" nowrap> <em>text</em>, </td> </tr> <tr> @@ -667,18 +797,18 @@ Sends text from a user to one or more channels (mulicast). <p> This method writes a line of text to all users which share a common channel with a given user, with the user's nick/ident/host combination prepended, as used in PRIVMSG etc commands (see RFC 1459). If the IncludeSender flag is set, then the text is also sent back to the user from which it originated, as seen in NICK (see RFC 1459). Otherwise, it is only sent to the other recipients, as seen in QUIT. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00098">98</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. -<p> -<div class="fragment"><pre>00099 { -00100 <span class="keywordflow">if</span> (IncludeSender) -00101 { -00102 WriteCommon(User,<span class="stringliteral">"%s"</span>,text.c_str()); -00103 } -00104 <span class="keywordflow">else</span> -00105 { -00106 WriteCommonExcept(User,<span class="stringliteral">"%s"</span>,text.c_str()); -00107 } -00108 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00166">166</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +<div class="fragment"><pre>00167 { +00168 <span class="keywordflow">if</span> (IncludeSender) +00169 { +00170 WriteCommon(User,<span class="stringliteral">"%s"</span>,text.c_str()); +00171 } +00172 <span class="keywordflow">else</span> +00173 { +00174 WriteCommonExcept(User,<span class="stringliteral">"%s"</span>,text.c_str()); +00175 } +00176 } </pre></div> </td> </tr> </table> @@ -702,7 +832,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00098">98</a> o <tr> <td></td> <td></td> - <td class="md" nowrap>string </td> + <td class="md" nowrap>std::string </td> <td class="mdname" nowrap> <em>s</em></td> </tr> <tr> @@ -727,11 +857,11 @@ Sends text from a user to a socket. <p> This method writes a line of text to an established socket, with the given user's nick/ident /host combination prepended, as used in PRIVSG etc commands (see RFC 1459) <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00071">71</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00139">139</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00072 { -00073 WriteFrom(Socket,User,<span class="stringliteral">"%s"</span>,s.c_str()); -00074 } +<div class="fragment"><pre>00140 { +00141 WriteFrom(Socket,User,<span class="stringliteral">"%s"</span>,s.c_str()); +00142 } </pre></div> </td> </tr> </table> @@ -743,7 +873,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00071">71</a> o <tr> <td class="md" nowrap valign="top"> void Server::SendOpers </td> <td class="md" valign="top">( </td> - <td class="md" nowrap valign="top">string </td> + <td class="md" nowrap valign="top">std::string </td> <td class="mdname1" valign="top" nowrap> <em>s</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [virtual]</code></td> @@ -765,11 +895,11 @@ Sends text to all opers. <p> This method sends a server notice to all opers with the usermode +s. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00051">51</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00113">113</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00052 { -00053 WriteOpers(<span class="stringliteral">"%s"</span>,s.c_str()); -00054 } +<div class="fragment"><pre>00114 { +00115 WriteOpers(<span class="stringliteral">"%s"</span>,s.c_str()); +00116 } </pre></div> </td> </tr> </table> @@ -787,7 +917,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00051">51</a> o <tr> <td></td> <td></td> - <td class="md" nowrap>string </td> + <td class="md" nowrap>std::string </td> <td class="mdname" nowrap> <em>s</em></td> </tr> <tr> @@ -812,11 +942,11 @@ Sends text from the server to a socket. <p> This method writes a line of text to an established socket, with the servername prepended as used by numerics (see RFC 1459) <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00066">66</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00134">134</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00067 { -00068 WriteServ(Socket,<span class="stringliteral">"%s"</span>,s.c_str()); -00069 } +<div class="fragment"><pre>00135 { +00136 WriteServ(Socket,<span class="stringliteral">"%s"</span>,s.c_str()); +00137 } </pre></div> </td> </tr> </table> @@ -840,7 +970,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00066">66</a> o <tr> <td></td> <td></td> - <td class="md" nowrap>string </td> + <td class="md" nowrap>std::string </td> <td class="mdname" nowrap> <em>s</em></td> </tr> <tr> @@ -865,11 +995,11 @@ Sends text from a user to another user. <p> This method writes a line of text to a user, with a user's nick/ident /host combination prepended, as used in PRIVMSG etc commands (see RFC 1459) <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00076">76</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#l00144">144</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00077 { -00078 WriteTo(Source,Dest,<span class="stringliteral">"%s"</span>,s.c_str()); -00079 } +<div class="fragment"><pre>00145 { +00146 WriteTo(Source,Dest,<span class="stringliteral">"%s"</span>,s.c_str()); +00147 } </pre></div> </td> </tr> </table> @@ -887,7 +1017,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00076">76</a> o <tr> <td></td> <td></td> - <td class="md" nowrap>string </td> + <td class="md" nowrap>std::string </td> <td class="mdname" nowrap> <em>text</em></td> </tr> <tr> @@ -912,17 +1042,17 @@ Sends a WALLOPS message. <p> This method writes a WALLOPS message to all users with the +w flag, originating from the specified user. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00110">110</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00178">178</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00111 { -00112 WriteWallOps(User,<span class="stringliteral">"%s"</span>,text.c_str()); -00113 } +<div class="fragment"><pre>00179 { +00180 WriteWallOps(User,<span class="stringliteral">"%s"</span>,text.c_str()); +00181 } </pre></div> </td> </tr> </table> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="modules_8h-source.html">modules.h</a><li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul> -<hr><address style="align: right;"><small>Generated on Sun Mar 30 19:36:22 2003 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:43 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classVersion-members.html b/docs/module-doc/classVersion-members.html index 4334f28aa..4db33ae9a 100644 --- a/docs/module-doc/classVersion-members.html +++ b/docs/module-doc/classVersion-members.html @@ -15,7 +15,7 @@ <tr bgcolor="#f0f0f0"><td><a class="el" href="classVersion.html#m2">Revision</a></td><td><a class="el" href="classVersion.html">Version</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classVersion.html#a0">Version</a>(int major, int minor, int revision, int build)</td><td><a class="el" href="classVersion.html">Version</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr><address style="align: right;"><small>Generated on Sun Mar 30 19:36:38 2003 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:46 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classVersion.html b/docs/module-doc/classVersion.html index fa12546c7..a9a55493e 100644 --- a/docs/module-doc/classVersion.html +++ b/docs/module-doc/classVersion.html @@ -36,7 +36,7 @@ A class of type Version is returned by the GetVersion method of the <a class="el <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00040">40</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> +Definition at line <a class="el" href="modules_8h-source.html#l00047">47</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> <a name="a0" doxytag="Version::Version"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> @@ -86,9 +86,9 @@ Definition at line <a class="el" href="modules_8h-source.html#l00040">40</a> of <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00016">16</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#l00082">82</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00016 : <a class="code" href="classVersion.html#m0">Major</a>(major), <a class="code" href="classVersion.html#m1">Minor</a>(minor), <a class="code" href="classVersion.html#m2">Revision</a>(revision), <a class="code" href="classVersion.html#m3">Build</a>(build) { }; +<div class="fragment"><pre>00082 : <a class="code" href="classVersion.html#m0">Major</a>(major), <a class="code" href="classVersion.html#m1">Minor</a>(minor), <a class="code" href="classVersion.html#m2">Revision</a>(revision), <a class="code" href="classVersion.html#m3">Build</a>(build) { }; </pre></div> </td> </tr> </table> @@ -114,7 +114,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00016">16</a> o <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00043">43</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td> +Definition at line <a class="el" href="modules_8h-source.html#l00050">50</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td> </tr> </table> <a name="m0" doxytag="Version::Major"></a><p> @@ -138,7 +138,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00043">43</a> of <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00043">43</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td> +Definition at line <a class="el" href="modules_8h-source.html#l00050">50</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td> </tr> </table> <a name="m1" doxytag="Version::Minor"></a><p> @@ -162,7 +162,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00043">43</a> of <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00043">43</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td> +Definition at line <a class="el" href="modules_8h-source.html#l00050">50</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td> </tr> </table> <a name="m2" doxytag="Version::Revision"></a><p> @@ -186,12 +186,12 @@ Definition at line <a class="el" href="modules_8h-source.html#l00043">43</a> of <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00043">43</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td> +Definition at line <a class="el" href="modules_8h-source.html#l00050">50</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td> </tr> </table> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="modules_8h-source.html">modules.h</a><li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul> -<hr><address style="align: right;"><small>Generated on Sun Mar 30 19:36:38 2003 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:46 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classchanrec-members.html b/docs/module-doc/classchanrec-members.html index 4e934ca83..cab336e61 100644 --- a/docs/module-doc/classchanrec-members.html +++ b/docs/module-doc/classchanrec-members.html @@ -10,7 +10,7 @@ <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#m0">age</a></td><td><a class="el" href="classclassbase.html">classbase</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classchanrec.html#m14">bans</a></td><td><a class="el" href="classchanrec.html">chanrec</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classchanrec.html#m13">c_private</a></td><td><a class="el" href="classchanrec.html">chanrec</a></td><td></td></tr> - <tr bgcolor="#f0f0f0"><td><a class="el" href="classchanrec.html#a0">chanrec</a>()</td><td><a class="el" href="classchanrec.html">chanrec</a></td><td><code> [inline]</code></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classchanrec.html#a2">chanrec</a>()</td><td><a class="el" href="classchanrec.html">chanrec</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a0">classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classchanrec.html#m3">created</a></td><td><a class="el" href="classchanrec.html">chanrec</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classchanrec.html#m1">custom_modes</a></td><td><a class="el" href="classchanrec.html">chanrec</a></td><td></td></tr> @@ -22,12 +22,14 @@ <tr bgcolor="#f0f0f0"><td><a class="el" href="classchanrec.html#m9">noexternal</a></td><td><a class="el" href="classchanrec.html">chanrec</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classchanrec.html#m12">secret</a></td><td><a class="el" href="classchanrec.html">chanrec</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classchanrec.html#m5">setby</a></td><td><a class="el" href="classchanrec.html">chanrec</a></td><td></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classchanrec.html#a0">SetCustomMode</a>(char mode, bool mode_on)</td><td><a class="el" href="classchanrec.html">chanrec</a></td><td></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classchanrec.html#a1">SetCustomModeParam</a>(char mode, char *parameter, bool mode_on)</td><td><a class="el" href="classchanrec.html">chanrec</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classchanrec.html#m2">topic</a></td><td><a class="el" href="classchanrec.html">chanrec</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classchanrec.html#m8">topiclock</a></td><td><a class="el" href="classchanrec.html">chanrec</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classchanrec.html#m4">topicset</a></td><td><a class="el" href="classchanrec.html">chanrec</a></td><td></td></tr> - <tr bgcolor="#f0f0f0"><td><a class="el" href="classchanrec.html#a1">~chanrec</a>()</td><td><a class="el" href="classchanrec.html">chanrec</a></td><td><code> [inline, virtual]</code></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classchanrec.html#a3">~chanrec</a>()</td><td><a class="el" href="classchanrec.html">chanrec</a></td><td><code> [inline, virtual]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr><address style="align: right;"><small>Generated on Sun Mar 30 19:35:36 2003 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:35 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classchanrec.html b/docs/module-doc/classchanrec.html index a3e7664aa..725c7b075 100644 --- a/docs/module-doc/classchanrec.html +++ b/docs/module-doc/classchanrec.html @@ -22,9 +22,13 @@ Inheritance diagram for chanrec:<p><center><img src="classchanrec__inherit__grap <center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center><a href="classchanrec-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> <tr><td></td></tr> <tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> -<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classchanrec.html#a0">chanrec</a> ()</td></tr> -<tr><td> </td><td><font size=-1><em>Creates a channel record and initialises it with default values.</em> <a href="#a0"></a><em></em></font><br><br></td></tr> -<tr><td nowrap align=right valign=top>virtual </td><td valign=bottom><a class="el" href="classchanrec.html#a1">~chanrec</a> ()</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classchanrec.html#a0">SetCustomMode</a> (char mode, bool mode_on)</td></tr> +<tr><td> </td><td><font size=-1><em>Sets or unsets a custom mode in the channels info.</em> <a href="#a0"></a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classchanrec.html#a1">SetCustomModeParam</a> (char mode, char *parameter, bool mode_on)</td></tr> +<tr><td> </td><td><font size=-1><em>Sets or unsets the parameterrs for a custom mode in a channels info.</em> <a href="#a1"></a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classchanrec.html#a2">chanrec</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Creates a channel record and initialises it with default values.</em> <a href="#a2"></a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual </td><td valign=bottom><a class="el" href="classchanrec.html#a3">~chanrec</a> ()</td></tr> <tr><td colspan=2><br><h2>Public Attributes</h2></td></tr> <tr><td nowrap align=right valign=top>char </td><td valign=bottom><a class="el" href="classchanrec.html#m0">name</a> [CHANMAX]</td></tr> <tr><td> </td><td><font size=-1><em>The channels name.</em> <a href="#m0"></a><em></em></font><br><br></td></tr> @@ -65,7 +69,7 @@ This class represents a channel, and contains its name, modes, time created, top <p> Definition at line <a class="el" href="channels_8h-source.html#l00070">70</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> -<a name="a0" doxytag="chanrec::chanrec"></a><p> +<a name="a2" doxytag="chanrec::chanrec"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> @@ -75,7 +79,7 @@ Definition at line <a class="el" href="channels_8h-source.html#l00070">70</a> of <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> - <td class="md" nowrap><code> [inline]</code></td> + <td class="md" nowrap></td> </tr> </table> @@ -94,21 +98,23 @@ Creates a channel record and initialises it with default values. <p> <p> -Definition at line <a class="el" href="channels_8h-source.html#l00138">138</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. +Definition at line <a class="el" href="channels_8cpp-source.html#l00006">6</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. <p> -<div class="fragment"><pre>00139 { -00140 strcpy(name,<span class="stringliteral">""</span>); -00141 strcpy(custom_modes,<span class="stringliteral">""</span>); -00142 strcpy(topic,<span class="stringliteral">""</span>); -00143 strcpy(setby,<span class="stringliteral">""</span>); -00144 strcpy(key,<span class="stringliteral">""</span>); -00145 <a class="code" href="classchanrec.html#m3">created</a> = <a class="code" href="classchanrec.html#m4">topicset</a> = <a class="code" href="classchanrec.html#m6">limit</a> = 0; -00146 <a class="code" href="classchanrec.html#m8">topiclock</a> = <a class="code" href="classchanrec.html#m9">noexternal</a> = <a class="code" href="classchanrec.html#m10">inviteonly</a> = <a class="code" href="classchanrec.html#m11">moderated</a> = <a class="code" href="classchanrec.html#m12">secret</a> = <a class="code" href="classchanrec.html#m13">c_private</a> = <span class="keyword">false</span>; -00147 } +References <a class="el" href="channels_8h-source.html#l00130">c_private</a>, <a class="el" href="channels_8h-source.html#l00086">created</a>, <a class="el" href="channels_8h-source.html#l00116">inviteonly</a>, <a class="el" href="channels_8h-source.html#l00099">limit</a>, <a class="el" href="channels_8h-source.html#l00120">moderated</a>, <a class="el" href="channels_8h-source.html#l00112">noexternal</a>, <a class="el" href="channels_8h-source.html#l00125">secret</a>, <a class="el" href="channels_8h-source.html#l00108">topiclock</a>, and <a class="el" href="channels_8h-source.html#l00090">topicset</a>. +<p> +<div class="fragment"><pre>00007 { +00008 strcpy(name,<span class="stringliteral">""</span>); +00009 strcpy(custom_modes,<span class="stringliteral">""</span>); +00010 strcpy(topic,<span class="stringliteral">""</span>); +00011 strcpy(setby,<span class="stringliteral">""</span>); +00012 strcpy(key,<span class="stringliteral">""</span>); +00013 <a class="code" href="classchanrec.html#m3">created</a> = <a class="code" href="classchanrec.html#m4">topicset</a> = <a class="code" href="classchanrec.html#m6">limit</a> = 0; +00014 <a class="code" href="classchanrec.html#m8">topiclock</a> = <a class="code" href="classchanrec.html#m9">noexternal</a> = <a class="code" href="classchanrec.html#m10">inviteonly</a> = <a class="code" href="classchanrec.html#m11">moderated</a> = <a class="code" href="classchanrec.html#m12">secret</a> = <a class="code" href="classchanrec.html#m13">c_private</a> = <span class="keyword">false</span>; +00015 } </pre></div> </td> </tr> </table> -<a name="a1" doxytag="chanrec::~chanrec"></a><p> +<a name="a3" doxytag="chanrec::~chanrec"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> @@ -135,9 +141,108 @@ Definition at line <a class="el" href="channels_8h-source.html#l00138">138</a> o <p> <p> -Definition at line <a class="el" href="channels_8h-source.html#l00149">149</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. +Definition at line <a class="el" href="channels_8h-source.html#l00148">148</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. +<p> +<div class="fragment"><pre>00148 { <span class="comment">/* stub */</span> } +</pre></div> </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a name="a0" doxytag="chanrec::SetCustomMode"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void chanrec::SetCustomMode </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char </td> + <td class="mdname" nowrap> <em>mode</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>mode_on</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Sets or unsets a custom mode in the channels info. +<p> + +<p> +Definition at line <a class="el" href="channels_8cpp-source.html#l00017">17</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. +<p> +<div class="fragment"><pre>00018 { +00019 } +</pre></div> </td> + </tr> +</table> +<a name="a1" doxytag="chanrec::SetCustomModeParam"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void chanrec::SetCustomModeParam </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char </td> + <td class="mdname" nowrap> <em>mode</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>parameter</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>mode_on</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Sets or unsets the parameterrs for a custom mode in a channels info. +<p> + +<p> +Definition at line <a class="el" href="channels_8cpp-source.html#l00021">21</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. <p> -<div class="fragment"><pre>00149 { <span class="comment">/* stub */</span> } +<div class="fragment"><pre>00022 { +00023 } </pre></div> </td> </tr> </table> @@ -191,7 +296,9 @@ Nonzero if the mode +p is set. <p> This value cannot be set at the same time as <a class="el" href="classchanrec.html#m12">chanrec::secret</a> <p> -Definition at line <a class="el" href="channels_8h-source.html#l00130">130</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td> +Definition at line <a class="el" href="channels_8h-source.html#l00130">130</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#l00006">chanrec()</a>. </td> </tr> </table> <a name="m3" doxytag="chanrec::created"></a><p> @@ -217,7 +324,9 @@ Creation time. <p> <p> -Definition at line <a class="el" href="channels_8h-source.html#l00086">86</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td> +Definition at line <a class="el" href="channels_8h-source.html#l00086">86</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#l00006">chanrec()</a>. </td> </tr> </table> <a name="m1" doxytag="chanrec::custom_modes"></a><p> @@ -269,7 +378,9 @@ Nonzero if the mode +i is set. <p> <p> -Definition at line <a class="el" href="channels_8h-source.html#l00116">116</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td> +Definition at line <a class="el" href="channels_8h-source.html#l00116">116</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#l00006">chanrec()</a>. </td> </tr> </table> <a name="m7" doxytag="chanrec::key"></a><p> @@ -321,7 +432,9 @@ Contains the channel user limit. <p> If this value is zero, there is no limit in place. <p> -Definition at line <a class="el" href="channels_8h-source.html#l00099">99</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td> +Definition at line <a class="el" href="channels_8h-source.html#l00099">99</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#l00006">chanrec()</a>. </td> </tr> </table> <a name="m11" doxytag="chanrec::moderated"></a><p> @@ -347,7 +460,9 @@ Nonzero if the mode +m is set. <p> <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>. </td> +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#l00006">chanrec()</a>. </td> </tr> </table> <a name="m0" doxytag="chanrec::name"></a><p> @@ -399,7 +514,9 @@ Nonzero if the mode +n is set. <p> <p> -Definition at line <a class="el" href="channels_8h-source.html#l00112">112</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td> +Definition at line <a class="el" href="channels_8h-source.html#l00112">112</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#l00006">chanrec()</a>. </td> </tr> </table> <a name="m12" doxytag="chanrec::secret"></a><p> @@ -425,7 +542,9 @@ Nonzero if the mode +s is set. <p> This value cannot be set at the same time as <a class="el" href="classchanrec.html#m13">chanrec::c_private</a> <p> -Definition at line <a class="el" href="channels_8h-source.html#l00125">125</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td> +Definition at line <a class="el" href="channels_8h-source.html#l00125">125</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#l00006">chanrec()</a>. </td> </tr> </table> <a name="m5" doxytag="chanrec::setby"></a><p> @@ -503,7 +622,9 @@ Nonzero if the mode +t is set. <p> <p> -Definition at line <a class="el" href="channels_8h-source.html#l00108">108</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td> +Definition at line <a class="el" href="channels_8h-source.html#l00108">108</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#l00006">chanrec()</a>. </td> </tr> </table> <a name="m4" doxytag="chanrec::topicset"></a><p> @@ -529,12 +650,14 @@ Time topic was set. <p> If no topic was ever set, this will be equal to <a class="el" href="classchanrec.html#m3">chanrec::created</a> <p> -Definition at line <a class="el" href="channels_8h-source.html#l00090">90</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td> +Definition at line <a class="el" href="channels_8h-source.html#l00090">90</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#l00006">chanrec()</a>. </td> </tr> </table> -<hr>The documentation for this class was generated from the following file:<ul> -<li><a class="el" href="channels_8h-source.html">channels.h</a></ul> -<hr><address style="align: right;"><small>Generated on Sun Mar 30 19:35:36 2003 for InspIRCd by +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="channels_8h-source.html">channels.h</a><li><a class="el" href="channels_8cpp-source.html">channels.cpp</a></ul> +<hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:35 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classclassbase-members.html b/docs/module-doc/classclassbase-members.html index 5d8898857..f6ba49518 100644 --- a/docs/module-doc/classclassbase-members.html +++ b/docs/module-doc/classclassbase-members.html @@ -10,7 +10,7 @@ <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#m0">age</a></td><td><a class="el" href="classclassbase.html">classbase</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a0">classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr><address style="align: right;"><small>Generated on Sun Mar 30 19:35:40 2003 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:36 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classclassbase.html b/docs/module-doc/classclassbase.html index 6d9ba0697..af72fc1e4 100644 --- a/docs/module-doc/classclassbase.html +++ b/docs/module-doc/classclassbase.html @@ -143,7 +143,7 @@ Definition at line <a class="el" href="base_8h-source.html#l00020">20</a> of fil </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="base_8h-source.html">base.h</a></ul> -<hr><address style="align: right;"><small>Generated on Sun Mar 30 19:35:40 2003 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:36 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classcommand__t-members.html b/docs/module-doc/classcommand__t-members.html index dd991c9c3..8f6ff3c8c 100644 --- a/docs/module-doc/classcommand__t-members.html +++ b/docs/module-doc/classcommand__t-members.html @@ -16,7 +16,7 @@ <tr bgcolor="#f0f0f0"><td><a class="el" href="classcommand__t.html#m5">total_bytes</a></td><td><a class="el" href="classcommand__t.html">command_t</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classcommand__t.html#m4">use_count</a></td><td><a class="el" href="classcommand__t.html">command_t</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr><address style="align: right;"><small>Generated on Sun Mar 30 19:35:44 2003 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:36 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classcommand__t.html b/docs/module-doc/classcommand__t.html index e4a5c43d6..ffb1c94c9 100644 --- a/docs/module-doc/classcommand__t.html +++ b/docs/module-doc/classcommand__t.html @@ -199,7 +199,7 @@ Definition at line <a class="el" href="ctables_8h-source.html#l00044">44</a> of </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="ctables_8h-source.html">ctables.h</a></ul> -<hr><address style="align: right;"><small>Generated on Sun Mar 30 19:35:44 2003 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:36 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classconnection-members.html b/docs/module-doc/classconnection-members.html index f329cfb3c..de453e70f 100644 --- a/docs/module-doc/classconnection-members.html +++ b/docs/module-doc/classconnection-members.html @@ -22,20 +22,21 @@ <tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m2">host</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m14">idle_lastmsg</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m4">inbuf</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m16">internal_addr</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m3">ip</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m0">key</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m12">lastping</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m15">nping</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m10">port</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> - <tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#a5">RecvPacket</a>(char *message, char *host, int &prt)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#a5">RecvPacket</a>(char *message, char *host, int &prt, long &theirkey)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m11">registered</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#a7">SendACK</a>(char *host, int port, int reply_id)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> - <tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#a4">SendPacket</a>(char *message, char *host, int port)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#a4">SendPacket</a>(char *message, char *host, int port, long ourkey)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#a6">SendSYN</a>(char *host, int port)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m13">signon</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#a3">TerminateLink</a>(char *targethost)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr><address style="align: right;"><small>Generated on Sun Mar 30 19:35:54 2003 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:38 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classconnection.html b/docs/module-doc/classconnection.html index c4f33d09b..06110d80c 100644 --- a/docs/module-doc/classconnection.html +++ b/docs/module-doc/classconnection.html @@ -25,8 +25,8 @@ Inheritance diagram for connection:<p><center><img src="classconnection__inherit <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classconnection.html#a1">CreateListener</a> (char *<a class="el" href="classconnection.html#m2">host</a>, int p)</td></tr> <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classconnection.html#a2">BeginLink</a> (char *targethost, int <a class="el" href="classconnection.html#m10">port</a>, char *password)</td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classconnection.html#a3">TerminateLink</a> (char *targethost)</td></tr> -<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classconnection.html#a4">SendPacket</a> (char *message, char *<a class="el" href="classconnection.html#m2">host</a>, int <a class="el" href="classconnection.html#m10">port</a>)</td></tr> -<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classconnection.html#a5">RecvPacket</a> (char *message, char *<a class="el" href="classconnection.html#m2">host</a>, int &prt)</td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classconnection.html#a4">SendPacket</a> (char *message, char *<a class="el" href="classconnection.html#m2">host</a>, int <a class="el" href="classconnection.html#m10">port</a>, long ourkey)</td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classconnection.html#a5">RecvPacket</a> (char *message, char *<a class="el" href="classconnection.html#m2">host</a>, int &prt, long &theirkey)</td></tr> <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classconnection.html#a6">SendSYN</a> (char *<a class="el" href="classconnection.html#m2">host</a>, int <a class="el" href="classconnection.html#m10">port</a>)</td></tr> <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classconnection.html#a7">SendACK</a> (char *<a class="el" href="classconnection.html#m2">host</a>, int <a class="el" href="classconnection.html#m10">port</a>, int reply_id)</td></tr> <tr><td nowrap align=right valign=top>long </td><td valign=bottom><a class="el" href="classconnection.html#a8">GenKey</a> ()</td></tr> @@ -47,6 +47,7 @@ Inheritance diagram for connection:<p><center><img src="classconnection__inherit <tr><td nowrap align=right valign=top>time_t </td><td valign=bottom><a class="el" href="classconnection.html#m13">signon</a></td></tr> <tr><td nowrap align=right valign=top>time_t </td><td valign=bottom><a class="el" href="classconnection.html#m14">idle_lastmsg</a></td></tr> <tr><td nowrap align=right valign=top>time_t </td><td valign=bottom><a class="el" href="classconnection.html#m15">nping</a></td></tr> +<tr><td nowrap align=right valign=top>char </td><td valign=bottom><a class="el" href="classconnection.html#m16">internal_addr</a> [1024]</td></tr> </table> <hr><h2>Constructor & Destructor Documentation</h2> <a name="a0" doxytag="connection::connection"></a><p> @@ -209,7 +210,13 @@ Inheritance diagram for connection:<p><center><img src="classconnection__inherit <td></td> <td></td> <td class="md" nowrap>int & </td> - <td class="mdname" nowrap> <em>prt</em></td> + <td class="mdname" nowrap> <em>prt</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>long & </td> + <td class="mdname" nowrap> <em>theirkey</em></td> </tr> <tr> <td></td> @@ -297,7 +304,13 @@ Inheritance diagram for connection:<p><center><img src="classconnection__inherit <td></td> <td></td> <td class="md" nowrap>int </td> - <td class="mdname" nowrap> <em>port</em></td> + <td class="mdname" nowrap> <em>port</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>long </td> + <td class="mdname" nowrap> <em>ourkey</em></td> </tr> <tr> <td></td> @@ -409,7 +422,7 @@ Inheritance diagram for connection:<p><center><img src="classconnection__inherit <p> <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>. +Definition at line <a class="el" href="connection_8h-source.html#l00047">47</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. <p> Referenced by <a class="el" href="users_8cpp-source.html#l00011">userrec::userrec()</a>. </td> </tr> @@ -435,7 +448,7 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00011">userrec::userre <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00047">47</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. +Definition at line <a class="el" href="connection_8h-source.html#l00048">48</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. <p> Referenced by <a class="el" href="users_8cpp-source.html#l00011">userrec::userrec()</a>. </td> </tr> @@ -461,7 +474,7 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00011">userrec::userre <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00048">48</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. +Definition at line <a class="el" href="connection_8h-source.html#l00049">49</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. <p> Referenced by <a class="el" href="users_8cpp-source.html#l00011">userrec::userrec()</a>. </td> </tr> @@ -487,7 +500,7 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00011">userrec::userre <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00049">49</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. +Definition at line <a class="el" href="connection_8h-source.html#l00050">50</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. <p> Referenced by <a class="el" href="users_8cpp-source.html#l00011">userrec::userrec()</a>. </td> </tr> @@ -513,7 +526,7 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00011">userrec::userre <p> <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>. +Definition at line <a class="el" href="connection_8h-source.html#l00043">43</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. <p> Referenced by <a class="el" href="servers_8cpp-source.html#l00012">serverrec::serverrec()</a>, and <a class="el" href="users_8cpp-source.html#l00011">userrec::userrec()</a>. </td> </tr> @@ -539,7 +552,7 @@ Referenced by <a class="el" href="servers_8cpp-source.html#l00012">serverrec::se <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00050">50</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. +Definition at line <a class="el" href="connection_8h-source.html#l00051">51</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. <p> Referenced by <a class="el" href="users_8cpp-source.html#l00011">userrec::userrec()</a>. </td> </tr> @@ -565,7 +578,7 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00011">userrec::userre <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00043">43</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> +Definition at line <a class="el" href="connection_8h-source.html#l00044">44</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> </tr> </table> <a name="m14" doxytag="connection::idle_lastmsg"></a><p> @@ -589,7 +602,7 @@ Definition at line <a class="el" href="connection_8h-source.html#l00043">43</a> <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00055">55</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. +Definition at line <a class="el" href="connection_8h-source.html#l00056">56</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. <p> Referenced by <a class="el" href="users_8cpp-source.html#l00011">userrec::userrec()</a>. </td> </tr> @@ -615,7 +628,31 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00011">userrec::userre <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00045">45</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> +Definition at line <a class="el" href="connection_8h-source.html#l00046">46</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> + </tr> +</table> +<a name="m16" doxytag="connection::internal_addr"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> char connection::internal_addr[1024] + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="connection_8h-source.html#l00058">58</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> </tr> </table> <a name="m3" doxytag="connection::ip"></a><p> @@ -639,7 +676,7 @@ Definition at line <a class="el" href="connection_8h-source.html#l00045">45</a> <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00044">44</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. +Definition at line <a class="el" href="connection_8h-source.html#l00045">45</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. <p> Referenced by <a class="el" href="users_8cpp-source.html#l00011">userrec::userrec()</a>. </td> </tr> @@ -665,7 +702,7 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00011">userrec::userre <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00041">41</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> +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>. </td> </tr> </table> <a name="m12" doxytag="connection::lastping"></a><p> @@ -689,7 +726,7 @@ Definition at line <a class="el" href="connection_8h-source.html#l00041">41</a> <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00053">53</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. +Definition at line <a class="el" href="connection_8h-source.html#l00054">54</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. <p> Referenced by <a class="el" href="servers_8cpp-source.html#l00012">serverrec::serverrec()</a>, and <a class="el" href="users_8cpp-source.html#l00011">userrec::userrec()</a>. </td> </tr> @@ -715,7 +752,7 @@ Referenced by <a class="el" href="servers_8cpp-source.html#l00012">serverrec::se <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00056">56</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. +Definition at line <a class="el" href="connection_8h-source.html#l00057">57</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. <p> Referenced by <a class="el" href="users_8cpp-source.html#l00011">userrec::userrec()</a>. </td> </tr> @@ -741,7 +778,7 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00011">userrec::userre <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00051">51</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. +Definition at line <a class="el" href="connection_8h-source.html#l00052">52</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. <p> Referenced by <a class="el" href="users_8cpp-source.html#l00011">userrec::userrec()</a>. </td> </tr> @@ -767,7 +804,7 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00011">userrec::userre <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00052">52</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. +Definition at line <a class="el" href="connection_8h-source.html#l00053">53</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. <p> Referenced by <a class="el" href="users_8cpp-source.html#l00011">userrec::userrec()</a>. </td> </tr> @@ -793,14 +830,14 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00011">userrec::userre <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00054">54</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. +Definition at line <a class="el" href="connection_8h-source.html#l00055">55</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. <p> Referenced by <a class="el" href="servers_8cpp-source.html#l00012">serverrec::serverrec()</a>, and <a class="el" href="users_8cpp-source.html#l00011">userrec::userrec()</a>. </td> </tr> </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="connection_8h-source.html">connection.h</a></ul> -<hr><address style="align: right;"><small>Generated on Sun Mar 30 19:35:54 2003 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:38 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classconnection__coll__graph.gif b/docs/module-doc/classconnection__coll__graph.gif Binary files differindex e20ed5119..c3e247008 100644 --- a/docs/module-doc/classconnection__coll__graph.gif +++ b/docs/module-doc/classconnection__coll__graph.gif diff --git a/docs/module-doc/classes.html b/docs/module-doc/classes.html index a430077e3..3f0856447 100644 --- a/docs/module-doc/classes.html +++ b/docs/module-doc/classes.html @@ -8,18 +8,18 @@ <a class="qindex" href="main.html">Main Page</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center> <hr><h1>InspIRCd Compound Index</h1><table align=center width="95%" border="0" cellspacing="0" cellpadding="0"> <tr><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> A </div></td></tr></table> -</td><td><a class="el" href="classcommand__t.html">command_t</a> </td><td><a class="el" href="classFileReader.html">FileReader</a> </td><td><a class="el" href="classModule.html">Module</a> </td><td><a class="el" href="classserverrec.html">serverrec</a> </td></tr><tr><td><a class="el" href="classAdmin.html">Admin</a> </td><td><a class="el" href="classConfigReader.html">ConfigReader</a> </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> H </div></td></tr></table> -</td><td><a class="el" href="classModuleFactory.html">ModuleFactory</a> </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> U </div></td></tr></table> +</td><td><a class="el" href="classcommand__t.html">command_t</a> </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> F </div></td></tr></table> +</td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> M </div></td></tr></table> +</td><td><a class="el" href="classserverrec.html">serverrec</a> </td></tr><tr><td><a class="el" href="classAdmin.html">Admin</a> </td><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="classModule.html">Module</a> </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> U </div></td></tr></table> </td></tr><tr><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> B </div></td></tr></table> -</td><td><a class="el" href="classConnectClass.html">ConnectClass</a> </td><td><a class="el" href="classHostItem.html">HostItem</a> </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> P </div></td></tr></table> -</td><td><a class="el" href="classucrec.html">ucrec</a> </td></tr><tr><td><a class="el" href="classBanItem.html">BanItem</a> </td><td><a class="el" href="classconnection.html">connection</a> </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> I </div></td></tr></table> -</td><td><a class="el" href="classpacket.html">packet</a> </td><td><a class="el" href="classuserrec.html">userrec</a> </td></tr><tr><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> C </div></td></tr></table> +</td><td><a class="el" href="classConnectClass.html">ConnectClass</a> </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> H </div></td></tr></table> +</td><td><a class="el" href="classModuleFactory.html">ModuleFactory</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 class="el" href="classconnection.html">connection</a> </td><td><a class="el" href="classHostItem.html">HostItem</a> </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> P </div></td></tr></table> +</td><td><a class="el" href="classuserrec.html">userrec</a> </td></tr><tr><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> C </div></td></tr></table> </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> E </div></td></tr></table> -</td><td><a class="el" href="classInvited.html">Invited</a> </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> S </div></td></tr></table> -</td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> V </div></td></tr></table> -</td></tr><tr><td><a class="el" href="classchanrec.html">chanrec</a> </td><td><a class="el" href="classExemptItem.html">ExemptItem</a> </td><td><a class="el" href="classInviteItem.html">InviteItem</a> </td><td><a class="el" href="classServer.html">Server</a> </td><td><a class="el" href="classVersion.html">Version</a> </td></tr><tr><td><a class="el" href="classclassbase.html">classbase</a> </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> F </div></td></tr></table> -</td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> M </div></td></tr></table> -</td></tr></table><hr><address style="align: right;"><small>Generated on Sun Mar 30 19:35:25 2003 for InspIRCd by +</td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> I </div></td></tr></table> +</td><td><a class="el" href="classpacket.html">packet</a> </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> V </div></td></tr></table> +</td></tr><tr><td><a class="el" href="classchanrec.html">chanrec</a> </td><td><a class="el" href="classExemptItem.html">ExemptItem</a> </td><td><a class="el" href="classInvited.html">Invited</a> </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> S </div></td></tr></table> +</td><td><a class="el" href="classVersion.html">Version</a> </td></tr><tr><td><a class="el" href="classclassbase.html">classbase</a> </td><td><a class="el" href="classExtMode.html">ExtMode</a> </td><td><a class="el" href="classInviteItem.html">InviteItem</a> </td><td><a class="el" href="classServer.html">Server</a> </td></tr></table><hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:33 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classpacket-members.html b/docs/module-doc/classpacket-members.html index a87c17778..bb95ba019 100644 --- a/docs/module-doc/classpacket-members.html +++ b/docs/module-doc/classpacket-members.html @@ -16,7 +16,7 @@ <tr bgcolor="#f0f0f0"><td><a class="el" href="classpacket.html#m2">type</a></td><td><a class="el" href="classpacket.html">packet</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classpacket.html#a1">~packet</a>()</td><td><a class="el" href="classpacket.html">packet</a></td><td></td></tr> -</table><hr><address style="align: right;"><small>Generated on Sun Mar 30 19:36:19 2003 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:43 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classpacket.html b/docs/module-doc/classpacket.html index 7c06a33e4..56f2b7c42 100644 --- a/docs/module-doc/classpacket.html +++ b/docs/module-doc/classpacket.html @@ -106,7 +106,7 @@ Inheritance diagram for packet:<p><center><img src="classpacket__inherit__graph. <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00031">31</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> +Definition at line <a class="el" href="connection_8h-source.html#l00032">32</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> </tr> </table> <a name="m1" doxytag="packet::id"></a><p> @@ -130,7 +130,7 @@ Definition at line <a class="el" href="connection_8h-source.html#l00031">31</a> <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00029">29</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> +Definition at line <a class="el" href="connection_8h-source.html#l00030">30</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> </tr> </table> <a name="m0" doxytag="packet::key"></a><p> @@ -154,7 +154,7 @@ Definition at line <a class="el" href="connection_8h-source.html#l00029">29</a> <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00028">28</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> +Definition at line <a class="el" href="connection_8h-source.html#l00029">29</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> </tr> </table> <a name="m2" doxytag="packet::type"></a><p> @@ -178,12 +178,12 @@ Definition at line <a class="el" href="connection_8h-source.html#l00028">28</a> <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00030">30</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> +Definition at line <a class="el" href="connection_8h-source.html#l00031">31</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> </tr> </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="connection_8h-source.html">connection.h</a></ul> -<hr><address style="align: right;"><small>Generated on Sun Mar 30 19:36:19 2003 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:43 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classserverrec-members.html b/docs/module-doc/classserverrec-members.html index f3a9e9974..7000e4964 100644 --- a/docs/module-doc/classserverrec-members.html +++ b/docs/module-doc/classserverrec-members.html @@ -23,6 +23,7 @@ <tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m2">host</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m14">idle_lastmsg</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m4">inbuf</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m16">internal_addr</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m3">ip</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classserverrec.html#m7">jupiter</a></td><td><a class="el" href="classserverrec.html">serverrec</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m0">key</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> @@ -32,10 +33,10 @@ <tr bgcolor="#f0f0f0"><td><a class="el" href="classserverrec.html#m4">opercount</a></td><td><a class="el" href="classserverrec.html">serverrec</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classserverrec.html#m1">pingtime</a></td><td><a class="el" href="classserverrec.html">serverrec</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m10">port</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> - <tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#a5">RecvPacket</a>(char *message, char *host, int &prt)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#a5">RecvPacket</a>(char *message, char *host, int &prt, long &theirkey)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m11">registered</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#a7">SendACK</a>(char *host, int port, int reply_id)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> - <tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#a4">SendPacket</a>(char *message, char *host, int port)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#a4">SendPacket</a>(char *message, char *host, int port, long ourkey)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#a6">SendSYN</a>(char *host, int port)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classserverrec.html#a0">serverrec</a>()</td><td><a class="el" href="classserverrec.html">serverrec</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classserverrec.html#a1">serverrec</a>(char *n, long ver, bool jupe)</td><td><a class="el" href="classserverrec.html">serverrec</a></td><td></td></tr> @@ -46,7 +47,7 @@ <tr bgcolor="#f0f0f0"><td><a class="el" href="classserverrec.html#m6">version</a></td><td><a class="el" href="classserverrec.html">serverrec</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classserverrec.html#a2">~serverrec</a>()</td><td><a class="el" href="classserverrec.html">serverrec</a></td><td></td></tr> -</table><hr><address style="align: right;"><small>Generated on Sun Mar 30 19:36:27 2003 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:44 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classserverrec.html b/docs/module-doc/classserverrec.html index 57305431d..5e3687f8e 100644 --- a/docs/module-doc/classserverrec.html +++ b/docs/module-doc/classserverrec.html @@ -18,7 +18,7 @@ Inheritance diagram for serverrec:<p><center><img src="classserverrec__inherit__ </map> <center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for serverrec:<p><center><img src="classserverrec__coll__graph.gif" border="0" usemap="#serverrec__coll__map" alt="Collaboration graph"></center> <map name="serverrec__coll__map"> -<area href="classconnection.html" shape="rect" coords="181,288,251,310" alt=""> +<area href="classconnection.html" shape="rect" coords="197,304,267,326" alt=""> </map> <center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center><a href="classserverrec-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> <tr><td></td></tr> @@ -84,7 +84,7 @@ Constructor. <p> Definition at line <a class="el" href="servers_8cpp-source.html#l00012">12</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>. <p> -References <a class="el" href="connection_8h-source.html#l00042">connection::fd</a>, <a class="el" href="servers_8h-source.html#l00040">hops_away</a>, <a class="el" href="servers_8h-source.html#l00046">jupiter</a>, <a class="el" href="connection_8h-source.html#l00053">connection::lastping</a>, <a class="el" href="servers_8h-source.html#l00037">opercount</a>, <a class="el" href="servers_8h-source.html#l00028">pingtime</a>, <a class="el" href="connection_8h-source.html#l00054">connection::signon</a>, <a class="el" href="servers_8h-source.html#l00034">usercount</a>, <a class="el" href="servers_8h-source.html#l00031">usercount_i</a>, and <a class="el" href="servers_8h-source.html#l00043">version</a>. +References <a class="el" href="connection_8h-source.html#l00043">connection::fd</a>, <a class="el" href="servers_8h-source.html#l00040">hops_away</a>, <a class="el" href="servers_8h-source.html#l00046">jupiter</a>, <a class="el" href="connection_8h-source.html#l00054">connection::lastping</a>, <a class="el" href="servers_8h-source.html#l00037">opercount</a>, <a class="el" href="servers_8h-source.html#l00028">pingtime</a>, <a class="el" href="connection_8h-source.html#l00055">connection::signon</a>, <a class="el" href="servers_8h-source.html#l00034">usercount</a>, <a class="el" href="servers_8h-source.html#l00031">usercount_i</a>, and <a class="el" href="servers_8h-source.html#l00043">version</a>. <p> <div class="fragment"><pre>00013 { 00014 strcpy(name,<span class="stringliteral">""</span>); @@ -146,7 +146,7 @@ Constructor which initialises some of the main variables. <p> Definition at line <a class="el" href="servers_8cpp-source.html#l00029">29</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>. <p> -References <a class="el" href="connection_8h-source.html#l00042">connection::fd</a>, <a class="el" href="servers_8h-source.html#l00040">hops_away</a>, <a class="el" href="servers_8h-source.html#l00046">jupiter</a>, <a class="el" href="connection_8h-source.html#l00053">connection::lastping</a>, <a class="el" href="servers_8h-source.html#l00037">opercount</a>, <a class="el" href="connection_8h-source.html#l00054">connection::signon</a>, <a class="el" href="servers_8h-source.html#l00034">usercount</a>, <a class="el" href="servers_8h-source.html#l00031">usercount_i</a>, and <a class="el" href="servers_8h-source.html#l00043">version</a>. +References <a class="el" href="connection_8h-source.html#l00043">connection::fd</a>, <a class="el" href="servers_8h-source.html#l00040">hops_away</a>, <a class="el" href="servers_8h-source.html#l00046">jupiter</a>, <a class="el" href="connection_8h-source.html#l00054">connection::lastping</a>, <a class="el" href="servers_8h-source.html#l00037">opercount</a>, <a class="el" href="connection_8h-source.html#l00055">connection::signon</a>, <a class="el" href="servers_8h-source.html#l00034">usercount</a>, <a class="el" href="servers_8h-source.html#l00031">usercount_i</a>, and <a class="el" href="servers_8h-source.html#l00043">version</a>. <p> <div class="fragment"><pre>00030 { 00031 strcpy(name,n); @@ -422,7 +422,7 @@ Referenced by <a class="el" href="servers_8cpp-source.html#l00012">serverrec()</ </table> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="servers_8h-source.html">servers.h</a><li><a class="el" href="servers_8cpp-source.html">servers.cpp</a></ul> -<hr><address style="align: right;"><small>Generated on Sun Mar 30 19:36:27 2003 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:44 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classserverrec__coll__graph.gif b/docs/module-doc/classserverrec__coll__graph.gif Binary files differindex 1617481d2..e00af729c 100644 --- a/docs/module-doc/classserverrec__coll__graph.gif +++ b/docs/module-doc/classserverrec__coll__graph.gif diff --git a/docs/module-doc/classucrec-members.html b/docs/module-doc/classucrec-members.html index d29848ed0..7275119b2 100644 --- a/docs/module-doc/classucrec-members.html +++ b/docs/module-doc/classucrec-members.html @@ -14,7 +14,7 @@ <tr bgcolor="#f0f0f0"><td><a class="el" href="classucrec.html#a0">ucrec</a>()</td><td><a class="el" href="classucrec.html">ucrec</a></td><td><code> [inline]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classucrec.html#a1">~ucrec</a>()</td><td><a class="el" href="classucrec.html">ucrec</a></td><td><code> [inline, virtual]</code></td></tr> -</table><hr><address style="align: right;"><small>Generated on Sun Mar 30 19:36:30 2003 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:45 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classucrec.html b/docs/module-doc/classucrec.html index 04b1aede5..15f7910f3 100644 --- a/docs/module-doc/classucrec.html +++ b/docs/module-doc/classucrec.html @@ -38,7 +38,7 @@ The uc_modes member holds a bitmask of which privilages the user has on the chan <p> <p> -Definition at line <a class="el" href="channels_8h-source.html#l00166">166</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> +Definition at line <a class="el" href="channels_8h-source.html#l00165">165</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> <a name="a0" doxytag="ucrec::ucrec"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> @@ -66,9 +66,9 @@ Definition at line <a class="el" href="channels_8h-source.html#l00166">166</a> o <p> <p> -Definition at line <a class="el" href="channels_8h-source.html#l00179">179</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. +Definition at line <a class="el" href="channels_8h-source.html#l00178">178</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. <p> -<div class="fragment"><pre>00179 { <span class="comment">/* stub */</span> } +<div class="fragment"><pre>00178 { <span class="comment">/* stub */</span> } </pre></div> </td> </tr> </table> @@ -99,9 +99,9 @@ Definition at line <a class="el" href="channels_8h-source.html#l00179">179</a> o <p> <p> -Definition at line <a class="el" href="channels_8h-source.html#l00180">180</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. +Definition at line <a class="el" href="channels_8h-source.html#l00179">179</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. <p> -<div class="fragment"><pre>00180 { <span class="comment">/* stub */</span> } +<div class="fragment"><pre>00179 { <span class="comment">/* stub */</span> } </pre></div> </td> </tr> </table> @@ -129,7 +129,7 @@ Points to the channel record where the given modes apply. <p> If the record is not in use, this value will be NULL. <p> -Definition at line <a class="el" href="channels_8h-source.html#l00177">177</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. +Definition at line <a class="el" href="channels_8h-source.html#l00176">176</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. <p> Referenced by <a class="el" href="users_8cpp-source.html#l00011">userrec::userrec()</a>. </td> </tr> @@ -157,12 +157,12 @@ Contains a bitmask of the UCMODE_OP ... <p> UCMODE_FOUNDER values. If this value is zero, the user has no privilages upon the channel. <p> -Definition at line <a class="el" href="channels_8h-source.html#l00172">172</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td> +Definition at line <a class="el" href="channels_8h-source.html#l00171">171</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td> </tr> </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="channels_8h-source.html">channels.h</a></ul> -<hr><address style="align: right;"><small>Generated on Sun Mar 30 19:36:30 2003 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:45 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classuserrec-members.html b/docs/module-doc/classuserrec-members.html index 2624c519e..24f9b9811 100644 --- a/docs/module-doc/classuserrec-members.html +++ b/docs/module-doc/classuserrec-members.html @@ -29,6 +29,7 @@ <tr bgcolor="#f0f0f0"><td><a class="el" href="classuserrec.html#m1">ident</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m14">idle_lastmsg</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m4">inbuf</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m16">internal_addr</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classuserrec.html#o0">invites</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td><code> [private]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classuserrec.html#a5">InviteTo</a>(char *channel)</td><td><a class="el" href="classuserrec.html">userrec</a></td><td><code> [virtual]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m3">ip</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> @@ -39,12 +40,12 @@ <tr bgcolor="#f0f0f0"><td><a class="el" href="classuserrec.html#m0">nick</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m15">nping</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m10">port</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> - <tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#a5">RecvPacket</a>(char *message, char *host, int &prt)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#a5">RecvPacket</a>(char *message, char *host, int &prt, long &theirkey)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m11">registered</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classuserrec.html#a6">RemoveInvite</a>(char *channel)</td><td><a class="el" href="classuserrec.html">userrec</a></td><td><code> [virtual]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classuserrec.html#m8">result</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#a7">SendACK</a>(char *host, int port, int reply_id)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> - <tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#a4">SendPacket</a>(char *message, char *host, int port)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> + <tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#a4">SendPacket</a>(char *message, char *host, int port, long ourkey)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#a6">SendSYN</a>(char *host, int port)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classuserrec.html#m6">server</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m13">signon</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> @@ -52,7 +53,7 @@ <tr bgcolor="#f0f0f0"><td><a class="el" href="classuserrec.html#a0">userrec</a>()</td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr bgcolor="#f0f0f0"><td><a class="el" href="classuserrec.html#a1">~userrec</a>()</td><td><a class="el" href="classuserrec.html">userrec</a></td><td><code> [inline, virtual]</code></td></tr> -</table><hr><address style="align: right;"><small>Generated on Sun Mar 30 19:36:35 2003 for InspIRCd by +</table><hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:46 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classuserrec.html b/docs/module-doc/classuserrec.html index e9c680250..371c15e9f 100644 --- a/docs/module-doc/classuserrec.html +++ b/docs/module-doc/classuserrec.html @@ -18,8 +18,8 @@ Inheritance diagram for userrec:<p><center><img src="classuserrec__inherit__grap </map> <center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for userrec:<p><center><img src="classuserrec__coll__graph.gif" border="0" usemap="#userrec__coll__map" alt="Collaboration graph"></center> <map name="userrec__coll__map"> -<area href="classconnection.html" shape="rect" coords="124,179,193,200" alt=""> -<area href="classucrec.html" shape="rect" coords="312,179,357,200" alt=""> +<area href="classconnection.html" shape="rect" coords="128,195,197,216" alt=""> +<area href="classucrec.html" shape="rect" coords="316,195,361,216" alt=""> </map> <center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center><a href="classuserrec-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> <tr><td></td></tr> @@ -95,7 +95,7 @@ Definition at line <a class="el" href="users_8h-source.html#l00058">58</a> of fi <p> Definition at line <a class="el" href="users_8cpp-source.html#l00011">11</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. <p> -References <a class="el" href="connection_8h-source.html#l00046">connection::bytes_in</a>, <a class="el" href="connection_8h-source.html#l00047">connection::bytes_out</a>, <a class="el" href="channels_8h-source.html#l00177">ucrec::channel</a>, <a class="el" href="users_8h-source.html#l00092">chans</a>, <a class="el" href="connection_8h-source.html#l00048">connection::cmds_in</a>, <a class="el" href="connection_8h-source.html#l00049">connection::cmds_out</a>, <a class="el" href="connection_8h-source.html#l00042">connection::fd</a>, <a class="el" href="connection_8h-source.html#l00050">connection::haspassed</a>, <a class="el" href="connection_8h-source.html#l00055">connection::idle_lastmsg</a>, <a class="el" href="users_8h-source.html#l00064">invites</a>, <a class="el" href="connection_8h-source.html#l00044">connection::ip</a>, <a class="el" href="connection_8h-source.html#l00053">connection::lastping</a>, <a class="el" href="connection_8h-source.html#l00056">connection::nping</a>, <a class="el" href="connection_8h-source.html#l00051">connection::port</a>, <a class="el" href="connection_8h-source.html#l00052">connection::registered</a>, and <a class="el" href="connection_8h-source.html#l00054">connection::signon</a>. +References <a class="el" href="connection_8h-source.html#l00047">connection::bytes_in</a>, <a class="el" href="connection_8h-source.html#l00048">connection::bytes_out</a>, <a class="el" href="channels_8h-source.html#l00176">ucrec::channel</a>, <a class="el" href="users_8h-source.html#l00092">chans</a>, <a class="el" href="connection_8h-source.html#l00049">connection::cmds_in</a>, <a class="el" href="connection_8h-source.html#l00050">connection::cmds_out</a>, <a class="el" href="connection_8h-source.html#l00043">connection::fd</a>, <a class="el" href="connection_8h-source.html#l00051">connection::haspassed</a>, <a class="el" href="connection_8h-source.html#l00056">connection::idle_lastmsg</a>, <a class="el" href="users_8h-source.html#l00064">invites</a>, <a class="el" href="connection_8h-source.html#l00045">connection::ip</a>, <a class="el" href="connection_8h-source.html#l00054">connection::lastping</a>, <a class="el" href="connection_8h-source.html#l00057">connection::nping</a>, <a class="el" href="connection_8h-source.html#l00052">connection::port</a>, <a class="el" href="connection_8h-source.html#l00053">connection::registered</a>, and <a class="el" href="connection_8h-source.html#l00055">connection::signon</a>. <p> <div class="fragment"><pre>00012 { 00013 <span class="comment">// the PROPER way to do it, AVOID bzero at *ALL* costs</span> @@ -266,15 +266,15 @@ Adds a channel to a users invite list (invites them to a channel). <p> <p> -Definition at line <a class="el" href="users_8cpp-source.html#l00060">60</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. +Definition at line <a class="el" href="users_8cpp-source.html#l00063">63</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. <p> References <a class="el" href="users_8h-source.html#l00028">Invited::channel</a>, and <a class="el" href="users_8h-source.html#l00064">invites</a>. <p> -<div class="fragment"><pre>00061 { -00062 <a class="code" href="classInvited.html">Invited</a> i; -00063 strcpy(i.<a class="code" href="classInvited.html#m0">channel</a>,channel); -00064 <a class="code" href="classuserrec.html#o0">invites</a>.push_back(i); -00065 } +<div class="fragment"><pre>00064 { +00065 <a class="code" href="classInvited.html">Invited</a> i; +00066 strcpy(i.<a class="code" href="classInvited.html#m0">channel</a>,channel); +00067 <a class="code" href="classuserrec.html#o0">invites</a>.push_back(i); +00068 } </pre></div> </td> </tr> </table> @@ -315,12 +315,15 @@ References <a class="el" href="users_8h-source.html#l00064">invites</a>. <div class="fragment"><pre>00050 { 00051 <span class="keywordflow">for</span> (InvitedList::iterator i = <a class="code" href="classuserrec.html#o0">invites</a>.begin(); i != <a class="code" href="classuserrec.html#o0">invites</a>.end(); i++) 00052 { -00053 <span class="keywordflow">if</span> (!strcasecmp(i->channel,channel)) -00054 { -00055 <span class="keywordflow">return</span> <span class="keyword">true</span>; -00056 } -00057 } -00058 } +00053 <span class="keywordflow">if</span> (i->channel) { +00054 <span class="keywordflow">if</span> (!strcasecmp(i->channel,channel)) +00055 { +00056 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00057 } +00058 } +00059 } +00060 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00061 } </pre></div> </td> </tr> </table> @@ -354,20 +357,22 @@ Removes a channel from a users invite list. <p> This member function is called on successfully joining an invite only channel to which the user has previously been invited, to clear the invitation. <p> -Definition at line <a class="el" href="users_8cpp-source.html#l00067">67</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. +Definition at line <a class="el" href="users_8cpp-source.html#l00070">70</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. <p> References <a class="el" href="users_8h-source.html#l00064">invites</a>. <p> -<div class="fragment"><pre>00068 { -00069 <span class="keywordflow">for</span> (InvitedList::iterator i = <a class="code" href="classuserrec.html#o0">invites</a>.begin(); i != <a class="code" href="classuserrec.html#o0">invites</a>.end(); i++) -00070 { -00071 <span class="keywordflow">if</span> (!strcasecmp(i->channel,channel)) -00072 { -00073 <a class="code" href="classuserrec.html#o0">invites</a>.erase(i); -00074 <span class="keywordflow">return</span>; -00075 } -00076 } -00077 } +<div class="fragment"><pre>00071 { +00072 <span class="keywordflow">for</span> (InvitedList::iterator i = <a class="code" href="classuserrec.html#o0">invites</a>.begin(); i != <a class="code" href="classuserrec.html#o0">invites</a>.end(); i++) +00073 { +00074 <span class="keywordflow">if</span> (i->channel) { +00075 <span class="keywordflow">if</span> (!strcasecmp(i->channel,channel)) +00076 { +00077 <a class="code" href="classuserrec.html#o0">invites</a>.erase(i); +00078 <span class="keywordflow">return</span>; +00079 } +00080 } +00081 } +00082 } </pre></div> </td> </tr> </table> @@ -527,7 +532,7 @@ A list of channels the user has a pending invite to. <p> Definition at line <a class="el" href="users_8h-source.html#l00064">64</a> of file <a class="el" href="users_8h-source.html">users.h</a>. <p> -Referenced by <a class="el" href="users_8cpp-source.html#l00060">InviteTo()</a>, <a class="el" href="users_8cpp-source.html#l00049">IsInvited()</a>, <a class="el" href="users_8cpp-source.html#l00067">RemoveInvite()</a>, and <a class="el" href="users_8cpp-source.html#l00011">userrec()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00063">InviteTo()</a>, <a class="el" href="users_8cpp-source.html#l00049">IsInvited()</a>, <a class="el" href="users_8cpp-source.html#l00070">RemoveInvite()</a>, and <a class="el" href="users_8cpp-source.html#l00011">userrec()</a>. </td> </tr> </table> <a name="m4" doxytag="userrec::modes"></a><p> @@ -638,7 +643,7 @@ Definition at line <a class="el" href="users_8h-source.html#l00096">96</a> of fi </table> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="users_8h-source.html">users.h</a><li><a class="el" href="users_8cpp-source.html">users.cpp</a></ul> -<hr><address style="align: right;"><small>Generated on Sun Mar 30 19:36:35 2003 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:46 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/classuserrec__coll__graph.gif b/docs/module-doc/classuserrec__coll__graph.gif Binary files differindex d4dbd0632..27ce7c656 100644 --- a/docs/module-doc/classuserrec__coll__graph.gif +++ b/docs/module-doc/classuserrec__coll__graph.gif diff --git a/docs/module-doc/connection_8h-source.html b/docs/module-doc/connection_8h-source.html index c339f079d..114d23931 100644 --- a/docs/module-doc/connection_8h-source.html +++ b/docs/module-doc/connection_8h-source.html @@ -13,7 +13,7 @@ 00005 <span class="preprocessor">#include "inspircd_config.h"</span> 00006 <span class="preprocessor">#include "<a class="code" href="base_8h.html">base.h</a>"</span> 00007 <span class="preprocessor">#include <string></span> -00008 <span class="preprocessor">#include <map.h></span> +00008 <span class="preprocessor">#include <map></span> 00009 <span class="preprocessor">#include <sys/socket.h></span> 00010 <span class="preprocessor">#include <sys/types.h></span> 00011 <span class="preprocessor">#include <netdb.h></span> @@ -28,56 +28,58 @@ <a name="l00020"></a><a class="code" href="connection_8h.html#a0">00020</a> <span class="preprocessor">#define PT_SYN_ONLY 0</span> <a name="l00021"></a><a class="code" href="connection_8h.html#a1">00021</a> <span class="preprocessor"></span><span class="preprocessor">#define PT_ACK_ONLY 1</span> <a name="l00022"></a><a class="code" href="connection_8h.html#a2">00022</a> <span class="preprocessor"></span><span class="preprocessor">#define PT_SYN_WITH_DATA 2</span> -00023 <span class="preprocessor"></span> -00024 -<a name="l00025"></a><a class="code" href="classpacket.html">00025</a> <span class="keyword">class </span><a class="code" href="classpacket.html">packet</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> -00026 { -00027 <span class="keyword">public</span>: -<a name="l00028"></a><a class="code" href="classpacket.html#m0">00028</a> <span class="keywordtype">long</span> <a class="code" href="classpacket.html#m0">key</a>; -<a name="l00029"></a><a class="code" href="classpacket.html#m1">00029</a> <span class="keywordtype">short</span> <span class="keywordtype">int</span> <a class="code" href="classpacket.html#m1">id</a>; -<a name="l00030"></a><a class="code" href="classpacket.html#m2">00030</a> <span class="keywordtype">short</span> <span class="keywordtype">int</span> <a class="code" href="classpacket.html#m2">type</a>; -<a name="l00031"></a><a class="code" href="classpacket.html#m3">00031</a> <span class="keywordtype">char</span> <a class="code" href="classpacket.html#m3">data</a>[MAXBUF]; -00032 -00033 <a class="code" href="classpacket.html#a0">packet</a>(); -00034 <a class="code" href="classpacket.html#a1">~packet</a>(); -00035 }; -00036 +<a name="l00023"></a><a class="code" href="connection_8h.html#a3">00023</a> <span class="preprocessor"></span><span class="preprocessor">#define PT_KEY_EXCHANGE 3</span> +00024 <span class="preprocessor"></span> +00025 +<a name="l00026"></a><a class="code" href="classpacket.html">00026</a> <span class="keyword">class </span><a class="code" href="classpacket.html">packet</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> +00027 { +00028 <span class="keyword">public</span>: +<a name="l00029"></a><a class="code" href="classpacket.html#m0">00029</a> <span class="keywordtype">long</span> <a class="code" href="classpacket.html#m0">key</a>; +<a name="l00030"></a><a class="code" href="classpacket.html#m1">00030</a> <span class="keywordtype">short</span> <span class="keywordtype">int</span> <a class="code" href="classpacket.html#m1">id</a>; +<a name="l00031"></a><a class="code" href="classpacket.html#m2">00031</a> <span class="keywordtype">short</span> <span class="keywordtype">int</span> <a class="code" href="classpacket.html#m2">type</a>; +<a name="l00032"></a><a class="code" href="classpacket.html#m3">00032</a> <span class="keywordtype">char</span> <a class="code" href="classpacket.html#m3">data</a>[MAXBUF]; +00033 +00034 <a class="code" href="classpacket.html#a0">packet</a>(); +00035 <a class="code" href="classpacket.html#a1">~packet</a>(); +00036 }; 00037 -<a name="l00038"></a><a class="code" href="classconnection.html">00038</a> <span class="keyword">class </span><a class="code" href="classconnection.html">connection</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> -00039 { -00040 <span class="keyword">public</span>: -<a name="l00041"></a><a class="code" href="classconnection.html#m0">00041</a> <span class="keywordtype">long</span> <a class="code" href="classconnection.html#m0">key</a>; -<a name="l00042"></a><a class="code" href="classconnection.html#m1">00042</a> <span class="keywordtype">int</span> <a class="code" href="classconnection.html#m1">fd</a>; <span class="comment">// file descriptor</span> -<a name="l00043"></a><a class="code" href="classconnection.html#m2">00043</a> <span class="keywordtype">char</span> <a class="code" href="classconnection.html#m2">host</a>[256]; <span class="comment">// hostname</span> -<a name="l00044"></a><a class="code" href="classconnection.html#m3">00044</a> <span class="keywordtype">long</span> <a class="code" href="classconnection.html#m3">ip</a>; <span class="comment">// ipv4 address</span> -<a name="l00045"></a><a class="code" href="classconnection.html#m4">00045</a> <span class="keywordtype">char</span> <a class="code" href="classconnection.html#m4">inbuf</a>[MAXBUF]; <span class="comment">// recvQ</span> -<a name="l00046"></a><a class="code" href="classconnection.html#m5">00046</a> <span class="keywordtype">long</span> <a class="code" href="classconnection.html#m5">bytes_in</a>; -<a name="l00047"></a><a class="code" href="classconnection.html#m6">00047</a> <span class="keywordtype">long</span> <a class="code" href="classconnection.html#m6">bytes_out</a>; -<a name="l00048"></a><a class="code" href="classconnection.html#m7">00048</a> <span class="keywordtype">long</span> <a class="code" href="classconnection.html#m7">cmds_in</a>; -<a name="l00049"></a><a class="code" href="classconnection.html#m8">00049</a> <span class="keywordtype">long</span> <a class="code" href="classconnection.html#m8">cmds_out</a>; -<a name="l00050"></a><a class="code" href="classconnection.html#m9">00050</a> <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#m9">haspassed</a>; -<a name="l00051"></a><a class="code" href="classconnection.html#m10">00051</a> <span class="keywordtype">int</span> <a class="code" href="classconnection.html#m10">port</a>; -<a name="l00052"></a><a class="code" href="classconnection.html#m11">00052</a> <span class="keywordtype">int</span> <a class="code" href="classconnection.html#m11">registered</a>; -<a name="l00053"></a><a class="code" href="classconnection.html#m12">00053</a> time_t <a class="code" href="classconnection.html#m12">lastping</a>; -<a name="l00054"></a><a class="code" href="classconnection.html#m13">00054</a> time_t <a class="code" href="classconnection.html#m13">signon</a>; -<a name="l00055"></a><a class="code" href="classconnection.html#m14">00055</a> time_t <a class="code" href="classconnection.html#m14">idle_lastmsg</a>; -<a name="l00056"></a><a class="code" href="classconnection.html#m15">00056</a> time_t <a class="code" href="classconnection.html#m15">nping</a>; -00057 -00058 <a class="code" href="classconnection.html#a0">connection</a>(); -00059 <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#a1">CreateListener</a>(<span class="keywordtype">char</span>* host, <span class="keywordtype">int</span> p); -00060 <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#a2">BeginLink</a>(<span class="keywordtype">char</span>* targethost, <span class="keywordtype">int</span> port, <span class="keywordtype">char</span>* password); -00061 <span class="keywordtype">void</span> <a class="code" href="classconnection.html#a3">TerminateLink</a>(<span class="keywordtype">char</span>* targethost); -00062 <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#a4">SendPacket</a>(<span class="keywordtype">char</span> *message, <span class="keywordtype">char</span>* host, <span class="keywordtype">int</span> port); -00063 <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#a5">RecvPacket</a>(<span class="keywordtype">char</span> *message, <span class="keywordtype">char</span>* host, <span class="keywordtype">int</span> &prt); -00064 <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#a6">SendSYN</a>(<span class="keywordtype">char</span>* host, <span class="keywordtype">int</span> port); -00065 <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#a7">SendACK</a>(<span class="keywordtype">char</span>* host, <span class="keywordtype">int</span> port, <span class="keywordtype">int</span> reply_id); -00066 <span class="keywordtype">long</span> <a class="code" href="classconnection.html#a8">GenKey</a>(); -00067 }; -00068 -00069 -00070 <span class="preprocessor">#endif</span> -00071 <span class="preprocessor"></span> -</pre></div><hr><address style="align: right;"><small>Generated on Sun Mar 30 19:34:53 2003 for InspIRCd by +00038 +<a name="l00039"></a><a class="code" href="classconnection.html">00039</a> <span class="keyword">class </span><a class="code" href="classconnection.html">connection</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> +00040 { +00041 <span class="keyword">public</span>: +<a name="l00042"></a><a class="code" href="classconnection.html#m0">00042</a> <span class="keywordtype">long</span> <a class="code" href="classconnection.html#m0">key</a>; +<a name="l00043"></a><a class="code" href="classconnection.html#m1">00043</a> <span class="keywordtype">int</span> <a class="code" href="classconnection.html#m1">fd</a>; <span class="comment">// file descriptor</span> +<a name="l00044"></a><a class="code" href="classconnection.html#m2">00044</a> <span class="keywordtype">char</span> <a class="code" href="classconnection.html#m2">host</a>[256]; <span class="comment">// hostname</span> +<a name="l00045"></a><a class="code" href="classconnection.html#m3">00045</a> <span class="keywordtype">long</span> <a class="code" href="classconnection.html#m3">ip</a>; <span class="comment">// ipv4 address</span> +<a name="l00046"></a><a class="code" href="classconnection.html#m4">00046</a> <span class="keywordtype">char</span> <a class="code" href="classconnection.html#m4">inbuf</a>[MAXBUF]; <span class="comment">// recvQ</span> +<a name="l00047"></a><a class="code" href="classconnection.html#m5">00047</a> <span class="keywordtype">long</span> <a class="code" href="classconnection.html#m5">bytes_in</a>; +<a name="l00048"></a><a class="code" href="classconnection.html#m6">00048</a> <span class="keywordtype">long</span> <a class="code" href="classconnection.html#m6">bytes_out</a>; +<a name="l00049"></a><a class="code" href="classconnection.html#m7">00049</a> <span class="keywordtype">long</span> <a class="code" href="classconnection.html#m7">cmds_in</a>; +<a name="l00050"></a><a class="code" href="classconnection.html#m8">00050</a> <span class="keywordtype">long</span> <a class="code" href="classconnection.html#m8">cmds_out</a>; +<a name="l00051"></a><a class="code" href="classconnection.html#m9">00051</a> <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#m9">haspassed</a>; +<a name="l00052"></a><a class="code" href="classconnection.html#m10">00052</a> <span class="keywordtype">int</span> <a class="code" href="classconnection.html#m10">port</a>; +<a name="l00053"></a><a class="code" href="classconnection.html#m11">00053</a> <span class="keywordtype">int</span> <a class="code" href="classconnection.html#m11">registered</a>; +<a name="l00054"></a><a class="code" href="classconnection.html#m12">00054</a> time_t <a class="code" href="classconnection.html#m12">lastping</a>; +<a name="l00055"></a><a class="code" href="classconnection.html#m13">00055</a> time_t <a class="code" href="classconnection.html#m13">signon</a>; +<a name="l00056"></a><a class="code" href="classconnection.html#m14">00056</a> time_t <a class="code" href="classconnection.html#m14">idle_lastmsg</a>; +<a name="l00057"></a><a class="code" href="classconnection.html#m15">00057</a> time_t <a class="code" href="classconnection.html#m15">nping</a>; +<a name="l00058"></a><a class="code" href="classconnection.html#m16">00058</a> <span class="keywordtype">char</span> <a class="code" href="classconnection.html#m16">internal_addr</a>[1024]; +00059 +00060 <a class="code" href="classconnection.html#a0">connection</a>(); +00061 <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#a1">CreateListener</a>(<span class="keywordtype">char</span>* host, <span class="keywordtype">int</span> p); +00062 <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#a2">BeginLink</a>(<span class="keywordtype">char</span>* targethost, <span class="keywordtype">int</span> port, <span class="keywordtype">char</span>* password); +00063 <span class="keywordtype">void</span> <a class="code" href="classconnection.html#a3">TerminateLink</a>(<span class="keywordtype">char</span>* targethost); +00064 <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#a4">SendPacket</a>(<span class="keywordtype">char</span> *message, <span class="keywordtype">char</span>* host, <span class="keywordtype">int</span> port, <span class="keywordtype">long</span> ourkey); +00065 <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#a5">RecvPacket</a>(<span class="keywordtype">char</span> *message, <span class="keywordtype">char</span>* host, <span class="keywordtype">int</span> &prt, <span class="keywordtype">long</span> &theirkey); +00066 <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#a6">SendSYN</a>(<span class="keywordtype">char</span>* host, <span class="keywordtype">int</span> port); +00067 <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#a7">SendACK</a>(<span class="keywordtype">char</span>* host, <span class="keywordtype">int</span> port, <span class="keywordtype">int</span> reply_id); +00068 <span class="keywordtype">long</span> <a class="code" href="classconnection.html#a8">GenKey</a>(); +00069 }; +00070 +00071 +00072 <span class="preprocessor">#endif</span> +00073 <span class="preprocessor"></span> +</pre></div><hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:27 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/connection_8h.html b/docs/module-doc/connection_8h.html index 9ea64018b..87d174027 100644 --- a/docs/module-doc/connection_8h.html +++ b/docs/module-doc/connection_8h.html @@ -9,7 +9,7 @@ <hr><h1>connection.h File Reference</h1><code>#include "inspircd_config.h"</code><br> <code>#include "<a class="el" href="base_8h-source.html">base.h</a>"</code><br> <code>#include <string></code><br> -<code>#include <map.h></code><br> +<code>#include <map></code><br> <code>#include <sys/socket.h></code><br> <code>#include <sys/types.h></code><br> <code>#include <netdb.h></code><br> @@ -43,6 +43,7 @@ This graph shows which files directly or indirectly include this file:<p><center <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="connection_8h.html#a0">PT_SYN_ONLY</a> 0</td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="connection_8h.html#a1">PT_ACK_ONLY</a> 1</td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="connection_8h.html#a2">PT_SYN_WITH_DATA</a> 2</td></tr> +<tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="connection_8h.html#a3">PT_KEY_EXCHANGE</a> 3</td></tr> </table> <hr><h2>Define Documentation</h2> <a name="a1" doxytag="connection.h::PT_ACK_ONLY"></a><p> @@ -69,6 +70,30 @@ This graph shows which files directly or indirectly include this file:<p><center Definition at line <a class="el" href="connection_8h-source.html#l00021">21</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> </tr> </table> +<a name="a3" doxytag="connection.h::PT_KEY_EXCHANGE"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> #define PT_KEY_EXCHANGE 3 + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="connection_8h-source.html#l00023">23</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> + </tr> +</table> <a name="a0" doxytag="connection.h::PT_SYN_ONLY"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> @@ -117,7 +142,7 @@ Definition at line <a class="el" href="connection_8h-source.html#l00020">20</a> Definition at line <a class="el" href="connection_8h-source.html#l00022">22</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> </tr> </table> -<hr><address style="align: right;"><small>Generated on Sun Mar 30 19:35:06 2003 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:30 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/connection_8h__incl.gif b/docs/module-doc/connection_8h__incl.gif Binary files differindex e9a0dd77c..b297abff2 100644 --- a/docs/module-doc/connection_8h__incl.gif +++ b/docs/module-doc/connection_8h__incl.gif diff --git a/docs/module-doc/ctables_8h-source.html b/docs/module-doc/ctables_8h-source.html index e0318350e..40dc67167 100644 --- a/docs/module-doc/ctables_8h-source.html +++ b/docs/module-doc/ctables_8h-source.html @@ -43,7 +43,7 @@ 00049 00050 <span class="preprocessor">#endif</span> 00051 <span class="preprocessor"></span> -</pre></div><hr><address style="align: right;"><small>Generated on Sun Mar 30 19:34:54 2003 for InspIRCd by +</pre></div><hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:27 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/ctables_8h.html b/docs/module-doc/ctables_8h.html index d2d828923..4221d4abb 100644 --- a/docs/module-doc/ctables_8h.html +++ b/docs/module-doc/ctables_8h.html @@ -17,6 +17,13 @@ Include dependency graph for ctables.h:<p><center><img src="ctables_8h__incl.gif </map> <p> +This graph shows which files directly or indirectly include this file:<p><center><img src="ctables_8h__dep__incl.gif" border="0" usemap="#ctables.hdep_map" alt="Included by dependency graph"></center> +<map name="ctables.hdep_map"> +<area href="modules_8cpp.html" shape="rect" coords="13,16,96,37" alt=""> +<area href="modules_8h.html" shape="rect" coords="57,85,124,106" alt=""> +</map> + +<p> <a href="ctables_8h-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0> <tr><td></td></tr> <tr><td colspan=2><br><h2>Compounds</h2></td></tr> @@ -50,7 +57,7 @@ Include dependency graph for ctables.h:<p><center><img src="ctables_8h__incl.gif Definition at line <a class="el" href="ctables_8h-source.html#l00023">23</a> of file <a class="el" href="ctables_8h-source.html">ctables.h</a>. </td> </tr> </table> -<hr><address style="align: right;"><small>Generated on Sun Mar 30 19:35:08 2003 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:30 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/files.html b/docs/module-doc/files.html index bcc4cc6b7..4be939d87 100644 --- a/docs/module-doc/files.html +++ b/docs/module-doc/files.html @@ -8,6 +8,7 @@ <a class="qindex" href="main.html">Main Page</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center> <hr><h1>InspIRCd File List</h1>Here is a list of all files with brief descriptions:<table> <tr><td class="indexkey"><a class="el" href="base_8h.html">base.h</a> <a href="base_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="channels_8cpp.html">channels.cpp</a> <a href="channels_8cpp-source.html">[code]</a></td><td class="indexvalue"></td></tr> <tr><td class="indexkey"><a class="el" href="channels_8h.html">channels.h</a> <a href="channels_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> <tr><td class="indexkey"><a class="el" href="connection_8h.html">connection.h</a> <a href="connection_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> <tr><td class="indexkey"><a class="el" href="ctables_8h.html">ctables.h</a> <a href="ctables_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> @@ -18,7 +19,7 @@ <tr><td class="indexkey"><a class="el" href="users_8cpp.html">users.cpp</a> <a href="users_8cpp-source.html">[code]</a></td><td class="indexvalue"></td></tr> <tr><td class="indexkey"><a class="el" href="users_8h.html">users.h</a> <a href="users_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> </table> -<hr><address style="align: right;"><small>Generated on Sun Mar 30 19:34:53 2003 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:27 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/functions.html b/docs/module-doc/functions.html index ad807f002..091beb352 100644 --- a/docs/module-doc/functions.html +++ b/docs/module-doc/functions.html @@ -12,7 +12,9 @@ <p> Here is a list of all class members with links to the classes they belong to:<h3><a name="index_a">- a -</a> </h3><ul> -<li>Admin() +<li>AddCommand() +: <a class="el" href="classServer.html#a20">Server</a><li>AddExtendedMode() +: <a class="el" href="classServer.html#a19">Server</a><li>Admin() : <a class="el" href="classAdmin.html#a0">Admin</a><li>age : <a class="el" href="classclassbase.html#m0">classbase</a><li>awaymsg : <a class="el" href="classuserrec.html#m7">userrec</a></ul> @@ -30,7 +32,7 @@ Here is a list of all class members with links to the classes they belong to:<h3 : <a class="el" href="classchanrec.html#m13">chanrec</a><li>ChanMode() : <a class="el" href="classServer.html#a15">Server</a><li>channel : <a class="el" href="classInvited.html#m0">Invited</a>, <a class="el" href="classucrec.html#m1">ucrec</a><li>chanrec() -: <a class="el" href="classchanrec.html#a0">chanrec</a><li>chans +: <a class="el" href="classchanrec.html#a2">chanrec</a><li>chans : <a class="el" href="classuserrec.html#m5">userrec</a><li>classbase() : <a class="el" href="classclassbase.html#a0">classbase</a><li>cmds_in : <a class="el" href="classconnection.html#m7">connection</a><li>cmds_out @@ -46,20 +48,23 @@ Here is a list of all class members with links to the classes they belong to:<h3 <h3><a name="index_d">- d -</a> </h3><ul> <li>data -: <a class="el" href="classpacket.html#m3">packet</a>, <a class="el" href="classHostItem.html#m2">HostItem</a><li>dhost +: <a class="el" href="classpacket.html#m3">packet</a>, <a class="el" href="classHostItem.html#m2">HostItem</a><li>default_on +: <a class="el" href="classExtMode.html#m2">ExtMode</a><li>dhost : <a class="el" href="classuserrec.html#m2">userrec</a></ul> <h3><a name="index_e">- e -</a> </h3><ul> <li>Email : <a class="el" href="classAdmin.html#m1">Admin</a><li>Enumerate() -: <a class="el" href="classConfigReader.html#a4">ConfigReader</a></ul> +: <a class="el" href="classConfigReader.html#a4">ConfigReader</a><li>Exists() +: <a class="el" href="classFileReader.html#a4">FileReader</a><li>ExtMode() +: <a class="el" href="classExtMode.html#a0">ExtMode</a></ul> <h3><a name="index_f">- f -</a> </h3><ul> <li>fc : <a class="el" href="classFileReader.html#o0">FileReader</a><li>fd : <a class="el" href="classconnection.html#m1">connection</a><li>FileReader() : <a class="el" href="classFileReader.html#a1">FileReader</a><li>FileSize() -: <a class="el" href="classFileReader.html#a5">FileReader</a><li>FindChannel() +: <a class="el" href="classFileReader.html#a6">FileReader</a><li>FindChannel() : <a class="el" href="classServer.html#a14">Server</a><li>FindNick() : <a class="el" href="classServer.html#a13">Server</a><li>flags_needed : <a class="el" href="classcommand__t.html#m2">command_t</a><li>fname @@ -72,7 +77,7 @@ Here is a list of all class members with links to the classes they belong to:<h3 : <a class="el" href="classServer.html#a18">Server</a><li>GetFullHost() : <a class="el" href="classuserrec.html#a2">userrec</a><li>GetFullRealHost() : <a class="el" href="classuserrec.html#a3">userrec</a><li>GetLine() -: <a class="el" href="classFileReader.html#a4">FileReader</a><li>GetNetworkName() +: <a class="el" href="classFileReader.html#a5">FileReader</a><li>GetNetworkName() : <a class="el" href="classServer.html#a17">Server</a><li>GetServerName() : <a class="el" href="classServer.html#a16">Server</a><li>GetVersion() : <a class="el" href="classModule.html#a2">Module</a></ul> @@ -90,7 +95,8 @@ Here is a list of all class members with links to the classes they belong to:<h3 : <a class="el" href="classpacket.html#m1">packet</a><li>ident : <a class="el" href="classuserrec.html#m1">userrec</a><li>idle_lastmsg : <a class="el" href="classconnection.html#m14">connection</a><li>inbuf -: <a class="el" href="classconnection.html#m4">connection</a><li>inviteonly +: <a class="el" href="classconnection.html#m4">connection</a><li>internal_addr +: <a class="el" href="classconnection.html#m16">connection</a><li>inviteonly : <a class="el" href="classchanrec.html#m10">chanrec</a><li>invites : <a class="el" href="classuserrec.html#o0">userrec</a><li>InviteTo() : <a class="el" href="classuserrec.html#a5">userrec</a><li>ip @@ -117,27 +123,29 @@ Here is a list of all class members with links to the classes they belong to:<h3 <li>Major : <a class="el" href="classVersion.html#m0">Version</a><li>min_params : <a class="el" href="classcommand__t.html#m3">command_t</a><li>Minor -: <a class="el" href="classVersion.html#m1">Version</a><li>moderated +: <a class="el" href="classVersion.html#m1">Version</a><li>modechar +: <a class="el" href="classExtMode.html#m0">ExtMode</a><li>moderated : <a class="el" href="classchanrec.html#m11">chanrec</a><li>modes : <a class="el" href="classuserrec.html#m4">userrec</a><li>Module() : <a class="el" href="classModule.html#a0">Module</a><li>Module::OnPacketReceive() : <a class="el" href="classModule.html#a8">Module</a><li>Module::OnPacketTransmit() -: <a class="el" href="classModule.html#a7">Module</a><li>Module::OnServerRaw() -: <a class="el" href="classModule.html#a10">Module</a><li>ModuleFactory() +: <a class="el" href="classModule.html#a7">Module</a><li>ModuleFactory() : <a class="el" href="classModuleFactory.html#a0">ModuleFactory</a></ul> <h3><a name="index_n">- n -</a> </h3><ul> <li>name : <a class="el" href="classserverrec.html#m0">serverrec</a>, <a class="el" href="classchanrec.html#m0">chanrec</a><li>Name -: <a class="el" href="classAdmin.html#m0">Admin</a><li>Nick -: <a class="el" href="classAdmin.html#m2">Admin</a><li>nick -: <a class="el" href="classuserrec.html#m0">userrec</a><li>noexternal +: <a class="el" href="classAdmin.html#m0">Admin</a><li>nick +: <a class="el" href="classuserrec.html#m0">userrec</a><li>Nick +: <a class="el" href="classAdmin.html#m2">Admin</a><li>noexternal : <a class="el" href="classchanrec.html#m9">chanrec</a><li>nping : <a class="el" href="classconnection.html#m15">connection</a></ul> <h3><a name="index_o">- o -</a> </h3><ul> -<li>OnRehash() -: <a class="el" href="classModule.html#a9">Module</a><li>OnUserConnect() +<li>OnExtendedMode() +: <a class="el" href="classModule.html#a11">Module</a><li>OnRehash() +: <a class="el" href="classModule.html#a9">Module</a><li>OnServerRaw() +: <a class="el" href="classModule.html#a10">Module</a><li>OnUserConnect() : <a class="el" href="classModule.html#a3">Module</a><li>OnUserJoin() : <a class="el" href="classModule.html#a5">Module</a><li>OnUserPart() : <a class="el" href="classModule.html#a6">Module</a><li>OnUserQuit() @@ -146,7 +154,9 @@ Here is a list of all class members with links to the classes they belong to:<h3 <h3><a name="index_p">- p -</a> </h3><ul> <li>packet() -: <a class="el" href="classpacket.html#a0">packet</a><li>pass +: <a class="el" href="classpacket.html#a0">packet</a><li>params_when_off +: <a class="el" href="classExtMode.html#m4">ExtMode</a><li>params_when_on +: <a class="el" href="classExtMode.html#m3">ExtMode</a><li>pass : <a class="el" href="classConnectClass.html#m2">ConnectClass</a><li>pingtime : <a class="el" href="classserverrec.html#m1">serverrec</a><li>port : <a class="el" href="classconnection.html#m10">connection</a></ul> @@ -173,13 +183,15 @@ Here is a list of all class members with links to the classes they belong to:<h3 : <a class="el" href="classServer.html#a5">Server</a><li>SendSYN() : <a class="el" href="classconnection.html#a6">connection</a><li>SendTo() : <a class="el" href="classServer.html#a7">Server</a><li>SendWallops() -: <a class="el" href="classServer.html#a11">Server</a><li>server -: <a class="el" href="classuserrec.html#m6">userrec</a><li>Server() -: <a class="el" href="classServer.html#a0">Server</a><li>serverrec() +: <a class="el" href="classServer.html#a11">Server</a><li>Server() +: <a class="el" href="classServer.html#a0">Server</a><li>server +: <a class="el" href="classuserrec.html#m6">userrec</a><li>serverrec() : <a class="el" href="classserverrec.html#a1">serverrec</a><li>set_by : <a class="el" href="classHostItem.html#m1">HostItem</a><li>set_time : <a class="el" href="classHostItem.html#m0">HostItem</a><li>setby -: <a class="el" href="classchanrec.html#m5">chanrec</a><li>signon +: <a class="el" href="classchanrec.html#m5">chanrec</a><li>SetCustomMode() +: <a class="el" href="classchanrec.html#a0">chanrec</a><li>SetCustomModeParam() +: <a class="el" href="classchanrec.html#a1">chanrec</a><li>signon : <a class="el" href="classconnection.html#m13">connection</a></ul> <h3><a name="index_t">- t -</a> </h3><ul> @@ -189,7 +201,7 @@ Here is a list of all class members with links to the classes they belong to:<h3 : <a class="el" href="classchanrec.html#m8">chanrec</a><li>topicset : <a class="el" href="classchanrec.html#m4">chanrec</a><li>total_bytes : <a class="el" href="classcommand__t.html#m5">command_t</a><li>type -: <a class="el" href="classConnectClass.html#m0">ConnectClass</a>, <a class="el" href="classpacket.html#m2">packet</a></ul> +: <a class="el" href="classConnectClass.html#m0">ConnectClass</a>, <a class="el" href="classpacket.html#m2">packet</a>, <a class="el" href="classExtMode.html#m1">ExtMode</a></ul> <h3><a name="index_u">- u -</a> </h3><ul> <li>uc_modes @@ -202,13 +214,13 @@ Here is a list of all class members with links to the classes they belong to:<h3 <h3><a name="index_v">- v -</a> </h3><ul> <li>Verify() -: <a class="el" href="classConfigReader.html#a5">ConfigReader</a><li>Version() -: <a class="el" href="classVersion.html#a0">Version</a><li>version -: <a class="el" href="classserverrec.html#m6">serverrec</a></ul> +: <a class="el" href="classConfigReader.html#a5">ConfigReader</a><li>version +: <a class="el" href="classserverrec.html#m6">serverrec</a><li>Version() +: <a class="el" href="classVersion.html#a0">Version</a></ul> <h3><a name="index_~">- ~ -</a> </h3><ul> <li>~chanrec() -: <a class="el" href="classchanrec.html#a1">chanrec</a><li>~classbase() +: <a class="el" href="classchanrec.html#a3">chanrec</a><li>~classbase() : <a class="el" href="classclassbase.html#a1">classbase</a><li>~ConfigReader() : <a class="el" href="classConfigReader.html#a2">ConfigReader</a><li>~FileReader() : <a class="el" href="classFileReader.html#a2">FileReader</a><li>~HostItem() @@ -220,7 +232,7 @@ Here is a list of all class members with links to the classes they belong to:<h3 : <a class="el" href="classserverrec.html#a2">serverrec</a><li>~ucrec() : <a class="el" href="classucrec.html#a1">ucrec</a><li>~userrec() : <a class="el" href="classuserrec.html#a1">userrec</a></ul> -<hr><address style="align: right;"><small>Generated on Sun Mar 30 19:35:25 2003 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:33 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/globals.html b/docs/module-doc/globals.html index 42a92021c..cb7a7e52a 100644 --- a/docs/module-doc/globals.html +++ b/docs/module-doc/globals.html @@ -7,10 +7,14 @@ <center> <a class="qindex" href="main.html">Main Page</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center> <hr><h1>InspIRCd File Members</h1><center> -<a href="#index_b">b</a> | <a href="#index_c">c</a> | <a href="#index_d">d</a> | <a href="#index_e">e</a> | <a href="#index_f">f</a> | <a href="#index_h">h</a> | <a href="#index_i">i</a> | <a href="#index_l">l</a> | <a href="#index_m">m</a> | <a href="#index_n">n</a> | <a href="#index_p">p</a> | <a href="#index_s">s</a> | <a href="#index_u">u</a> | <a href="#index_v">v</a></center> +<a href="#index_a">a</a> | <a href="#index_b">b</a> | <a href="#index_c">c</a> | <a href="#index_d">d</a> | <a href="#index_e">e</a> | <a href="#index_f">f</a> | <a href="#index_h">h</a> | <a href="#index_i">i</a> | <a href="#index_l">l</a> | <a href="#index_m">m</a> | <a href="#index_n">n</a> | <a href="#index_p">p</a> | <a href="#index_s">s</a> | <a href="#index_u">u</a> | <a href="#index_v">v</a></center> <p> -Here is a list of all file members with links to the files they belong to:<h3><a name="index_b">- b -</a> +Here is a list of all file members with links to the files they belong to:<h3><a name="index_a">- a -</a> +</h3><ul> +<li>AddExtendedMode() +: <a class="el" href="modules_8cpp.html#a7">modules.cpp</a></ul> +<h3><a name="index_b">- b -</a> </h3><ul> <li>BanList : <a class="el" href="channels_8h.html#a5">channels.h</a></ul> @@ -19,7 +23,8 @@ Here is a list of all file members with links to the files they belong to:<h3><a <li>CC_ALLOW : <a class="el" href="users_8h.html#a4">users.h</a><li>CC_DENY : <a class="el" href="users_8h.html#a5">users.h</a><li>ClassVector -: <a class="el" href="users_8h.html#a7">users.h</a></ul> +: <a class="el" href="users_8h.html#a7">users.h</a><li>createcommand() +: <a class="el" href="modules_8h.html#a12">modules.h</a></ul> <h3><a name="index_d">- d -</a> </h3><ul> <li>DEBUG @@ -27,14 +32,17 @@ Here is a list of all file members with links to the files they belong to:<h3><a : <a class="el" href="modules_8h.html#a2">modules.h</a></ul> <h3><a name="index_e">- e -</a> </h3><ul> -<li>ExemptList -: <a class="el" href="channels_8h.html#a6">channels.h</a></ul> +<li>EMode +: <a class="el" href="modules_8cpp.html#a2">modules.cpp</a><li>ExemptList +: <a class="el" href="channels_8h.html#a6">channels.h</a><li>ExtModeList +: <a class="el" href="modules_8cpp.html#a0">modules.cpp</a><li>ExtModeListIter +: <a class="el" href="modules_8cpp.html#a1">modules.cpp</a></ul> <h3><a name="index_f">- f -</a> </h3><ul> <li>factory() -: <a class="el" href="modules_8cpp.html#a2">modules.cpp</a><li>file_cache -: <a class="el" href="modules_8h.html#a6">modules.h</a><li>FOREACH_MOD -: <a class="el" href="modules_8h.html#a5">modules.h</a></ul> +: <a class="el" href="modules_8cpp.html#a9">modules.cpp</a><li>file_cache +: <a class="el" href="modules_8h.html#a9">modules.h</a><li>FOREACH_MOD +: <a class="el" href="modules_8h.html#a8">modules.h</a></ul> <h3><a name="index_h">- h -</a> </h3><ul> <li>handlerfunc @@ -44,7 +52,7 @@ Here is a list of all file members with links to the files they belong to:<h3><a <li>InvitedList : <a class="el" href="users_8h.html#a6">users.h</a><li>InviteList : <a class="el" href="channels_8h.html#a7">channels.h</a><li>ircd_module -: <a class="el" href="modules_8h.html#a7">modules.h</a></ul> +: <a class="el" href="modules_8h.html#a11">modules.h</a></ul> <h3><a name="index_l">- l -</a> </h3><ul> <li>LINK_ACTIVE @@ -53,8 +61,14 @@ Here is a list of all file members with links to the files they belong to:<h3><a <h3><a name="index_m">- m -</a> </h3><ul> <li>MODCOUNT -: <a class="el" href="modules_8cpp.html#a0">modules.cpp</a><li>modules() -: <a class="el" href="modules_8cpp.html#a1">modules.cpp</a></ul> +: <a class="el" href="modules_8cpp.html#a3">modules.cpp</a><li>ModeDefined() +: <a class="el" href="modules_8cpp.html#a4">modules.cpp</a><li>ModeDefinedOff() +: <a class="el" href="modules_8cpp.html#a6">modules.cpp</a><li>ModeDefinedOn() +: <a class="el" href="modules_8cpp.html#a5">modules.cpp</a><li>modules() +: <a class="el" href="modules_8cpp.html#a8">modules.cpp</a><li>MT_CHANNEL +: <a class="el" href="modules_8h.html#a5">modules.h</a><li>MT_CLIENT +: <a class="el" href="modules_8h.html#a6">modules.h</a><li>MT_SERVER +: <a class="el" href="modules_8h.html#a7">modules.h</a></ul> <h3><a name="index_n">- n -</a> </h3><ul> <li>NONE @@ -62,18 +76,19 @@ Here is a list of all file members with links to the files they belong to:<h3><a <h3><a name="index_p">- p -</a> </h3><ul> <li>PT_ACK_ONLY -: <a class="el" href="connection_8h.html#a1">connection.h</a><li>PT_SYN_ONLY +: <a class="el" href="connection_8h.html#a1">connection.h</a><li>PT_KEY_EXCHANGE +: <a class="el" href="connection_8h.html#a3">connection.h</a><li>PT_SYN_ONLY : <a class="el" href="connection_8h.html#a0">connection.h</a><li>PT_SYN_WITH_DATA : <a class="el" href="connection_8h.html#a2">connection.h</a></ul> <h3><a name="index_s">- s -</a> </h3><ul> -<li>server_list -: <a class="el" href="servers_8h.html#a2">servers.h</a><li>SPARSE +<li>SPARSE : <a class="el" href="modules_8h.html#a3">modules.h</a><li>STATUS_HOP : <a class="el" href="users_8h.html#a1">users.h</a><li>STATUS_NORMAL : <a class="el" href="users_8h.html#a3">users.h</a><li>STATUS_OP : <a class="el" href="users_8h.html#a0">users.h</a><li>STATUS_VOICE -: <a class="el" href="users_8h.html#a2">users.h</a></ul> +: <a class="el" href="users_8h.html#a2">users.h</a><li>string_list +: <a class="el" href="modules_8h.html#a10">modules.h</a></ul> <h3><a name="index_u">- u -</a> </h3><ul> <li>UCMODE_FOUNDER @@ -86,7 +101,7 @@ Here is a list of all file members with links to the files they belong to:<h3><a </h3><ul> <li>VERBOSE : <a class="el" href="modules_8h.html#a1">modules.h</a></ul> -<hr><address style="align: right;"><small>Generated on Sun Mar 30 19:36:38 2003 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:46 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/graph_legend.html b/docs/module-doc/graph_legend.html index 216eadfa5..5e1bbbc7c 100644 --- a/docs/module-doc/graph_legend.html +++ b/docs/module-doc/graph_legend.html @@ -69,7 +69,7 @@ A purple dashed arrow is used if a class is contained or used by another class. <li> A yellow dashed arrow denotes a relation between a template instance and the template class it was instantiated from. The arrow is labeled with the template parameters of the instance. </li> </ul> -<hr><address style="align: right;"><small>Generated on Sun Mar 30 19:36:39 2003 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:46 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/hierarchy.html b/docs/module-doc/hierarchy.html index 73840b1e6..05eedb308 100644 --- a/docs/module-doc/hierarchy.html +++ b/docs/module-doc/hierarchy.html @@ -36,8 +36,9 @@ This inheritance list is sorted roughly, but not completely, alphabetically:<ul> <li><a class="el" href="classucrec.html">ucrec</a> <li><a class="el" href="classVersion.html">Version</a> </ul> +<li><a class="el" href="classExtMode.html">ExtMode</a> </ul> -<hr><address style="align: right;"><small>Generated on Sun Mar 30 19:35:25 2003 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:33 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/inherits.html b/docs/module-doc/inherits.html index 72682ae85..fd4327674 100644 --- a/docs/module-doc/inherits.html +++ b/docs/module-doc/inherits.html @@ -33,8 +33,12 @@ <area href="classExemptItem.html" shape="rect" coords="280,323,357,344" alt=""> <area href="classInviteItem.html" shape="rect" coords="287,368,351,389" alt=""> </map></td></tr> +<tr><td><img src="inherit__graph__1.gif" border="0" alt="" usemap="#ExtMode_map"> +<map name="ExtMode_map"> +<area href="classExtMode.html" shape="rect" coords="19,5,77,26" alt=""> +</map></td></tr> </table> -<hr><address style="align: right;"><small>Generated on Sun Mar 30 19:36:42 2003 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:47 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/main.html b/docs/module-doc/main.html index 9baa861c5..fa3a2d291 100644 --- a/docs/module-doc/main.html +++ b/docs/module-doc/main.html @@ -8,7 +8,7 @@ <a class="qindex" href="main.html">Main Page</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center> <hr><h1>InspIRCd Documentation</h1> <p> -<hr><address style="align: right;"><small>Generated on Sun Mar 30 19:34:53 2003 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:27 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/modules_8cpp-source.html b/docs/module-doc/modules_8cpp-source.html index 6955b58ba..00de97628 100644 --- a/docs/module-doc/modules_8cpp-source.html +++ b/docs/module-doc/modules_8cpp-source.html @@ -14,225 +14,310 @@ 00006 00007 00008 <span class="preprocessor">#include <typeinfo></span> -00009 <span class="preprocessor">#include <iostream.h></span> +00009 <span class="preprocessor">#include <iostream></span> 00010 <span class="preprocessor">#include "globals.h"</span> 00011 <span class="preprocessor">#include "<a class="code" href="modules_8h.html">modules.h</a>"</span> -00012 <span class="preprocessor">#include "inspircd_io.h"</span> -00013 -00014 <span class="comment">// version is a simple class for holding a modules version number</span> -00015 -<a name="l00016"></a><a class="code" href="classVersion.html#a0">00016</a> <a class="code" href="classVersion.html#a0">Version::Version</a>(<span class="keywordtype">int</span> major, <span class="keywordtype">int</span> minor, <span class="keywordtype">int</span> revision, <span class="keywordtype">int</span> build) : Major(major), Minor(minor), Revision(revision), Build(build) { }; -00017 -00018 <span class="comment">// admin is a simple class for holding a server's administrative info</span> -00019 -<a name="l00020"></a><a class="code" href="classAdmin.html#a0">00020</a> <a class="code" href="classAdmin.html#a0">Admin::Admin</a>(string name, string email, string nick) : Name(name), Email(email), Nick(nick) { }; -00021 -00022 <span class="comment">//</span> -00023 <span class="comment">// Announce to the world that the Module base</span> -00024 <span class="comment">// class has been created or destroyed</span> -00025 <span class="comment">//</span> -00026 -<a name="l00027"></a><a class="code" href="classModule.html#a0">00027</a> <a class="code" href="classModule.html#a0">Module::Module</a>() { } -<a name="l00028"></a><a class="code" href="classModule.html#a1">00028</a> <a class="code" href="classModule.html#a1">Module::~Module</a>() { } -<a name="l00029"></a><a class="code" href="classModule.html#a3">00029</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a3">Module::OnUserConnect</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { } -<a name="l00030"></a><a class="code" href="classModule.html#a4">00030</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a4">Module::OnUserQuit</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { } -<a name="l00031"></a><a class="code" href="classModule.html#a5">00031</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a5">Module::OnUserJoin</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* channel) { } -<a name="l00032"></a><a class="code" href="classModule.html#a6">00032</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a6">Module::OnUserPart</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* channel) { } -00033 <span class="keywordtype">void</span> Module::OnPacketTransmit(<span class="keywordtype">char</span> *p) { } -00034 <span class="keywordtype">void</span> Module::OnPacketReceive(<span class="keywordtype">char</span> *p) { } -<a name="l00035"></a><a class="code" href="classModule.html#a9">00035</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a9">Module::OnRehash</a>() { } -00036 <span class="keywordtype">void</span> Module::OnServerRaw(string &raw, <span class="keywordtype">bool</span> inbound) { } -<a name="l00037"></a><a class="code" href="classModule.html#a2">00037</a> <a class="code" href="classVersion.html">Version</a> <a class="code" href="classModule.html#a2">Module::GetVersion</a>() { <span class="keywordflow">return</span> <a class="code" href="classVersion.html">Version</a>(1,0,0,0); } -00038 -00039 <span class="comment">// server is a wrapper class that provides methods to all of the C-style</span> -00040 <span class="comment">// exports in the core</span> -00041 <span class="comment">//</span> -00042 -<a name="l00043"></a><a class="code" href="classServer.html#a0">00043</a> <a class="code" href="classServer.html#a0">Server::Server</a>() -00044 { -00045 } -00046 -<a name="l00047"></a><a class="code" href="classServer.html#a1">00047</a> <a class="code" href="classServer.html#a1">Server::~Server</a>() +00012 <span class="preprocessor">#include "<a class="code" href="ctables_8h.html">ctables.h</a>"</span> +00013 <span class="preprocessor">#include "inspircd_io.h"</span> +00014 +00015 <span class="comment">// class type for holding an extended mode character - internal to core</span> +00016 +<a name="l00017"></a><a class="code" href="classExtMode.html">00017</a> <span class="keyword">class </span><a class="code" href="classExtMode.html">ExtMode</a> +00018 { +00019 <span class="keyword">public</span>: +<a name="l00020"></a><a class="code" href="classExtMode.html#m0">00020</a> <span class="keywordtype">char</span> <a class="code" href="classExtMode.html#m0">modechar</a>; +<a name="l00021"></a><a class="code" href="classExtMode.html#m1">00021</a> <span class="keywordtype">int</span> <a class="code" href="classExtMode.html#m1">type</a>; +<a name="l00022"></a><a class="code" href="classExtMode.html#m2">00022</a> <span class="keywordtype">bool</span> <a class="code" href="classExtMode.html#m2">default_on</a>; +<a name="l00023"></a><a class="code" href="classExtMode.html#m3">00023</a> <span class="keywordtype">int</span> <a class="code" href="classExtMode.html#m3">params_when_on</a>; +<a name="l00024"></a><a class="code" href="classExtMode.html#m4">00024</a> <span class="keywordtype">int</span> <a class="code" href="classExtMode.html#m4">params_when_off</a>; +<a name="l00025"></a><a class="code" href="classExtMode.html#a0">00025</a> <a class="code" href="classExtMode.html#a0">ExtMode</a>(<span class="keywordtype">char</span> mc, <span class="keywordtype">int</span> ty, <span class="keywordtype">bool</span> d_on, <span class="keywordtype">int</span> p_on, <span class="keywordtype">int</span> p_off) : modechar(mc), type(ty), default_on(d_on), params_when_on(p_on), params_when_off(p_off) { }; +00026 }; +00027 +<a name="l00028"></a><a class="code" href="modules_8cpp.html#a0">00028</a> <span class="keyword">typedef</span> std::vector<ExtMode> <a class="code" href="modules_8cpp.html#a0">ExtModeList</a>; +<a name="l00029"></a><a class="code" href="modules_8cpp.html#a1">00029</a> <span class="keyword">typedef</span> ExtModeList::iterator <a class="code" href="modules_8cpp.html#a1">ExtModeListIter</a>; +00030 +<a name="l00031"></a><a class="code" href="modules_8cpp.html#a2">00031</a> <a class="code" href="modules_8cpp.html#a0">ExtModeList</a> <a class="code" href="modules_8cpp.html#a2">EMode</a>; +00032 +00033 <span class="comment">// returns true if an extended mode character is in use</span> +<a name="l00034"></a><a class="code" href="modules_8cpp.html#a4">00034</a> <span class="keywordtype">bool</span> <a class="code" href="modules_8cpp.html#a4">ModeDefined</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type) +00035 { +00036 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a1">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a2">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a2">EMode</a>.end(); i++) +00037 { +00038 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) +00039 { +00040 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00041 } +00042 } +00043 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00044 } +00045 +00046 <span class="comment">// returns number of parameters for a custom mode when it is switched on</span> +<a name="l00047"></a><a class="code" href="modules_8cpp.html#a5">00047</a> <span class="keywordtype">bool</span> <a class="code" href="modules_8cpp.html#a5">ModeDefinedOn</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type) 00048 { -00049 } -00050 -<a name="l00051"></a><a class="code" href="classServer.html#a2">00051</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a2">Server::SendOpers</a>(string s) -00052 { -00053 WriteOpers(<span class="stringliteral">"%s"</span>,s.c_str()); -00054 } -00055 -<a name="l00056"></a><a class="code" href="classServer.html#a3">00056</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a3">Server::Log</a>(<span class="keywordtype">int</span> level, string s) -00057 { -00058 log(level,<span class="stringliteral">"%s"</span>,s.c_str()); -00059 } -00060 -<a name="l00061"></a><a class="code" href="classServer.html#a4">00061</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a4">Server::Send</a>(<span class="keywordtype">int</span> Socket, string s) -00062 { -00063 Write(Socket,<span class="stringliteral">"%s"</span>,s.c_str()); -00064 } -00065 -<a name="l00066"></a><a class="code" href="classServer.html#a5">00066</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a5">Server::SendServ</a>(<span class="keywordtype">int</span> Socket, string s) -00067 { -00068 WriteServ(Socket,<span class="stringliteral">"%s"</span>,s.c_str()); -00069 } -00070 -<a name="l00071"></a><a class="code" href="classServer.html#a6">00071</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a6">Server::SendFrom</a>(<span class="keywordtype">int</span> Socket, <a class="code" href="classuserrec.html">userrec</a>* User, string s) -00072 { -00073 WriteFrom(Socket,User,<span class="stringliteral">"%s"</span>,s.c_str()); -00074 } -00075 -<a name="l00076"></a><a class="code" href="classServer.html#a7">00076</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a7">Server::SendTo</a>(<a class="code" href="classuserrec.html">userrec</a>* Source, <a class="code" href="classuserrec.html">userrec</a>* Dest, string s) -00077 { -00078 WriteTo(Source,Dest,<span class="stringliteral">"%s"</span>,s.c_str()); -00079 } -00080 -<a name="l00081"></a><a class="code" href="classServer.html#a8">00081</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a8">Server::SendChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Channel, string s,<span class="keywordtype">bool</span> IncludeSender) -00082 { -00083 <span class="keywordflow">if</span> (IncludeSender) -00084 { -00085 WriteChannel(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str()); -00086 } -00087 <span class="keywordflow">else</span> -00088 { -00089 ChanExceptSender(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str()); -00090 } -00091 } -00092 -<a name="l00093"></a><a class="code" href="classServer.html#a9">00093</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a9">Server::CommonChannels</a>(<a class="code" href="classuserrec.html">userrec</a>* u1, <a class="code" href="classuserrec.html">userrec</a>* u2) -00094 { -00095 <span class="keywordflow">return</span> (common_channels(u1,u2) != 0); -00096 } -00097 -<a name="l00098"></a><a class="code" href="classServer.html#a10">00098</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a10">Server::SendCommon</a>(<a class="code" href="classuserrec.html">userrec</a>* User, string text,<span class="keywordtype">bool</span> IncludeSender) -00099 { -00100 <span class="keywordflow">if</span> (IncludeSender) -00101 { -00102 WriteCommon(User,<span class="stringliteral">"%s"</span>,text.c_str()); -00103 } -00104 <span class="keywordflow">else</span> -00105 { -00106 WriteCommonExcept(User,<span class="stringliteral">"%s"</span>,text.c_str()); -00107 } -00108 } -00109 -<a name="l00110"></a><a class="code" href="classServer.html#a11">00110</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a11">Server::SendWallops</a>(<a class="code" href="classuserrec.html">userrec</a>* User, string text) -00111 { -00112 WriteWallOps(User,<span class="stringliteral">"%s"</span>,text.c_str()); -00113 } -00114 -<a name="l00115"></a><a class="code" href="classServer.html#a12">00115</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a12">Server::IsNick</a>(string nick) -00116 { -00117 <span class="keywordflow">return</span> (isnick(nick.c_str()) != 0); -00118 } -00119 -<a name="l00120"></a><a class="code" href="classServer.html#a13">00120</a> <a class="code" href="classuserrec.html">userrec</a>* <a class="code" href="classServer.html#a13">Server::FindNick</a>(string nick) -00121 { -00122 <span class="keywordflow">return</span> Find(nick); -00123 } -00124 -<a name="l00125"></a><a class="code" href="classServer.html#a14">00125</a> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#a14">Server::FindChannel</a>(string channel) -00126 { -00127 <span class="keywordflow">return</span> FindChan(channel.c_str()); -00128 } -00129 -<a name="l00130"></a><a class="code" href="classServer.html#a15">00130</a> string <a class="code" href="classServer.html#a15">Server::ChanMode</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Chan) -00131 { -00132 string mode = cmode(User,Chan); -00133 <span class="keywordflow">return</span> mode; -00134 } -00135 -<a name="l00136"></a><a class="code" href="classServer.html#a16">00136</a> string <a class="code" href="classServer.html#a16">Server::GetServerName</a>() -00137 { -00138 <span class="keywordflow">return</span> getservername(); -00139 } -00140 -<a name="l00141"></a><a class="code" href="classServer.html#a17">00141</a> string <a class="code" href="classServer.html#a17">Server::GetNetworkName</a>() -00142 { -00143 <span class="keywordflow">return</span> getnetworkname(); -00144 } -00145 -<a name="l00146"></a><a class="code" href="classServer.html#a18">00146</a> <a class="code" href="classAdmin.html">Admin</a> <a class="code" href="classServer.html#a18">Server::GetAdmin</a>() -00147 { -00148 <span class="keywordflow">return</span> <a class="code" href="classAdmin.html">Admin</a>(getadminname(),getadminemail(),getadminnick()); -00149 } -00150 -00151 -<a name="l00152"></a><a class="code" href="classConfigReader.html#a0">00152</a> <a class="code" href="classConfigReader.html#a0">ConfigReader::ConfigReader</a>() -00153 { -00154 <a class="code" href="classConfigReader.html#n0">fname</a> = CONFIG_FILE; -00155 } -00156 -00157 -<a name="l00158"></a><a class="code" href="classConfigReader.html#a2">00158</a> <a class="code" href="classConfigReader.html#a2">ConfigReader::~ConfigReader</a>() -00159 { -00160 } -00161 -00162 -<a name="l00163"></a><a class="code" href="classConfigReader.html#a1">00163</a> <a class="code" href="classConfigReader.html#a0">ConfigReader::ConfigReader</a>(string filename) : fname(filename) { }; -00164 -<a name="l00165"></a><a class="code" href="classConfigReader.html#a3">00165</a> string <a class="code" href="classConfigReader.html#a3">ConfigReader::ReadValue</a>(string tag, string name, <span class="keywordtype">int</span> index) -00166 { -00167 <span class="keywordtype">char</span> val[MAXBUF]; -00168 ReadConf(<a class="code" href="classConfigReader.html#n0">fname</a>.c_str(),tag.c_str(),name.c_str(),index,val); -00169 string s = val; -00170 <span class="keywordflow">return</span> s; -00171 } -00172 -00173 -<a name="l00174"></a><a class="code" href="classConfigReader.html#a4">00174</a> <span class="keywordtype">int</span> <a class="code" href="classConfigReader.html#a4">ConfigReader::Enumerate</a>(string tag) -00175 { -00176 <span class="keywordflow">return</span> EnumConf(<a class="code" href="classConfigReader.html#n0">fname</a>.c_str(),tag.c_str()); -00177 } -00178 -00179 -<a name="l00180"></a><a class="code" href="classConfigReader.html#a5">00180</a> <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#a5">ConfigReader::Verify</a>() -00181 { -00182 <span class="keywordflow">return</span> <span class="keyword">true</span>; -00183 } -00184 -00185 -<a name="l00186"></a><a class="code" href="classFileReader.html#a1">00186</a> <a class="code" href="classFileReader.html#a0">FileReader::FileReader</a>(string filename) -00187 { -00188 <a class="code" href="modules_8h.html#a6">file_cache</a> c; -00189 readfile(c,filename.c_str()); -00190 this-><a class="code" href="classFileReader.html#o0">fc</a> = c; +00049 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a1">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a2">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a2">EMode</a>.end(); i++) +00050 { +00051 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) +00052 { +00053 <span class="keywordflow">return</span> i->params_when_on; +00054 } +00055 } +00056 <span class="keywordflow">return</span> 0; +00057 } +00058 +00059 <span class="comment">// returns number of parameters for a custom mode when it is switched on</span> +<a name="l00060"></a><a class="code" href="modules_8cpp.html#a6">00060</a> <span class="keywordtype">bool</span> <a class="code" href="modules_8cpp.html#a6">ModeDefinedOff</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type) +00061 { +00062 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a1">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a2">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a2">EMode</a>.end(); i++) +00063 { +00064 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) +00065 { +00066 <span class="keywordflow">return</span> i->params_when_off; +00067 } +00068 } +00069 <span class="keywordflow">return</span> 0; +00070 } +00071 +00072 <span class="comment">// returns true if an extended mode character is in use</span> +<a name="l00073"></a><a class="code" href="modules_8cpp.html#a7">00073</a> <span class="keywordtype">bool</span> <a class="code" href="modules_8cpp.html#a7">AddExtendedMode</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type, <span class="keywordtype">bool</span> default_on, <span class="keywordtype">int</span> params_on, <span class="keywordtype">int</span> params_off) +00074 { +00075 <a class="code" href="modules_8cpp.html#a2">EMode</a>.push_back( <a class="code" href="classExtMode.html">ExtMode</a> (modechar,type,default_on,params_on,params_off)); +00076 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00077 } +00078 +00079 +00080 <span class="comment">// version is a simple class for holding a modules version number</span> +00081 +<a name="l00082"></a><a class="code" href="classVersion.html#a0">00082</a> <a class="code" href="classVersion.html#a0">Version::Version</a>(<span class="keywordtype">int</span> major, <span class="keywordtype">int</span> minor, <span class="keywordtype">int</span> revision, <span class="keywordtype">int</span> build) : Major(major), Minor(minor), Revision(revision), Build(build) { }; +00083 +00084 <span class="comment">// admin is a simple class for holding a server's administrative info</span> +00085 +<a name="l00086"></a><a class="code" href="classAdmin.html#a0">00086</a> <a class="code" href="classAdmin.html#a0">Admin::Admin</a>(std::string name, std::string email, std::string nick) : Name(name), Email(email), Nick(nick) { }; +00087 +<a name="l00088"></a><a class="code" href="classModule.html#a0">00088</a> <a class="code" href="classModule.html#a0">Module::Module</a>() { } +<a name="l00089"></a><a class="code" href="classModule.html#a1">00089</a> <a class="code" href="classModule.html#a1">Module::~Module</a>() { } +<a name="l00090"></a><a class="code" href="classModule.html#a3">00090</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a3">Module::OnUserConnect</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { } +<a name="l00091"></a><a class="code" href="classModule.html#a4">00091</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a4">Module::OnUserQuit</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { } +<a name="l00092"></a><a class="code" href="classModule.html#a5">00092</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a5">Module::OnUserJoin</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* channel) { } +<a name="l00093"></a><a class="code" href="classModule.html#a6">00093</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a6">Module::OnUserPart</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* channel) { } +00094 <span class="keywordtype">void</span> Module::OnPacketTransmit(<span class="keywordtype">char</span> *p) { } +00095 <span class="keywordtype">void</span> Module::OnPacketReceive(<span class="keywordtype">char</span> *p) { } +<a name="l00096"></a><a class="code" href="classModule.html#a9">00096</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a9">Module::OnRehash</a>() { } +<a name="l00097"></a><a class="code" href="classModule.html#a10">00097</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a10">Module::OnServerRaw</a>(std::string &raw, <span class="keywordtype">bool</span> inbound) { } +<a name="l00098"></a><a class="code" href="classModule.html#a11">00098</a> <span class="keywordtype">bool</span> <a class="code" href="classModule.html#a11">Module::OnExtendedMode</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan, <span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type, <span class="keywordtype">bool</span> mode_on, string_list &params) { } +<a name="l00099"></a><a class="code" href="classModule.html#a2">00099</a> <a class="code" href="classVersion.html">Version</a> <a class="code" href="classModule.html#a2">Module::GetVersion</a>() { <span class="keywordflow">return</span> <a class="code" href="classVersion.html">Version</a>(1,0,0,0); } +00100 +00101 <span class="comment">// server is a wrapper class that provides methods to all of the C-style</span> +00102 <span class="comment">// exports in the core</span> +00103 <span class="comment">//</span> +00104 +<a name="l00105"></a><a class="code" href="classServer.html#a0">00105</a> <a class="code" href="classServer.html#a0">Server::Server</a>() +00106 { +00107 } +00108 +<a name="l00109"></a><a class="code" href="classServer.html#a1">00109</a> <a class="code" href="classServer.html#a1">Server::~Server</a>() +00110 { +00111 } +00112 +<a name="l00113"></a><a class="code" href="classServer.html#a2">00113</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a2">Server::SendOpers</a>(std::string s) +00114 { +00115 WriteOpers(<span class="stringliteral">"%s"</span>,s.c_str()); +00116 } +00117 +<a name="l00118"></a><a class="code" href="classServer.html#a3">00118</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a3">Server::Log</a>(<span class="keywordtype">int</span> level, std::string s) +00119 { +00120 log(level,<span class="stringliteral">"%s"</span>,s.c_str()); +00121 } +00122 +<a name="l00123"></a><a class="code" href="classServer.html#a20">00123</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a20">Server::AddCommand</a>(<span class="keywordtype">char</span>* cmd, handlerfunc f, <span class="keywordtype">char</span> flags, <span class="keywordtype">int</span> minparams) +00124 { +00125 <a class="code" href="modules_8h.html#a12">createcommand</a>(cmd,f,flags,minparams); +00126 } +00127 +00128 +<a name="l00129"></a><a class="code" href="classServer.html#a4">00129</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a4">Server::Send</a>(<span class="keywordtype">int</span> Socket, std::string s) +00130 { +00131 Write(Socket,<span class="stringliteral">"%s"</span>,s.c_str()); +00132 } +00133 +<a name="l00134"></a><a class="code" href="classServer.html#a5">00134</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a5">Server::SendServ</a>(<span class="keywordtype">int</span> Socket, std::string s) +00135 { +00136 WriteServ(Socket,<span class="stringliteral">"%s"</span>,s.c_str()); +00137 } +00138 +<a name="l00139"></a><a class="code" href="classServer.html#a6">00139</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a6">Server::SendFrom</a>(<span class="keywordtype">int</span> Socket, <a class="code" href="classuserrec.html">userrec</a>* User, std::string s) +00140 { +00141 WriteFrom(Socket,User,<span class="stringliteral">"%s"</span>,s.c_str()); +00142 } +00143 +<a name="l00144"></a><a class="code" href="classServer.html#a7">00144</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a7">Server::SendTo</a>(<a class="code" href="classuserrec.html">userrec</a>* Source, <a class="code" href="classuserrec.html">userrec</a>* Dest, std::string s) +00145 { +00146 WriteTo(Source,Dest,<span class="stringliteral">"%s"</span>,s.c_str()); +00147 } +00148 +<a name="l00149"></a><a class="code" href="classServer.html#a8">00149</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a8">Server::SendChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Channel, std::string s,<span class="keywordtype">bool</span> IncludeSender) +00150 { +00151 <span class="keywordflow">if</span> (IncludeSender) +00152 { +00153 WriteChannel(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str()); +00154 } +00155 <span class="keywordflow">else</span> +00156 { +00157 ChanExceptSender(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str()); +00158 } +00159 } +00160 +<a name="l00161"></a><a class="code" href="classServer.html#a9">00161</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a9">Server::CommonChannels</a>(<a class="code" href="classuserrec.html">userrec</a>* u1, <a class="code" href="classuserrec.html">userrec</a>* u2) +00162 { +00163 <span class="keywordflow">return</span> (common_channels(u1,u2) != 0); +00164 } +00165 +<a name="l00166"></a><a class="code" href="classServer.html#a10">00166</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a10">Server::SendCommon</a>(<a class="code" href="classuserrec.html">userrec</a>* User, std::string text,<span class="keywordtype">bool</span> IncludeSender) +00167 { +00168 <span class="keywordflow">if</span> (IncludeSender) +00169 { +00170 WriteCommon(User,<span class="stringliteral">"%s"</span>,text.c_str()); +00171 } +00172 <span class="keywordflow">else</span> +00173 { +00174 WriteCommonExcept(User,<span class="stringliteral">"%s"</span>,text.c_str()); +00175 } +00176 } +00177 +<a name="l00178"></a><a class="code" href="classServer.html#a11">00178</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a11">Server::SendWallops</a>(<a class="code" href="classuserrec.html">userrec</a>* User, std::string text) +00179 { +00180 WriteWallOps(User,<span class="stringliteral">"%s"</span>,text.c_str()); +00181 } +00182 +<a name="l00183"></a><a class="code" href="classServer.html#a12">00183</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a12">Server::IsNick</a>(std::string nick) +00184 { +00185 <span class="keywordflow">return</span> (isnick(nick.c_str()) != 0); +00186 } +00187 +<a name="l00188"></a><a class="code" href="classServer.html#a13">00188</a> <a class="code" href="classuserrec.html">userrec</a>* <a class="code" href="classServer.html#a13">Server::FindNick</a>(std::string nick) +00189 { +00190 <span class="keywordflow">return</span> Find(nick); 00191 } 00192 -<a name="l00193"></a><a class="code" href="classFileReader.html#a0">00193</a> <a class="code" href="classFileReader.html#a0">FileReader::FileReader</a>() +<a name="l00193"></a><a class="code" href="classServer.html#a14">00193</a> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#a14">Server::FindChannel</a>(std::string channel) 00194 { -00195 } -00196 -<a name="l00197"></a><a class="code" href="classFileReader.html#a3">00197</a> <span class="keywordtype">void</span> <a class="code" href="classFileReader.html#a3">FileReader::LoadFile</a>(string filename) -00198 { -00199 <a class="code" href="modules_8h.html#a6">file_cache</a> c; -00200 readfile(c,filename.c_str()); -00201 this-><a class="code" href="classFileReader.html#o0">fc</a> = c; -00202 } -00203 -<a name="l00204"></a><a class="code" href="classFileReader.html#a2">00204</a> <a class="code" href="classFileReader.html#a2">FileReader::~FileReader</a>() -00205 { +00195 <span class="keywordflow">return</span> FindChan(channel.c_str()); +00196 } +00197 +<a name="l00198"></a><a class="code" href="classServer.html#a15">00198</a> std::string <a class="code" href="classServer.html#a15">Server::ChanMode</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Chan) +00199 { +00200 <span class="keywordflow">return</span> cmode(User,Chan); +00201 } +00202 +<a name="l00203"></a><a class="code" href="classServer.html#a16">00203</a> std::string <a class="code" href="classServer.html#a16">Server::GetServerName</a>() +00204 { +00205 <span class="keywordflow">return</span> getservername(); 00206 } 00207 -<a name="l00208"></a><a class="code" href="classFileReader.html#a4">00208</a> string <a class="code" href="classFileReader.html#a4">FileReader::GetLine</a>(<span class="keywordtype">int</span> x) +<a name="l00208"></a><a class="code" href="classServer.html#a17">00208</a> std::string <a class="code" href="classServer.html#a17">Server::GetNetworkName</a>() 00209 { -00210 <span class="keywordflow">if</span> ((x<0) || (x><a class="code" href="classFileReader.html#o0">fc</a>.size())) -00211 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; -00212 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#o0">fc</a>[x]; -00213 } -00214 -<a name="l00215"></a><a class="code" href="classFileReader.html#a5">00215</a> <span class="keywordtype">int</span> <a class="code" href="classFileReader.html#a5">FileReader::FileSize</a>() -00216 { -00217 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#o0">fc</a>.size(); -00218 } +00210 <span class="keywordflow">return</span> getnetworkname(); +00211 } +00212 +<a name="l00213"></a><a class="code" href="classServer.html#a18">00213</a> <a class="code" href="classAdmin.html">Admin</a> <a class="code" href="classServer.html#a18">Server::GetAdmin</a>() +00214 { +00215 <span class="keywordflow">return</span> <a class="code" href="classAdmin.html">Admin</a>(getadminname(),getadminemail(),getadminnick()); +00216 } +00217 +00218 00219 -00220 -00221 vector<Module*> <a class="code" href="modules_8cpp.html#a1">modules</a>(255); -00222 vector<ircd_module*> <a class="code" href="modules_8cpp.html#a2">factory</a>(255); +<a name="l00220"></a><a class="code" href="classServer.html#a19">00220</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a19">Server::AddExtendedMode</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type, <span class="keywordtype">bool</span> default_on, <span class="keywordtype">int</span> params_when_on, <span class="keywordtype">int</span> params_when_off) +00221 { +00222 } 00223 -<a name="l00224"></a><a class="code" href="modules_8cpp.html#a0">00224</a> <span class="keywordtype">int</span> <a class="code" href="modules_8cpp.html#a0">MODCOUNT</a> = -1; -00225 -00226 -</pre></div><hr><address style="align: right;"><small>Generated on Sun Mar 30 19:34:54 2003 for InspIRCd by +00224 +<a name="l00225"></a><a class="code" href="classConfigReader.html#a0">00225</a> <a class="code" href="classConfigReader.html#a0">ConfigReader::ConfigReader</a>() +00226 { +00227 <a class="code" href="classConfigReader.html#n0">fname</a> = CONFIG_FILE; +00228 } +00229 +00230 +<a name="l00231"></a><a class="code" href="classConfigReader.html#a2">00231</a> <a class="code" href="classConfigReader.html#a2">ConfigReader::~ConfigReader</a>() +00232 { +00233 } +00234 +00235 +<a name="l00236"></a><a class="code" href="classConfigReader.html#a1">00236</a> <a class="code" href="classConfigReader.html#a0">ConfigReader::ConfigReader</a>(std::string filename) : fname(filename) { }; +00237 +<a name="l00238"></a><a class="code" href="classConfigReader.html#a3">00238</a> std::string <a class="code" href="classConfigReader.html#a3">ConfigReader::ReadValue</a>(std::string tag, std::string name, <span class="keywordtype">int</span> index) +00239 { +00240 <span class="keywordtype">char</span> val[MAXBUF]; +00241 ReadConf(<a class="code" href="classConfigReader.html#n0">fname</a>.c_str(),tag.c_str(),name.c_str(),index,val); +00242 <span class="keywordflow">return</span> val; +00243 } +00244 +00245 +<a name="l00246"></a><a class="code" href="classConfigReader.html#a4">00246</a> <span class="keywordtype">int</span> <a class="code" href="classConfigReader.html#a4">ConfigReader::Enumerate</a>(std::string tag) +00247 { +00248 <span class="keywordflow">return</span> EnumConf(<a class="code" href="classConfigReader.html#n0">fname</a>.c_str(),tag.c_str()); +00249 } +00250 +00251 +<a name="l00252"></a><a class="code" href="classConfigReader.html#a5">00252</a> <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#a5">ConfigReader::Verify</a>() +00253 { +00254 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00255 } +00256 +00257 +<a name="l00258"></a><a class="code" href="classFileReader.html#a1">00258</a> <a class="code" href="classFileReader.html#a0">FileReader::FileReader</a>(std::string filename) +00259 { +00260 <a class="code" href="modules_8h.html#a9">file_cache</a> c; +00261 readfile(c,filename.c_str()); +00262 this-><a class="code" href="classFileReader.html#o0">fc</a> = c; +00263 } +00264 +<a name="l00265"></a><a class="code" href="classFileReader.html#a0">00265</a> <a class="code" href="classFileReader.html#a0">FileReader::FileReader</a>() +00266 { +00267 } +00268 +<a name="l00269"></a><a class="code" href="classFileReader.html#a3">00269</a> <span class="keywordtype">void</span> <a class="code" href="classFileReader.html#a3">FileReader::LoadFile</a>(std::string filename) +00270 { +00271 <a class="code" href="modules_8h.html#a9">file_cache</a> c; +00272 readfile(c,filename.c_str()); +00273 this-><a class="code" href="classFileReader.html#o0">fc</a> = c; +00274 } +00275 +00276 +<a name="l00277"></a><a class="code" href="classFileReader.html#a2">00277</a> <a class="code" href="classFileReader.html#a2">FileReader::~FileReader</a>() +00278 { +00279 } +00280 +<a name="l00281"></a><a class="code" href="classFileReader.html#a4">00281</a> <span class="keywordtype">bool</span> <a class="code" href="classFileReader.html#a4">FileReader::Exists</a>() +00282 { +00283 <span class="keywordflow">if</span> (<a class="code" href="classFileReader.html#o0">fc</a>.size() == 0) +00284 { +00285 <span class="keywordflow">return</span>(false); +00286 } +00287 <span class="keywordflow">else</span> +00288 { +00289 <span class="keywordflow">return</span>(true); +00290 } +00291 } +00292 +<a name="l00293"></a><a class="code" href="classFileReader.html#a5">00293</a> std::string <a class="code" href="classFileReader.html#a5">FileReader::GetLine</a>(<span class="keywordtype">int</span> x) +00294 { +00295 <span class="keywordflow">if</span> ((x<0) || (x><a class="code" href="classFileReader.html#o0">fc</a>.size())) +00296 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; +00297 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#o0">fc</a>[x]; +00298 } +00299 +<a name="l00300"></a><a class="code" href="classFileReader.html#a6">00300</a> <span class="keywordtype">int</span> <a class="code" href="classFileReader.html#a6">FileReader::FileSize</a>() +00301 { +00302 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#o0">fc</a>.size(); +00303 } +00304 +00305 +00306 std::vector<Module*> <a class="code" href="modules_8cpp.html#a8">modules</a>(255); +00307 std::vector<ircd_module*> <a class="code" href="modules_8cpp.html#a9">factory</a>(255); +00308 +<a name="l00309"></a><a class="code" href="modules_8cpp.html#a3">00309</a> <span class="keywordtype">int</span> <a class="code" href="modules_8cpp.html#a3">MODCOUNT</a> = -1; +00310 +00311 +</pre></div><hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:27 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/modules_8cpp.html b/docs/module-doc/modules_8cpp.html index aaed85b4e..88f136261 100644 --- a/docs/module-doc/modules_8cpp.html +++ b/docs/module-doc/modules_8cpp.html @@ -7,35 +7,164 @@ <center> <a class="qindex" href="main.html">Main Page</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center> <hr><h1>modules.cpp File Reference</h1><code>#include <typeinfo></code><br> -<code>#include <iostream.h></code><br> +<code>#include <iostream></code><br> <code>#include "globals.h"</code><br> <code>#include "<a class="el" href="modules_8h-source.html">modules.h</a>"</code><br> +<code>#include "<a class="el" href="ctables_8h-source.html">ctables.h</a>"</code><br> <code>#include "inspircd_io.h"</code><br> <p> Include dependency graph for modules.cpp:<p><center><img src="modules_8cpp__incl.gif" border="0" usemap="#modules.cpp_map" alt="Include dependency graph"></center> <map name="modules.cpp_map"> -<area href="modules_8h.html" shape="rect" coords="265,155,332,176" alt=""> -<area href="base_8h.html" shape="rect" coords="240,86,288,107" alt=""> +<area href="modules_8h.html" shape="rect" coords="255,224,321,245" alt=""> +<area href="base_8h.html" shape="rect" coords="257,85,305,107" alt=""> +<area href="ctables_8h.html" shape="rect" coords="368,155,429,176" alt=""> </map> <p> <a href="modules_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>Compounds</h2></td></tr> +<tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classExtMode.html">ExtMode</a></td></tr> +<tr><td colspan=2><br><h2>Typedefs</h2></td></tr> +<tr><td nowrap align=right valign=top>typedef std::vector< <a class="el" href="classExtMode.html">ExtMode</a> > </td><td valign=bottom><a class="el" href="modules_8cpp.html#a0">ExtModeList</a></td></tr> +<tr><td nowrap align=right valign=top>typedef ExtModeList::iterator </td><td valign=bottom><a class="el" href="modules_8cpp.html#a1">ExtModeListIter</a></td></tr> <tr><td colspan=2><br><h2>Functions</h2></td></tr> -<tr><td nowrap align=right valign=top>vector< <a class="el" href="classModule.html">Module</a> * > </td><td valign=bottom><a class="el" href="modules_8cpp.html#a1">modules</a> (255)</td></tr> -<tr><td nowrap align=right valign=top>vector< <a class="el" href="modules_8h.html#a7">ircd_module</a> * > </td><td valign=bottom><a class="el" href="modules_8cpp.html#a2">factory</a> (255)</td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="modules_8cpp.html#a4">ModeDefined</a> (char modechar, int type)</td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="modules_8cpp.html#a5">ModeDefinedOn</a> (char modechar, int type)</td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="modules_8cpp.html#a6">ModeDefinedOff</a> (char modechar, int type)</td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="modules_8cpp.html#a7">AddExtendedMode</a> (char modechar, int type, bool default_on, int params_on, int params_off)</td></tr> +<tr><td nowrap align=right valign=top>std::vector< <a class="el" href="classModule.html">Module</a> * > </td><td valign=bottom><a class="el" href="modules_8cpp.html#a8">modules</a> (255)</td></tr> +<tr><td nowrap align=right valign=top>std::vector< <a class="el" href="modules_8h.html#a11">ircd_module</a> * > </td><td valign=bottom><a class="el" href="modules_8cpp.html#a9">factory</a> (255)</td></tr> <tr><td colspan=2><br><h2>Variables</h2></td></tr> -<tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="modules_8cpp.html#a0">MODCOUNT</a> = -1</td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="modules_8cpp.html#a0">ExtModeList</a> </td><td valign=bottom><a class="el" href="modules_8cpp.html#a2">EMode</a></td></tr> +<tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="modules_8cpp.html#a3">MODCOUNT</a> = -1</td></tr> +</table> +<hr><h2>Typedef Documentation</h2> +<a name="a0" doxytag="modules.cpp::ExtModeList"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> typedef std::vector<<a class="el" href="classExtMode.html">ExtMode</a>> ExtModeList + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="modules_8cpp-source.html#l00028">28</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> + </tr> +</table> +<a name="a1" doxytag="modules.cpp::ExtModeListIter"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> typedef ExtModeList::iterator ExtModeListIter + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="modules_8cpp-source.html#l00029">29</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#l00034">ModeDefined()</a>, <a class="el" href="modules_8cpp-source.html#l00060">ModeDefinedOff()</a>, and <a class="el" href="modules_8cpp-source.html#l00047">ModeDefinedOn()</a>. </td> + </tr> </table> <hr><h2>Function Documentation</h2> -<a name="a2" doxytag="modules.cpp::factory"></a><p> +<a name="a7" doxytag="modules.cpp::AddExtendedMode"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool AddExtendedMode </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char </td> + <td class="mdname" nowrap> <em>modechar</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>type</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>default_on</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>params_on</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>params_off</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="modules_8cpp-source.html#l00073">73</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="modules_8cpp-source.html#l00031">EMode</a>. +<p> +<div class="fragment"><pre>00074 { +00075 <a class="code" href="modules_8cpp.html#a2">EMode</a>.push_back( <a class="code" href="classExtMode.html">ExtMode</a> (modechar,type,default_on,params_on,params_off)); +00076 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00077 } +</pre></div> </td> + </tr> +</table> +<a name="a9" doxytag="modules.cpp::factory"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> vector<<a class="el" href="modules_8h.html#a7">ircd_module</a>*> factory </td> + <td class="md" nowrap valign="top"> std::vector<<a class="el" href="modules_8h.html#a11">ircd_module</a>*> factory </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">255 </td> <td class="mdname1" valign="top" nowrap> </td> @@ -58,13 +187,175 @@ Include dependency graph for modules.cpp:<p><center><img src="modules_8cpp__incl </td> </tr> </table> -<a name="a1" doxytag="modules.cpp::modules"></a><p> +<a name="a4" doxytag="modules.cpp::ModeDefined"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> vector<<a class="el" href="classModule.html">Module</a>*> modules </td> + <td class="md" nowrap valign="top"> bool ModeDefined </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char </td> + <td class="mdname" nowrap> <em>modechar</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>type</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="modules_8cpp-source.html#l00034">34</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="modules_8cpp-source.html#l00031">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00029">ExtModeListIter</a>. +<p> +<div class="fragment"><pre>00035 { +00036 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a1">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a2">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a2">EMode</a>.end(); i++) +00037 { +00038 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) +00039 { +00040 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00041 } +00042 } +00043 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00044 } +</pre></div> </td> + </tr> +</table> +<a name="a6" doxytag="modules.cpp::ModeDefinedOff"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool ModeDefinedOff </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char </td> + <td class="mdname" nowrap> <em>modechar</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>type</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="modules_8cpp-source.html#l00060">60</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="modules_8cpp-source.html#l00031">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00029">ExtModeListIter</a>. +<p> +<div class="fragment"><pre>00061 { +00062 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a1">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a2">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a2">EMode</a>.end(); i++) +00063 { +00064 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) +00065 { +00066 <span class="keywordflow">return</span> i->params_when_off; +00067 } +00068 } +00069 <span class="keywordflow">return</span> 0; +00070 } +</pre></div> </td> + </tr> +</table> +<a name="a5" doxytag="modules.cpp::ModeDefinedOn"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool ModeDefinedOn </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char </td> + <td class="mdname" nowrap> <em>modechar</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>type</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="modules_8cpp-source.html#l00047">47</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="modules_8cpp-source.html#l00031">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00029">ExtModeListIter</a>. +<p> +<div class="fragment"><pre>00048 { +00049 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a1">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a2">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a2">EMode</a>.end(); i++) +00050 { +00051 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) +00052 { +00053 <span class="keywordflow">return</span> i->params_when_on; +00054 } +00055 } +00056 <span class="keywordflow">return</span> 0; +00057 } +</pre></div> </td> + </tr> +</table> +<a name="a8" doxytag="modules.cpp::modules"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> std::vector<<a class="el" href="classModule.html">Module</a>*> modules </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">255 </td> <td class="mdname1" valign="top" nowrap> </td> @@ -88,7 +379,33 @@ Include dependency graph for modules.cpp:<p><center><img src="modules_8cpp__incl </tr> </table> <hr><h2>Variable Documentation</h2> -<a name="a0" doxytag="modules.cpp::MODCOUNT"></a><p> +<a name="a2" doxytag="modules.cpp::EMode"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="modules_8cpp.html#a0">ExtModeList</a> EMode + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="modules_8cpp-source.html#l00031">31</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#l00073">AddExtendedMode()</a>, <a class="el" href="modules_8cpp-source.html#l00034">ModeDefined()</a>, <a class="el" href="modules_8cpp-source.html#l00060">ModeDefinedOff()</a>, and <a class="el" href="modules_8cpp-source.html#l00047">ModeDefinedOn()</a>. </td> + </tr> +</table> +<a name="a3" doxytag="modules.cpp::MODCOUNT"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> @@ -109,10 +426,10 @@ 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#l00224">224</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#l00309">309</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<hr><address style="align: right;"><small>Generated on Sun Mar 30 19:35:10 2003 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:31 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/modules_8cpp__incl.gif b/docs/module-doc/modules_8cpp__incl.gif Binary files differindex 8bda5cc6d..835d4034b 100644 --- a/docs/module-doc/modules_8cpp__incl.gif +++ b/docs/module-doc/modules_8cpp__incl.gif diff --git a/docs/module-doc/modules_8h-source.html b/docs/module-doc/modules_8h-source.html index 2a095fcc1..577ffd62a 100644 --- a/docs/module-doc/modules_8h-source.html +++ b/docs/module-doc/modules_8h-source.html @@ -22,135 +22,147 @@ <a name="l00014"></a><a class="code" href="modules_8h.html#a3">00014</a> <span class="preprocessor"></span><span class="preprocessor">#define SPARSE 40</span> <a name="l00015"></a><a class="code" href="modules_8h.html#a4">00015</a> <span class="preprocessor"></span><span class="preprocessor">#define NONE 50</span> 00016 <span class="preprocessor"></span> -00017 <span class="preprocessor">#include "dynamic.h"</span> -00018 <span class="preprocessor">#include "<a class="code" href="base_8h.html">base.h</a>"</span> -00019 <span class="preprocessor">#include <string></span> -00020 <span class="preprocessor">#include <deque></span> -00021 -<a name="l00024"></a><a class="code" href="modules_8h.html#a6">00024</a> <span class="keyword">typedef</span> deque<string> <a class="code" href="modules_8h.html#a6">file_cache</a>; -00025 +<a name="l00017"></a><a class="code" href="modules_8h.html#a5">00017</a> <span class="preprocessor">#define MT_CHANNEL 1</span> +<a name="l00018"></a><a class="code" href="modules_8h.html#a6">00018</a> <span class="preprocessor"></span><span class="preprocessor">#define MT_CLIENT 2</span> +<a name="l00019"></a><a class="code" href="modules_8h.html#a7">00019</a> <span class="preprocessor"></span><span class="preprocessor">#define MT_SERVER 3</span> +00020 <span class="preprocessor"></span> +00021 <span class="preprocessor">#include "dynamic.h"</span> +00022 <span class="preprocessor">#include "<a class="code" href="base_8h.html">base.h</a>"</span> +00023 <span class="preprocessor">#include "<a class="code" href="ctables_8h.html">ctables.h</a>"</span> +00024 <span class="preprocessor">#include <string></span> +00025 <span class="preprocessor">#include <deque></span> 00026 -00027 <span class="comment">// This #define allows us to call a method in all</span> -00028 <span class="comment">// loaded modules in a readable simple way, e.g.:</span> -00029 <span class="comment">// 'FOREACH_MOD OnConnect(user);'</span> -00030 -<a name="l00031"></a><a class="code" href="modules_8h.html#a5">00031</a> <span class="preprocessor">#define FOREACH_MOD for (int i = 0; i <= MODCOUNT; i++) modules[i]-></span> -00032 <span class="preprocessor"></span> -00033 <span class="comment">// class Version holds the version information of a Module, returned</span> -00034 <span class="comment">// by Module::GetVersion (thanks RD)</span> +<a name="l00029"></a><a class="code" href="modules_8h.html#a9">00029</a> <span class="keyword">typedef</span> std::deque<std::string> <a class="code" href="modules_8h.html#a9">file_cache</a>; +<a name="l00030"></a><a class="code" href="modules_8h.html#a10">00030</a> <span class="keyword">typedef</span> <a class="code" href="modules_8h.html#a9">file_cache</a> <a class="code" href="modules_8h.html#a10">string_list</a>; +00031 +00032 <span class="comment">// This #define allows us to call a method in all</span> +00033 <span class="comment">// loaded modules in a readable simple way, e.g.:</span> +00034 <span class="comment">// 'FOREACH_MOD OnConnect(user);'</span> 00035 -<a name="l00040"></a><a class="code" href="classVersion.html">00040</a> <span class="keyword">class </span><a class="code" href="classVersion.html">Version</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> -00041 { -00042 <span class="keyword">public</span>: -<a name="l00043"></a><a class="code" href="classVersion.html#m2">00043</a> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="classVersion.html#m0">Major</a>, <a class="code" href="classVersion.html#m1">Minor</a>, <a class="code" href="classVersion.html#m2">Revision</a>, <a class="code" href="classVersion.html#m3">Build</a>; -00044 <a class="code" href="classVersion.html#a0">Version</a>(<span class="keywordtype">int</span> major, <span class="keywordtype">int</span> minor, <span class="keywordtype">int</span> revision, <span class="keywordtype">int</span> build); -00045 }; -00046 -00047 -<a name="l00053"></a><a class="code" href="classAdmin.html">00053</a> <span class="keyword">class </span><a class="code" href="classAdmin.html">Admin</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> -00054 { -00055 <span class="keyword">public</span>: -<a name="l00056"></a><a class="code" href="classAdmin.html#m2">00056</a> <span class="keyword">const</span> string <a class="code" href="classAdmin.html#m0">Name</a>, <a class="code" href="classAdmin.html#m1">Email</a>, <a class="code" href="classAdmin.html#m2">Nick</a>; -00057 <a class="code" href="classAdmin.html#a0">Admin</a>(string name,string email,string nick); -00058 }; -00059 -<a name="l00065"></a><a class="code" href="classModule.html">00065</a> <span class="keyword">class </span><a class="code" href="classModule.html">Module</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> -00066 { -00067 <span class="keyword">public</span>: -00068 -00072 <a class="code" href="classModule.html#a0">Module</a>(); -00073 -00077 <span class="keyword">virtual</span> <a class="code" href="classModule.html#a1">~Module</a>(); -00078 -00083 <span class="keyword">virtual</span> <a class="code" href="classVersion.html">Version</a> <a class="code" href="classModule.html#a2">GetVersion</a>(); +<a name="l00036"></a><a class="code" href="modules_8h.html#a8">00036</a> <span class="preprocessor">#define FOREACH_MOD for (int i = 0; i <= MODCOUNT; i++) modules[i]-></span> +00037 <span class="preprocessor"></span> +00038 <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="modules_8h.html#a12">createcommand</a>(<span class="keywordtype">char</span>* cmd, handlerfunc f, <span class="keywordtype">char</span> flags, <span class="keywordtype">int</span> minparams); +00039 +00040 <span class="comment">// class Version holds the version information of a Module, returned</span> +00041 <span class="comment">// by Module::GetVersion (thanks RD)</span> +00042 +<a name="l00047"></a><a class="code" href="classVersion.html">00047</a> <span class="keyword">class </span><a class="code" href="classVersion.html">Version</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> +00048 { +00049 <span class="keyword">public</span>: +<a name="l00050"></a><a class="code" href="classVersion.html#m2">00050</a> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="classVersion.html#m0">Major</a>, <a class="code" href="classVersion.html#m1">Minor</a>, <a class="code" href="classVersion.html#m2">Revision</a>, <a class="code" href="classVersion.html#m3">Build</a>; +00051 <a class="code" href="classVersion.html#a0">Version</a>(<span class="keywordtype">int</span> major, <span class="keywordtype">int</span> minor, <span class="keywordtype">int</span> revision, <span class="keywordtype">int</span> build); +00052 }; +00053 +<a name="l00059"></a><a class="code" href="classAdmin.html">00059</a> <span class="keyword">class </span><a class="code" href="classAdmin.html">Admin</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> +00060 { +00061 <span class="keyword">public</span>: +<a name="l00062"></a><a class="code" href="classAdmin.html#m2">00062</a> <span class="keyword">const</span> std::string <a class="code" href="classAdmin.html#m0">Name</a>, <a class="code" href="classAdmin.html#m1">Email</a>, <a class="code" href="classAdmin.html#m2">Nick</a>; +00063 <a class="code" href="classAdmin.html#a0">Admin</a>(std::string name, std::string email, std::string nick); +00064 }; +00065 +<a name="l00071"></a><a class="code" href="classModule.html">00071</a> <span class="keyword">class </span><a class="code" href="classModule.html">Module</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> +00072 { +00073 <span class="keyword">public</span>: +00074 +00078 <a class="code" href="classModule.html#a0">Module</a>(); +00079 +00083 <span class="keyword">virtual</span> <a class="code" href="classModule.html#a1">~Module</a>(); 00084 -00088 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a3">OnUserConnect</a>(<a class="code" href="classuserrec.html">userrec</a>* user); -00089 -00093 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a4">OnUserQuit</a>(<a class="code" href="classuserrec.html">userrec</a>* user); -00094 -00099 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a5">OnUserJoin</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* channel); +00089 <span class="keyword">virtual</span> <a class="code" href="classVersion.html">Version</a> <a class="code" href="classModule.html#a2">GetVersion</a>(); +00090 +00094 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a3">OnUserConnect</a>(<a class="code" href="classuserrec.html">userrec</a>* user); +00095 +00099 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a4">OnUserQuit</a>(<a class="code" href="classuserrec.html">userrec</a>* user); 00100 -00105 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a6">OnUserPart</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* channel); +00105 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a5">OnUserJoin</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* channel); 00106 -00113 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a7">Module::OnPacketTransmit</a>(<span class="keywordtype">char</span> *p); -00114 -00122 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a8">Module::OnPacketReceive</a>(<span class="keywordtype">char</span> *p); -00123 -00129 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a9">OnRehash</a>(); -00130 -00137 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a10">Module::OnServerRaw</a>(string &raw, <span class="keywordtype">bool</span> inbound); -00138 -00139 }; -00140 -00141 -<a name="l00147"></a><a class="code" href="classServer.html">00147</a> <span class="keyword">class </span><a class="code" href="classServer.html">Server</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> -00148 { -00149 <span class="keyword">public</span>: -00153 <a class="code" href="classServer.html#a0">Server</a>(); -00157 <span class="keyword">virtual</span> <a class="code" href="classServer.html#a1">~Server</a>(); -00158 -00162 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a2">SendOpers</a>(string s); -00167 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a3">Log</a>(<span class="keywordtype">int</span> level, string s); -00172 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a4">Send</a>(<span class="keywordtype">int</span> Socket, string s); -00177 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a5">SendServ</a>(<span class="keywordtype">int</span> Socket, string s); -00182 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a6">SendFrom</a>(<span class="keywordtype">int</span> Socket, <a class="code" href="classuserrec.html">userrec</a>* User, string s); -00187 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a7">SendTo</a>(<a class="code" href="classuserrec.html">userrec</a>* Source, <a class="code" href="classuserrec.html">userrec</a>* Dest, string s); -00194 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a8">SendChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Channel, string s,<span class="keywordtype">bool</span> IncludeSender); -00199 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a9">CommonChannels</a>(<a class="code" href="classuserrec.html">userrec</a>* u1, <a class="code" href="classuserrec.html">userrec</a>* u2); -00207 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a10">SendCommon</a>(<a class="code" href="classuserrec.html">userrec</a>* User, string text,<span class="keywordtype">bool</span> IncludeSender); -00212 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a11">SendWallops</a>(<a class="code" href="classuserrec.html">userrec</a>* User, string text); -00213 -00217 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a12">IsNick</a>(string nick); -00221 <span class="keyword">virtual</span> <a class="code" href="classuserrec.html">userrec</a>* <a class="code" href="classServer.html#a13">FindNick</a>(string nick); -00225 <span class="keyword">virtual</span> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#a14">FindChannel</a>(string channel); -00230 <span class="keyword">virtual</span> string <a class="code" href="classServer.html#a15">ChanMode</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Chan); -00233 <span class="keyword">virtual</span> string <a class="code" href="classServer.html#a16">GetServerName</a>(); -00236 <span class="keyword">virtual</span> string <a class="code" href="classServer.html#a17">GetNetworkName</a>(); -00242 <span class="keyword">virtual</span> <a class="code" href="classAdmin.html">Admin</a> <a class="code" href="classServer.html#a18">GetAdmin</a>(); -00243 -00244 }; -00245 -<a name="l00252"></a><a class="code" href="classConfigReader.html">00252</a> <span class="keyword">class </span><a class="code" href="classConfigReader.html">ConfigReader</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> -00253 { -00254 <span class="keyword">protected</span>: -<a name="l00257"></a><a class="code" href="classConfigReader.html#n0">00257</a> string <a class="code" href="classConfigReader.html#n0">fname</a>; -00258 <span class="keyword">public</span>: -00263 <a class="code" href="classConfigReader.html#a0">ConfigReader</a>(); <span class="comment">// default constructor reads ircd.conf</span> -00267 <span class="comment"></span> <a class="code" href="classConfigReader.html#a0">ConfigReader</a>(string filename); <span class="comment">// read a module-specific config</span> -00271 <span class="comment"></span> <a class="code" href="classConfigReader.html#a2">~ConfigReader</a>(); -00276 string <a class="code" href="classConfigReader.html#a3">ReadValue</a>(string tag, string name, <span class="keywordtype">int</span> index); -00283 <span class="keywordtype">int</span> <a class="code" href="classConfigReader.html#a4">Enumerate</a>(string tag); -00287 <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#a5">Verify</a>(); -00288 }; -00289 -00290 -00291 -<a name="l00297"></a><a class="code" href="classFileReader.html">00297</a> <span class="keyword">class </span><a class="code" href="classFileReader.html">FileReader</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> -00298 { -<a name="l00299"></a><a class="code" href="classFileReader.html#o0">00299</a> <a class="code" href="modules_8h.html#a6">file_cache</a> <a class="code" href="classFileReader.html#o0">fc</a>; -00300 <span class="keyword">public</span>: -00305 <a class="code" href="classFileReader.html#a0">FileReader</a>(); -00311 <a class="code" href="classFileReader.html#a0">FileReader</a>(string filename); -00315 <a class="code" href="classFileReader.html#a2">~FileReader</a>(); -00321 <span class="keywordtype">void</span> <a class="code" href="classFileReader.html#a3">LoadFile</a>(string filename); -00326 string <a class="code" href="classFileReader.html#a4">GetLine</a>(<span class="keywordtype">int</span> x); -00332 <span class="keywordtype">int</span> <a class="code" href="classFileReader.html#a5">FileSize</a>(); -00333 }; -00334 -00335 -<a name="l00342"></a><a class="code" href="classModuleFactory.html">00342</a> <span class="keyword">class </span><a class="code" href="classModuleFactory.html">ModuleFactory</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> -00343 { -00344 <span class="keyword">public</span>: -<a name="l00345"></a><a class="code" href="classModuleFactory.html#a0">00345</a> <a class="code" href="classModuleFactory.html#a0">ModuleFactory</a>() { } -<a name="l00346"></a><a class="code" href="classModuleFactory.html#a1">00346</a> <span class="keyword">virtual</span> <a class="code" href="classModuleFactory.html#a1">~ModuleFactory</a>() { } -00351 <span class="keyword">virtual</span> <a class="code" href="classModule.html">Module</a> * <a class="code" href="classModuleFactory.html#a2">CreateModule</a>() = 0; -00352 }; -00353 -00354 -<a name="l00355"></a><a class="code" href="modules_8h.html#a7">00355</a> <span class="keyword">typedef</span> DLLFactory<ModuleFactory> <a class="code" href="modules_8h.html#a7">ircd_module</a>; -00356 -00357 <span class="preprocessor">#endif</span> -</pre></div><hr><address style="align: right;"><small>Generated on Sun Mar 30 19:34:54 2003 for InspIRCd by +00111 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a6">OnUserPart</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* channel); +00112 +00119 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a7">Module::OnPacketTransmit</a>(<span class="keywordtype">char</span> *p); +00120 +00128 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a8">Module::OnPacketReceive</a>(<span class="keywordtype">char</span> *p); +00129 +00135 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a9">OnRehash</a>(); +00136 +00143 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a10">OnServerRaw</a>(std::string &raw, <span class="keywordtype">bool</span> inbound); +00144 +00153 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classModule.html#a11">OnExtendedMode</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan, <span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type, <span class="keywordtype">bool</span> mode_on, string_list &params); +00154 +00155 }; +00156 +00157 +<a name="l00163"></a><a class="code" href="classServer.html">00163</a> <span class="keyword">class </span><a class="code" href="classServer.html">Server</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> +00164 { +00165 <span class="keyword">public</span>: +00169 <a class="code" href="classServer.html#a0">Server</a>(); +00173 <span class="keyword">virtual</span> <a class="code" href="classServer.html#a1">~Server</a>(); +00174 +00178 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a2">SendOpers</a>(std::string s); +00183 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a3">Log</a>(<span class="keywordtype">int</span> level, std::string s); +00188 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a4">Send</a>(<span class="keywordtype">int</span> Socket, std::string s); +00193 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a5">SendServ</a>(<span class="keywordtype">int</span> Socket, std::string s); +00198 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a6">SendFrom</a>(<span class="keywordtype">int</span> Socket, <a class="code" href="classuserrec.html">userrec</a>* User, std::string s); +00203 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a7">SendTo</a>(<a class="code" href="classuserrec.html">userrec</a>* Source, <a class="code" href="classuserrec.html">userrec</a>* Dest, std::string s); +00210 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a8">SendChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Channel, std::string s,<span class="keywordtype">bool</span> IncludeSender); +00215 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a9">CommonChannels</a>(<a class="code" href="classuserrec.html">userrec</a>* u1, <a class="code" href="classuserrec.html">userrec</a>* u2); +00223 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a10">SendCommon</a>(<a class="code" href="classuserrec.html">userrec</a>* User, std::string text,<span class="keywordtype">bool</span> IncludeSender); +00228 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a11">SendWallops</a>(<a class="code" href="classuserrec.html">userrec</a>* User, std::string text); +00229 +00233 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a12">IsNick</a>(std::string nick); +00237 <span class="keyword">virtual</span> <a class="code" href="classuserrec.html">userrec</a>* <a class="code" href="classServer.html#a13">FindNick</a>(std::string nick); +00241 <span class="keyword">virtual</span> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#a14">FindChannel</a>(std::string channel); +00246 <span class="keyword">virtual</span> std::string <a class="code" href="classServer.html#a15">ChanMode</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Chan); +00249 <span class="keyword">virtual</span> std::string <a class="code" href="classServer.html#a16">GetServerName</a>(); +00252 <span class="keyword">virtual</span> std::string <a class="code" href="classServer.html#a17">GetNetworkName</a>(); +00258 <span class="keyword">virtual</span> <a class="code" href="classAdmin.html">Admin</a> <a class="code" href="classServer.html#a18">GetAdmin</a>(); +00276 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a19">AddExtendedMode</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type, <span class="keywordtype">bool</span> default_on, <span class="keywordtype">int</span> params_when_on, <span class="keywordtype">int</span> params_when_off); +00277 +00292 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a20">AddCommand</a>(<span class="keywordtype">char</span>* cmd, handlerfunc f, <span class="keywordtype">char</span> flags, <span class="keywordtype">int</span> minparams); +00293 +00294 }; +00295 +<a name="l00302"></a><a class="code" href="classConfigReader.html">00302</a> <span class="keyword">class </span><a class="code" href="classConfigReader.html">ConfigReader</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> +00303 { +00304 <span class="keyword">protected</span>: +<a name="l00307"></a><a class="code" href="classConfigReader.html#n0">00307</a> std::string <a class="code" href="classConfigReader.html#n0">fname</a>; +00308 <span class="keyword">public</span>: +00313 <a class="code" href="classConfigReader.html#a0">ConfigReader</a>(); <span class="comment">// default constructor reads ircd.conf</span> +00317 <span class="comment"></span> <a class="code" href="classConfigReader.html#a0">ConfigReader</a>(std::string filename); <span class="comment">// read a module-specific config</span> +00321 <span class="comment"></span> <a class="code" href="classConfigReader.html#a2">~ConfigReader</a>(); +00326 std::string <a class="code" href="classConfigReader.html#a3">ReadValue</a>(std::string tag, std::string name, <span class="keywordtype">int</span> index); +00333 <span class="keywordtype">int</span> <a class="code" href="classConfigReader.html#a4">Enumerate</a>(std::string tag); +00337 <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#a5">Verify</a>(); +00338 }; +00339 +00340 +00341 +<a name="l00347"></a><a class="code" href="classFileReader.html">00347</a> <span class="keyword">class </span><a class="code" href="classFileReader.html">FileReader</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> +00348 { +<a name="l00349"></a><a class="code" href="classFileReader.html#o0">00349</a> <a class="code" href="modules_8h.html#a9">file_cache</a> <a class="code" href="classFileReader.html#o0">fc</a>; +00350 <span class="keyword">public</span>: +00355 <a class="code" href="classFileReader.html#a0">FileReader</a>(); +00361 <a class="code" href="classFileReader.html#a0">FileReader</a>(std::string filename); +00365 <a class="code" href="classFileReader.html#a2">~FileReader</a>(); +00371 <span class="keywordtype">void</span> <a class="code" href="classFileReader.html#a3">LoadFile</a>(std::string filename); +00376 <span class="keywordtype">bool</span> <a class="code" href="classFileReader.html#a4">Exists</a>(); +00377 std::string <a class="code" href="classFileReader.html#a5">GetLine</a>(<span class="keywordtype">int</span> x); +00383 <span class="keywordtype">int</span> <a class="code" href="classFileReader.html#a6">FileSize</a>(); +00384 }; +00385 +00386 +<a name="l00393"></a><a class="code" href="classModuleFactory.html">00393</a> <span class="keyword">class </span><a class="code" href="classModuleFactory.html">ModuleFactory</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> +00394 { +00395 <span class="keyword">public</span>: +<a name="l00396"></a><a class="code" href="classModuleFactory.html#a0">00396</a> <a class="code" href="classModuleFactory.html#a0">ModuleFactory</a>() { } +<a name="l00397"></a><a class="code" href="classModuleFactory.html#a1">00397</a> <span class="keyword">virtual</span> <a class="code" href="classModuleFactory.html#a1">~ModuleFactory</a>() { } +00402 <span class="keyword">virtual</span> <a class="code" href="classModule.html">Module</a> * <a class="code" href="classModuleFactory.html#a2">CreateModule</a>() = 0; +00403 }; +00404 +00405 +<a name="l00406"></a><a class="code" href="modules_8h.html#a11">00406</a> <span class="keyword">typedef</span> DLLFactory<ModuleFactory> <a class="code" href="modules_8h.html#a11">ircd_module</a>; +00407 +00408 <span class="preprocessor">#endif</span> +</pre></div><hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:27 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/modules_8h.html b/docs/module-doc/modules_8h.html index 6bc8a7c8c..2ba5b9dad 100644 --- a/docs/module-doc/modules_8h.html +++ b/docs/module-doc/modules_8h.html @@ -8,13 +8,15 @@ <a class="qindex" href="main.html">Main Page</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center> <hr><h1>modules.h File Reference</h1><code>#include "dynamic.h"</code><br> <code>#include "<a class="el" href="base_8h-source.html">base.h</a>"</code><br> +<code>#include "<a class="el" href="ctables_8h-source.html">ctables.h</a>"</code><br> <code>#include <string></code><br> <code>#include <deque></code><br> <p> Include dependency graph for modules.h:<p><center><img src="modules_8h__incl.gif" border="0" usemap="#modules.h_map" alt="Include dependency graph"></center> <map name="modules.h_map"> -<area href="base_8h.html" shape="rect" coords="100,85,148,106" alt=""> +<area href="base_8h.html" shape="rect" coords="91,86,139,107" alt=""> +<area href="ctables_8h.html" shape="rect" coords="151,155,212,176" alt=""> </map> <p> @@ -47,11 +49,17 @@ This graph shows which files directly or indirectly include this file:<p><center <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="modules_8h.html#a2">DEFAULT</a> 30</td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="modules_8h.html#a3">SPARSE</a> 40</td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="modules_8h.html#a4">NONE</a> 50</td></tr> -<tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="modules_8h.html#a5">FOREACH_MOD</a> for (int i = 0; i <= <a class="el" href="modules_8cpp.html#a0">MODCOUNT</a>; i++) modules[i]-></td></tr> +<tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="modules_8h.html#a5">MT_CHANNEL</a> 1</td></tr> +<tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="modules_8h.html#a6">MT_CLIENT</a> 2</td></tr> +<tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="modules_8h.html#a7">MT_SERVER</a> 3</td></tr> +<tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="modules_8h.html#a8">FOREACH_MOD</a> for (int i = 0; i <= <a class="el" href="modules_8cpp.html#a3">MODCOUNT</a>; i++) modules[i]-></td></tr> <tr><td colspan=2><br><h2>Typedefs</h2></td></tr> -<tr><td nowrap align=right valign=top>typedef deque< string > </td><td valign=bottom><a class="el" href="modules_8h.html#a6">file_cache</a></td></tr> -<tr><td> </td><td><font size=-1><em>Low level definition of a <a class="el" href="classFileReader.html">FileReader</a> classes file cache area.</em> <a href="#a6"></a><em></em></font><br><br></td></tr> -<tr><td nowrap align=right valign=top>typedef DLLFactory< <a class="el" href="classModuleFactory.html">ModuleFactory</a> > </td><td valign=bottom><a class="el" href="modules_8h.html#a7">ircd_module</a></td></tr> +<tr><td nowrap align=right valign=top>typedef std::deque< std::string > </td><td valign=bottom><a class="el" href="modules_8h.html#a9">file_cache</a></td></tr> +<tr><td> </td><td><font size=-1><em>Low level definition of a <a class="el" href="classFileReader.html">FileReader</a> classes file cache area.</em> <a href="#a9"></a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>typedef <a class="el" href="modules_8h.html#a9">file_cache</a> </td><td valign=bottom><a class="el" href="modules_8h.html#a10">string_list</a></td></tr> +<tr><td nowrap align=right valign=top>typedef DLLFactory< <a class="el" href="classModuleFactory.html">ModuleFactory</a> > </td><td valign=bottom><a class="el" href="modules_8h.html#a11">ircd_module</a></td></tr> +<tr><td colspan=2><br><h2>Functions</h2></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="modules_8h.html#a12">createcommand</a> (char *cmd, <a class="el" href="ctables_8h.html#a0">handlerfunc</a> f, char flags, int minparams)</td></tr> </table> <hr><h2>Define Documentation</h2> <a name="a0" doxytag="modules.h::DEBUG"></a><p> @@ -102,13 +110,13 @@ Definition at line <a class="el" href="modules_8h-source.html#l00011">11</a> of Definition at line <a class="el" href="modules_8h-source.html#l00013">13</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td> </tr> </table> -<a name="a5" doxytag="modules.h::FOREACH_MOD"></a><p> +<a name="a8" doxytag="modules.h::FOREACH_MOD"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> #define FOREACH_MOD for (int i = 0; i <= <a class="el" href="modules_8cpp.html#a0">MODCOUNT</a>; i++) modules[i]-> + <td class="md" nowrap valign="top"> #define FOREACH_MOD for (int i = 0; i <= <a class="el" href="modules_8cpp.html#a3">MODCOUNT</a>; i++) modules[i]-> </table> </td> </tr> @@ -123,7 +131,79 @@ Definition at line <a class="el" href="modules_8h-source.html#l00013">13</a> of <p> <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>. </td> +Definition at line <a class="el" href="modules_8h-source.html#l00036">36</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td> + </tr> +</table> +<a name="a5" doxytag="modules.h::MT_CHANNEL"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> #define MT_CHANNEL 1 + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="modules_8h-source.html#l00017">17</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td> + </tr> +</table> +<a name="a6" doxytag="modules.h::MT_CLIENT"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> #define MT_CLIENT 2 + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="modules_8h-source.html#l00018">18</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td> + </tr> +</table> +<a name="a7" doxytag="modules.h::MT_SERVER"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> #define MT_SERVER 3 + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="modules_8h-source.html#l00019">19</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td> </tr> </table> <a name="a4" doxytag="modules.h::NONE"></a><p> @@ -199,13 +279,13 @@ Definition at line <a class="el" href="modules_8h-source.html#l00012">12</a> of </tr> </table> <hr><h2>Typedef Documentation</h2> -<a name="a6" doxytag="modules.h::file_cache"></a><p> +<a name="a9" doxytag="modules.h::file_cache"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> typedef deque<string> file_cache + <td class="md" nowrap valign="top"> typedef std::deque<std::string> file_cache </table> </td> </tr> @@ -222,12 +302,12 @@ Low level definition of a <a class="el" href="classFileReader.html">FileReader</ <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00024">24</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. +Definition at line <a class="el" href="modules_8h-source.html#l00029">29</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00186">FileReader::FileReader()</a>, and <a class="el" href="modules_8cpp-source.html#l00197">FileReader::LoadFile()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00258">FileReader::FileReader()</a>, and <a class="el" href="modules_8cpp-source.html#l00269">FileReader::LoadFile()</a>. </td> </tr> </table> -<a name="a7" doxytag="modules.h::ircd_module"></a><p> +<a name="a11" doxytag="modules.h::ircd_module"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> @@ -248,10 +328,87 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00186">FileReader::F <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00355">355</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td> +Definition at line <a class="el" href="modules_8h-source.html#l00406">406</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td> + </tr> +</table> +<a name="a10" doxytag="modules.h::string_list"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> typedef <a class="el" href="modules_8h.html#a9">file_cache</a> string_list + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="modules_8h-source.html#l00030">30</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td> + </tr> +</table> +<hr><h2>Function Documentation</h2> +<a name="a12" doxytag="modules.h::createcommand"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void createcommand </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char * </td> + <td class="mdname" nowrap> <em>cmd</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="ctables_8h.html#a0">handlerfunc</a> </td> + <td class="mdname" nowrap> <em>f</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char </td> + <td class="mdname" nowrap> <em>flags</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>minparams</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Referenced by <a class="el" href="modules_8cpp-source.html#l00123">Server::AddCommand()</a>. </td> </tr> </table> -<hr><address style="align: right;"><small>Generated on Sun Mar 30 19:35:14 2003 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:31 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/modules_8h__incl.gif b/docs/module-doc/modules_8h__incl.gif Binary files differindex 8d4968496..61434f1b5 100644 --- a/docs/module-doc/modules_8h__incl.gif +++ b/docs/module-doc/modules_8h__incl.gif diff --git a/docs/module-doc/servers_8cpp-source.html b/docs/module-doc/servers_8cpp-source.html index 8a35f5020..e36a1e279 100644 --- a/docs/module-doc/servers_8cpp-source.html +++ b/docs/module-doc/servers_8cpp-source.html @@ -15,7 +15,7 @@ 00007 <span class="preprocessor">#include "<a class="code" href="servers_8h.html">servers.h</a>"</span> 00008 <span class="preprocessor">#include "inspircd.h"</span> 00009 <span class="preprocessor">#include <stdio.h></span> -00010 <span class="preprocessor">#include <map.h></span> +00010 <span class="preprocessor">#include <map></span> 00011 <a name="l00012"></a><a class="code" href="classserverrec.html#a0">00012</a> <a class="code" href="classserverrec.html#a0">serverrec::serverrec</a>() 00013 { @@ -46,7 +46,7 @@ 00038 <a class="code" href="classconnection.html#m1">fd</a> = 0; 00039 } 00040 -</pre></div><hr><address style="align: right;"><small>Generated on Sun Mar 30 19:34:54 2003 for InspIRCd by +</pre></div><hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:27 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/servers_8cpp.html b/docs/module-doc/servers_8cpp.html index 4deb59b75..df236e2ef 100644 --- a/docs/module-doc/servers_8cpp.html +++ b/docs/module-doc/servers_8cpp.html @@ -10,7 +10,7 @@ <code>#include "<a class="el" href="servers_8h-source.html">servers.h</a>"</code><br> <code>#include "inspircd.h"</code><br> <code>#include <stdio.h></code><br> -<code>#include <map.h></code><br> +<code>#include <map></code><br> <p> Include dependency graph for servers.cpp:<p><center><img src="servers_8cpp__incl.gif" border="0" usemap="#servers.cpp_map" alt="Include dependency graph"></center> @@ -23,7 +23,7 @@ Include dependency graph for servers.cpp:<p><center><img src="servers_8cpp__incl <a href="servers_8cpp-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0> <tr><td></td></tr> </table> -<hr><address style="align: right;"><small>Generated on Sun Mar 30 19:35:16 2003 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:31 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/servers_8cpp__incl.gif b/docs/module-doc/servers_8cpp__incl.gif Binary files differindex 1783340d4..515e4087d 100644 --- a/docs/module-doc/servers_8cpp__incl.gif +++ b/docs/module-doc/servers_8cpp__incl.gif diff --git a/docs/module-doc/servers_8h-source.html b/docs/module-doc/servers_8h-source.html index e0c6cb504..2074436cf 100644 --- a/docs/module-doc/servers_8h-source.html +++ b/docs/module-doc/servers_8h-source.html @@ -14,7 +14,7 @@ 00006 <span class="preprocessor">#include "inspircd_config.h"</span> 00007 <span class="preprocessor">#include "<a class="code" href="connection_8h.html">connection.h</a>"</span> 00008 <span class="preprocessor">#include <string></span> -00009 <span class="preprocessor">#include <map.h></span> +00009 <span class="preprocessor">#include <map></span> 00010 00011 <span class="preprocessor">#ifndef __SERVERS_H__ </span> 00012 <span class="preprocessor"></span><span class="preprocessor">#define __SERVERS_H__ </span> @@ -42,11 +42,9 @@ 00058 00059 00060 -<a name="l00061"></a><a class="code" href="servers_8h.html#a2">00061</a> <span class="keyword">typedef</span> map<string, serverrec*> <a class="code" href="servers_8h.html#a2">server_list</a>; -00062 -00063 <span class="preprocessor">#endif</span> -00064 <span class="preprocessor"></span> -</pre></div><hr><address style="align: right;"><small>Generated on Sun Mar 30 19:34:54 2003 for InspIRCd by +00061 <span class="preprocessor">#endif</span> +00062 <span class="preprocessor"></span> +</pre></div><hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:27 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/servers_8h.html b/docs/module-doc/servers_8h.html index 0494a236b..7d7049f95 100644 --- a/docs/module-doc/servers_8h.html +++ b/docs/module-doc/servers_8h.html @@ -9,12 +9,12 @@ <hr><h1>servers.h File Reference</h1><code>#include "inspircd_config.h"</code><br> <code>#include "<a class="el" href="connection_8h-source.html">connection.h</a>"</code><br> <code>#include <string></code><br> -<code>#include <map.h></code><br> +<code>#include <map></code><br> <p> Include dependency graph for servers.h:<p><center><img src="servers_8h__incl.gif" border="0" usemap="#servers.h_map" alt="Include dependency graph"></center> <map name="servers.h_map"> -<area href="connection_8h.html" shape="rect" coords="80,85,160,106" alt=""> +<area href="connection_8h.html" shape="rect" coords="79,85,159,106" alt=""> </map> <p> @@ -32,8 +32,6 @@ This graph shows which files directly or indirectly include this file:<p><center <tr><td colspan=2><br><h2>Defines</h2></td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="servers_8h.html#a0">LINK_ACTIVE</a> 1</td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="servers_8h.html#a1">LINK_INACTIVE</a> 0</td></tr> -<tr><td colspan=2><br><h2>Typedefs</h2></td></tr> -<tr><td nowrap align=right valign=top>typedef map< string, <a class="el" href="classserverrec.html">serverrec</a> * > </td><td valign=bottom><a class="el" href="servers_8h.html#a2">server_list</a></td></tr> </table> <hr><h2>Define Documentation</h2> <a name="a0" doxytag="servers.h::LINK_ACTIVE"></a><p> @@ -84,32 +82,7 @@ Definition at line <a class="el" href="servers_8h-source.html#l00014">14</a> of Definition at line <a class="el" href="servers_8h-source.html#l00015">15</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>. </td> </tr> </table> -<hr><h2>Typedef Documentation</h2> -<a name="a2" doxytag="servers.h::server_list"></a><p> -<table width="100%" cellpadding="2" cellspacing="0" border="0"> - <tr> - <td class="md"> - <table cellpadding="0" cellspacing="0" border="0"> - <tr> - <td class="md" nowrap valign="top"> typedef map<string, <a class="el" href="classserverrec.html">serverrec</a>*> server_list - </table> - </td> - </tr> -</table> -<table cellspacing=5 cellpadding=0 border=0> - <tr> - <td> - - </td> - <td> - -<p> - -<p> -Definition at line <a class="el" href="servers_8h-source.html#l00061">61</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>. </td> - </tr> -</table> -<hr><address style="align: right;"><small>Generated on Sun Mar 30 19:35:19 2003 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:32 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/servers_8h__incl.gif b/docs/module-doc/servers_8h__incl.gif Binary files differindex 0f4fa50ff..bd4799098 100644 --- a/docs/module-doc/servers_8h__incl.gif +++ b/docs/module-doc/servers_8h__incl.gif diff --git a/docs/module-doc/tree.html b/docs/module-doc/tree.html index 13321d9da..5537b7116 100644 --- a/docs/module-doc/tree.html +++ b/docs/module-doc/tree.html @@ -114,6 +114,7 @@ <p><img src="ftv2pnode.png" onclick="toggleFolder('folder1', this)"/><img src="ftv2folderclosed.png" onclick="toggleFolder('folder1', this)"/><a class="el" href="files.html" target="basefrm">File List</a></p> <div id="folder1"> <p><img src="ftv2vertline.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="base_8h.html" target="basefrm">base.h</a></p> + <p><img src="ftv2vertline.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="channels_8cpp.html" target="basefrm">channels.cpp</a></p> <p><img src="ftv2vertline.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="channels_8h.html" target="basefrm">channels.h</a></p> <p><img src="ftv2vertline.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="connection_8h.html" target="basefrm">connection.h</a></p> <p><img src="ftv2vertline.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="ctables_8h.html" target="basefrm">ctables.h</a></p> @@ -135,6 +136,7 @@ <p><img src="ftv2vertline.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="classConnectClass.html" target="basefrm">ConnectClass</a></p> <p><img src="ftv2vertline.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="classconnection.html" target="basefrm">connection</a></p> <p><img src="ftv2vertline.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="classExemptItem.html" target="basefrm">ExemptItem</a></p> + <p><img src="ftv2vertline.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="classExtMode.html" target="basefrm">ExtMode</a></p> <p><img src="ftv2vertline.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="classFileReader.html" target="basefrm">FileReader</a></p> <p><img src="ftv2vertline.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="classHostItem.html" target="basefrm">HostItem</a></p> <p><img src="ftv2vertline.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="classInvited.html" target="basefrm">Invited</a></p> @@ -150,33 +152,34 @@ </div> <p><img src="ftv2pnode.png" onclick="toggleFolder('folder3', this)"/><img src="ftv2folderclosed.png" onclick="toggleFolder('folder3', this)"/><a class="el" href="hierarchy.html" target="basefrm">Class Hierarchy</a></p> <div id="folder3"> - <p><img src="ftv2vertline.png"/><img src="ftv2plastnode.png" onclick="toggleFolder('folder4', this)"/><img src="ftv2folderclosed.png" onclick="toggleFolder('folder4', this)"/><a class="el" href="classclassbase.html" target="basefrm">classbase</a></p> + <p><img src="ftv2vertline.png"/><img src="ftv2pnode.png" onclick="toggleFolder('folder4', this)"/><img src="ftv2folderclosed.png" onclick="toggleFolder('folder4', this)"/><a class="el" href="classclassbase.html" target="basefrm">classbase</a></p> <div id="folder4"> - <p><img src="ftv2vertline.png"/><img src="ftv2blank.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="classAdmin.html" target="basefrm">Admin</a></p> - <p><img src="ftv2vertline.png"/><img src="ftv2blank.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="classchanrec.html" target="basefrm">chanrec</a></p> - <p><img src="ftv2vertline.png"/><img src="ftv2blank.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="classcommand__t.html" target="basefrm">command_t</a></p> - <p><img src="ftv2vertline.png"/><img src="ftv2blank.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="classConfigReader.html" target="basefrm">ConfigReader</a></p> - <p><img src="ftv2vertline.png"/><img src="ftv2blank.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="classConnectClass.html" target="basefrm">ConnectClass</a></p> - <p><img src="ftv2vertline.png"/><img src="ftv2blank.png"/><img src="ftv2pnode.png" onclick="toggleFolder('folder5', this)"/><img src="ftv2folderclosed.png" onclick="toggleFolder('folder5', this)"/><a class="el" href="classconnection.html" target="basefrm">connection</a></p> + <p><img src="ftv2vertline.png"/><img src="ftv2vertline.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="classAdmin.html" target="basefrm">Admin</a></p> + <p><img src="ftv2vertline.png"/><img src="ftv2vertline.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="classchanrec.html" target="basefrm">chanrec</a></p> + <p><img src="ftv2vertline.png"/><img src="ftv2vertline.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="classcommand__t.html" target="basefrm">command_t</a></p> + <p><img src="ftv2vertline.png"/><img src="ftv2vertline.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="classConfigReader.html" target="basefrm">ConfigReader</a></p> + <p><img src="ftv2vertline.png"/><img src="ftv2vertline.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="classConnectClass.html" target="basefrm">ConnectClass</a></p> + <p><img src="ftv2vertline.png"/><img src="ftv2vertline.png"/><img src="ftv2pnode.png" onclick="toggleFolder('folder5', this)"/><img src="ftv2folderclosed.png" onclick="toggleFolder('folder5', this)"/><a class="el" href="classconnection.html" target="basefrm">connection</a></p> <div id="folder5"> - <p><img src="ftv2vertline.png"/><img src="ftv2blank.png"/><img src="ftv2vertline.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="classserverrec.html" target="basefrm">serverrec</a></p> - <p><img src="ftv2vertline.png"/><img src="ftv2blank.png"/><img src="ftv2vertline.png"/><img src="ftv2lastnode.png"/><img src="ftv2doc.png"/><a class="el" href="classuserrec.html" target="basefrm">userrec</a></p> + <p><img src="ftv2vertline.png"/><img src="ftv2vertline.png"/><img src="ftv2vertline.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="classserverrec.html" target="basefrm">serverrec</a></p> + <p><img src="ftv2vertline.png"/><img src="ftv2vertline.png"/><img src="ftv2vertline.png"/><img src="ftv2lastnode.png"/><img src="ftv2doc.png"/><a class="el" href="classuserrec.html" target="basefrm">userrec</a></p> </div> - <p><img src="ftv2vertline.png"/><img src="ftv2blank.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="classFileReader.html" target="basefrm">FileReader</a></p> - <p><img src="ftv2vertline.png"/><img src="ftv2blank.png"/><img src="ftv2pnode.png" onclick="toggleFolder('folder6', this)"/><img src="ftv2folderclosed.png" onclick="toggleFolder('folder6', this)"/><a class="el" href="classHostItem.html" target="basefrm">HostItem</a></p> + <p><img src="ftv2vertline.png"/><img src="ftv2vertline.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="classFileReader.html" target="basefrm">FileReader</a></p> + <p><img src="ftv2vertline.png"/><img src="ftv2vertline.png"/><img src="ftv2pnode.png" onclick="toggleFolder('folder6', this)"/><img src="ftv2folderclosed.png" onclick="toggleFolder('folder6', this)"/><a class="el" href="classHostItem.html" target="basefrm">HostItem</a></p> <div id="folder6"> - <p><img src="ftv2vertline.png"/><img src="ftv2blank.png"/><img src="ftv2vertline.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="classBanItem.html" target="basefrm">BanItem</a></p> - <p><img src="ftv2vertline.png"/><img src="ftv2blank.png"/><img src="ftv2vertline.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="classExemptItem.html" target="basefrm">ExemptItem</a></p> - <p><img src="ftv2vertline.png"/><img src="ftv2blank.png"/><img src="ftv2vertline.png"/><img src="ftv2lastnode.png"/><img src="ftv2doc.png"/><a class="el" href="classInviteItem.html" target="basefrm">InviteItem</a></p> + <p><img src="ftv2vertline.png"/><img src="ftv2vertline.png"/><img src="ftv2vertline.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="classBanItem.html" target="basefrm">BanItem</a></p> + <p><img src="ftv2vertline.png"/><img src="ftv2vertline.png"/><img src="ftv2vertline.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="classExemptItem.html" target="basefrm">ExemptItem</a></p> + <p><img src="ftv2vertline.png"/><img src="ftv2vertline.png"/><img src="ftv2vertline.png"/><img src="ftv2lastnode.png"/><img src="ftv2doc.png"/><a class="el" href="classInviteItem.html" target="basefrm">InviteItem</a></p> </div> - <p><img src="ftv2vertline.png"/><img src="ftv2blank.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="classInvited.html" target="basefrm">Invited</a></p> - <p><img src="ftv2vertline.png"/><img src="ftv2blank.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="classModule.html" target="basefrm">Module</a></p> - <p><img src="ftv2vertline.png"/><img src="ftv2blank.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="classModuleFactory.html" target="basefrm">ModuleFactory</a></p> - <p><img src="ftv2vertline.png"/><img src="ftv2blank.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="classpacket.html" target="basefrm">packet</a></p> - <p><img src="ftv2vertline.png"/><img src="ftv2blank.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="classServer.html" target="basefrm">Server</a></p> - <p><img src="ftv2vertline.png"/><img src="ftv2blank.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="classucrec.html" target="basefrm">ucrec</a></p> - <p><img src="ftv2vertline.png"/><img src="ftv2blank.png"/><img src="ftv2lastnode.png"/><img src="ftv2doc.png"/><a class="el" href="classVersion.html" target="basefrm">Version</a></p> + <p><img src="ftv2vertline.png"/><img src="ftv2vertline.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="classInvited.html" target="basefrm">Invited</a></p> + <p><img src="ftv2vertline.png"/><img src="ftv2vertline.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="classModule.html" target="basefrm">Module</a></p> + <p><img src="ftv2vertline.png"/><img src="ftv2vertline.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="classModuleFactory.html" target="basefrm">ModuleFactory</a></p> + <p><img src="ftv2vertline.png"/><img src="ftv2vertline.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="classpacket.html" target="basefrm">packet</a></p> + <p><img src="ftv2vertline.png"/><img src="ftv2vertline.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="classServer.html" target="basefrm">Server</a></p> + <p><img src="ftv2vertline.png"/><img src="ftv2vertline.png"/><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="classucrec.html" target="basefrm">ucrec</a></p> + <p><img src="ftv2vertline.png"/><img src="ftv2vertline.png"/><img src="ftv2lastnode.png"/><img src="ftv2doc.png"/><a class="el" href="classVersion.html" target="basefrm">Version</a></p> </div> + <p><img src="ftv2vertline.png"/><img src="ftv2lastnode.png"/><img src="ftv2doc.png"/><a class="el" href="classExtMode.html" target="basefrm">ExtMode</a></p> </div> <p><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="functions.html" target="basefrm">Compound Members</a></p> <p><img src="ftv2node.png"/><img src="ftv2doc.png"/><a class="el" href="globals.html" target="basefrm">File Members</a></p> diff --git a/docs/module-doc/users_8cpp-source.html b/docs/module-doc/users_8cpp-source.html index b586cb13d..fa84b42c1 100644 --- a/docs/module-doc/users_8cpp-source.html +++ b/docs/module-doc/users_8cpp-source.html @@ -58,32 +58,37 @@ 00050 { 00051 <span class="keywordflow">for</span> (InvitedList::iterator i = <a class="code" href="classuserrec.html#o0">invites</a>.begin(); i != <a class="code" href="classuserrec.html#o0">invites</a>.end(); i++) 00052 { -00053 <span class="keywordflow">if</span> (!strcasecmp(i->channel,channel)) -00054 { -00055 <span class="keywordflow">return</span> <span class="keyword">true</span>; -00056 } -00057 } -00058 } -00059 -<a name="l00060"></a><a class="code" href="classuserrec.html#a5">00060</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a5">userrec::InviteTo</a>(<span class="keywordtype">char</span>* channel) -00061 { -00062 <a class="code" href="classInvited.html">Invited</a> i; -00063 strcpy(i.<a class="code" href="classInvited.html#m0">channel</a>,channel); -00064 <a class="code" href="classuserrec.html#o0">invites</a>.push_back(i); -00065 } -00066 -<a name="l00067"></a><a class="code" href="classuserrec.html#a6">00067</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a6">userrec::RemoveInvite</a>(<span class="keywordtype">char</span>* channel) -00068 { -00069 <span class="keywordflow">for</span> (InvitedList::iterator i = <a class="code" href="classuserrec.html#o0">invites</a>.begin(); i != <a class="code" href="classuserrec.html#o0">invites</a>.end(); i++) -00070 { -00071 <span class="keywordflow">if</span> (!strcasecmp(i->channel,channel)) -00072 { -00073 <a class="code" href="classuserrec.html#o0">invites</a>.erase(i); -00074 <span class="keywordflow">return</span>; -00075 } -00076 } -00077 } -</pre></div><hr><address style="align: right;"><small>Generated on Sun Mar 30 19:34:54 2003 for InspIRCd by +00053 <span class="keywordflow">if</span> (i->channel) { +00054 <span class="keywordflow">if</span> (!strcasecmp(i->channel,channel)) +00055 { +00056 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00057 } +00058 } +00059 } +00060 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00061 } +00062 +<a name="l00063"></a><a class="code" href="classuserrec.html#a5">00063</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a5">userrec::InviteTo</a>(<span class="keywordtype">char</span>* channel) +00064 { +00065 <a class="code" href="classInvited.html">Invited</a> i; +00066 strcpy(i.<a class="code" href="classInvited.html#m0">channel</a>,channel); +00067 <a class="code" href="classuserrec.html#o0">invites</a>.push_back(i); +00068 } +00069 +<a name="l00070"></a><a class="code" href="classuserrec.html#a6">00070</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a6">userrec::RemoveInvite</a>(<span class="keywordtype">char</span>* channel) +00071 { +00072 <span class="keywordflow">for</span> (InvitedList::iterator i = <a class="code" href="classuserrec.html#o0">invites</a>.begin(); i != <a class="code" href="classuserrec.html#o0">invites</a>.end(); i++) +00073 { +00074 <span class="keywordflow">if</span> (i->channel) { +00075 <span class="keywordflow">if</span> (!strcasecmp(i->channel,channel)) +00076 { +00077 <a class="code" href="classuserrec.html#o0">invites</a>.erase(i); +00078 <span class="keywordflow">return</span>; +00079 } +00080 } +00081 } +00082 } +</pre></div><hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:27 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/users_8cpp.html b/docs/module-doc/users_8cpp.html index 5023e8f27..54a8431a1 100644 --- a/docs/module-doc/users_8cpp.html +++ b/docs/module-doc/users_8cpp.html @@ -25,7 +25,7 @@ Include dependency graph for users.cpp:<p><center><img src="users_8cpp__incl.gif <a href="users_8cpp-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0> <tr><td></td></tr> </table> -<hr><address style="align: right;"><small>Generated on Sun Mar 30 19:35:21 2003 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:33 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/users_8h-source.html b/docs/module-doc/users_8h-source.html index 47f4689e1..3934902c8 100644 --- a/docs/module-doc/users_8h-source.html +++ b/docs/module-doc/users_8h-source.html @@ -43,11 +43,11 @@ <a name="l00039"></a><a class="code" href="classConnectClass.html#m2">00039</a> <span class="keywordtype">char</span> <a class="code" href="classConnectClass.html#m2">pass</a>[MAXBUF]; 00040 }; 00041 -<a name="l00044"></a><a class="code" href="users_8h.html#a6">00044</a> <span class="keyword">typedef</span> vector<Invited> <a class="code" href="users_8h.html#a6">InvitedList</a>; +<a name="l00044"></a><a class="code" href="users_8h.html#a6">00044</a> <span class="keyword">typedef</span> std::vector<Invited> <a class="code" href="users_8h.html#a6">InvitedList</a>; 00045 00046 00047 -<a name="l00050"></a><a class="code" href="users_8h.html#a7">00050</a> <span class="keyword">typedef</span> vector<ConnectClass> <a class="code" href="users_8h.html#a7">ClassVector</a>; +<a name="l00050"></a><a class="code" href="users_8h.html#a7">00050</a> <span class="keyword">typedef</span> std::vector<ConnectClass> <a class="code" href="users_8h.html#a7">ClassVector</a>; 00051 <a name="l00058"></a><a class="code" href="classuserrec.html">00058</a> <span class="keyword">class </span><a class="code" href="classuserrec.html">userrec</a> : <span class="keyword">public</span> <a class="code" href="classconnection.html">connection</a> 00059 { @@ -92,7 +92,7 @@ 00140 00141 00142 <span class="preprocessor">#endif</span> -</pre></div><hr><address style="align: right;"><small>Generated on Sun Mar 30 19:34:54 2003 for InspIRCd by +</pre></div><hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:27 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/docs/module-doc/users_8h.html b/docs/module-doc/users_8h.html index 181f286bf..183608ec4 100644 --- a/docs/module-doc/users_8h.html +++ b/docs/module-doc/users_8h.html @@ -42,9 +42,9 @@ This graph shows which files directly or indirectly include this file:<p><center <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="users_8h.html#a4">CC_ALLOW</a> 0</td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="users_8h.html#a5">CC_DENY</a> 1</td></tr> <tr><td colspan=2><br><h2>Typedefs</h2></td></tr> -<tr><td nowrap align=right valign=top>typedef vector< <a class="el" href="classInvited.html">Invited</a> > </td><td valign=bottom><a class="el" href="users_8h.html#a6">InvitedList</a></td></tr> +<tr><td nowrap align=right valign=top>typedef std::vector< <a class="el" href="classInvited.html">Invited</a> > </td><td valign=bottom><a class="el" href="users_8h.html#a6">InvitedList</a></td></tr> <tr><td> </td><td><font size=-1><em>Holds a complete list of all channels to which a user has been invited and has not yet joined.</em> <a href="#a6"></a><em></em></font><br><br></td></tr> -<tr><td nowrap align=right valign=top>typedef vector< <a class="el" href="classConnectClass.html">ConnectClass</a> > </td><td valign=bottom><a class="el" href="users_8h.html#a7">ClassVector</a></td></tr> +<tr><td nowrap align=right valign=top>typedef std::vector< <a class="el" href="classConnectClass.html">ConnectClass</a> > </td><td valign=bottom><a class="el" href="users_8h.html#a7">ClassVector</a></td></tr> <tr><td> </td><td><font size=-1><em>Holds a complete list of all allow and deny tags from the configuration file (connection classes).</em> <a href="#a7"></a><em></em></font><br><br></td></tr> </table> <hr><h2>Define Documentation</h2> @@ -199,7 +199,7 @@ Definition at line <a class="el" href="users_8h-source.html#l00017">17</a> of fi <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> typedef vector<<a class="el" href="classConnectClass.html">ConnectClass</a>> ClassVector + <td class="md" nowrap valign="top"> typedef std::vector<<a class="el" href="classConnectClass.html">ConnectClass</a>> ClassVector </table> </td> </tr> @@ -225,7 +225,7 @@ Definition at line <a class="el" href="users_8h-source.html#l00050">50</a> of fi <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> typedef vector<<a class="el" href="classInvited.html">Invited</a>> InvitedList + <td class="md" nowrap valign="top"> typedef std::vector<<a class="el" href="classInvited.html">Invited</a>> InvitedList </table> </td> </tr> @@ -245,7 +245,7 @@ Holds a complete list of all channels to which a user has been invited and has n Definition at line <a class="el" href="users_8h-source.html#l00044">44</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td> </tr> </table> -<hr><address style="align: right;"><small>Generated on Sun Mar 30 19:35:25 2003 for InspIRCd by +<hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:33 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> diff --git a/include/modules.h b/include/modules.h index d9d04e762..b26554d56 100644 --- a/include/modules.h +++ b/include/modules.h @@ -20,6 +20,7 @@ #include "dynamic.h" #include "base.h" +#include "ctables.h" #include <string> #include <deque> @@ -34,6 +35,8 @@ typedef file_cache string_list; #define FOREACH_MOD for (int i = 0; i <= MODCOUNT; i++) modules[i]-> +extern void createcommand(char* cmd, handlerfunc f, char flags, int minparams); + // class Version holds the version information of a Module, returned // by Module::GetVersion (thanks RD) @@ -271,6 +274,22 @@ class Server : public classbase * effects. */ virtual bool AddExtendedMode(char modechar, int type, bool default_on, int params_when_on, int params_when_off); + + /** Adds a command to the command table. + * This allows modules to add extra commands into the command table. You must place a function within your + * module which is is of type handlerfunc: + * + * typedef void (handlerfunc) (char**, int, userrec*); + * ... + * void handle_kill(char **parameters, int pcnt, userrec *user) + * + * 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'. + */ + virtual void AddCommand(char* cmd, handlerfunc f, char flags, int minparams); }; diff --git a/src/InspIRCd.layout b/src/InspIRCd.layout index b54226867..d2493a3e8 100644 --- a/src/InspIRCd.layout +++ b/src/InspIRCd.layout @@ -1,5 +1,5 @@ [Editors] -Focused=1 +Focused=4 Order=1,7,3,2,0,6,5,4,25,24,-1 [Editor_0] @@ -12,10 +12,10 @@ LeftChar=1 [Editor_1] Open=1 -Top=1 -CursorCol=4 -CursorRow=1129 -TopLine=1078 +Top=0 +CursorCol=1 +CursorRow=2505 +TopLine=2476 LeftChar=1 [Editor_2] @@ -36,10 +36,10 @@ LeftChar=1 [Editor_4] Open=1 -Top=0 -CursorCol=19 -CursorRow=59 -TopLine=1 +Top=1 +CursorCol=5 +CursorRow=47 +TopLine=27 LeftChar=1 [Editor_5] @@ -91,7 +91,7 @@ TopLine=1 LeftChar=1 [Editor_11] -Open=1 +Open=0 Top=0 CursorCol=1 CursorRow=1 @@ -107,7 +107,7 @@ TopLine=120 LeftChar=1 [Editor_13] -Open=1 +Open=0 Top=0 CursorCol=60 CursorRow=64 @@ -115,10 +115,10 @@ TopLine=20 LeftChar=1 [Editor_14] -Open=0 +Open=1 Top=0 CursorCol=1 -CursorRow=1 +CursorRow=23 TopLine=1 LeftChar=1 @@ -163,15 +163,15 @@ TopLine=1 LeftChar=1 [Editor_20] -Open=0 +Open=1 Top=0 -CursorCol=13 -CursorRow=271 -TopLine=232 +CursorCol=21 +CursorRow=23 +TopLine=276 LeftChar=1 [Editor_21] -Open=1 +Open=0 Top=0 CursorCol=1 CursorRow=25 diff --git a/src/inspircd.cpp b/src/inspircd.cpp index bb081f720..082576797 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -77,6 +77,7 @@ time_t startup_time = time(NULL); extern vector<Module*> modules; extern vector<ircd_module*> factory; +vector<int> fd_reap; extern int MODCOUNT; @@ -958,17 +959,20 @@ int usercount_i(chanrec *c) strcpy(list,""); for (user_hash::const_iterator i = clientlist.begin(); i != clientlist.end(); i++) { - if (has_channel(i->second,c)) + if (i->second) { - if (isnick(i->second->nick)) + if (has_channel(i->second,c)) { - if ((!has_channel(i->second,c)) && (strchr(i->second->modes,'i'))) + if (isnick(i->second->nick)) { - /* user is +i, and source not on the channel, does not show - * nick in NAMES list */ - continue; + if ((!has_channel(i->second,c)) && (strchr(i->second->modes,'i'))) + { + /* user is +i, and source not on the channel, does not show + * nick in NAMES list */ + continue; + } + count++; } - count++; } } } @@ -2465,34 +2469,34 @@ void kill_link(userrec *user,char* reason) log(DEBUG,"kill_link: %s '%s'",user->nick,reason); Write(user->fd,"ERROR :Closing link (%s@%s) [%s]",user->ident,user->host,reason); fdatasync(user->fd); - WriteOpers("*** Client exiting: %s!%s@%s [%s]",user->nick,user->ident,user->host,reason); - FOREACH_MOD OnUserQuit(user); log(DEBUG,"closing fd %d",user->fd); + /* bugfix, cant close() a nonblocking socket (sux!) */ - WriteCommonExcept(user,"QUIT :%s",reason); - Blocking(user->fd); - close(user->fd); - NonBlocking(user->fd); + if (user->registered == 7) { + FOREACH_MOD OnUserQuit(user); + WriteCommonExcept(user,"QUIT :%s",reason); + } + + /* push the socket on a stack of sockets due to be closed at the next opportunity */ + fd_reap.push_back(user->fd); bool do_purge = false; if (user->registered == 7) { + WriteOpers("*** Client exiting: %s!%s@%s [%s]",user->nick,user->ident,user->host,reason); AddWhoWas(user); - do_purge = true; } if (iter != clientlist.end()) { log(DEBUG,"deleting user hash value %d",iter->second); - if (iter->second) { + if ((iter->second) && (user->registered == 7)) { delete iter->second; } clientlist.erase(iter); } - - if (do_purge) { - purge_empty_chans(); - } + + purge_empty_chans(); } @@ -2504,6 +2508,8 @@ void handle_kill(char **parameters, int pcnt, userrec *user) log(DEBUG,"kill: %s %s",parameters[0],parameters[1]); if (u) { + WriteTo(user, u, "KILL %s :%s!%s!%s (%s)", u->nick, ServerName,user->dhost,user->nick,parameters[1]); + // :Brain!brain@NetAdmin.chatspike.net KILL [Brain] :homer!NetAdmin.chatspike.net!Brain (test kill) WriteOpers("*** Local Kill by %s: %s!%s@%s (%s)",user->nick,u->nick,u->ident,u->host,parameters[1]); sprintf(killreason,"Killed (%s (%s))",user->nick,parameters[1]); kill_link(u,killreason); @@ -3318,7 +3324,7 @@ void ConnectUser(userrec *user) void handle_version(char **parameters, int pcnt, userrec *user) { - WriteServ(user->fd,"351 %s :%s %s :%s",user->nick,VERSION,ServerName,SYSTEM); + WriteServ(user->fd,"351 %s :%s %s %s :%s",user->nick,VERSION,"$Id$",ServerName,SYSTEM); } void handle_ping(char **parameters, int pcnt, userrec *user) @@ -4290,6 +4296,8 @@ void handle_link_packet(long theirkey, char* udp_msg, char* udp_host, int udp_po } } +int reap_counter = 0; + int InspIRCd(void) { struct sockaddr_in client, server; @@ -4464,12 +4472,32 @@ int InspIRCd(void) tv.tv_usec = 0; flip_flop++; + reap_counter++; if (flip_flop > 20) { tv.tv_usec = 1; flip_flop = 0; } + vector<int>::iterator niterator; + + + // *FIX* Instead of closing sockets in kill_link when they receive the ERROR :blah line, we should queue + // them in a list, then reap the list every second or so. + if (reap_counter>5000) { + if (fd_reap.size() > 0) { + for( int n = 0; n < fd_reap.size(); n++) + { + Blocking(fd_reap[n]); + close(fd_reap[n]); + NonBlocking(fd_reap[n]); + } + } + fd_reap.clear(); + reap_counter=0; + } + + tv.tv_sec = 0; selectResult = select(MAXSOCKS, &selectFds, NULL, NULL, &tv); diff --git a/src/modules.cpp b/src/modules.cpp index 389fb60e3..820488c99 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -9,6 +9,7 @@ #include <iostream> #include "globals.h" #include "modules.h" +#include "ctables.h" #include "inspircd_io.h" // class type for holding an extended mode character - internal to core @@ -43,7 +44,7 @@ bool ModeDefined(char modechar, int type) } // returns number of parameters for a custom mode when it is switched on -int ModeDefinedOn(char modechar, int type) +bool ModeDefinedOn(char modechar, int type) { for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++) { @@ -56,7 +57,7 @@ int ModeDefinedOn(char modechar, int type) } // returns number of parameters for a custom mode when it is switched on -int ModeDefinedOff(char modechar, int type) +bool ModeDefinedOff(char modechar, int type) { for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++) { @@ -84,11 +85,6 @@ Version::Version(int major, int minor, int revision, int build) : Major(major), Admin::Admin(std::string name, std::string email, std::string nick) : Name(name), Email(email), Nick(nick) { }; -// -// Announce to the world that the Module base -// class has been created or destroyed -// - Module::Module() { } Module::~Module() { } void Module::OnUserConnect(userrec* user) { } @@ -124,6 +120,12 @@ void Server::Log(int level, std::string s) log(level,"%s",s.c_str()); } +void Server::AddCommand(char* cmd, handlerfunc f, char flags, int minparams) +{ + createcommand(cmd,f,flags,minparams); +} + + void Server::Send(int Socket, std::string s) { Write(Socket,"%s",s.c_str()); |