diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-05-12 23:06:51 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-05-12 23:06:51 +0000 |
commit | 88dd74fc84b574f17673338c6d42123570f464da (patch) | |
tree | c8d310f7e39c6f5fa69d62d8363d9e410c7d95b9 /docs/module-doc | |
parent | 9c70fbb7c7c532baf0e02e144e93d259b13913dd (diff) |
Added docs for new smaller memory footprint classes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1371 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'docs/module-doc')
129 files changed, 3549 insertions, 3549 deletions
diff --git a/docs/module-doc/annotated.html b/docs/module-doc/annotated.html index f88151f06..c2b2eb18e 100644 --- a/docs/module-doc/annotated.html +++ b/docs/module-doc/annotated.html @@ -43,10 +43,11 @@ <tr><td class="indexkey"><a class="el" href="classucrec.html">ucrec</a></td><td class="indexvalue">Holds a user's modes on a channel This class associates a users privilages with a channel by creating a pointer link between a userrec and chanrec class </td></tr> <tr><td class="indexkey"><a class="el" href="classuserrec.html">userrec</a></td><td class="indexvalue">Holds all information about a user This class stores all information about a user connected to the irc server </td></tr> <tr><td class="indexkey"><a class="el" href="classVersion.html">Version</a></td><td class="indexvalue">Holds a module's Version information The four members (set by the constructor only) indicate details as to the version number of a module </td></tr> + <tr><td class="indexkey"><a class="el" href="classWhoWasUser.html">WhoWasUser</a></td><td class="indexvalue">A lightweight userrec used by WHOWAS </td></tr> <tr><td class="indexkey"><a class="el" href="classXLine.html">XLine</a></td><td class="indexvalue">XLine is the base class for ban lines such as G lines and K lines </td></tr> <tr><td class="indexkey"><a class="el" href="classZLine.html">ZLine</a></td><td class="indexvalue">ZLine class </td></tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:17 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:01 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/base_8h-source.html b/docs/module-doc/base_8h-source.html index 647d678c1..e01c7d6fd 100644 --- a/docs/module-doc/base_8h-source.html +++ b/docs/module-doc/base_8h-source.html @@ -55,7 +55,7 @@ 00079 00080 <span class="preprocessor">#endif</span> 00081 <span class="preprocessor"></span> -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:10 2005 for InspIRCd by +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:58:57 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/base_8h.html b/docs/module-doc/base_8h.html index 5d1b5c598..50793b3d0 100644 --- a/docs/module-doc/base_8h.html +++ b/docs/module-doc/base_8h.html @@ -49,7 +49,7 @@ Definition at line <a class="el" href="base_8h-source.html#l00025">25</a> of file <a class="el" href="base_8h-source.html">base.h</a>. </td> </tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:14 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:58:59 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/channels_8cpp-source.html b/docs/module-doc/channels_8cpp-source.html index f91ebef7e..fb91a28fe 100644 --- a/docs/module-doc/channels_8cpp-source.html +++ b/docs/module-doc/channels_8cpp-source.html @@ -117,16 +117,16 @@ 00110 <a name="l00111"></a><a class="code" href="channels_8cpp.html#a38">00111</a> std::vector<ModeParameter> <a class="code" href="channels_8cpp.html#a38">custom_mode_params</a>; 00112 -<a name="l00113"></a><a class="code" href="classchanrec.html#a10">00113</a> <a class="code" href="classchanrec.html#a10">chanrec::chanrec</a>() +<a name="l00113"></a><a class="code" href="classchanrec.html#a8">00113</a> <a class="code" href="classchanrec.html#a8">chanrec::chanrec</a>() 00114 { 00115 strcpy(<a class="code" href="classchanrec.html#o0">name</a>,<span class="stringliteral">""</span>); 00116 strcpy(<a class="code" href="classchanrec.html#o1">custom_modes</a>,<span class="stringliteral">""</span>); -00117 strcpy(<a class="code" href="classchanrec.html#o4">topic</a>,<span class="stringliteral">""</span>); -00118 strcpy(<a class="code" href="classchanrec.html#o7">setby</a>,<span class="stringliteral">""</span>); -00119 strcpy(<a class="code" href="classchanrec.html#o9">key</a>,<span class="stringliteral">""</span>); -00120 <a class="code" href="classchanrec.html#o5">created</a> = <a class="code" href="classchanrec.html#o6">topicset</a> = <a class="code" href="classchanrec.html#o8">limit</a> = <a class="code" href="classchanrec.html#o2">users</a> = 0; -00121 <a class="code" href="classchanrec.html#o10">topiclock</a> = <a class="code" href="classchanrec.html#o11">noexternal</a> = <a class="code" href="classchanrec.html#o12">inviteonly</a> = <a class="code" href="classchanrec.html#o13">moderated</a> = <a class="code" href="classchanrec.html#o14">secret</a> = <a class="code" href="classchanrec.html#o15">c_private</a> = <span class="keyword">false</span>; -00122 <a class="code" href="classchanrec.html#o3">internal_userlist</a>.clear(); +00117 strcpy(<a class="code" href="classchanrec.html#o3">topic</a>,<span class="stringliteral">""</span>); +00118 strcpy(<a class="code" href="classchanrec.html#o6">setby</a>,<span class="stringliteral">""</span>); +00119 strcpy(<a class="code" href="classchanrec.html#o8">key</a>,<span class="stringliteral">""</span>); +00120 <a class="code" href="classchanrec.html#o4">created</a> = <a class="code" href="classchanrec.html#o5">topicset</a> = <a class="code" href="classchanrec.html#o7">limit</a> = 0; +00121 <a class="code" href="classchanrec.html#o9">binarymodes</a> = 0; +00122 <a class="code" href="classchanrec.html#o2">internal_userlist</a>.clear(); 00123 } 00124 <a name="l00125"></a><a class="code" href="classchanrec.html#a0">00125</a> <span class="keywordtype">void</span> <a class="code" href="classchanrec.html#a0">chanrec::SetCustomMode</a>(<span class="keywordtype">char</span> mode,<span class="keywordtype">bool</span> mode_on) @@ -206,44 +206,36 @@ 00199 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; 00200 } 00201 -<a name="l00202"></a><a class="code" href="classchanrec.html#a4">00202</a> <span class="keywordtype">void</span> <a class="code" href="classchanrec.html#a4">chanrec::IncUserCounter</a>() +<a name="l00202"></a><a class="code" href="classchanrec.html#a4">00202</a> <span class="keywordtype">long</span> <a class="code" href="classchanrec.html#a4">chanrec::GetUserCounter</a>() 00203 { -00204 } -00205 -<a name="l00206"></a><a class="code" href="classchanrec.html#a5">00206</a> <span class="keywordtype">void</span> <a class="code" href="classchanrec.html#a5">chanrec::DecUserCounter</a>() -00207 { -00208 } -00209 -<a name="l00210"></a><a class="code" href="classchanrec.html#a6">00210</a> <span class="keywordtype">long</span> <a class="code" href="classchanrec.html#a6">chanrec::GetUserCounter</a>() -00211 { -00212 <span class="keywordflow">return</span> (this-><a class="code" href="classchanrec.html#o3">internal_userlist</a>.size()); -00213 } -00214 -<a name="l00215"></a><a class="code" href="classchanrec.html#a7">00215</a> <span class="keywordtype">void</span> <a class="code" href="classchanrec.html#a7">chanrec::AddUser</a>(<span class="keywordtype">char</span>* castuser) -00216 { -00217 <a class="code" href="classchanrec.html#o3">internal_userlist</a>.push_back(castuser); -00218 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Added casted user to channel's internal list"</span>); -00219 } -00220 -<a name="l00221"></a><a class="code" href="classchanrec.html#a8">00221</a> <span class="keywordtype">void</span> <a class="code" href="classchanrec.html#a8">chanrec::DelUser</a>(<span class="keywordtype">char</span>* castuser) -00222 { -00223 <span class="keywordflow">for</span> (std::vector<char*>::iterator a = <a class="code" href="classchanrec.html#o3">internal_userlist</a>.begin(); a < <a class="code" href="classchanrec.html#o3">internal_userlist</a>.end(); a++) -00224 { -00225 <span class="keywordflow">if</span> (*a == castuser) -00226 { -00227 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Removed casted user from channel's internal list"</span>); -00228 <a class="code" href="classchanrec.html#o3">internal_userlist</a>.erase(a); -00229 <span class="keywordflow">return</span>; -00230 } -00231 } -00232 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"BUG BUG BUG! Attempt to remove an uncasted user from the internal list of %s!"</span>,<a class="code" href="classchanrec.html#o0">name</a>); -00233 } -00234 -<a name="l00235"></a><a class="code" href="classchanrec.html#a9">00235</a> std::vector<char*> *<a class="code" href="classchanrec.html#a9">chanrec::GetUsers</a>() -00236 { -00237 <span class="keywordflow">return</span> &<a class="code" href="classchanrec.html#o3">internal_userlist</a>; -00238 } -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:11 2005 for InspIRCd by +00204 <span class="keywordflow">return</span> (this-><a class="code" href="classchanrec.html#o2">internal_userlist</a>.size()); +00205 } +00206 +<a name="l00207"></a><a class="code" href="classchanrec.html#a5">00207</a> <span class="keywordtype">void</span> <a class="code" href="classchanrec.html#a5">chanrec::AddUser</a>(<span class="keywordtype">char</span>* castuser) +00208 { +00209 <a class="code" href="classchanrec.html#o2">internal_userlist</a>.push_back(castuser); +00210 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Added casted user to channel's internal list"</span>); +00211 } +00212 +<a name="l00213"></a><a class="code" href="classchanrec.html#a6">00213</a> <span class="keywordtype">void</span> <a class="code" href="classchanrec.html#a6">chanrec::DelUser</a>(<span class="keywordtype">char</span>* castuser) +00214 { +00215 <span class="keywordflow">for</span> (std::vector<char*>::iterator a = <a class="code" href="classchanrec.html#o2">internal_userlist</a>.begin(); a < <a class="code" href="classchanrec.html#o2">internal_userlist</a>.end(); a++) +00216 { +00217 <span class="keywordflow">if</span> (*a == castuser) +00218 { +00219 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Removed casted user from channel's internal list"</span>); +00220 <a class="code" href="classchanrec.html#o2">internal_userlist</a>.erase(a); +00221 <span class="keywordflow">return</span>; +00222 } +00223 } +00224 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"BUG BUG BUG! Attempt to remove an uncasted user from the internal list of %s!"</span>,<a class="code" href="classchanrec.html#o0">name</a>); +00225 } +00226 +<a name="l00227"></a><a class="code" href="classchanrec.html#a7">00227</a> std::vector<char*> *<a class="code" href="classchanrec.html#a7">chanrec::GetUsers</a>() +00228 { +00229 <span class="keywordflow">return</span> &<a class="code" href="classchanrec.html#o2">internal_userlist</a>; +00230 } +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:58:57 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/channels_8cpp.html b/docs/module-doc/channels_8cpp.html index 39fc4be67..448d78126 100644 --- a/docs/module-doc/channels_8cpp.html +++ b/docs/module-doc/channels_8cpp.html @@ -293,7 +293,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00094">94</a> <p> Definition at line <a class="el" href="channels_8cpp-source.html#l00101">101</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. <p> -Referenced by <a class="el" href="users_8cpp-source.html#l00118">userrec::HasPermission()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00117">userrec::HasPermission()</a>. </td> </tr> </table> <a name="a38" doxytag="channels.cpp::custom_mode_params"></a><p> @@ -513,7 +513,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00091">91</a> <p> Definition at line <a class="el" href="channels_8cpp-source.html#l00078">78</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00466">Server::GetUsers()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00467">Server::GetUsers()</a>. </td> </tr> </table> <a name="a36" doxytag="channels.cpp::log_file"></a><p> @@ -633,9 +633,9 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00103">103</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l01066">1066</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#l01067">1067</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#l00857">Server::FindModule()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00858">Server::FindModule()</a>. </td> </tr> </table> <a name="a27" doxytag="channels.cpp::module_names"></a><p> @@ -661,7 +661,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00857">Server::FindM <p> Definition at line <a class="el" href="channels_8cpp-source.html#l00092">92</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00857">Server::FindModule()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00858">Server::FindModule()</a>. </td> </tr> </table> <a name="a2" doxytag="channels.cpp::modules"></a><p> @@ -687,7 +687,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00857">Server::FindM <p> Definition at line <a class="el" href="channels_8cpp-source.html#l00064">64</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00857">Server::FindModule()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00858">Server::FindModule()</a>. </td> </tr> </table> <a name="a13" doxytag="channels.cpp::motd"></a><p> @@ -1076,7 +1076,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00084">84</a> Definition at line <a class="el" href="channels_8cpp-source.html#l00083">83</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td> </tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:14 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:58:59 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/channels_8h-source.html b/docs/module-doc/channels_8h-source.html index 62dfa2ef8..579a8d4ba 100644 --- a/docs/module-doc/channels_8h-source.html +++ b/docs/module-doc/channels_8h-source.html @@ -30,132 +30,123 @@ 00023 <span class="preprocessor">#ifndef __CHANNELS_H__</span> 00024 <span class="preprocessor"></span><span class="preprocessor">#define __CHANNELS_H__</span> 00025 <span class="preprocessor"></span> -<a name="l00029"></a><a class="code" href="classHostItem.html">00029</a> <span class="keyword">class </span><a class="code" href="classHostItem.html">HostItem</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> -00030 { -00031 <span class="keyword">public</span>: -<a name="l00032"></a><a class="code" href="classHostItem.html#o0">00032</a> time_t <a class="code" href="classHostItem.html#o0">set_time</a>; -<a name="l00033"></a><a class="code" href="classHostItem.html#o1">00033</a> <span class="keywordtype">char</span> <a class="code" href="classHostItem.html#o1">set_by</a>[NICKMAX]; -<a name="l00034"></a><a class="code" href="classHostItem.html#o2">00034</a> <span class="keywordtype">char</span> <a class="code" href="classHostItem.html#o2">data</a>[MAXBUF]; -00035 -<a name="l00036"></a><a class="code" href="classHostItem.html#a0">00036</a> <a class="code" href="classHostItem.html#a0">HostItem</a>() { <span class="comment">/* stub */</span> } -<a name="l00037"></a><a class="code" href="classHostItem.html#a1">00037</a> <span class="keyword">virtual</span> <a class="code" href="classHostItem.html#a1">~HostItem</a>() { <span class="comment">/* stub */</span> } -00038 }; -00039 -00040 <span class="comment">// banlist is inherited from HostList mainly for readability</span> -00041 <span class="comment">// reasons only</span> +<a name="l00026"></a><a class="code" href="channels_8h.html#a0">00026</a> <span class="preprocessor">#define CM_TOPICLOCK 1</span> +<a name="l00027"></a><a class="code" href="channels_8h.html#a1">00027</a> <span class="preprocessor"></span><span class="preprocessor">#define CM_NOEXTERNAL 2</span> +<a name="l00028"></a><a class="code" href="channels_8h.html#a2">00028</a> <span class="preprocessor"></span><span class="preprocessor">#define CM_INVITEONLY 4</span> +<a name="l00029"></a><a class="code" href="channels_8h.html#a3">00029</a> <span class="preprocessor"></span><span class="preprocessor">#define CM_MODERATED 8</span> +<a name="l00030"></a><a class="code" href="channels_8h.html#a4">00030</a> <span class="preprocessor"></span><span class="preprocessor">#define CM_SECRET 16</span> +<a name="l00031"></a><a class="code" href="channels_8h.html#a5">00031</a> <span class="preprocessor"></span><span class="preprocessor">#define CM_PRIVATE 32</span> +00032 <span class="preprocessor"></span> +<a name="l00036"></a><a class="code" href="classHostItem.html">00036</a> <span class="keyword">class </span><a class="code" href="classHostItem.html">HostItem</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> +00037 { +00038 <span class="keyword">public</span>: +<a name="l00039"></a><a class="code" href="classHostItem.html#o0">00039</a> time_t <a class="code" href="classHostItem.html#o0">set_time</a>; +<a name="l00040"></a><a class="code" href="classHostItem.html#o1">00040</a> <span class="keywordtype">char</span> <a class="code" href="classHostItem.html#o1">set_by</a>[NICKMAX]; +<a name="l00041"></a><a class="code" href="classHostItem.html#o2">00041</a> <span class="keywordtype">char</span> <a class="code" href="classHostItem.html#o2">data</a>[MAXBUF]; 00042 -<a name="l00045"></a><a class="code" href="classBanItem.html">00045</a> <span class="keyword">class </span><a class="code" href="classBanItem.html">BanItem</a> : <span class="keyword">public</span> <a class="code" href="classHostItem.html">HostItem</a> -00046 { -00047 }; -00048 -00049 <span class="comment">// same with this...</span> -00050 -<a name="l00053"></a><a class="code" href="classExemptItem.html">00053</a> <span class="keyword">class </span><a class="code" href="classExemptItem.html">ExemptItem</a> : <span class="keyword">public</span> <a class="code" href="classHostItem.html">HostItem</a> -00054 { -00055 }; -00056 -00057 <span class="comment">// and this...</span> -00058 -<a name="l00061"></a><a class="code" href="classInviteItem.html">00061</a> <span class="keyword">class </span><a class="code" href="classInviteItem.html">InviteItem</a> : <span class="keyword">public</span> <a class="code" href="classHostItem.html">HostItem</a> -00062 { -00063 }; -00064 +<a name="l00043"></a><a class="code" href="classHostItem.html#a0">00043</a> <a class="code" href="classHostItem.html#a0">HostItem</a>() { <span class="comment">/* stub */</span> } +<a name="l00044"></a><a class="code" href="classHostItem.html#a1">00044</a> <span class="keyword">virtual</span> <a class="code" href="classHostItem.html#a1">~HostItem</a>() { <span class="comment">/* stub */</span> } +00045 }; +00046 +00047 <span class="comment">// banlist is inherited from HostList mainly for readability</span> +00048 <span class="comment">// reasons only</span> +00049 +<a name="l00052"></a><a class="code" href="classBanItem.html">00052</a> <span class="keyword">class </span><a class="code" href="classBanItem.html">BanItem</a> : <span class="keyword">public</span> <a class="code" href="classHostItem.html">HostItem</a> +00053 { +00054 }; +00055 +00056 <span class="comment">// same with this...</span> +00057 +<a name="l00060"></a><a class="code" href="classExemptItem.html">00060</a> <span class="keyword">class </span><a class="code" href="classExemptItem.html">ExemptItem</a> : <span class="keyword">public</span> <a class="code" href="classHostItem.html">HostItem</a> +00061 { +00062 }; +00063 +00064 <span class="comment">// and this...</span> 00065 -<a name="l00070"></a><a class="code" href="classModeParameter.html">00070</a> <span class="keyword">class </span><a class="code" href="classModeParameter.html">ModeParameter</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> -00071 { -00072 <span class="keyword">public</span>: -<a name="l00073"></a><a class="code" href="classModeParameter.html#o0">00073</a> <span class="keywordtype">char</span> <a class="code" href="classModeParameter.html#o0">mode</a>; -<a name="l00074"></a><a class="code" href="classModeParameter.html#o1">00074</a> <span class="keywordtype">char</span> <a class="code" href="classModeParameter.html#o1">parameter</a>[MAXBUF]; -<a name="l00075"></a><a class="code" href="classModeParameter.html#o2">00075</a> <span class="keywordtype">char</span> <a class="code" href="classModeParameter.html#o2">channel</a>[CHANMAX]; -00076 }; -00077 -<a name="l00080"></a><a class="code" href="channels_8h.html#a5">00080</a> <span class="keyword">typedef</span> std::vector<BanItem> <a class="code" href="channels_8h.html#a5">BanList</a>; -00081 -<a name="l00084"></a><a class="code" href="channels_8h.html#a6">00084</a> <span class="keyword">typedef</span> std::vector<ExemptItem> <a class="code" href="channels_8h.html#a6">ExemptList</a>; -00085 -<a name="l00088"></a><a class="code" href="channels_8h.html#a7">00088</a> <span class="keyword">typedef</span> std::vector<InviteItem> <a class="code" href="channels_8h.html#a7">InviteList</a>; -00089 -<a name="l00094"></a><a class="code" href="classchanrec.html">00094</a> <span class="keyword">class </span><a class="code" href="classchanrec.html">chanrec</a> : <span class="keyword">public</span> <a class="code" href="classExtensible.html">Extensible</a> -00095 { -00096 <span class="keyword">public</span>: -<a name="l00099"></a><a class="code" href="classchanrec.html#o0">00099</a> <span class="keywordtype">char</span> <a class="code" href="classchanrec.html#o0">name</a>[CHANMAX]; <span class="comment">/* channel name */</span> -<a name="l00103"></a><a class="code" href="classchanrec.html#o1">00103</a> <span class="keywordtype">char</span> <a class="code" href="classchanrec.html#o1">custom_modes</a>[MAXMODES]; <span class="comment">/* modes handled by modules */</span> -00104 -<a name="l00107"></a><a class="code" href="classchanrec.html#o2">00107</a> <span class="keywordtype">long</span> <a class="code" href="classchanrec.html#o2">users</a>; -00108 -<a name="l00112"></a><a class="code" href="classchanrec.html#o3">00112</a> std::vector<char*> <a class="code" href="classchanrec.html#o3">internal_userlist</a>; -00113 -<a name="l00117"></a><a class="code" href="classchanrec.html#o4">00117</a> <span class="keywordtype">char</span> <a class="code" href="classchanrec.html#o4">topic</a>[MAXBUF]; -<a name="l00120"></a><a class="code" href="classchanrec.html#o5">00120</a> time_t <a class="code" href="classchanrec.html#o5">created</a>; -<a name="l00124"></a><a class="code" href="classchanrec.html#o6">00124</a> time_t <a class="code" href="classchanrec.html#o6">topicset</a>; -<a name="l00128"></a><a class="code" href="classchanrec.html#o7">00128</a> <span class="keywordtype">char</span> <a class="code" href="classchanrec.html#o7">setby</a>[NICKMAX]; -00129 -<a name="l00133"></a><a class="code" href="classchanrec.html#o8">00133</a> <span class="keywordtype">long</span> <a class="code" href="classchanrec.html#o8">limit</a>; -00134 -<a name="l00138"></a><a class="code" href="classchanrec.html#o9">00138</a> <span class="keywordtype">char</span> <a class="code" href="classchanrec.html#o9">key</a>[32]; -00139 -<a name="l00142"></a><a class="code" href="classchanrec.html#o10">00142</a> <span class="keywordtype">short</span> <span class="keywordtype">int</span> <a class="code" href="classchanrec.html#o10">topiclock</a>; -00143 -<a name="l00146"></a><a class="code" href="classchanrec.html#o11">00146</a> <span class="keywordtype">short</span> <span class="keywordtype">int</span> <a class="code" href="classchanrec.html#o11">noexternal</a>; -00147 -<a name="l00150"></a><a class="code" href="classchanrec.html#o12">00150</a> <span class="keywordtype">short</span> <span class="keywordtype">int</span> <a class="code" href="classchanrec.html#o12">inviteonly</a>; -00151 -<a name="l00154"></a><a class="code" href="classchanrec.html#o13">00154</a> <span class="keywordtype">short</span> <span class="keywordtype">int</span> <a class="code" href="classchanrec.html#o13">moderated</a>; -00155 -<a name="l00159"></a><a class="code" href="classchanrec.html#o14">00159</a> <span class="keywordtype">short</span> <span class="keywordtype">int</span> <a class="code" href="classchanrec.html#o14">secret</a>; -00160 -<a name="l00164"></a><a class="code" href="classchanrec.html#o15">00164</a> <span class="keywordtype">short</span> <span class="keywordtype">int</span> <a class="code" href="classchanrec.html#o15">c_private</a>; -00165 -<a name="l00168"></a><a class="code" href="classchanrec.html#o16">00168</a> <a class="code" href="channels_8h.html#a5">BanList</a> <a class="code" href="classchanrec.html#o16">bans</a>; -00169 -00172 <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); -00173 -00176 <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); -00177 -00180 <span class="keywordtype">bool</span> <a class="code" href="classchanrec.html#a2">IsCustomModeSet</a>(<span class="keywordtype">char</span> mode); -00181 -00188 std::string <a class="code" href="classchanrec.html#a3">GetModeParameter</a>(<span class="keywordtype">char</span> mode); -00189 -00195 <span class="keywordtype">void</span> <a class="code" href="classchanrec.html#a4">IncUserCounter</a>(); -00196 -00204 <span class="keywordtype">void</span> <a class="code" href="classchanrec.html#a5">DecUserCounter</a>(); -00205 -00211 <span class="keywordtype">long</span> <a class="code" href="classchanrec.html#a6">GetUserCounter</a>(); -00212 -00218 <span class="keywordtype">void</span> <a class="code" href="classchanrec.html#a7">AddUser</a>(<span class="keywordtype">char</span>* castuser); -00219 -00225 <span class="keywordtype">void</span> <a class="code" href="classchanrec.html#a8">DelUser</a>(<span class="keywordtype">char</span>* castuser); -00226 -00234 std::vector<char*> *<a class="code" href="classchanrec.html#a9">GetUsers</a>(); -00235 -00238 <a class="code" href="classchanrec.html#a10">chanrec</a>(); -00239 -<a name="l00240"></a><a class="code" href="classchanrec.html#a11">00240</a> <span class="keyword">virtual</span> <a class="code" href="classchanrec.html#a11">~chanrec</a>() { <span class="comment">/* stub */</span> } -00241 }; -00242 -00243 <span class="comment">/* used to hold a channel and a users modes on that channel, e.g. +v, +h, +o</span> -00244 <span class="comment"> * needs to come AFTER struct chanrec */</span> -00245 -<a name="l00246"></a><a class="code" href="channels_8h.html#a0">00246</a> <span class="preprocessor">#define UCMODE_OP 1</span> -<a name="l00247"></a><a class="code" href="channels_8h.html#a1">00247</a> <span class="preprocessor"></span><span class="preprocessor">#define UCMODE_VOICE 2</span> -<a name="l00248"></a><a class="code" href="channels_8h.html#a2">00248</a> <span class="preprocessor"></span><span class="preprocessor">#define UCMODE_HOP 4</span> -<a name="l00249"></a><a class="code" href="channels_8h.html#a3">00249</a> <span class="preprocessor"></span><span class="preprocessor">#define UCMODE_PROTECT 8</span> -<a name="l00250"></a><a class="code" href="channels_8h.html#a4">00250</a> <span class="preprocessor"></span><span class="preprocessor">#define UCMODE_FOUNDER 16</span> -00251 <span class="preprocessor"></span> -<a name="l00257"></a><a class="code" href="classucrec.html">00257</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> -00258 { -00259 <span class="keyword">public</span>: -<a name="l00263"></a><a class="code" href="classucrec.html#o0">00263</a> <span class="keywordtype">long</span> <a class="code" href="classucrec.html#o0">uc_modes</a>; -00264 -<a name="l00268"></a><a class="code" href="classucrec.html#o1">00268</a> <a class="code" href="classchanrec.html">chanrec</a> *<a class="code" href="classucrec.html#o1">channel</a>; -00269 -<a name="l00270"></a><a class="code" href="classucrec.html#a0">00270</a> <a class="code" href="classucrec.html#a0">ucrec</a>() { <span class="comment">/* stub */</span> } -<a name="l00271"></a><a class="code" href="classucrec.html#a1">00271</a> <span class="keyword">virtual</span> <a class="code" href="classucrec.html#a1">~ucrec</a>() { <span class="comment">/* stub */</span> } -00272 }; -00273 -00274 <span class="preprocessor">#endif</span> -00275 <span class="preprocessor"></span> -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:11 2005 for InspIRCd by +<a name="l00068"></a><a class="code" href="classInviteItem.html">00068</a> <span class="keyword">class </span><a class="code" href="classInviteItem.html">InviteItem</a> : <span class="keyword">public</span> <a class="code" href="classHostItem.html">HostItem</a> +00069 { +00070 }; +00071 +00072 +<a name="l00077"></a><a class="code" href="classModeParameter.html">00077</a> <span class="keyword">class </span><a class="code" href="classModeParameter.html">ModeParameter</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> +00078 { +00079 <span class="keyword">public</span>: +<a name="l00080"></a><a class="code" href="classModeParameter.html#o0">00080</a> <span class="keywordtype">char</span> <a class="code" href="classModeParameter.html#o0">mode</a>; +<a name="l00081"></a><a class="code" href="classModeParameter.html#o1">00081</a> <span class="keywordtype">char</span> <a class="code" href="classModeParameter.html#o1">parameter</a>[MAXBUF]; +<a name="l00082"></a><a class="code" href="classModeParameter.html#o2">00082</a> <span class="keywordtype">char</span> <a class="code" href="classModeParameter.html#o2">channel</a>[CHANMAX]; +00083 }; +00084 +<a name="l00087"></a><a class="code" href="channels_8h.html#a11">00087</a> <span class="keyword">typedef</span> std::vector<BanItem> <a class="code" href="channels_8h.html#a11">BanList</a>; +00088 +<a name="l00091"></a><a class="code" href="channels_8h.html#a12">00091</a> <span class="keyword">typedef</span> std::vector<ExemptItem> <a class="code" href="channels_8h.html#a12">ExemptList</a>; +00092 +<a name="l00095"></a><a class="code" href="channels_8h.html#a13">00095</a> <span class="keyword">typedef</span> std::vector<InviteItem> <a class="code" href="channels_8h.html#a13">InviteList</a>; +00096 +<a name="l00101"></a><a class="code" href="classchanrec.html">00101</a> <span class="keyword">class </span><a class="code" href="classchanrec.html">chanrec</a> : <span class="keyword">public</span> <a class="code" href="classExtensible.html">Extensible</a> +00102 { +00103 <span class="keyword">public</span>: +<a name="l00106"></a><a class="code" href="classchanrec.html#o0">00106</a> <span class="keywordtype">char</span> <a class="code" href="classchanrec.html#o0">name</a>[CHANMAX]; <span class="comment">/* channel name */</span> +<a name="l00110"></a><a class="code" href="classchanrec.html#o1">00110</a> <span class="keywordtype">char</span> <a class="code" href="classchanrec.html#o1">custom_modes</a>[MAXMODES]; <span class="comment">/* modes handled by modules */</span> +00111 +<a name="l00115"></a><a class="code" href="classchanrec.html#o2">00115</a> std::vector<char*> <a class="code" href="classchanrec.html#o2">internal_userlist</a>; +00116 +<a name="l00120"></a><a class="code" href="classchanrec.html#o3">00120</a> <span class="keywordtype">char</span> <a class="code" href="classchanrec.html#o3">topic</a>[MAXBUF]; +<a name="l00123"></a><a class="code" href="classchanrec.html#o4">00123</a> time_t <a class="code" href="classchanrec.html#o4">created</a>; +<a name="l00127"></a><a class="code" href="classchanrec.html#o5">00127</a> time_t <a class="code" href="classchanrec.html#o5">topicset</a>; +<a name="l00131"></a><a class="code" href="classchanrec.html#o6">00131</a> <span class="keywordtype">char</span> <a class="code" href="classchanrec.html#o6">setby</a>[NICKMAX]; +00132 +<a name="l00136"></a><a class="code" href="classchanrec.html#o7">00136</a> <span class="keywordtype">short</span> <span class="keywordtype">int</span> <a class="code" href="classchanrec.html#o7">limit</a>; +00137 +<a name="l00141"></a><a class="code" href="classchanrec.html#o8">00141</a> <span class="keywordtype">char</span> <a class="code" href="classchanrec.html#o8">key</a>[32]; +00142 +<a name="l00145"></a><a class="code" href="classchanrec.html#o9">00145</a> <span class="keywordtype">char</span> <a class="code" href="classchanrec.html#o9">binarymodes</a>; +00146 +<a name="l00149"></a><a class="code" href="classchanrec.html#o10">00149</a> <a class="code" href="channels_8h.html#a11">BanList</a> <a class="code" href="classchanrec.html#o10">bans</a>; +00150 +00153 <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); +00154 +00157 <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); +00158 +00161 <span class="keywordtype">bool</span> <a class="code" href="classchanrec.html#a2">IsCustomModeSet</a>(<span class="keywordtype">char</span> mode); +00162 +00169 std::string <a class="code" href="classchanrec.html#a3">GetModeParameter</a>(<span class="keywordtype">char</span> mode); +00170 +00176 <span class="keywordtype">long</span> <a class="code" href="classchanrec.html#a4">GetUserCounter</a>(); +00177 +00183 <span class="keywordtype">void</span> <a class="code" href="classchanrec.html#a5">AddUser</a>(<span class="keywordtype">char</span>* castuser); +00184 +00190 <span class="keywordtype">void</span> <a class="code" href="classchanrec.html#a6">DelUser</a>(<span class="keywordtype">char</span>* castuser); +00191 +00199 std::vector<char*> *<a class="code" href="classchanrec.html#a7">GetUsers</a>(); +00200 +00203 <a class="code" href="classchanrec.html#a8">chanrec</a>(); +00204 +<a name="l00205"></a><a class="code" href="classchanrec.html#a9">00205</a> <span class="keyword">virtual</span> <a class="code" href="classchanrec.html#a9">~chanrec</a>() { <span class="comment">/* stub */</span> } +00206 }; +00207 +00208 <span class="comment">/* used to hold a channel and a users modes on that channel, e.g. +v, +h, +o</span> +00209 <span class="comment"> * needs to come AFTER struct chanrec */</span> +00210 +<a name="l00211"></a><a class="code" href="channels_8h.html#a6">00211</a> <span class="preprocessor">#define UCMODE_OP 1</span> +<a name="l00212"></a><a class="code" href="channels_8h.html#a7">00212</a> <span class="preprocessor"></span><span class="preprocessor">#define UCMODE_VOICE 2</span> +<a name="l00213"></a><a class="code" href="channels_8h.html#a8">00213</a> <span class="preprocessor"></span><span class="preprocessor">#define UCMODE_HOP 4</span> +<a name="l00214"></a><a class="code" href="channels_8h.html#a9">00214</a> <span class="preprocessor"></span><span class="preprocessor">#define UCMODE_PROTECT 8</span> +<a name="l00215"></a><a class="code" href="channels_8h.html#a10">00215</a> <span class="preprocessor"></span><span class="preprocessor">#define UCMODE_FOUNDER 16</span> +00216 <span class="preprocessor"></span> +<a name="l00222"></a><a class="code" href="classucrec.html">00222</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> +00223 { +00224 <span class="keyword">public</span>: +<a name="l00228"></a><a class="code" href="classucrec.html#o0">00228</a> <span class="keywordtype">char</span> <a class="code" href="classucrec.html#o0">uc_modes</a>; +00229 +<a name="l00233"></a><a class="code" href="classucrec.html#o1">00233</a> <a class="code" href="classchanrec.html">chanrec</a> *<a class="code" href="classucrec.html#o1">channel</a>; +00234 +<a name="l00235"></a><a class="code" href="classucrec.html#a0">00235</a> <a class="code" href="classucrec.html#a0">ucrec</a>() { <span class="comment">/* stub */</span> } +<a name="l00236"></a><a class="code" href="classucrec.html#a1">00236</a> <span class="keyword">virtual</span> <a class="code" href="classucrec.html#a1">~ucrec</a>() { <span class="comment">/* stub */</span> } +00237 }; +00238 +00239 <span class="preprocessor">#endif</span> +00240 <span class="preprocessor"></span> +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:58:57 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/channels_8h.html b/docs/module-doc/channels_8h.html index 6b6fbdbe0..81a0ada1c 100644 --- a/docs/module-doc/channels_8h.html +++ b/docs/module-doc/channels_8h.html @@ -37,29 +37,185 @@ <tr><td class="mdescLeft"> </td><td class="mdescRight">Holds a user's modes on a channel This class associates a users privilages with a channel by creating a pointer link between a userrec and chanrec class. </em> <a href="classucrec.html#_details">More...</a><em><br><br></td></tr> <tr><td colspan=2><br><h2>Defines</h2></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="channels_8h.html#a0">UCMODE_OP</a> 1</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="channels_8h.html#a0">CM_TOPICLOCK</a> 1</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="channels_8h.html#a1">UCMODE_VOICE</a> 2</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="channels_8h.html#a1">CM_NOEXTERNAL</a> 2</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="channels_8h.html#a2">UCMODE_HOP</a> 4</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="channels_8h.html#a2">CM_INVITEONLY</a> 4</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="channels_8h.html#a3">UCMODE_PROTECT</a> 8</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="channels_8h.html#a3">CM_MODERATED</a> 8</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="channels_8h.html#a4">UCMODE_FOUNDER</a> 16</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="channels_8h.html#a4">CM_SECRET</a> 16</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="channels_8h.html#a5">CM_PRIVATE</a> 32</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="channels_8h.html#a6">UCMODE_OP</a> 1</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="channels_8h.html#a7">UCMODE_VOICE</a> 2</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="channels_8h.html#a8">UCMODE_HOP</a> 4</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="channels_8h.html#a9">UCMODE_PROTECT</a> 8</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="channels_8h.html#a10">UCMODE_FOUNDER</a> 16</td></tr> <tr><td colspan=2><br><h2>Typedefs</h2></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::vector< <a class="el" href="classBanItem.html">BanItem</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="channels_8h.html#a5">BanList</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::vector< <a class="el" href="classBanItem.html">BanItem</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="channels_8h.html#a11">BanList</a></td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Holds a complete ban list. </em> <a href="#a5"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::vector< <a class="el" href="classExemptItem.html">ExemptItem</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="channels_8h.html#a6">ExemptList</a></td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Holds a complete ban list. </em> <a href="#a11"></a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::vector< <a class="el" href="classExemptItem.html">ExemptItem</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="channels_8h.html#a12">ExemptList</a></td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Holds a complete exempt list. </em> <a href="#a6"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::vector< <a class="el" href="classInviteItem.html">InviteItem</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="channels_8h.html#a7">InviteList</a></td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Holds a complete exempt list. </em> <a href="#a12"></a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::vector< <a class="el" href="classInviteItem.html">InviteItem</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="channels_8h.html#a13">InviteList</a></td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Holds a complete invite list. </em> <a href="#a7"></a><em><br><br></td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Holds a complete invite list. </em> <a href="#a13"></a><em><br><br></td></tr> </table> <hr><h2>Define Documentation</h2> -<a name="a4" doxytag="channels.h::UCMODE_FOUNDER"></a><p> +<a name="a2" doxytag="channels.h::CM_INVITEONLY"></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> #define CM_INVITEONLY 4 + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="channels_8h-source.html#l00028">28</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td> + </tr> +</table> +<a name="a3" doxytag="channels.h::CM_MODERATED"></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> #define CM_MODERATED 8 + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="channels_8h-source.html#l00029">29</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td> + </tr> +</table> +<a name="a1" doxytag="channels.h::CM_NOEXTERNAL"></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> #define CM_NOEXTERNAL 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="channels_8h-source.html#l00027">27</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td> + </tr> +</table> +<a name="a5" doxytag="channels.h::CM_PRIVATE"></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> #define CM_PRIVATE 32 + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="channels_8h-source.html#l00031">31</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td> + </tr> +</table> +<a name="a4" doxytag="channels.h::CM_SECRET"></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> #define CM_SECRET 16 + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="channels_8h-source.html#l00030">30</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td> + </tr> +</table> +<a name="a0" doxytag="channels.h::CM_TOPICLOCK"></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> #define CM_TOPICLOCK 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="channels_8h-source.html#l00026">26</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td> + </tr> +</table> +<a name="a10" doxytag="channels.h::UCMODE_FOUNDER"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -80,10 +236,10 @@ <p> <p> -Definition at line <a class="el" href="channels_8h-source.html#l00250">250</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#l00215">215</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> +<a name="a8" doxytag="channels.h::UCMODE_HOP"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -104,10 +260,10 @@ Definition at line <a class="el" href="channels_8h-source.html#l00250">250</a> o <p> <p> -Definition at line <a class="el" href="channels_8h-source.html#l00248">248</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#l00213">213</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> +<a name="a6" doxytag="channels.h::UCMODE_OP"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -128,10 +284,10 @@ Definition at line <a class="el" href="channels_8h-source.html#l00248">248</a> o <p> <p> -Definition at line <a class="el" href="channels_8h-source.html#l00246">246</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#l00211">211</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> +<a name="a9" doxytag="channels.h::UCMODE_PROTECT"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -152,10 +308,10 @@ Definition at line <a class="el" href="channels_8h-source.html#l00246">246</a> o <p> <p> -Definition at line <a class="el" href="channels_8h-source.html#l00249">249</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#l00214">214</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> +<a name="a7" doxytag="channels.h::UCMODE_VOICE"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -176,17 +332,17 @@ Definition at line <a class="el" href="channels_8h-source.html#l00249">249</a> o <p> <p> -Definition at line <a class="el" href="channels_8h-source.html#l00247">247</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#l00212">212</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td> </tr> </table> <hr><h2>Typedef Documentation</h2> -<a name="a5" doxytag="channels.h::BanList"></a><p> +<a name="a11" doxytag="channels.h::BanList"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> typedef std::vector<<a class="el" href="classBanItem.html">BanItem</a>> <a class="el" href="channels_8h.html#a5">BanList</a> + <td class="md" nowrap valign="top"> typedef std::vector<<a class="el" href="classBanItem.html">BanItem</a>> <a class="el" href="channels_8h.html#a11">BanList</a> </table> </td> </tr> @@ -203,16 +359,16 @@ Holds a complete ban list. <p> <p> -Definition at line <a class="el" href="channels_8h-source.html#l00080">80</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#l00087">87</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td> </tr> </table> -<a name="a6" doxytag="channels.h::ExemptList"></a><p> +<a name="a12" doxytag="channels.h::ExemptList"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> typedef std::vector<<a class="el" href="classExemptItem.html">ExemptItem</a>> <a class="el" href="channels_8h.html#a6">ExemptList</a> + <td class="md" nowrap valign="top"> typedef std::vector<<a class="el" href="classExemptItem.html">ExemptItem</a>> <a class="el" href="channels_8h.html#a12">ExemptList</a> </table> </td> </tr> @@ -229,16 +385,16 @@ Holds a complete exempt list. <p> <p> -Definition at line <a class="el" href="channels_8h-source.html#l00084">84</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#l00091">91</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td> </tr> </table> -<a name="a7" doxytag="channels.h::InviteList"></a><p> +<a name="a13" doxytag="channels.h::InviteList"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> typedef std::vector<<a class="el" href="classInviteItem.html">InviteItem</a>> <a class="el" href="channels_8h.html#a7">InviteList</a> + <td class="md" nowrap valign="top"> typedef std::vector<<a class="el" href="classInviteItem.html">InviteItem</a>> <a class="el" href="channels_8h.html#a13">InviteList</a> </table> </td> </tr> @@ -255,10 +411,10 @@ Holds a complete invite list. <p> <p> -Definition at line <a class="el" href="channels_8h-source.html#l00088">88</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#l00095">95</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td> </tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:14 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:58:59 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classAdmin-members.html b/docs/module-doc/classAdmin-members.html index 17bf4ca60..07341a931 100644 --- a/docs/module-doc/classAdmin-members.html +++ b/docs/module-doc/classAdmin-members.html @@ -13,7 +13,7 @@ <tr class="memlist"><td><a class="el" href="classAdmin.html#o0">Name</a></td><td><a class="el" href="classAdmin.html">Admin</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classAdmin.html#o2">Nick</a></td><td><a class="el" href="classAdmin.html">Admin</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:18 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:01 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classAdmin.html b/docs/module-doc/classAdmin.html index 46fd7935d..e5eafc9e2 100644 --- a/docs/module-doc/classAdmin.html +++ b/docs/module-doc/classAdmin.html @@ -76,9 +76,9 @@ Definition at line <a class="el" href="modules_8h-source.html#l00123">123</a> of <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00313">313</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00314">314</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00313 : <a class="code" href="classAdmin.html#o0">Name</a>(name), <a class="code" href="classAdmin.html#o1">Email</a>(email), <a class="code" href="classAdmin.html#o2">Nick</a>(nick) { }; +<div class="fragment"><pre>00314 : <a class="code" href="classAdmin.html#o0">Name</a>(name), <a class="code" href="classAdmin.html#o1">Email</a>(email), <a class="code" href="classAdmin.html#o2">Nick</a>(nick) { }; </pre></div> </td> </tr> </table> @@ -157,7 +157,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00126">126</a> of </table> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="modules_8h-source.html">modules.h</a><li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:18 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:01 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classBanItem-members.html b/docs/module-doc/classBanItem-members.html index f0897a061..c11424cb8 100644 --- a/docs/module-doc/classBanItem-members.html +++ b/docs/module-doc/classBanItem-members.html @@ -14,7 +14,7 @@ <tr class="memlist"><td><a class="el" href="classHostItem.html#o0">set_time</a></td><td><a class="el" href="classHostItem.html">HostItem</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr class="memlist"><td><a class="el" href="classHostItem.html#a1">~HostItem</a>()</td><td><a class="el" href="classHostItem.html">HostItem</a></td><td><code> [inline, virtual]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:18 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:01 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classBanItem.html b/docs/module-doc/classBanItem.html index 146df0543..61f42292f 100644 --- a/docs/module-doc/classBanItem.html +++ b/docs/module-doc/classBanItem.html @@ -20,9 +20,9 @@ A subclass of <a class="el" href="classHostItem.html">HostItem</a> designed to h <p> <p> -Definition at line <a class="el" href="channels_8h-source.html#l00045">45</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> +Definition at line <a class="el" href="channels_8h-source.html#l00052">52</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.<hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="channels_8h-source.html">channels.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:18 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:01 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classConfigReader-members.html b/docs/module-doc/classConfigReader-members.html index 9a52c0733..31cc167fb 100644 --- a/docs/module-doc/classConfigReader-members.html +++ b/docs/module-doc/classConfigReader-members.html @@ -24,7 +24,7 @@ <tr class="memlist"><td><a class="el" href="classConfigReader.html#a8">Verify</a>()</td><td><a class="el" href="classConfigReader.html">ConfigReader</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr class="memlist"><td><a class="el" href="classConfigReader.html#a2">~ConfigReader</a>()</td><td><a class="el" href="classConfigReader.html">ConfigReader</a></td><td></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:19 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:02 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classConfigReader.html b/docs/module-doc/classConfigReader.html index d47e96452..c37020080 100644 --- a/docs/module-doc/classConfigReader.html +++ b/docs/module-doc/classConfigReader.html @@ -97,17 +97,17 @@ 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#l00869">869</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#l00870">870</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="modules_8h-source.html#l01155">cache</a>, <a class="el" href="modules_8h-source.html#l01138">CONF_FILE_NOT_FOUND</a>, <a class="el" href="modules_8h-source.html#l01160">error</a>, <a class="el" href="modules_8h-source.html#l01156">errorlog</a>, and <a class="el" href="modules_8h-source.html#l01159">readerror</a>. <p> -<div class="fragment"><pre>00870 { -00871 this-><a class="code" href="classConfigReader.html#p0">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); -00872 this-><a class="code" href="classConfigReader.html#p1">errorlog</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); -00873 this-><a class="code" href="classConfigReader.html#p2">readerror</a> = LoadConf(CONFIG_FILE,this->cache,this->errorlog); -00874 <span class="keywordflow">if</span> (!this-><a class="code" href="classConfigReader.html#p2">readerror</a>) -00875 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a30">CONF_FILE_NOT_FOUND</a>; -00876 } +<div class="fragment"><pre>00871 { +00872 this-><a class="code" href="classConfigReader.html#p0">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); +00873 this-><a class="code" href="classConfigReader.html#p1">errorlog</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); +00874 this-><a class="code" href="classConfigReader.html#p2">readerror</a> = LoadConf(CONFIG_FILE,this->cache,this->errorlog); +00875 <span class="keywordflow">if</span> (!this-><a class="code" href="classConfigReader.html#p2">readerror</a>) +00876 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a30">CONF_FILE_NOT_FOUND</a>; +00877 } </pre></div> </td> </tr> </table> @@ -141,17 +141,17 @@ 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#l00888">888</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#l00889">889</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="modules_8h-source.html#l01155">cache</a>, <a class="el" href="modules_8h-source.html#l01138">CONF_FILE_NOT_FOUND</a>, <a class="el" href="modules_8h-source.html#l01160">error</a>, <a class="el" href="modules_8h-source.html#l01156">errorlog</a>, and <a class="el" href="modules_8h-source.html#l01159">readerror</a>. <p> -<div class="fragment"><pre>00889 { -00890 this-><a class="code" href="classConfigReader.html#p0">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); -00891 this-><a class="code" href="classConfigReader.html#p1">errorlog</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); -00892 this-><a class="code" href="classConfigReader.html#p2">readerror</a> = LoadConf(filename.c_str(),this-><a class="code" href="classConfigReader.html#p0">cache</a>,this-><a class="code" href="classConfigReader.html#p1">errorlog</a>); -00893 <span class="keywordflow">if</span> (!this-><a class="code" href="classConfigReader.html#p2">readerror</a>) -00894 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a30">CONF_FILE_NOT_FOUND</a>; -00895 }; +<div class="fragment"><pre>00890 { +00891 this-><a class="code" href="classConfigReader.html#p0">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); +00892 this-><a class="code" href="classConfigReader.html#p1">errorlog</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); +00893 this-><a class="code" href="classConfigReader.html#p2">readerror</a> = LoadConf(filename.c_str(),this-><a class="code" href="classConfigReader.html#p0">cache</a>,this-><a class="code" href="classConfigReader.html#p1">errorlog</a>); +00894 <span class="keywordflow">if</span> (!this-><a class="code" href="classConfigReader.html#p2">readerror</a>) +00895 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a30">CONF_FILE_NOT_FOUND</a>; +00896 }; </pre></div> </td> </tr> </table> @@ -184,16 +184,16 @@ Default destructor. <p> This method destroys the ConfigReader class. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00879">879</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00880">880</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="modules_8h-source.html#l01155">cache</a>, and <a class="el" href="modules_8h-source.html#l01156">errorlog</a>. <p> -<div class="fragment"><pre>00880 { -00881 <span class="keywordflow">if</span> (this-><a class="code" href="classConfigReader.html#p0">cache</a>) -00882 <span class="keyword">delete</span> this-><a class="code" href="classConfigReader.html#p0">cache</a>; -00883 <span class="keywordflow">if</span> (this-><a class="code" href="classConfigReader.html#p1">errorlog</a>) -00884 <span class="keyword">delete</span> this-><a class="code" href="classConfigReader.html#p1">errorlog</a>; -00885 } +<div class="fragment"><pre>00881 { +00882 <span class="keywordflow">if</span> (this-><a class="code" href="classConfigReader.html#p0">cache</a>) +00883 <span class="keyword">delete</span> this-><a class="code" href="classConfigReader.html#p0">cache</a>; +00884 <span class="keywordflow">if</span> (this-><a class="code" href="classConfigReader.html#p1">errorlog</a>) +00885 <span class="keyword">delete</span> this-><a class="code" href="classConfigReader.html#p1">errorlog</a>; +00886 } </pre></div> </td> </tr> </table> @@ -237,40 +237,40 @@ Dumps the list of errors in a config file to an output location. <p> If bail is true, then the program will abort. If bail is false and user points to a valid user record, the error report will be spooled to the given user by means of NOTICE. if bool is false AND user is false, the error report will be spooled to all opers by means of a NOTICE to all opers. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00966">966</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#l00967">967</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="modules_8h-source.html#l01156">errorlog</a>, <a class="el" href="connection_8h-source.html#l00215">connection::fd</a>, and <a class="el" href="users_8h-source.html#l00121">userrec::nick</a>. <p> -<div class="fragment"><pre>00967 { -00968 <span class="keywordflow">if</span> (bail) -00969 { -00970 printf(<span class="stringliteral">"There were errors in your configuration:\n%s"</span>,<a class="code" href="classConfigReader.html#p1">errorlog</a>->str().c_str()); -00971 exit(0); -00972 } -00973 <span class="keywordflow">else</span> -00974 { -00975 <span class="keywordtype">char</span> dataline[1024]; -00976 <span class="keywordflow">if</span> (user) -00977 { -00978 WriteServ(user-><a class="code" href="classconnection.html#o0">fd</a>,<span class="stringliteral">"NOTICE %s :There were errors in the configuration file:"</span>,user-><a class="code" href="classuserrec.html#o0">nick</a>); -00979 <span class="keywordflow">while</span> (!<a class="code" href="classConfigReader.html#p1">errorlog</a>->eof()) -00980 { -00981 <a class="code" href="classConfigReader.html#p1">errorlog</a>->getline(dataline,1024); -00982 WriteServ(user-><a class="code" href="classconnection.html#o0">fd</a>,<span class="stringliteral">"NOTICE %s :%s"</span>,user-><a class="code" href="classuserrec.html#o0">nick</a>,dataline); -00983 } -00984 } -00985 <span class="keywordflow">else</span> -00986 { -00987 WriteOpers(<span class="stringliteral">"There were errors in the configuration file:"</span>,user-><a class="code" href="classuserrec.html#o0">nick</a>); -00988 <span class="keywordflow">while</span> (!<a class="code" href="classConfigReader.html#p1">errorlog</a>->eof()) -00989 { -00990 <a class="code" href="classConfigReader.html#p1">errorlog</a>->getline(dataline,1024); -00991 WriteOpers(dataline); -00992 } -00993 } -00994 <span class="keywordflow">return</span>; -00995 } -00996 } +<div class="fragment"><pre>00968 { +00969 <span class="keywordflow">if</span> (bail) +00970 { +00971 printf(<span class="stringliteral">"There were errors in your configuration:\n%s"</span>,<a class="code" href="classConfigReader.html#p1">errorlog</a>->str().c_str()); +00972 exit(0); +00973 } +00974 <span class="keywordflow">else</span> +00975 { +00976 <span class="keywordtype">char</span> dataline[1024]; +00977 <span class="keywordflow">if</span> (user) +00978 { +00979 WriteServ(user-><a class="code" href="classconnection.html#o0">fd</a>,<span class="stringliteral">"NOTICE %s :There were errors in the configuration file:"</span>,user-><a class="code" href="classuserrec.html#o0">nick</a>); +00980 <span class="keywordflow">while</span> (!<a class="code" href="classConfigReader.html#p1">errorlog</a>->eof()) +00981 { +00982 <a class="code" href="classConfigReader.html#p1">errorlog</a>->getline(dataline,1024); +00983 WriteServ(user-><a class="code" href="classconnection.html#o0">fd</a>,<span class="stringliteral">"NOTICE %s :%s"</span>,user-><a class="code" href="classuserrec.html#o0">nick</a>,dataline); +00984 } +00985 } +00986 <span class="keywordflow">else</span> +00987 { +00988 WriteOpers(<span class="stringliteral">"There were errors in the configuration file:"</span>,user-><a class="code" href="classuserrec.html#o0">nick</a>); +00989 <span class="keywordflow">while</span> (!<a class="code" href="classConfigReader.html#p1">errorlog</a>->eof()) +00990 { +00991 <a class="code" href="classConfigReader.html#p1">errorlog</a>->getline(dataline,1024); +00992 WriteOpers(dataline); +00993 } +00994 } +00995 <span class="keywordflow">return</span>; +00996 } +00997 } </pre></div> </td> </tr> </table> @@ -304,13 +304,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#l00999">999</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#l01000">1000</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="modules_8h-source.html#l01155">cache</a>. <p> -<div class="fragment"><pre>01000 { -01001 <span class="keywordflow">return</span> EnumConf(cache,tag.c_str()); -01002 } +<div class="fragment"><pre>01001 { +01002 <span class="keywordflow">return</span> EnumConf(cache,tag.c_str()); +01003 } </pre></div> </td> </tr> </table> @@ -353,13 +353,13 @@ Returns the number of items within a tag. <p> For example if the tag was <test tag="blah" data="foo"> then this function would return 2. Spaces and newlines both qualify as valid seperators between values. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l01004">1004</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l01005">1005</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="modules_8h-source.html#l01155">cache</a>. <p> -<div class="fragment"><pre>01005 { -01006 <span class="keywordflow">return</span> EnumValues(cache, tag.c_str(), index); -01007 } +<div class="fragment"><pre>01006 { +01007 <span class="keywordflow">return</span> EnumValues(cache, tag.c_str(), index); +01008 } </pre></div> </td> </tr> </table> @@ -392,15 +392,15 @@ Returns the last error to occur. <p> Valid errors can be found by looking in <a class="el" href="modules_8h.html">modules.h</a>. Any nonzero value indicates an error condition. A call to <a class="el" href="classConfigReader.html#a6">GetError()</a> resets the error flag back to 0. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00959">959</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#l00960">960</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="modules_8h-source.html#l01160">error</a>. <p> -<div class="fragment"><pre>00960 { -00961 <span class="keywordtype">long</span> olderr = this-><a class="code" href="classConfigReader.html#p3">error</a>; -00962 this->error = 0; -00963 <span class="keywordflow">return</span> olderr; -00964 } +<div class="fragment"><pre>00961 { +00962 <span class="keywordtype">long</span> olderr = this-><a class="code" href="classConfigReader.html#p3">error</a>; +00963 this->error = 0; +00964 <span class="keywordflow">return</span> olderr; +00965 } </pre></div> </td> </tr> </table> @@ -449,25 +449,25 @@ Retrieves a boolean value from the config file. <p> This method retrieves a boolean value from the config file. Where multiple copies of the tag exist in the config file, index indicates which of the values to retrieve. The values "1", "yes" and "true" in the config file count as true to ReadFlag, and any other value counts as false. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00913">913</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#l00914">914</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="modules_8h-source.html#l01155">cache</a>, <a class="el" href="modules_8h-source.html#l01137">CONF_VALUE_NOT_FOUND</a>, and <a class="el" href="modules_8h-source.html#l01160">error</a>. <p> -<div class="fragment"><pre>00914 { -00915 <span class="keywordtype">char</span> val[MAXBUF]; -00916 <span class="keywordtype">char</span> t[MAXBUF]; -00917 <span class="keywordtype">char</span> n[MAXBUF]; -00918 strlcpy(t,tag.c_str(),MAXBUF); -00919 strlcpy(n,name.c_str(),MAXBUF); -00920 <span class="keywordtype">int</span> res = ReadConf(cache,t,n,index,val); -00921 <span class="keywordflow">if</span> (!res) -00922 { -00923 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a29">CONF_VALUE_NOT_FOUND</a>; -00924 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00925 } -00926 std::string s = val; -00927 <span class="keywordflow">return</span> ((s == <span class="stringliteral">"yes"</span>) || (s == <span class="stringliteral">"YES"</span>) || (s == <span class="stringliteral">"true"</span>) || (s == <span class="stringliteral">"TRUE"</span>) || (s == <span class="stringliteral">"1"</span>)); -00928 } +<div class="fragment"><pre>00915 { +00916 <span class="keywordtype">char</span> val[MAXBUF]; +00917 <span class="keywordtype">char</span> t[MAXBUF]; +00918 <span class="keywordtype">char</span> n[MAXBUF]; +00919 strlcpy(t,tag.c_str(),MAXBUF); +00920 strlcpy(n,name.c_str(),MAXBUF); +00921 <span class="keywordtype">int</span> res = ReadConf(cache,t,n,index,val); +00922 <span class="keywordflow">if</span> (!res) +00923 { +00924 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a29">CONF_VALUE_NOT_FOUND</a>; +00925 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00926 } +00927 std::string s = val; +00928 <span class="keywordflow">return</span> ((s == <span class="stringliteral">"yes"</span>) || (s == <span class="stringliteral">"YES"</span>) || (s == <span class="stringliteral">"true"</span>) || (s == <span class="stringliteral">"TRUE"</span>) || (s == <span class="stringliteral">"1"</span>)); +00929 } </pre></div> </td> </tr> </table> @@ -522,37 +522,37 @@ Retrieves an integer value from the config file. <p> This method retrieves an integer value from the config file. Where multiple copies of the tag exist in the config file, index indicates which of the values to retrieve. Any invalid integer values in the tag will cause the objects error value to be set, and any call to <a class="el" href="classConfigReader.html#a6">GetError()</a> will return CONF_INVALID_NUMBER to be returned. needs_unsigned is set if the number must be unsigned. If a signed number is placed into a tag which is specified unsigned, 0 will be returned and <a class="el" href="classConfigReader.html#a6">GetError()</a> will return CONF_NOT_UNSIGNED <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00930">930</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#l00931">931</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="modules_8h-source.html#l01155">cache</a>, <a class="el" href="modules_8h-source.html#l01135">CONF_NOT_A_NUMBER</a>, <a class="el" href="modules_8h-source.html#l01136">CONF_NOT_UNSIGNED</a>, <a class="el" href="modules_8h-source.html#l01137">CONF_VALUE_NOT_FOUND</a>, and <a class="el" href="modules_8h-source.html#l01160">error</a>. <p> -<div class="fragment"><pre>00931 { -00932 <span class="keywordtype">char</span> val[MAXBUF]; -00933 <span class="keywordtype">char</span> t[MAXBUF]; -00934 <span class="keywordtype">char</span> n[MAXBUF]; -00935 strlcpy(t,tag.c_str(),MAXBUF); -00936 strlcpy(n,name.c_str(),MAXBUF); -00937 <span class="keywordtype">int</span> res = ReadConf(cache,t,n,index,val); -00938 <span class="keywordflow">if</span> (!res) -00939 { -00940 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a29">CONF_VALUE_NOT_FOUND</a>; -00941 <span class="keywordflow">return</span> 0; -00942 } -00943 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < strlen(val); i++) -00944 { -00945 <span class="keywordflow">if</span> (!isdigit(val[i])) -00946 { -00947 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a27">CONF_NOT_A_NUMBER</a>; -00948 <span class="keywordflow">return</span> 0; -00949 } -00950 } -00951 <span class="keywordflow">if</span> ((needs_unsigned) && (atoi(val)<0)) -00952 { -00953 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a28">CONF_NOT_UNSIGNED</a>; -00954 <span class="keywordflow">return</span> 0; -00955 } -00956 <span class="keywordflow">return</span> atoi(val); -00957 } +<div class="fragment"><pre>00932 { +00933 <span class="keywordtype">char</span> val[MAXBUF]; +00934 <span class="keywordtype">char</span> t[MAXBUF]; +00935 <span class="keywordtype">char</span> n[MAXBUF]; +00936 strlcpy(t,tag.c_str(),MAXBUF); +00937 strlcpy(n,name.c_str(),MAXBUF); +00938 <span class="keywordtype">int</span> res = ReadConf(cache,t,n,index,val); +00939 <span class="keywordflow">if</span> (!res) +00940 { +00941 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a29">CONF_VALUE_NOT_FOUND</a>; +00942 <span class="keywordflow">return</span> 0; +00943 } +00944 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < strlen(val); i++) +00945 { +00946 <span class="keywordflow">if</span> (!isdigit(val[i])) +00947 { +00948 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a27">CONF_NOT_A_NUMBER</a>; +00949 <span class="keywordflow">return</span> 0; +00950 } +00951 } +00952 <span class="keywordflow">if</span> ((needs_unsigned) && (atoi(val)<0)) +00953 { +00954 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a28">CONF_NOT_UNSIGNED</a>; +00955 <span class="keywordflow">return</span> 0; +00956 } +00957 <span class="keywordflow">return</span> atoi(val); +00958 } </pre></div> </td> </tr> </table> @@ -601,24 +601,24 @@ 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#l00897">897</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00898">898</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="modules_8h-source.html#l01155">cache</a>, <a class="el" href="modules_8h-source.html#l01137">CONF_VALUE_NOT_FOUND</a>, and <a class="el" href="modules_8h-source.html#l01160">error</a>. <p> -<div class="fragment"><pre>00898 { -00899 <span class="keywordtype">char</span> val[MAXBUF]; -00900 <span class="keywordtype">char</span> t[MAXBUF]; -00901 <span class="keywordtype">char</span> n[MAXBUF]; -00902 strlcpy(t,tag.c_str(),MAXBUF); -00903 strlcpy(n,name.c_str(),MAXBUF); -00904 <span class="keywordtype">int</span> res = ReadConf(cache,t,n,index,val); -00905 <span class="keywordflow">if</span> (!res) -00906 { -00907 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a29">CONF_VALUE_NOT_FOUND</a>; -00908 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; -00909 } -00910 <span class="keywordflow">return</span> val; -00911 } +<div class="fragment"><pre>00899 { +00900 <span class="keywordtype">char</span> val[MAXBUF]; +00901 <span class="keywordtype">char</span> t[MAXBUF]; +00902 <span class="keywordtype">char</span> n[MAXBUF]; +00903 strlcpy(t,tag.c_str(),MAXBUF); +00904 strlcpy(n,name.c_str(),MAXBUF); +00905 <span class="keywordtype">int</span> res = ReadConf(cache,t,n,index,val); +00906 <span class="keywordflow">if</span> (!res) +00907 { +00908 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a29">CONF_VALUE_NOT_FOUND</a>; +00909 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; +00910 } +00911 <span class="keywordflow">return</span> val; +00912 } </pre></div> </td> </tr> </table> @@ -651,13 +651,13 @@ Returns true if a config file is valid. <p> This method is partially implemented and will only return false if the config file does not exist or could not be opened. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l01009">1009</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#l01010">1010</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="modules_8h-source.html#l01159">readerror</a>. <p> -<div class="fragment"><pre>01010 { -01011 <span class="keywordflow">return</span> this-><a class="code" href="classConfigReader.html#p2">readerror</a>; -01012 } +<div class="fragment"><pre>01011 { +01012 <span class="keywordflow">return</span> this-><a class="code" href="classConfigReader.html#p2">readerror</a>; +01013 } </pre></div> </td> </tr> </table> @@ -687,7 +687,7 @@ It will contain a pointer to the configuration file data with unneeded data (suc <p> Definition at line <a class="el" href="modules_8h-source.html#l01155">1155</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#l00869">ConfigReader()</a>, <a class="el" href="modules_8cpp-source.html#l00999">Enumerate()</a>, <a class="el" href="modules_8cpp-source.html#l01004">EnumerateValues()</a>, <a class="el" href="modules_8cpp-source.html#l00913">ReadFlag()</a>, <a class="el" href="modules_8cpp-source.html#l00930">ReadInteger()</a>, <a class="el" href="modules_8cpp-source.html#l00897">ReadValue()</a>, and <a class="el" href="modules_8cpp-source.html#l00879">~ConfigReader()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00870">ConfigReader()</a>, <a class="el" href="modules_8cpp-source.html#l01000">Enumerate()</a>, <a class="el" href="modules_8cpp-source.html#l01005">EnumerateValues()</a>, <a class="el" href="modules_8cpp-source.html#l00914">ReadFlag()</a>, <a class="el" href="modules_8cpp-source.html#l00931">ReadInteger()</a>, <a class="el" href="modules_8cpp-source.html#l00898">ReadValue()</a>, and <a class="el" href="modules_8cpp-source.html#l00880">~ConfigReader()</a>. </td> </tr> </table> <a name="p3" doxytag="ConfigReader::error"></a><p> @@ -713,7 +713,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00869">ConfigReader( <p> Definition at line <a class="el" href="modules_8h-source.html#l01160">1160</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#l00869">ConfigReader()</a>, <a class="el" href="modules_8cpp-source.html#l00959">GetError()</a>, <a class="el" href="modules_8cpp-source.html#l00913">ReadFlag()</a>, <a class="el" href="modules_8cpp-source.html#l00930">ReadInteger()</a>, and <a class="el" href="modules_8cpp-source.html#l00897">ReadValue()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00870">ConfigReader()</a>, <a class="el" href="modules_8cpp-source.html#l00960">GetError()</a>, <a class="el" href="modules_8cpp-source.html#l00914">ReadFlag()</a>, <a class="el" href="modules_8cpp-source.html#l00931">ReadInteger()</a>, and <a class="el" href="modules_8cpp-source.html#l00898">ReadValue()</a>. </td> </tr> </table> <a name="p1" doxytag="ConfigReader::errorlog"></a><p> @@ -739,7 +739,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00869">ConfigReader( <p> Definition at line <a class="el" href="modules_8h-source.html#l01156">1156</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#l00869">ConfigReader()</a>, <a class="el" href="modules_8cpp-source.html#l00966">DumpErrors()</a>, and <a class="el" href="modules_8cpp-source.html#l00879">~ConfigReader()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00870">ConfigReader()</a>, <a class="el" href="modules_8cpp-source.html#l00967">DumpErrors()</a>, and <a class="el" href="modules_8cpp-source.html#l00880">~ConfigReader()</a>. </td> </tr> </table> <a name="p2" doxytag="ConfigReader::readerror"></a><p> @@ -767,12 +767,12 @@ Used to store errors. <p> Definition at line <a class="el" href="modules_8h-source.html#l01159">1159</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#l00869">ConfigReader()</a>, and <a class="el" href="modules_8cpp-source.html#l01009">Verify()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00870">ConfigReader()</a>, and <a class="el" href="modules_8cpp-source.html#l01010">Verify()</a>. </td> </tr> </table> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="modules_8h-source.html">modules.h</a><li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:19 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:02 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classConnectClass-members.html b/docs/module-doc/classConnectClass-members.html index a4ad32455..095af0ce1 100644 --- a/docs/module-doc/classConnectClass-members.html +++ b/docs/module-doc/classConnectClass-members.html @@ -19,7 +19,7 @@ <tr class="memlist"><td><a class="el" href="classConnectClass.html#o6">threshold</a></td><td><a class="el" href="classConnectClass.html">ConnectClass</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classConnectClass.html#o0">type</a></td><td><a class="el" href="classConnectClass.html">ConnectClass</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:19 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:02 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classConnectClass.html b/docs/module-doc/classConnectClass.html index 0b9c4acf8..170e51976 100644 --- a/docs/module-doc/classConnectClass.html +++ b/docs/module-doc/classConnectClass.html @@ -18,7 +18,7 @@ Inherits <a class="el" href="classclassbase.html">classbase</a>. <tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="classConnectClass.html#a0">ConnectClass</a> ()</td></tr> <tr><td colspan=2><br><h2>Public Attributes</h2></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="classConnectClass.html#o0">type</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="classConnectClass.html#o0">type</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Type of line, either CC_ALLOW or CC_DENY. </em> <a href="#o0"></a><em><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="classConnectClass.html#o1">registration_timeout</a></td></tr> @@ -36,7 +36,7 @@ Inherits <a class="el" href="classclassbase.html">classbase</a>. <tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="classConnectClass.html#o5">pass</a> [MAXBUF]</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">(Optional) Password for this line </em> <a href="#o5"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>long </td><td class="memItemRight" valign=bottom><a class="el" href="classConnectClass.html#o6">threshold</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="classConnectClass.html#o6">threshold</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Threshold value for flood disconnect. </em> <a href="#o6"></a><em><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>long </td><td class="memItemRight" valign=bottom><a class="el" href="classConnectClass.html#o7">sendqmax</a></td></tr> @@ -299,7 +299,7 @@ Referenced by <a class="el" href="users_8h-source.html#l00079">ConnectClass()</a <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> long <a class="el" href="classConnectClass.html#o6">ConnectClass::threshold</a> + <td class="md" nowrap valign="top"> int <a class="el" href="classConnectClass.html#o6">ConnectClass::threshold</a> </table> </td> </tr> @@ -327,7 +327,7 @@ Referenced by <a class="el" href="users_8h-source.html#l00079">ConnectClass()</a <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> int <a class="el" href="classConnectClass.html#o0">ConnectClass::type</a> + <td class="md" nowrap valign="top"> char <a class="el" href="classConnectClass.html#o0">ConnectClass::type</a> </table> </td> </tr> @@ -349,7 +349,7 @@ Definition at line <a class="el" href="users_8h-source.html#l00050">50</a> of fi </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="users_8h-source.html">users.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:19 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:02 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classDNS-members.html b/docs/module-doc/classDNS-members.html index 6c7f3e803..1585ca498 100644 --- a/docs/module-doc/classDNS-members.html +++ b/docs/module-doc/classDNS-members.html @@ -33,7 +33,7 @@ <tr class="memlist"><td><a class="el" href="classDNS.html#a8">SetNS</a>(std::string dnsserver)</td><td><a class="el" href="classDNS.html">DNS</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classDNS.html#r2">t</a></td><td><a class="el" href="classDNS.html">DNS</a></td><td><code> [private]</code></td></tr> <tr class="memlist"><td><a class="el" href="classDNS.html#a2">~DNS</a>()</td><td><a class="el" href="classDNS.html">DNS</a></td><td></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:20 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:02 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classDNS.html b/docs/module-doc/classDNS.html index d444c8013..1fc423586 100644 --- a/docs/module-doc/classDNS.html +++ b/docs/module-doc/classDNS.html @@ -890,7 +890,7 @@ Definition at line <a class="el" href="dns_8h-source.html#l00040">40</a> of file </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="dns_8h-source.html">dns.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:20 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:02 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classELine-members.html b/docs/module-doc/classELine-members.html index 15bedac9a..19b76f48a 100644 --- a/docs/module-doc/classELine-members.html +++ b/docs/module-doc/classELine-members.html @@ -15,7 +15,7 @@ <tr class="memlist"><td><a class="el" href="classXLine.html#o0">set_time</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classXLine.html#o2">source</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:20 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:02 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classELine.html b/docs/module-doc/classELine.html index e674ef34f..226f14618 100644 --- a/docs/module-doc/classELine.html +++ b/docs/module-doc/classELine.html @@ -12,7 +12,7 @@ Inherits <a class="el" href="classXLine.html">XLine</a>. <a href="classELine-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> <tr><td></td></tr> <tr><td colspan=2><br><h2>Public Attributes</h2></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="classELine.html#o0">hostmask</a> [MAXBUF]</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="classELine.html#o0">hostmask</a> [200]</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Hostmask (ident) to match against May contain wildcards. </em> <a href="#o0"></a><em><br><br></td></tr> </table> @@ -23,7 +23,7 @@ Inherits <a class="el" href="classXLine.html">XLine</a>. <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> char <a class="el" href="classELine.html#o0">ELine::hostmask</a>[MAXBUF] + <td class="md" nowrap valign="top"> char <a class="el" href="classELine.html#o0">ELine::hostmask</a>[200] </table> </td> </tr> @@ -45,7 +45,7 @@ Definition at line <a class="el" href="xline_8h-source.html#l00088">88</a> of fi </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="xline_8h-source.html">xline.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:20 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:02 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classEvent-members.html b/docs/module-doc/classEvent-members.html index 861fbfe1f..1cc24a7aa 100644 --- a/docs/module-doc/classEvent-members.html +++ b/docs/module-doc/classEvent-members.html @@ -17,7 +17,7 @@ <tr class="memlist"><td><a class="el" href="classEvent.html#a4">Send</a>()</td><td><a class="el" href="classEvent.html">Event</a></td><td><code> [virtual]</code></td></tr> <tr class="memlist"><td><a class="el" href="classEvent.html#p1">source</a></td><td><a class="el" href="classEvent.html">Event</a></td><td><code> [protected]</code></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:20 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:02 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classEvent.html b/docs/module-doc/classEvent.html index 63f69b78c..9441f2961 100644 --- a/docs/module-doc/classEvent.html +++ b/docs/module-doc/classEvent.html @@ -94,9 +94,9 @@ Create a new Event. <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00344">344</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00345">345</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00344 : <a class="code" href="classEvent.html#p0">data</a>(anydata), <a class="code" href="classEvent.html#p1">source</a>(src), <a class="code" href="classEvent.html#p2">id</a>(eventid) { }; +<div class="fragment"><pre>00345 : <a class="code" href="classEvent.html#p0">data</a>(anydata), <a class="code" href="classEvent.html#p1">source</a>(src), <a class="code" href="classEvent.html#p2">id</a>(eventid) { }; </pre></div> </td> </tr> </table> @@ -130,13 +130,13 @@ Get the Event data. <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00346">346</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00347">347</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="modules_8h-source.html#l00199">data</a>. <p> -<div class="fragment"><pre>00347 { -00348 <span class="keywordflow">return</span> this-><a class="code" href="classEvent.html#p0">data</a>; -00349 } +<div class="fragment"><pre>00348 { +00349 <span class="keywordflow">return</span> this-><a class="code" href="classEvent.html#p0">data</a>; +00350 } </pre></div> </td> </tr> </table> @@ -169,13 +169,13 @@ Get the event ID. <p> Use this to determine the event type for safe casting of the data <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00362">362</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00363">363</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="modules_8h-source.html#l00208">id</a>. <p> -<div class="fragment"><pre>00363 { -00364 <span class="keywordflow">return</span> this-><a class="code" href="classEvent.html#p2">id</a>; -00365 } +<div class="fragment"><pre>00364 { +00365 <span class="keywordflow">return</span> this-><a class="code" href="classEvent.html#p2">id</a>; +00366 } </pre></div> </td> </tr> </table> @@ -208,13 +208,13 @@ Get the event Source. <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00351">351</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00352">352</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="modules_8h-source.html#l00203">source</a>. <p> -<div class="fragment"><pre>00352 { -00353 <span class="keywordflow">return</span> this-><a class="code" href="classEvent.html#p1">source</a>; -00354 } +<div class="fragment"><pre>00353 { +00354 <span class="keywordflow">return</span> this-><a class="code" href="classEvent.html#p1">source</a>; +00355 } </pre></div> </td> </tr> </table> @@ -249,14 +249,14 @@ The return result of an <a class="el" href="classEvent.html#a4">Event::Send()</a <p> Implements <a class="el" href="classModuleMessage.html#a0">ModuleMessage</a>. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00356">356</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00357">357</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="modules_8h-source.html#l00079">FOREACH_MOD</a>. <p> -<div class="fragment"><pre>00357 { -00358 <a class="code" href="modules_8h.html#a24">FOREACH_MOD</a> OnEvent(<span class="keyword">this</span>); -00359 <span class="keywordflow">return</span> NULL; -00360 } +<div class="fragment"><pre>00358 { +00359 <a class="code" href="modules_8h.html#a24">FOREACH_MOD</a> OnEvent(<span class="keyword">this</span>); +00360 <span class="keywordflow">return</span> NULL; +00361 } </pre></div> </td> </tr> </table> @@ -286,7 +286,7 @@ This member holds a pointer to arbitary data set by the emitter of the message. <p> Definition at line <a class="el" href="modules_8h-source.html#l00199">199</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#l00346">GetData()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00347">GetData()</a>. </td> </tr> </table> <a name="p2" doxytag="Event::id"></a><p> @@ -314,7 +314,7 @@ This is arbitary text which should be used to distinguish one type of event from <p> Definition at line <a class="el" href="modules_8h-source.html#l00208">208</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#l00362">GetEventID()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00363">GetEventID()</a>. </td> </tr> </table> <a name="p1" doxytag="Event::source"></a><p> @@ -342,12 +342,12 @@ This is a pointer to the sender of the message, which can be used to directly tr <p> Definition at line <a class="el" href="modules_8h-source.html#l00203">203</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#l00351">GetSource()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00352">GetSource()</a>. </td> </tr> </table> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="modules_8h-source.html">modules.h</a><li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:20 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:02 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classExemptItem-members.html b/docs/module-doc/classExemptItem-members.html index aa9268099..52c0f8ff3 100644 --- a/docs/module-doc/classExemptItem-members.html +++ b/docs/module-doc/classExemptItem-members.html @@ -14,7 +14,7 @@ <tr class="memlist"><td><a class="el" href="classHostItem.html#o0">set_time</a></td><td><a class="el" href="classHostItem.html">HostItem</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr class="memlist"><td><a class="el" href="classHostItem.html#a1">~HostItem</a>()</td><td><a class="el" href="classHostItem.html">HostItem</a></td><td><code> [inline, virtual]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:20 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:02 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classExemptItem.html b/docs/module-doc/classExemptItem.html index f4b247d28..c3ebd85f9 100644 --- a/docs/module-doc/classExemptItem.html +++ b/docs/module-doc/classExemptItem.html @@ -20,9 +20,9 @@ A subclass of <a class="el" href="classHostItem.html">HostItem</a> designed to h <p> <p> -Definition at line <a class="el" href="channels_8h-source.html#l00053">53</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> +Definition at line <a class="el" href="channels_8h-source.html#l00060">60</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.<hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="channels_8h-source.html">channels.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:20 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:02 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classExtMode-members.html b/docs/module-doc/classExtMode-members.html index 50662ef03..d33cd4180 100644 --- a/docs/module-doc/classExtMode-members.html +++ b/docs/module-doc/classExtMode-members.html @@ -16,7 +16,7 @@ <tr class="memlist"><td><a class="el" href="classExtMode.html#o2">params_when_on</a></td><td><a class="el" href="classExtMode.html">ExtMode</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classExtMode.html#o1">type</a></td><td><a class="el" href="classExtMode.html">ExtMode</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:21 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:02 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classExtMode.html b/docs/module-doc/classExtMode.html index ca994a249..a39031b46 100644 --- a/docs/module-doc/classExtMode.html +++ b/docs/module-doc/classExtMode.html @@ -82,11 +82,11 @@ <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00211">211</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00212">212</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8cpp-source.html#l00205">modechar</a>, <a class="el" href="modules_8cpp-source.html#l00209">needsoper</a>, <a class="el" href="modules_8cpp-source.html#l00208">params_when_off</a>, <a class="el" href="modules_8cpp-source.html#l00207">params_when_on</a>, and <a class="el" href="modules_8cpp-source.html#l00206">type</a>. +References <a class="el" href="modules_8cpp-source.html#l00206">modechar</a>, <a class="el" href="modules_8cpp-source.html#l00210">needsoper</a>, <a class="el" href="modules_8cpp-source.html#l00209">params_when_off</a>, <a class="el" href="modules_8cpp-source.html#l00208">params_when_on</a>, and <a class="el" href="modules_8cpp-source.html#l00207">type</a>. <p> -<div class="fragment"><pre>00211 : <a class="code" href="classExtMode.html#o0">modechar</a>(mc), <a class="code" href="classExtMode.html#o1">type</a>(ty), <a class="code" href="classExtMode.html#o4">needsoper</a>(oper), <a class="code" href="classExtMode.html#o2">params_when_on</a>(p_on), <a class="code" href="classExtMode.html#o3">params_when_off</a>(p_off) { }; +<div class="fragment"><pre>00212 : <a class="code" href="classExtMode.html#o0">modechar</a>(mc), <a class="code" href="classExtMode.html#o1">type</a>(ty), <a class="code" href="classExtMode.html#o4">needsoper</a>(oper), <a class="code" href="classExtMode.html#o2">params_when_on</a>(p_on), <a class="code" href="classExtMode.html#o3">params_when_off</a>(p_off) { }; </pre></div> </td> </tr> </table> @@ -112,7 +112,7 @@ References <a class="el" href="modules_8cpp-source.html#l00205">modechar</a>, <a <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00210">210</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00211">211</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> <a name="o0" doxytag="ExtMode::modechar"></a><p> @@ -136,9 +136,9 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00210">210</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00205">205</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00206">206</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#l00211">ExtMode()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00212">ExtMode()</a>. </td> </tr> </table> <a name="o4" doxytag="ExtMode::needsoper"></a><p> @@ -162,9 +162,9 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00211">ExtMode()</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00209">209</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#l00210">210</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#l00211">ExtMode()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00212">ExtMode()</a>. </td> </tr> </table> <a name="o3" doxytag="ExtMode::params_when_off"></a><p> @@ -188,9 +188,9 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00211">ExtMode()</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00208">208</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00209">209</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#l00211">ExtMode()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00212">ExtMode()</a>. </td> </tr> </table> <a name="o2" doxytag="ExtMode::params_when_on"></a><p> @@ -214,9 +214,9 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00211">ExtMode()</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00207">207</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +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> -Referenced by <a class="el" href="modules_8cpp-source.html#l00211">ExtMode()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00212">ExtMode()</a>. </td> </tr> </table> <a name="o1" doxytag="ExtMode::type"></a><p> @@ -240,14 +240,14 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00211">ExtMode()</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00206">206</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00207">207</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00211">ExtMode()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00212">ExtMode()</a>. </td> </tr> </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:21 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:02 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classExtensible-members.html b/docs/module-doc/classExtensible-members.html index 9a2f40170..5a5f91668 100644 --- a/docs/module-doc/classExtensible-members.html +++ b/docs/module-doc/classExtensible-members.html @@ -13,7 +13,7 @@ <tr class="memlist"><td><a class="el" href="classExtensible.html#a2">GetExt</a>(std::string key)</td><td><a class="el" href="classExtensible.html">Extensible</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classExtensible.html#a1">Shrink</a>(std::string key)</td><td><a class="el" href="classExtensible.html">Extensible</a></td><td></td></tr> <tr class="memlist"><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 size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:21 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:02 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classExtensible.html b/docs/module-doc/classExtensible.html index 6cd7cf697..c4ce082be 100644 --- a/docs/module-doc/classExtensible.html +++ b/docs/module-doc/classExtensible.html @@ -170,7 +170,7 @@ Definition at line <a class="el" href="base_8h-source.html#l00054">54</a> of fil </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="base_8h-source.html">base.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:21 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:02 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classFileReader-members.html b/docs/module-doc/classFileReader-members.html index 3e2fa34a8..26ef69689 100644 --- a/docs/module-doc/classFileReader-members.html +++ b/docs/module-doc/classFileReader-members.html @@ -17,7 +17,7 @@ <tr class="memlist"><td><a class="el" href="classFileReader.html#a3">LoadFile</a>(std::string filename)</td><td><a class="el" href="classFileReader.html">FileReader</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr class="memlist"><td><a class="el" href="classFileReader.html#a2">~FileReader</a>()</td><td><a class="el" href="classFileReader.html">FileReader</a></td><td></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:21 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:02 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classFileReader.html b/docs/module-doc/classFileReader.html index 1b1d55845..a10a40e3f 100644 --- a/docs/module-doc/classFileReader.html +++ b/docs/module-doc/classFileReader.html @@ -77,10 +77,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#l01022">1022</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#l01023">1023</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>01023 { -01024 } +<div class="fragment"><pre>01024 { +01025 } </pre></div> </td> </tr> </table> @@ -114,15 +114,15 @@ Secondary constructor. <p> This method initialises the class with a file loaded into it ready for GetLine and and other methods to be called. If the file could not be loaded, <a class="el" href="classFileReader.html#a6">FileReader::FileSize</a> returns 0. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l01015">1015</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#l01016">1016</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="modules_8h-source.html#l01238">fc</a>, and <a class="el" href="modules_8h-source.html#l00067">file_cache</a>. <p> -<div class="fragment"><pre>01016 { -01017 <a class="code" href="modules_8h.html#a31">file_cache</a> c; -01018 readfile(c,filename.c_str()); -01019 this-><a class="code" href="classFileReader.html#r0">fc</a> = c; -01020 } +<div class="fragment"><pre>01017 { +01018 <a class="code" href="modules_8h.html#a31">file_cache</a> c; +01019 readfile(c,filename.c_str()); +01020 this-><a class="code" href="classFileReader.html#r0">fc</a> = c; +01021 } </pre></div> </td> </tr> </table> @@ -155,10 +155,10 @@ Default destructor. <p> This deletes the memory allocated to the file. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l01034">1034</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#l01035">1035</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>01035 { -01036 } +<div class="fragment"><pre>01036 { +01037 } </pre></div> </td> </tr> </table> @@ -192,20 +192,20 @@ Returns true if the file exists This function will return false if the file coul <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l01038">1038</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#l01039">1039</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="modules_8h-source.html#l01238">fc</a>. <p> -<div class="fragment"><pre>01039 { -01040 <span class="keywordflow">if</span> (<a class="code" href="classFileReader.html#r0">fc</a>.size() == 0) -01041 { -01042 <span class="keywordflow">return</span>(<span class="keyword">false</span>); -01043 } -01044 <span class="keywordflow">else</span> -01045 { -01046 <span class="keywordflow">return</span>(<span class="keyword">true</span>); -01047 } -01048 } +<div class="fragment"><pre>01040 { +01041 <span class="keywordflow">if</span> (<a class="code" href="classFileReader.html#r0">fc</a>.size() == 0) +01042 { +01043 <span class="keywordflow">return</span>(<span class="keyword">false</span>); +01044 } +01045 <span class="keywordflow">else</span> +01046 { +01047 <span class="keywordflow">return</span>(<span class="keyword">true</span>); +01048 } +01049 } </pre></div> </td> </tr> </table> @@ -238,13 +238,13 @@ Returns the size of the file in lines. <p> This method returns the number of lines in the read file. If it is 0, no lines have been read into memory, either because the file is empty or it does not exist, or cannot be opened due to permission problems. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l01057">1057</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#l01058">1058</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="modules_8h-source.html#l01238">fc</a>. <p> -<div class="fragment"><pre>01058 { -01059 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#r0">fc</a>.size(); -01060 } +<div class="fragment"><pre>01059 { +01060 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#r0">fc</a>.size(); +01061 } </pre></div> </td> </tr> </table> @@ -278,15 +278,15 @@ Retrieve one line from the file. <p> This method retrieves one line from the text file. If an empty non-NULL string is returned, the index was out of bounds, or the line had no data on it. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l01050">1050</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#l01051">1051</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="modules_8h-source.html#l01238">fc</a>. <p> -<div class="fragment"><pre>01051 { -01052 <span class="keywordflow">if</span> ((x<0) || (x><a class="code" href="classFileReader.html#r0">fc</a>.size())) -01053 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; -01054 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#r0">fc</a>[x]; -01055 } +<div class="fragment"><pre>01052 { +01053 <span class="keywordflow">if</span> ((x<0) || (x><a class="code" href="classFileReader.html#r0">fc</a>.size())) +01054 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; +01055 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#r0">fc</a>[x]; +01056 } </pre></div> </td> </tr> </table> @@ -320,15 +320,15 @@ Used to load a file. <p> This method loads a file into the class ready for GetLine and and other methods to be called. If the file could not be loaded, <a class="el" href="classFileReader.html#a6">FileReader::FileSize</a> returns 0. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l01026">1026</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#l01027">1027</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="modules_8h-source.html#l01238">fc</a>, and <a class="el" href="modules_8h-source.html#l00067">file_cache</a>. <p> -<div class="fragment"><pre>01027 { -01028 <a class="code" href="modules_8h.html#a31">file_cache</a> c; -01029 readfile(c,filename.c_str()); -01030 this-><a class="code" href="classFileReader.html#r0">fc</a> = c; -01031 } +<div class="fragment"><pre>01028 { +01029 <a class="code" href="modules_8h.html#a31">file_cache</a> c; +01030 readfile(c,filename.c_str()); +01031 this-><a class="code" href="classFileReader.html#r0">fc</a> = c; +01032 } </pre></div> </td> </tr> </table> @@ -356,12 +356,12 @@ References <a class="el" href="modules_8h-source.html#l01238">fc</a>, and <a cla <p> Definition at line <a class="el" href="modules_8h-source.html#l01238">1238</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#l01038">Exists()</a>, <a class="el" href="modules_8cpp-source.html#l01015">FileReader()</a>, <a class="el" href="modules_8cpp-source.html#l01057">FileSize()</a>, <a class="el" href="modules_8cpp-source.html#l01050">GetLine()</a>, and <a class="el" href="modules_8cpp-source.html#l01026">LoadFile()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l01039">Exists()</a>, <a class="el" href="modules_8cpp-source.html#l01016">FileReader()</a>, <a class="el" href="modules_8cpp-source.html#l01058">FileSize()</a>, <a class="el" href="modules_8cpp-source.html#l01051">GetLine()</a>, and <a class="el" href="modules_8cpp-source.html#l01027">LoadFile()</a>. </td> </tr> </table> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="modules_8h-source.html">modules.h</a><li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:21 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:02 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classGLine-members.html b/docs/module-doc/classGLine-members.html index 220286f71..a647a7e6e 100644 --- a/docs/module-doc/classGLine-members.html +++ b/docs/module-doc/classGLine-members.html @@ -15,7 +15,7 @@ <tr class="memlist"><td><a class="el" href="classXLine.html#o0">set_time</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classXLine.html#o2">source</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:21 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:02 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classGLine.html b/docs/module-doc/classGLine.html index f052997c0..0214da2a3 100644 --- a/docs/module-doc/classGLine.html +++ b/docs/module-doc/classGLine.html @@ -15,7 +15,7 @@ Inherits <a class="el" href="classXLine.html">XLine</a>. <a href="classGLine-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> <tr><td></td></tr> <tr><td colspan=2><br><h2>Public Attributes</h2></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="classGLine.html#o0">hostmask</a> [MAXBUF]</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="classGLine.html#o0">hostmask</a> [200]</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Hostmask (ident) to match against May contain wildcards. </em> <a href="#o0"></a><em><br><br></td></tr> </table> @@ -31,7 +31,7 @@ Definition at line <a class="el" href="xline_8h-source.html#l00073">73</a> of fi <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> char <a class="el" href="classGLine.html#o0">GLine::hostmask</a>[MAXBUF] + <td class="md" nowrap valign="top"> char <a class="el" href="classGLine.html#o0">GLine::hostmask</a>[200] </table> </td> </tr> @@ -53,7 +53,7 @@ Definition at line <a class="el" href="xline_8h-source.html#l00079">79</a> of fi </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="xline_8h-source.html">xline.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:21 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:02 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classHostItem-members.html b/docs/module-doc/classHostItem-members.html index 55db2ed47..26a6d1827 100644 --- a/docs/module-doc/classHostItem-members.html +++ b/docs/module-doc/classHostItem-members.html @@ -14,7 +14,7 @@ <tr class="memlist"><td><a class="el" href="classHostItem.html#o0">set_time</a></td><td><a class="el" href="classHostItem.html">HostItem</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr class="memlist"><td><a class="el" href="classHostItem.html#a1">~HostItem</a>()</td><td><a class="el" href="classHostItem.html">HostItem</a></td><td><code> [inline, virtual]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:21 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:03 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classHostItem.html b/docs/module-doc/classHostItem.html index 45b1515bb..8b84e8eb4 100644 --- a/docs/module-doc/classHostItem.html +++ b/docs/module-doc/classHostItem.html @@ -36,7 +36,7 @@ This class contains a single element in a channel list, such as a banlist. <p> <p> -Definition at line <a class="el" href="channels_8h-source.html#l00029">29</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#l00036">36</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> <a name="a0" doxytag="HostItem::HostItem"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> @@ -64,9 +64,9 @@ Definition at line <a class="el" href="channels_8h-source.html#l00029">29</a> of <p> <p> -Definition at line <a class="el" href="channels_8h-source.html#l00036">36</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#l00043">43</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. <p> -<div class="fragment"><pre>00036 { <span class="comment">/* stub */</span> } +<div class="fragment"><pre>00043 { <span class="comment">/* stub */</span> } </pre></div> </td> </tr> </table> @@ -97,9 +97,9 @@ Definition at line <a class="el" href="channels_8h-source.html#l00036">36</a> of <p> <p> -Definition at line <a class="el" href="channels_8h-source.html#l00037">37</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#l00044">44</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. <p> -<div class="fragment"><pre>00037 { <span class="comment">/* stub */</span> } +<div class="fragment"><pre>00044 { <span class="comment">/* stub */</span> } </pre></div> </td> </tr> </table> @@ -125,7 +125,7 @@ Definition at line <a class="el" href="channels_8h-source.html#l00037">37</a> of <p> <p> -Definition at line <a class="el" href="channels_8h-source.html#l00034">34</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td> +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>. </td> </tr> </table> <a name="o1" doxytag="HostItem::set_by"></a><p> @@ -149,7 +149,7 @@ Definition at line <a class="el" href="channels_8h-source.html#l00034">34</a> of <p> <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>. </td> +Definition at line <a class="el" href="channels_8h-source.html#l00040">40</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td> </tr> </table> <a name="o0" doxytag="HostItem::set_time"></a><p> @@ -173,12 +173,12 @@ Definition at line <a class="el" href="channels_8h-source.html#l00033">33</a> of <p> <p> -Definition at line <a class="el" href="channels_8h-source.html#l00032">32</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#l00039">39</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 size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:21 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:03 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classInviteItem-members.html b/docs/module-doc/classInviteItem-members.html index e63dd952a..c596682a5 100644 --- a/docs/module-doc/classInviteItem-members.html +++ b/docs/module-doc/classInviteItem-members.html @@ -14,7 +14,7 @@ <tr class="memlist"><td><a class="el" href="classHostItem.html#o0">set_time</a></td><td><a class="el" href="classHostItem.html">HostItem</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr class="memlist"><td><a class="el" href="classHostItem.html#a1">~HostItem</a>()</td><td><a class="el" href="classHostItem.html">HostItem</a></td><td><code> [inline, virtual]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:21 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:03 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classInviteItem.html b/docs/module-doc/classInviteItem.html index 4f06a7cfc..fa6ff0670 100644 --- a/docs/module-doc/classInviteItem.html +++ b/docs/module-doc/classInviteItem.html @@ -20,9 +20,9 @@ A subclass of <a class="el" href="classHostItem.html">HostItem</a> designed to h <p> <p> -Definition at line <a class="el" href="channels_8h-source.html#l00061">61</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> +Definition at line <a class="el" href="channels_8h-source.html#l00068">68</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.<hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="channels_8h-source.html">channels.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:21 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:03 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classInvited-members.html b/docs/module-doc/classInvited-members.html index 58b439a5d..46dbdb91b 100644 --- a/docs/module-doc/classInvited-members.html +++ b/docs/module-doc/classInvited-members.html @@ -10,7 +10,7 @@ <tr class="memlist"><td><a class="el" href="classInvited.html#o0">channel</a></td><td><a class="el" href="classInvited.html">Invited</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a0">classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:21 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:03 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classInvited.html b/docs/module-doc/classInvited.html index 01921ac9f..a1451e4ff 100644 --- a/docs/module-doc/classInvited.html +++ b/docs/module-doc/classInvited.html @@ -47,12 +47,12 @@ Definition at line <a class="el" href="users_8h-source.html#l00036">36</a> of fi <p> Definition at line <a class="el" href="users_8h-source.html#l00039">39</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#l00089">userrec::InviteTo()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00088">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 size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:21 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:03 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classKLine-members.html b/docs/module-doc/classKLine-members.html index 474de0c9d..67baff1e7 100644 --- a/docs/module-doc/classKLine-members.html +++ b/docs/module-doc/classKLine-members.html @@ -15,7 +15,7 @@ <tr class="memlist"><td><a class="el" href="classXLine.html#o0">set_time</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classXLine.html#o2">source</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:22 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:03 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classKLine.html b/docs/module-doc/classKLine.html index f873cb298..4dfe88f54 100644 --- a/docs/module-doc/classKLine.html +++ b/docs/module-doc/classKLine.html @@ -15,7 +15,7 @@ Inherits <a class="el" href="classXLine.html">XLine</a>. <a href="classKLine-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> <tr><td></td></tr> <tr><td colspan=2><br><h2>Public Attributes</h2></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="classKLine.html#o0">hostmask</a> [MAXBUF]</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="classKLine.html#o0">hostmask</a> [200]</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Hostmask (ident) to match against May contain wildcards. </em> <a href="#o0"></a><em><br><br></td></tr> </table> @@ -31,7 +31,7 @@ Definition at line <a class="el" href="xline_8h-source.html#l00062">62</a> of fi <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> char <a class="el" href="classKLine.html#o0">KLine::hostmask</a>[MAXBUF] + <td class="md" nowrap valign="top"> char <a class="el" href="classKLine.html#o0">KLine::hostmask</a>[200] </table> </td> </tr> @@ -53,7 +53,7 @@ Definition at line <a class="el" href="xline_8h-source.html#l00068">68</a> of fi </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="xline_8h-source.html">xline.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:22 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:03 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classModeParameter-members.html b/docs/module-doc/classModeParameter-members.html index 4b3e0c49d..a84b74fe3 100644 --- a/docs/module-doc/classModeParameter-members.html +++ b/docs/module-doc/classModeParameter-members.html @@ -12,7 +12,7 @@ <tr class="memlist"><td><a class="el" href="classModeParameter.html#o0">mode</a></td><td><a class="el" href="classModeParameter.html">ModeParameter</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classModeParameter.html#o1">parameter</a></td><td><a class="el" href="classModeParameter.html">ModeParameter</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:22 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:03 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classModeParameter.html b/docs/module-doc/classModeParameter.html index fdb591606..621bdfcb1 100644 --- a/docs/module-doc/classModeParameter.html +++ b/docs/module-doc/classModeParameter.html @@ -29,7 +29,7 @@ for +L this would hold the channel name. <p> <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>Member Data Documentation</h2> +Definition at line <a class="el" href="channels_8h-source.html#l00077">77</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.<hr><h2>Member Data Documentation</h2> <a name="o2" doxytag="ModeParameter::channel"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> @@ -51,7 +51,7 @@ Definition at line <a class="el" href="channels_8h-source.html#l00070">70</a> of <p> <p> -Definition at line <a class="el" href="channels_8h-source.html#l00075">75</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#l00082">82</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#l00150">chanrec::SetCustomModeParam()</a>. </td> </tr> @@ -77,7 +77,7 @@ Referenced by <a class="el" href="channels_8cpp-source.html#l00150">chanrec::Set <p> <p> -Definition at line <a class="el" href="channels_8h-source.html#l00073">73</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#l00080">80</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#l00150">chanrec::SetCustomModeParam()</a>. </td> </tr> @@ -103,14 +103,14 @@ Referenced by <a class="el" href="channels_8cpp-source.html#l00150">chanrec::Set <p> <p> -Definition at line <a class="el" href="channels_8h-source.html#l00074">74</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#l00081">81</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#l00150">chanrec::SetCustomModeParam()</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 size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:22 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:03 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classModule-members.html b/docs/module-doc/classModule-members.html index cb63b848c..af437cbeb 100644 --- a/docs/module-doc/classModule-members.html +++ b/docs/module-doc/classModule-members.html @@ -65,7 +65,7 @@ <tr class="memlist"><td><a class="el" href="classModule.html#a18">OnWhois</a>(userrec *source, userrec *dest)</td><td><a class="el" href="classModule.html">Module</a></td><td><code> [virtual]</code></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr class="memlist"><td><a class="el" href="classModule.html#a1">~Module</a>()</td><td><a class="el" href="classModule.html">Module</a></td><td><code> [virtual]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:24 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:04 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classModule.html b/docs/module-doc/classModule.html index 71644e439..842de7ebe 100644 --- a/docs/module-doc/classModule.html +++ b/docs/module-doc/classModule.html @@ -221,9 +221,9 @@ Default constructor creates a module class. <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00369">369</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00370">370</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00369 { } +<div class="fragment"><pre>00370 { } </pre></div> </td> </tr> </table> @@ -256,9 +256,9 @@ Default destructor destroys a module class. <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00370">370</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00371">371</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00370 { } +<div class="fragment"><pre>00371 { } </pre></div> </td> </tr> </table> @@ -292,11 +292,11 @@ 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#l00382">382</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#l00383">383</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="modules_8h-source.html#l00054">VF_VENDOR</a>. <p> -<div class="fragment"><pre>00382 { <span class="keywordflow">return</span> <a class="code" href="classVersion.html">Version</a>(1,0,0,0,VF_VENDOR); } +<div class="fragment"><pre>00383 { <span class="keywordflow">return</span> <a class="code" href="classVersion.html">Version</a>(1,0,0,0,VF_VENDOR); } </pre></div> </td> </tr> </table> @@ -330,9 +330,9 @@ Called when a 005 numeric is about to be output. <p> The module should modify the 005 numeric if needed to indicate its features. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00394">394</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00395">395</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00394 { }; +<div class="fragment"><pre>00395 { }; </pre></div> </td> </tr> </table> @@ -399,11 +399,11 @@ This function is called before many functions which check a users status on a ch <br> Upon returning from your function you must return either ACR_DEFAULT, to indicate the module wishes to do nothing, or ACR_DENY where approprate to deny the action, and ACR_ALLOW where appropriate to allow the action. Please note that in the case of some access checks (such as AC_GENERAL_MODE) access may be denied 'upstream' causing other checks such as AC_DEOP to not be reached. Be very careful with use of the AC_GENERAL_MODE type, as it may inadvertently override the behaviour of other modules. When the access_type is AC_GENERAL_MODE, the destination of the mode will be NULL (as it has not yet been determined). <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00391">391</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00392">392</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="modules_8h-source.html#l00037">ACR_DEFAULT</a>. <p> -<div class="fragment"><pre>00391 { <span class="keywordflow">return</span> <a class="code" href="modules_8h.html#a8">ACR_DEFAULT</a>; }; +<div class="fragment"><pre>00392 { <span class="keywordflow">return</span> <a class="code" href="modules_8h.html#a8">ACR_DEFAULT</a>; }; </pre></div> </td> </tr> </table> @@ -452,9 +452,9 @@ Called whenever a ban is added to a channel's list. <p> Return a non-zero value to 'eat' the mode change and prevent the ban from being added. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00419">419</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#l00420">420</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00419 { <span class="keywordflow">return</span> 0; }; +<div class="fragment"><pre>00420 { <span class="keywordflow">return</span> 0; }; </pre></div> </td> </tr> </table> @@ -488,9 +488,9 @@ Called once every five seconds for background processing. <p> This timer can be used to control timed features. Its period is not accurate enough to be used as a clock, but it is gauranteed to be called at least once in any five second period, directly from the main loop of the server. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00397">397</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00398">398</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00397 { }; +<div class="fragment"><pre>00398 { }; </pre></div> </td> </tr> </table> @@ -533,9 +533,9 @@ Called whenever a change of a local users GECOS (fullname field) is attempted. <p> return 1 to deny the name change, or 0 to allow it. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00411">411</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#l00412">412</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00411 { <span class="keywordflow">return</span> 0; }; +<div class="fragment"><pre>00412 { <span class="keywordflow">return</span> 0; }; </pre></div> </td> </tr> </table> @@ -578,9 +578,9 @@ Called whenever a change of a local users displayed host is attempted. <p> Return 1 to deny the host change, or 0 to allow it. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00410">410</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00411">411</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00410 { <span class="keywordflow">return</span> 0; }; +<div class="fragment"><pre>00411 { <span class="keywordflow">return</span> 0; }; </pre></div> </td> </tr> </table> @@ -614,11 +614,11 @@ Called during a netburst to sync channel data. <p> This is called during the netburst on a per-channel basis. You should use this call to up any special channel-related things which are implemented by your module, e.g. sending listmodes. You may return multiple commands in the string_list. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00393">393</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00394">394</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="modules_8h-source.html#l00068">string_list</a>. <p> -<div class="fragment"><pre>00393 { <a class="code" href="modules_8h.html#a32">string_list</a> empty; <span class="keywordflow">return</span> empty; } +<div class="fragment"><pre>00394 { <a class="code" href="modules_8h.html#a32">string_list</a> empty; <span class="keywordflow">return</span> empty; } </pre></div> </td> </tr> </table> @@ -661,9 +661,9 @@ Called whenever a user joins a channel, to determine if banlist checks should go <p> This method will always be called for each join, wether or not the user actually matches a channel ban, and determines the outcome of an if statement around the whole section of ban checking code. return 1 to explicitly allow the join to go ahead or 0 to ignore the event. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00408">408</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#l00409">409</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00408 { <span class="keywordflow">return</span> 0; }; +<div class="fragment"><pre>00409 { <span class="keywordflow">return</span> 0; }; </pre></div> </td> </tr> </table> @@ -706,9 +706,9 @@ Called whenever a user joins a channel, to determine if invite checks should go <p> This method will always be called for each join, wether or not the channel is actually +i, and determines the outcome of an if statement around the whole section of invite checking code. return 1 to explicitly allow the join to go ahead or 0 to ignore the event. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00405">405</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00406">406</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00405 { <span class="keywordflow">return</span> 0; }; +<div class="fragment"><pre>00406 { <span class="keywordflow">return</span> 0; }; </pre></div> </td> </tr> </table> @@ -757,9 +757,9 @@ Called whenever a user joins a channel, to determine if key checks should go ahe <p> This method will always be called for each join, wether or not the channel is actually +k, and determines the outcome of an if statement around the whole section of key checking code. if the user specified no key, the keygiven string will be a valid but empty value. return 1 to explicitly allow the join to go ahead or 0 to ignore the event. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00406">406</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#l00407">407</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00406 { <span class="keywordflow">return</span> 0; }; +<div class="fragment"><pre>00407 { <span class="keywordflow">return</span> 0; }; </pre></div> </td> </tr> </table> @@ -802,9 +802,9 @@ Called whenever a user joins a channel, to determine if channel limit checks sho <p> This method will always be called for each join, wether or not the channel is actually +l, and determines the outcome of an if statement around the whole section of channel limit checking code. return 1 to explicitly allow the join to go ahead or 0 to ignore the event. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00407">407</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00408">408</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00407 { <span class="keywordflow">return</span> 0; }; +<div class="fragment"><pre>00408 { <span class="keywordflow">return</span> 0; }; </pre></div> </td> </tr> </table> @@ -838,9 +838,9 @@ Called to check if a user who is connecting can now be allowed to register If an <p> For example a module which implements ident lookups will continue to return false for a user until their ident lookup is completed. Note that the registration timeout for a user overrides these checks, if the registration timeout is reached, the user is disconnected even if modules report that the user is not ready to connect. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00400">400</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#l00401">401</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00400 { <span class="keywordflow">return</span> <span class="keyword">true</span>; }; +<div class="fragment"><pre>00401 { <span class="keywordflow">return</span> <span class="keyword">true</span>; }; </pre></div> </td> </tr> </table> @@ -889,9 +889,9 @@ Called whenever a ban is removed from a channel's list. <p> Return a non-zero value to 'eat' the mode change and prevent the ban from being removed. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00420">420</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#l00421">421</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00420 { <span class="keywordflow">return</span> 0; }; +<div class="fragment"><pre>00421 { <span class="keywordflow">return</span> 0; }; </pre></div> </td> </tr> </table> @@ -925,9 +925,9 @@ Called whenever an <a class="el" href="classEvent.html">Event</a> class is sent <p> Please see the documentation of <a class="el" href="classEvent.html#a4">Event::Send()</a> for further information. The <a class="el" href="classEvent.html">Event</a> sent can always be assumed to be non-NULL, you should *always* check the value of <a class="el" href="classEvent.html#a3">Event::GetEventID()</a> before doing anything to the event data, and you should *not* change the event data in any way! <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00414">414</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00415">415</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00414 { <span class="keywordflow">return</span>; }; +<div class="fragment"><pre>00415 { <span class="keywordflow">return</span>; }; </pre></div> </td> </tr> </table> @@ -994,9 +994,9 @@ Called whenever an extended mode is to be processed. <p> The type parameter is MT_SERVER, MT_CLIENT or MT_CHANNEL, dependent on where the mode is being changed. mode_on is set when the mode is being set, in which case params contains a list of parameters for the mode as strings. If mode_on is false, the mode is being removed, and parameters may contain the parameters for the mode, dependent on wether they were defined when a mode handler was set up with <a class="el" href="classServer.html#a23">Server::AddExtendedMode</a> If the mode is a channel mode, target is a chanrec*, and if it is a user mode, target is a userrec*. You must cast this value yourself to make use of it. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00381">381</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#l00382">382</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00381 { <span class="keywordflow">return</span> <span class="keyword">false</span>; } +<div class="fragment"><pre>00382 { <span class="keywordflow">return</span> <span class="keyword">false</span>; } </pre></div> </td> </tr> </table> @@ -1030,9 +1030,9 @@ Called whenever a user connects, anywhere on the network. <p> This event is informational only. You should not change any user information in this event. To do so, use the OnUserConnect method to change the state of local users. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00418">418</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#l00419">419</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00418 { }; +<div class="fragment"><pre>00419 { }; </pre></div> </td> </tr> </table> @@ -1066,9 +1066,9 @@ Called whenever a user is given usermode +o, anywhere on the network. <p> You cannot override this and prevent it from happening as it is already happened and such a task must be performed by another server. You can however bounce modes by sending servermodes out to reverse mode changes. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00417">417</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00418">418</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00417 { }; +<div class="fragment"><pre>00418 { }; </pre></div> </td> </tr> </table> @@ -1103,9 +1103,9 @@ Called whenever a user types /INFO. The userrec will contain the information of the user who typed the command. Modules may use this method to output their own credits in /INFO (which is the ircd's version of an about box). It is purposefully not possible to modify any info that has already been output, or halt the list. You must write a 371 numeric to the user, containing your info in the following format:<p> <nick> :information here <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00384">384</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00385">385</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00384 { }; +<div class="fragment"><pre>00385 { }; </pre></div> </td> </tr> </table> @@ -1154,9 +1154,9 @@ Called when a client is disconnected by KILL. <p> If a client is killed by a server, e.g. a nickname collision or protocol error, source is NULL. Return 1 from this function to prevent the kill, and 0 from this function to allow it as normal. If you prevent the kill no output will be sent to the client, it is down to your module to generate this information. NOTE: It is NOT advisable to stop kills which originate from servers. If you do so youre risking race conditions, desyncs and worse! <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00395">395</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#l00396">396</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00395 { <span class="keywordflow">return</span> 0; }; +<div class="fragment"><pre>00396 { <span class="keywordflow">return</span> 0; }; </pre></div> </td> </tr> </table> @@ -1199,9 +1199,9 @@ Called whenever a module is loaded. <p> mod will contain a pointer to the module, and string will contain its name, for example m_widgets.so. This function is primary for dependency checking, your module may decide to enable some extra features if it sees that you have for example loaded "m_killwidgets.so" with "m_makewidgets.so". It is highly recommended that modules do *NOT* bail if they cannot satisfy dependencies, but instead operate under reduced functionality, unless the dependency is absolutely neccessary (e.g. a module that extends the features of another module). <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00396">396</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#l00397">397</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00396 { }; +<div class="fragment"><pre>00397 { }; </pre></div> </td> </tr> </table> @@ -1250,9 +1250,9 @@ Called whenever a topic is changed by a local user. <p> Return 1 to deny the topic change, or 0 to allow it. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00412">412</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#l00413">413</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00412 { <span class="keywordflow">return</span> 0; }; +<div class="fragment"><pre>00413 { <span class="keywordflow">return</span> 0; }; </pre></div> </td> </tr> </table> @@ -1325,9 +1325,9 @@ Called whenever an unknown token is received in a server to server link. <p> The token value is the unknown token -- please check that no other modules are using the token that you use. Returning 1 supresses the 'unknown token type' error which is usually sent to all opers with +s. The params list is a list of parameters, and if any parameters start with a colon (:) it is treated as the whole of the last parameter, identical to how RFC messages are handled. source is the sender of the message, and reply is what should be replied to for a unicast message. Note that there are not many messages in the mesh protocol which require unicast messaging. tcp_host is the server name as a string, ipaddr is its ip address in dotted decimal notation and port is the port number it is using. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00413">413</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00414">414</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00413 { <span class="keywordflow">return</span> 0; }; +<div class="fragment"><pre>00414 { <span class="keywordflow">return</span> 0; }; </pre></div> </td> </tr> </table> @@ -1361,9 +1361,9 @@ Called whenever a user opers locally. <p> The userrec will contain the oper mode 'o' as this function is called after any modifications are made to the user's structure by the core. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00383">383</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#l00384">384</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00383 { }; +<div class="fragment"><pre>00384 { }; </pre></div> </td> </tr> </table> @@ -1406,9 +1406,9 @@ Called whenever an oper password is to be compared to what a user has input. <p> The password field (from the config file) is in 'password' and is to be compared against 'input'. This method allows for encryption of oper passwords and much more besides. You should return a nonzero value if you want to allow the comparison or zero if you wish to do nothing. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00416">416</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#l00417">417</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00416 { <span class="keywordflow">return</span> 0; }; +<div class="fragment"><pre>00417 { <span class="keywordflow">return</span> 0; }; </pre></div> </td> </tr> </table> @@ -1451,9 +1451,9 @@ Called after a packet is received from another irc server. <p> This allows you to easily represent it in the correct ways to implement encryption, compression, digital signatures and anything else you may want to add. This should be regarded as a pre-processor and will be called immediately after the packet is received but before any other operations with the core of the ircd. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00377">377</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#l00378">378</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00377 { } +<div class="fragment"><pre>00378 { } </pre></div> </td> </tr> </table> @@ -1496,9 +1496,9 @@ Called before a packet is transmitted across the irc network between two irc ser <p> This allows you to easily represent it in the correct ways to implement encryption, compression, digital signatures and anything else you may want to add. This should be regarded as a pre-processor and will be called before ANY other operations within the ircd core program. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00376">376</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#l00377">377</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00376 { } +<div class="fragment"><pre>00377 { } </pre></div> </td> </tr> </table> @@ -1553,9 +1553,9 @@ Called whenever any command is about to be executed. <p> This event occurs for all registered commands, wether they are registered in the core, or another module, but it will not occur for invalid commands (e.g. ones which do not exist within the command table). By returning 1 from this method you may prevent the command being executed. If you do this, no output is created by the core, and it is down to your module to produce any output neccessary. Note that unless you return 1, you should not destroy any structures (e.g. by using <a class="el" href="classServer.html#a31">Server::QuitUser</a>) otherwise when the command's handler function executes after your method returns, it will be passed an invalid pointer to the user object and crash!) <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00399">399</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00400">400</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00399 { <span class="keywordflow">return</span> 0; }; +<div class="fragment"><pre>00400 { <span class="keywordflow">return</span> 0; }; </pre></div> </td> </tr> </table> @@ -1622,9 +1622,9 @@ Called whenever a mode character is processed. <p> Return 1 from this function to block the mode character from being processed entirely, so that you may perform your own code instead. Note that this method allows you to override modes defined by other modes, but this is NOT RECOMMENDED! <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00404">404</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00405">405</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00404 { <span class="keywordflow">return</span> 0; }; +<div class="fragment"><pre>00405 { <span class="keywordflow">return</span> 0; }; </pre></div> </td> </tr> </table> @@ -1673,9 +1673,9 @@ Called immediately after any connection is accepted. <p> This is intended for raw socket processing (e.g. modules which wrap the tcp connection within another library) and provides no information relating to a user record as the connection has not been assigned yet. There are no return values from this call as all modules get an opportunity if required to process the connection. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00421">421</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#l00422">422</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00421 { }; +<div class="fragment"><pre>00422 { }; </pre></div> </td> </tr> </table> @@ -1709,9 +1709,9 @@ Called immediately before any socket is closed. <p> When this event is called, shutdown() has not yet been called on the socket. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00423">423</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#l00424">424</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00423 { }; +<div class="fragment"><pre>00424 { }; </pre></div> </td> </tr> </table> @@ -1766,9 +1766,9 @@ Called immediately before any read() operation on a client socket in the core. <p> This occurs AFTER the select() or poll() so there is always data waiting to be read when this event occurs. Your event should return 1 if it has handled the reading itself, which prevents the core just using read(). You should place any data read into buffer, up to but NOT GREATER THAN the value of count. The value of readresult must be identical to an actual result that might be returned from the read() system call, for example, number of bytes read upon success, 0 upon EOF or closed socket, and -1 for error. If your function returns a nonzero value, you MUST set readresult. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00424">424</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#l00425">425</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00424 { <span class="keywordflow">return</span> 0; }; +<div class="fragment"><pre>00425 { <span class="keywordflow">return</span> 0; }; </pre></div> </td> </tr> </table> @@ -1817,9 +1817,9 @@ Called immediately before any write() operation on a user's socket in the core. <p> Because this event is a low level event no user information is associated with it. It is intended for use by modules which may wrap connections within another API such as SSL for example. return a non-zero result if you have handled the write operation, in which case the core will not call write(). <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00422">422</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00423">423</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00422 { <span class="keywordflow">return</span> 0; }; +<div class="fragment"><pre>00423 { <span class="keywordflow">return</span> 0; }; </pre></div> </td> </tr> </table> @@ -1852,9 +1852,9 @@ Called on rehash. <p> This method is called prior to a /REHASH or when a SIGHUP is received from the operating system. You should use it to reload any files so that your module keeps in step with the rest of the application. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00378">378</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#l00379">379</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00378 { } +<div class="fragment"><pre>00379 { } </pre></div> </td> </tr> </table> @@ -1888,11 +1888,11 @@ Called whenever a <a class="el" href="classRequest.html">Request</a> class is se <p> Please see the documentation of <a class="el" href="classRequest.html#a4">Request::Send()</a> for further information. The <a class="el" href="classRequest.html">Request</a> sent can always be assumed to be non-NULL, you should not change the request object or its data. Your method may return arbitary data in the char* result which the requesting module may be able to use for pre-determined purposes (e.g. the results of an SQL query, etc). <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00415">415</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00416">416</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#l00332">Request::Send()</a>. +Referenced by <a class="el" href="modules_8cpp-source.html#l00333">Request::Send()</a>. <p> -<div class="fragment"><pre>00415 { <span class="keywordflow">return</span> NULL; }; +<div class="fragment"><pre>00416 { <span class="keywordflow">return</span> NULL; }; </pre></div> </td> </tr> </table> @@ -1941,9 +1941,9 @@ Called whenever a list is needed for a listmode. <p> For example, when a /MODE #channel +b (without any other parameters) is called, if a module was handling +b this function would be called. The function can then output any lists it wishes to. Please note that all modules will see all mode characters to provide the ability to extend each other, so please only output a list if the mode character given matches the one(s) you want to handle. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00398">398</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00399">399</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00398 { }; +<div class="fragment"><pre>00399 { }; </pre></div> </td> </tr> </table> @@ -1992,9 +1992,9 @@ Called when a raw command is transmitted or received. <p> This method is the lowest level of handler available to a module. It will be called with raw data which is passing through a connected socket. If you wish, you may munge this data by changing the string parameter "raw". If you do this, after your function exits it will immediately be cut down to 510 characters plus a carriage return and linefeed. For INBOUND messages only (where inbound is set to true) the value of user will be the userrec of the connection sending the data. This is not possible for outbound data because the data may be being routed to multiple targets. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00379">379</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00380">380</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00379 { } +<div class="fragment"><pre>00380 { } </pre></div> </td> </tr> </table> @@ -2028,9 +2028,9 @@ Called on all /STATS commands This method is triggered for all /STATS use, inclu <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00409">409</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00410">410</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00409 { }; +<div class="fragment"><pre>00410 { }; </pre></div> </td> </tr> </table> @@ -2064,9 +2064,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#l00371">371</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#l00372">372</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00371 { } +<div class="fragment"><pre>00372 { } </pre></div> </td> </tr> </table> @@ -2100,9 +2100,9 @@ Called whenever a user's socket is closed. <p> The details of the exiting user are available to you in the parameter userrec *user This event is called for all users, registered or not, as a cleanup method for modules which might assign resources to user, such as dns lookups, objects and sockets. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00373">373</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00374">374</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00373 { } +<div class="fragment"><pre>00374 { } </pre></div> </td> </tr> </table> @@ -2145,9 +2145,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#l00374">374</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00375">375</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00374 { } +<div class="fragment"><pre>00375 { } </pre></div> </td> </tr> </table> @@ -2202,9 +2202,9 @@ Called whenever a user is kicked. <p> If this method is called, the kick is already underway and cannot be prevented, so to prevent a kick, please use <a class="el" href="classModule.html#a14">Module::OnUserPreKick</a> instead of this method. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00403">403</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00404">404</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00403 { }; +<div class="fragment"><pre>00404 { }; </pre></div> </td> </tr> </table> @@ -2247,9 +2247,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#l00375">375</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#l00376">376</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00375 { } +<div class="fragment"><pre>00376 { } </pre></div> </td> </tr> </table> @@ -2292,9 +2292,9 @@ Called after any nickchange, local or remote. <p> This can be used to track users after nickchanges have been applied. Please note that although you can see remote nickchanges through this function, you should NOT make any changes to the userrec if the user is a remote user as this may cause a desnyc. check user->server before taking any action (including returning nonzero from the method). Because this method is called after the nickchange is taken place, no return values are possible to indicate forbidding of the nick change. Use OnUserPreNick for this. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00390">390</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00391">391</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00390 { }; +<div class="fragment"><pre>00391 { }; </pre></div> </td> </tr> </table> @@ -2343,9 +2343,9 @@ Called whenever a user is about to invite another user into a channel, before an <p> Returning 1 from this function stops the process immediately, causing no output to be sent to the user by the core. If you do this you must produce your own numerics, notices etc. This is useful for modules which may want to filter invites to channels. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00386">386</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00387">387</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00386 { <span class="keywordflow">return</span> 0; }; +<div class="fragment"><pre>00387 { <span class="keywordflow">return</span> 0; }; </pre></div> </td> </tr> </table> @@ -2396,9 +2396,9 @@ Returning a value of 1 from this function stops the process immediately, causing IMPORTANT NOTE!<p> If the user joins a NEW channel which does not exist yet, OnUserPreJoin will be called BEFORE the channel record is created. This will cause chanrec* chan to be NULL. There is very little you can do in form of processing on the actual channel record at this point, however the channel NAME will still be passed in char* cname, so that you could for example implement a channel blacklist or whitelist, etc. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00380">380</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00381">381</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00380 { <span class="keywordflow">return</span> 0; } +<div class="fragment"><pre>00381 { <span class="keywordflow">return</span> 0; } </pre></div> </td> </tr> </table> @@ -2453,9 +2453,9 @@ Called whenever a user is about to be kicked. <p> Returning a value of 1 from this function stops the process immediately, causing no output to be sent to the user by the core. If you do this you must produce your own numerics, notices etc. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00402">402</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00403">403</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00402 { <span class="keywordflow">return</span> 0; }; +<div class="fragment"><pre>00403 { <span class="keywordflow">return</span> 0; }; </pre></div> </td> </tr> </table> @@ -2510,9 +2510,9 @@ Called whenever a user is about to PRIVMSG A user or a channel, before any proce <p> Returning any nonzero value from this function stops the process immediately, causing no output to be sent to the user by the core. If you do this you must produce your own numerics, notices etc. This is useful for modules which may want to filter or redirect messages. target_type can be one of TYPE_USER or TYPE_CHANNEL. If the target_type value is a user, you must cast dest to a userrec* otherwise you must cast it to a chanrec*, this is the details of where the message is destined to be sent. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00387">387</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00388">388</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00387 { <span class="keywordflow">return</span> 0; }; +<div class="fragment"><pre>00388 { <span class="keywordflow">return</span> 0; }; </pre></div> </td> </tr> </table> @@ -2555,9 +2555,9 @@ Called before any nickchange, local or remote. <p> This can be used to implement Q-lines etc. Please note that although you can see remote nickchanges through this function, you should NOT make any changes to the userrec if the user is a remote user as this may cause a desnyc. check user->server before taking any action (including returning nonzero from the method). If your method returns nonzero, the nickchange is silently forbidden, and it is down to your module to generate some meaninful output. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00389">389</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#l00390">390</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00389 { <span class="keywordflow">return</span> 0; }; +<div class="fragment"><pre>00390 { <span class="keywordflow">return</span> 0; }; </pre></div> </td> </tr> </table> @@ -2612,9 +2612,9 @@ Called whenever a user is about to NOTICE A user or a channel, before any proces <p> Returning any nonzero value from this function stops the process immediately, causing no output to be sent to the user by the core. If you do this you must produce your own numerics, notices etc. This is useful for modules which may want to filter or redirect messages. target_type can be one of TYPE_USER or TYPE_CHANNEL. If the target_type value is a user, you must cast dest to a userrec* otherwise you must cast it to a chanrec*, this is the details of where the message is destined to be sent. You may alter the message text as you wish before relinquishing control to the next module in the chain, and if no other modules block the text this altered form of the text will be sent out to the user and possibly to other servers. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00388">388</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00389">389</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00388 { <span class="keywordflow">return</span> 0; }; +<div class="fragment"><pre>00389 { <span class="keywordflow">return</span> 0; }; </pre></div> </td> </tr> </table> @@ -2648,9 +2648,9 @@ Called when a user quits. <p> The details of the exiting user are available to you in the parameter userrec *user This event is only called when the user is fully registered when they quit. To catch raw disconnections, use the OnUserDisconnect method. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00372">372</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00373">373</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00372 { } +<div class="fragment"><pre>00373 { } </pre></div> </td> </tr> </table> @@ -2684,9 +2684,9 @@ Called whenever a user is about to register their connection (e.g. <p> before the user is sent the MOTD etc). Modules can use this method if they are performing a function which must be done before the actual connection is completed (e.g. ident lookups, dnsbl lookups, etc). Note that you should NOT delete the user record here by causing a disconnection! Use OnUserConnect for that instead. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00401">401</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00402">402</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00401 { }; +<div class="fragment"><pre>00402 { }; </pre></div> </td> </tr> </table> @@ -2720,11 +2720,11 @@ Called during a netburst to sync user data. <p> This is called during the netburst on a per-user basis. You should use this call to up any special user-related things which are implemented by your module, e.g. sending listmodes. You may return multiple commands in the string_list. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00392">392</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#l00393">393</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="modules_8h-source.html#l00068">string_list</a>. <p> -<div class="fragment"><pre>00392 { <a class="code" href="modules_8h.html#a32">string_list</a> empty; <span class="keywordflow">return</span> empty; } +<div class="fragment"><pre>00393 { <a class="code" href="modules_8h.html#a32">string_list</a> empty; <span class="keywordflow">return</span> empty; } </pre></div> </td> </tr> </table> @@ -2767,15 +2767,15 @@ Called whenever a /WHOIS is performed on a local user. <p> The source parameter contains the details of the user who issued the WHOIS command, and the dest parameter contains the information of the user they are whoising. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00385">385</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#l00386">386</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00385 { }; +<div class="fragment"><pre>00386 { }; </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 size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:24 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:04 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classModuleFactory-members.html b/docs/module-doc/classModuleFactory-members.html index 2be6be25a..61df5c663 100644 --- a/docs/module-doc/classModuleFactory-members.html +++ b/docs/module-doc/classModuleFactory-members.html @@ -12,7 +12,7 @@ <tr class="memlist"><td><a class="el" href="classModuleFactory.html#a0">ModuleFactory</a>()</td><td><a class="el" href="classModuleFactory.html">ModuleFactory</a></td><td><code> [inline]</code></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr class="memlist"><td><a class="el" href="classModuleFactory.html#a1">~ModuleFactory</a>()</td><td><a class="el" href="classModuleFactory.html">ModuleFactory</a></td><td><code> [inline, virtual]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:24 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:04 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classModuleFactory.html b/docs/module-doc/classModuleFactory.html index 9f1ef7547..365f55f32 100644 --- a/docs/module-doc/classModuleFactory.html +++ b/docs/module-doc/classModuleFactory.html @@ -130,7 +130,7 @@ Your inherited class of ModuleFactory must return a pointer to your <a class="el </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="modules_8h-source.html">modules.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:24 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:04 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classModuleMessage-members.html b/docs/module-doc/classModuleMessage-members.html index 7518db946..bf170c071 100644 --- a/docs/module-doc/classModuleMessage-members.html +++ b/docs/module-doc/classModuleMessage-members.html @@ -10,7 +10,7 @@ <tr class="memlist"><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 class="memlist"><td><a class="el" href="classModuleMessage.html#a0">Send</a>()=0</td><td><a class="el" href="classModuleMessage.html">ModuleMessage</a></td><td><code> [pure virtual]</code></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:24 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:04 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classModuleMessage.html b/docs/module-doc/classModuleMessage.html index 7982ae626..df270d9ce 100644 --- a/docs/module-doc/classModuleMessage.html +++ b/docs/module-doc/classModuleMessage.html @@ -61,7 +61,7 @@ Implemented in <a class="el" href="classRequest.html#a4">Request</a>, and <a cla </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="modules_8h-source.html">modules.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:24 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:04 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classQLine-members.html b/docs/module-doc/classQLine-members.html index 9e7886294..527ec3e04 100644 --- a/docs/module-doc/classQLine-members.html +++ b/docs/module-doc/classQLine-members.html @@ -16,7 +16,7 @@ <tr class="memlist"><td><a class="el" href="classXLine.html#o0">set_time</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classXLine.html#o2">source</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:24 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:04 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classQLine.html b/docs/module-doc/classQLine.html index 33ac64ba9..30c86dbe9 100644 --- a/docs/module-doc/classQLine.html +++ b/docs/module-doc/classQLine.html @@ -15,7 +15,7 @@ Inherits <a class="el" href="classXLine.html">XLine</a>. <a href="classQLine-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> <tr><td></td></tr> <tr><td colspan=2><br><h2>Public Attributes</h2></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="classQLine.html#o0">nick</a> [MAXBUF]</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="classQLine.html#o0">nick</a> [64]</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Nickname to match against. </em> <a href="#o0"></a><em><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classQLine.html#o1">is_global</a></td></tr> @@ -60,7 +60,7 @@ Definition at line <a class="el" href="xline_8h-source.html#l00118">118</a> of f <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> char <a class="el" href="classQLine.html#o0">QLine::nick</a>[MAXBUF] + <td class="md" nowrap valign="top"> char <a class="el" href="classQLine.html#o0">QLine::nick</a>[64] </table> </td> </tr> @@ -82,7 +82,7 @@ Definition at line <a class="el" href="xline_8h-source.html#l00114">114</a> of f </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="xline_8h-source.html">xline.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:24 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:04 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classRequest-members.html b/docs/module-doc/classRequest-members.html index 594f4ffe1..af1588f21 100644 --- a/docs/module-doc/classRequest-members.html +++ b/docs/module-doc/classRequest-members.html @@ -17,7 +17,7 @@ <tr class="memlist"><td><a class="el" href="classRequest.html#a4">Send</a>()</td><td><a class="el" href="classRequest.html">Request</a></td><td><code> [virtual]</code></td></tr> <tr class="memlist"><td><a class="el" href="classRequest.html#p1">source</a></td><td><a class="el" href="classRequest.html">Request</a></td><td><code> [protected]</code></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:25 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:04 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classRequest.html b/docs/module-doc/classRequest.html index 4703a7638..16b893d3d 100644 --- a/docs/module-doc/classRequest.html +++ b/docs/module-doc/classRequest.html @@ -94,9 +94,9 @@ Create a new Request. <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00315">315</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00316">316</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00315 : <a class="code" href="classRequest.html#p0">data</a>(anydata), <a class="code" href="classRequest.html#p1">source</a>(src), <a class="code" href="classRequest.html#p2">dest</a>(dst) { }; +<div class="fragment"><pre>00316 : <a class="code" href="classRequest.html#p0">data</a>(anydata), <a class="code" href="classRequest.html#p1">source</a>(src), <a class="code" href="classRequest.html#p2">dest</a>(dst) { }; </pre></div> </td> </tr> </table> @@ -130,13 +130,13 @@ Fetch the Request data. <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00317">317</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00318">318</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="modules_8h-source.html#l00159">data</a>. <p> -<div class="fragment"><pre>00318 { -00319 <span class="keywordflow">return</span> this-><a class="code" href="classRequest.html#p0">data</a>; -00320 } +<div class="fragment"><pre>00319 { +00320 <span class="keywordflow">return</span> this-><a class="code" href="classRequest.html#p0">data</a>; +00321 } </pre></div> </td> </tr> </table> @@ -169,13 +169,13 @@ Fetch the request destination (should be 'this' in the receiving module). <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00327">327</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00328">328</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="modules_8h-source.html#l00166">dest</a>. <p> -<div class="fragment"><pre>00328 { -00329 <span class="keywordflow">return</span> this-><a class="code" href="classRequest.html#p2">dest</a>; -00330 } +<div class="fragment"><pre>00329 { +00330 <span class="keywordflow">return</span> this-><a class="code" href="classRequest.html#p2">dest</a>; +00331 } </pre></div> </td> </tr> </table> @@ -208,13 +208,13 @@ Fetch the request source. <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00322">322</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00323">323</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="modules_8h-source.html#l00163">source</a>. <p> -<div class="fragment"><pre>00323 { -00324 <span class="keywordflow">return</span> this-><a class="code" href="classRequest.html#p1">source</a>; -00325 } +<div class="fragment"><pre>00324 { +00325 <span class="keywordflow">return</span> this-><a class="code" href="classRequest.html#p1">source</a>; +00326 } </pre></div> </td> </tr> </table> @@ -249,20 +249,20 @@ Upon returning the result will be arbitary data returned by the module you sent <p> Implements <a class="el" href="classModuleMessage.html#a0">ModuleMessage</a>. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00332">332</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00333">333</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l00166">dest</a>, and <a class="el" href="modules_8cpp-source.html#l00415">Module::OnRequest()</a>. +References <a class="el" href="modules_8h-source.html#l00166">dest</a>, and <a class="el" href="modules_8cpp-source.html#l00416">Module::OnRequest()</a>. <p> -<div class="fragment"><pre>00333 { -00334 <span class="keywordflow">if</span> (this-><a class="code" href="classRequest.html#p2">dest</a>) -00335 { -00336 <span class="keywordflow">return</span> <a class="code" href="classRequest.html#p2">dest</a>-><a class="code" href="classModule.html#a46">OnRequest</a>(<span class="keyword">this</span>); -00337 } -00338 <span class="keywordflow">else</span> -00339 { -00340 <span class="keywordflow">return</span> NULL; -00341 } -00342 } +<div class="fragment"><pre>00334 { +00335 <span class="keywordflow">if</span> (this-><a class="code" href="classRequest.html#p2">dest</a>) +00336 { +00337 <span class="keywordflow">return</span> <a class="code" href="classRequest.html#p2">dest</a>-><a class="code" href="classModule.html#a46">OnRequest</a>(<span class="keyword">this</span>); +00338 } +00339 <span class="keywordflow">else</span> +00340 { +00341 <span class="keywordflow">return</span> NULL; +00342 } +00343 } </pre></div> </td> </tr> </table> @@ -292,7 +292,7 @@ This member holds a pointer to arbitary data set by the emitter of the message. <p> Definition at line <a class="el" href="modules_8h-source.html#l00159">159</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#l00317">GetData()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00318">GetData()</a>. </td> </tr> </table> <a name="p2" doxytag="Request::dest"></a><p> @@ -320,7 +320,7 @@ The single destination of the Request. <p> Definition at line <a class="el" href="modules_8h-source.html#l00166">166</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00327">GetDest()</a>, and <a class="el" href="modules_8cpp-source.html#l00332">Send()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00328">GetDest()</a>, and <a class="el" href="modules_8cpp-source.html#l00333">Send()</a>. </td> </tr> </table> <a name="p1" doxytag="Request::source"></a><p> @@ -348,12 +348,12 @@ This is a pointer to the sender of the message, which can be used to directly tr <p> Definition at line <a class="el" href="modules_8h-source.html#l00163">163</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#l00322">GetSource()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00323">GetSource()</a>. </td> </tr> </table> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="modules_8h-source.html">modules.h</a><li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:25 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:04 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classServer-members.html b/docs/module-doc/classServer-members.html index 08ef07e51..02bc6810f 100644 --- a/docs/module-doc/classServer-members.html +++ b/docs/module-doc/classServer-members.html @@ -69,7 +69,7 @@ <tr class="memlist"><td><a class="el" href="classServer.html#a38">UserToPseudo</a>(userrec *user, std::string message)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr class="memlist"><td><a class="el" href="classServer.html#a1">~Server</a>()</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:27 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:06 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classServer.html b/docs/module-doc/classServer.html index 5023be91f..6319adcb9 100644 --- a/docs/module-doc/classServer.html +++ b/docs/module-doc/classServer.html @@ -233,10 +233,10 @@ Default constructor. <p> Creates a Server object. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00430">430</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00431">431</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00431 { -00432 } +<div class="fragment"><pre>00432 { +00433 } </pre></div> </td> </tr> </table> @@ -269,10 +269,10 @@ Default destructor. <p> Destroys a Server object. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00434">434</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#l00435">435</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00435 { -00436 } +<div class="fragment"><pre>00436 { +00437 } </pre></div> </td> </tr> </table> @@ -336,13 +336,13 @@ This allows modules to add extra commands into the command table. You must place typedef void (handlerfunc) (char**, int, userrec*); ... void <a class="el" href="commands_8h.html#a5">handle_kill(char **parameters, int pcnt, userrec *user)</a><p> When the command is typed, the parameters will be placed into the parameters array (similar to argv) and the parameter count will be placed into pcnt (similar to argv). There will never be any less parameters than the 'minparams' value you specified when creating the command. The *user parameter is the class of the user which caused the command to trigger, who will always have the flag you specified in 'flags' when creating the initial command. For example to create an oper only command create the commands with flags='o'. The source parameter is used for resource tracking, and should contain the name of your module (with file extension) e.g. "m_blarp.so". If you place the wrong identifier here, you can cause crashes if your module is unloaded. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00503">503</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#l00504">504</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="modules_8h.html#a35">createcommand()</a>. <p> -<div class="fragment"><pre>00504 { -00505 <a class="code" href="modules_8h.html#a35">createcommand</a>(cmd,f,flags,minparams,source); -00506 } +<div class="fragment"><pre>00505 { +00506 <a class="code" href="modules_8h.html#a35">createcommand</a>(cmd,f,flags,minparams,source); +00507 } </pre></div> </td> </tr> </table> @@ -397,13 +397,13 @@ Adds a E-line The E-line is enforced as soon as it is added. <p> The duration must be in seconds, however you can use the <a class="el" href="classServer.html#a50">Server::CalcDuration</a> method to convert durations into the 1w2d3h3m6s format used by /GLINE etc. The source is an arbitary string used to indicate who or what sent the data, usually this is the nickname of a person, or a server name. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00749">749</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#l00750">750</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="xline_8h.html#a5">add_eline()</a>, and <a class="el" href="commands_8h.html#a75">duration()</a>. <p> -<div class="fragment"><pre>00750 { -00751 <a class="code" href="xline_8h.html#a5">add_eline</a>(duration, source.c_str(), reason.c_str(), hostmask.c_str()); -00752 } +<div class="fragment"><pre>00751 { +00752 <a class="code" href="xline_8h.html#a5">add_eline</a>(duration, source.c_str(), reason.c_str(), hostmask.c_str()); +00753 } </pre></div> </td> </tr> </table> @@ -442,16 +442,16 @@ This call is used to implement modes like +q and +a. The characteristics of thes (4) The mode and its parameter are NOT stored in the channels modes structure<p> It is down to the module handling the mode to maintain state and determine what 'items' (e.g. users, or a banlist) have the mode set on them, and process the modes at the correct times, e.g. during access checks on channels, etc. When the extended mode is triggered the OnExtendedMode method will be triggered as above. Note that the target you are given will be a channel, if for example your mode is set 'on a user' (in for example +a) you must use Server::Find to locate the user the mode is operating on. Your mode handler may return 1 to handle the mode AND tell the core to display the mode change, e.g. '+aaa one two three' in the case of the mode for 'two', or it may return -1 to 'eat' the mode change, so the above example would become '+aa one three' after processing. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00666">666</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#l00667">667</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8cpp-source.html#l00284">DoAddExtendedMode()</a>, <a class="el" href="modules_8cpp-source.html#l00294">ModeMakeList()</a>, and <a class="el" href="modules_8h-source.html#l00031">MT_CHANNEL</a>. +References <a class="el" href="modules_8cpp-source.html#l00285">DoAddExtendedMode()</a>, <a class="el" href="modules_8cpp-source.html#l00295">ModeMakeList()</a>, and <a class="el" href="modules_8h-source.html#l00031">MT_CHANNEL</a>. <p> -<div class="fragment"><pre>00667 { -00668 <span class="keywordtype">bool</span> res = <a class="code" href="modules_8cpp.html#a58">DoAddExtendedMode</a>(modechar,MT_CHANNEL,<span class="keyword">false</span>,1,1); -00669 <span class="keywordflow">if</span> (res) -00670 <a class="code" href="modules_8cpp.html#a59">ModeMakeList</a>(modechar); -00671 <span class="keywordflow">return</span> res; -00672 } +<div class="fragment"><pre>00668 { +00669 <span class="keywordtype">bool</span> res = <a class="code" href="modules_8cpp.html#a59">DoAddExtendedMode</a>(modechar,MT_CHANNEL,<span class="keyword">false</span>,1,1); +00670 <span class="keywordflow">if</span> (res) +00671 <a class="code" href="modules_8cpp.html#a60">ModeMakeList</a>(modechar); +00672 <span class="keywordflow">return</span> res; +00673 } </pre></div> </td> </tr> </table> @@ -512,36 +512,36 @@ Adds an extended mode letter which is parsed by a module. <p> This allows modules to add extra mode letters, e.g. +x for hostcloak. the "type" parameter is either MT_CHANNEL, MT_CLIENT, or MT_SERVER, to indicate wether the mode is a channel mode, a client mode, or a server mode. requires_oper is used with MT_CLIENT type modes only to indicate the mode can only be set or unset by an oper. If this is used for MT_CHANNEL type modes it is ignored. params_when_on is the number of modes to expect when the mode is turned on (for type MT_CHANNEL only), e.g. with mode +k, this would have a value of 1. the params_when_off value has a similar value to params_when_on, except it indicates the number of parameters to expect when the mode is disabled. Modes which act in a similar way to channel mode +l (e.g. require a parameter to enable, but not to disable) should use this parameter. The function returns false if the mode is unavailable, and will not attempt to allocate another character, as this will confuse users. This also means that as only one module can claim a specific mode character, the core does not need to keep track of which modules own which modes, which speeds up operation of the server. In this version, a mode can have at most one parameter, attempting to use more parameters will have undefined effects. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00638">638</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. -<p> -References <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, <a class="el" href="modules_8cpp-source.html#l00284">DoAddExtendedMode()</a>, <a class="el" href="modules_8h-source.html#l00032">MT_CLIENT</a>, and <a class="el" href="modules_8h-source.html#l00033">MT_SERVER</a>. -<p> -<div class="fragment"><pre>00639 { -00640 <span class="keywordflow">if</span> (((modechar >= <span class="charliteral">'A'</span>) && (modechar <= 'Z')) || ((modechar >= <span class="charliteral">'a'</span>) && (modechar <= <span class="charliteral">'z'</span>))) -00641 { -00642 <span class="keywordflow">if</span> (type == <a class="code" href="modules_8h.html#a7">MT_SERVER</a>) -00643 { -00644 log(DEBUG,<span class="stringliteral">"*** API ERROR *** Modes of type MT_SERVER are reserved for future expansion"</span>); -00645 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00646 } -00647 <span class="keywordflow">if</span> (((params_when_on>0) || (params_when_off>0)) && (type == <a class="code" href="modules_8h.html#a6">MT_CLIENT</a>)) -00648 { -00649 log(DEBUG,<span class="stringliteral">"*** API ERROR *** Parameters on MT_CLIENT modes are not supported"</span>); -00650 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00651 } -00652 <span class="keywordflow">if</span> ((params_when_on>1) || (params_when_off>1)) -00653 { -00654 log(DEBUG,<span class="stringliteral">"*** API ERROR *** More than one parameter for an MT_CHANNEL mode is not yet supported"</span>); -00655 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00656 } -00657 <span class="keywordflow">return</span> <a class="code" href="modules_8cpp.html#a58">DoAddExtendedMode</a>(modechar,type,requires_oper,params_when_on,params_when_off); -00658 } -00659 <span class="keywordflow">else</span> -00660 { -00661 log(DEBUG,<span class="stringliteral">"*** API ERROR *** Muppet modechar detected."</span>); -00662 } -00663 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00664 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00639">639</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, <a class="el" href="modules_8cpp-source.html#l00285">DoAddExtendedMode()</a>, <a class="el" href="modules_8h-source.html#l00032">MT_CLIENT</a>, and <a class="el" href="modules_8h-source.html#l00033">MT_SERVER</a>. +<p> +<div class="fragment"><pre>00640 { +00641 <span class="keywordflow">if</span> (((modechar >= <span class="charliteral">'A'</span>) && (modechar <= 'Z')) || ((modechar >= <span class="charliteral">'a'</span>) && (modechar <= <span class="charliteral">'z'</span>))) +00642 { +00643 <span class="keywordflow">if</span> (type == <a class="code" href="modules_8h.html#a7">MT_SERVER</a>) +00644 { +00645 log(DEBUG,<span class="stringliteral">"*** API ERROR *** Modes of type MT_SERVER are reserved for future expansion"</span>); +00646 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00647 } +00648 <span class="keywordflow">if</span> (((params_when_on>0) || (params_when_off>0)) && (type == <a class="code" href="modules_8h.html#a6">MT_CLIENT</a>)) +00649 { +00650 log(DEBUG,<span class="stringliteral">"*** API ERROR *** Parameters on MT_CLIENT modes are not supported"</span>); +00651 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00652 } +00653 <span class="keywordflow">if</span> ((params_when_on>1) || (params_when_off>1)) +00654 { +00655 log(DEBUG,<span class="stringliteral">"*** API ERROR *** More than one parameter for an MT_CHANNEL mode is not yet supported"</span>); +00656 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00657 } +00658 <span class="keywordflow">return</span> <a class="code" href="modules_8cpp.html#a59">DoAddExtendedMode</a>(modechar,type,requires_oper,params_when_on,params_when_off); +00659 } +00660 <span class="keywordflow">else</span> +00661 { +00662 log(DEBUG,<span class="stringliteral">"*** API ERROR *** Muppet modechar detected."</span>); +00663 } +00664 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00665 } </pre></div> </td> </tr> </table> @@ -596,13 +596,13 @@ Adds a G-line The G-line is propogated to all of the servers in the mesh and enf <p> The duration must be in seconds, however you can use the <a class="el" href="classServer.html#a50">Server::CalcDuration</a> method to convert durations into the 1w2d3h3m6s format used by /GLINE etc. The source is an arbitary string used to indicate who or what sent the data, usually this is the nickname of a person, or a server name. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00729">729</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#l00730">730</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="xline_8h.html#a1">add_gline()</a>, and <a class="el" href="commands_8h.html#a75">duration()</a>. <p> -<div class="fragment"><pre>00730 { -00731 <a class="code" href="xline_8h.html#a1">add_gline</a>(duration, source.c_str(), reason.c_str(), hostmask.c_str()); -00732 } +<div class="fragment"><pre>00731 { +00732 <a class="code" href="xline_8h.html#a1">add_gline</a>(duration, source.c_str(), reason.c_str(), hostmask.c_str()); +00733 } </pre></div> </td> </tr> </table> @@ -657,13 +657,13 @@ Adds a K-line The K-line is enforced as soon as it is added. <p> The duration must be in seconds, however you can use the <a class="el" href="classServer.html#a50">Server::CalcDuration</a> method to convert durations into the 1w2d3h3m6s format used by /GLINE etc. The source is an arbitary string used to indicate who or what sent the data, usually this is the nickname of a person, or a server name. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00744">744</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#l00745">745</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="xline_8h.html#a4">add_kline()</a>, and <a class="el" href="commands_8h.html#a75">duration()</a>. <p> -<div class="fragment"><pre>00745 { -00746 <a class="code" href="xline_8h.html#a4">add_kline</a>(duration, source.c_str(), reason.c_str(), hostmask.c_str()); -00747 } +<div class="fragment"><pre>00746 { +00747 <a class="code" href="xline_8h.html#a4">add_kline</a>(duration, source.c_str(), reason.c_str(), hostmask.c_str()); +00748 } </pre></div> </td> </tr> </table> @@ -718,13 +718,13 @@ Adds a Q-line The Q-line is propogated to all of the servers in the mesh and enf <p> The duration must be in seconds, however you can use the <a class="el" href="classServer.html#a50">Server::CalcDuration</a> method to convert durations into the 1w2d3h3m6s format used by /GLINE etc. The source is an arbitary string used to indicate who or what sent the data, usually this is the nickname of a person, or a server name. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00734">734</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#l00735">735</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="xline_8h.html#a2">add_qline()</a>, and <a class="el" href="commands_8h.html#a75">duration()</a>. <p> -<div class="fragment"><pre>00735 { -00736 <a class="code" href="xline_8h.html#a2">add_qline</a>(duration, source.c_str(), reason.c_str(), nickname.c_str()); -00737 } +<div class="fragment"><pre>00736 { +00737 <a class="code" href="xline_8h.html#a2">add_qline</a>(duration, source.c_str(), reason.c_str(), nickname.c_str()); +00738 } </pre></div> </td> </tr> </table> @@ -779,13 +779,13 @@ Adds a Z-line The Z-line is propogated to all of the servers in the mesh and enf <p> The duration must be in seconds, however you can use the <a class="el" href="classServer.html#a50">Server::CalcDuration</a> method to convert durations into the 1w2d3h3m6s format used by /GLINE etc. The source is an arbitary string used to indicate who or what sent the data, usually this is the nickname of a person, or a server name. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00739">739</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#l00740">740</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="xline_8h.html#a3">add_zline()</a>, and <a class="el" href="commands_8h.html#a75">duration()</a>. <p> -<div class="fragment"><pre>00740 { -00741 <a class="code" href="xline_8h.html#a3">add_zline</a>(duration, source.c_str(), reason.c_str(), ipaddr.c_str()); -00742 } +<div class="fragment"><pre>00741 { +00742 <a class="code" href="xline_8h.html#a3">add_zline</a>(duration, source.c_str(), reason.c_str(), ipaddr.c_str()); +00743 } </pre></div> </td> </tr> </table> @@ -819,13 +819,13 @@ Calculates a duration This method will take a string containing a formatted dura <p> "1w2d") and return its value as a total number of seconds. This is the same function used internally by /GLINE etc to set the ban times. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00779">779</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#l00780">780</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="commands_8h.html#a75">duration()</a>. <p> -<div class="fragment"><pre>00780 { -00781 <span class="keywordflow">return</span> <a class="code" href="commands_8h.html#a75">duration</a>(delta.c_str()); -00782 } +<div class="fragment"><pre>00781 { +00782 <span class="keywordflow">return</span> <a class="code" href="commands_8h.html#a75">duration</a>(delta.c_str()); +00783 } </pre></div> </td> </tr> </table> @@ -881,11 +881,11 @@ Calls the handler for a command, either implemented by the core or by another mo You can use this function to trigger other commands in the ircd, such as PRIVMSG, JOIN, KICK etc, or even as a method of callback. By defining command names that are untypeable for users on irc (e.g. those which contain a or <br> ) you may use them as callback identifiers. The first parameter to this method is the name of the command handler you wish to call, e.g. PRIVMSG. This will be a command handler previously registered by the core or wih <a class="el" href="classServer.html#a25">AddCommand()</a>. The second parameter is an array of parameters, and the third parameter is a count of parameters in the array. If you do not pass enough parameters to meet the minimum needed by the handler, the functiom will silently ignore it. The final parameter is the user executing the command handler, used for privilage checks, etc. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00493">493</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#l00494">494</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00494 { -00495 call_handler(commandname.c_str(),parameters,pcnt,user); -00496 } +<div class="fragment"><pre>00495 { +00496 call_handler(commandname.c_str(),parameters,pcnt,user); +00497 } </pre></div> </td> </tr> </table> @@ -928,13 +928,13 @@ Change GECOS (fullname) of a user. <p> You should always call this method to change a user's GECOS rather than writing directly to the fullname member of userrec, as any change applied via this method will be propogated to any linked servers. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00586">586</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#l00587">587</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="message_8h.html#a10">ChangeName()</a>. <p> -<div class="fragment"><pre>00587 { -00588 <a class="code" href="message_8h.html#a10">ChangeName</a>(user,gecos.c_str()); -00589 } +<div class="fragment"><pre>00588 { +00589 <a class="code" href="message_8h.html#a10">ChangeName</a>(user,gecos.c_str()); +00590 } </pre></div> </td> </tr> </table> @@ -977,13 +977,13 @@ Change displayed hostname of a user. <p> You should always call this method to change a user's host rather than writing directly to the dhost member of userrec, as any change applied via this method will be propogated to any linked servers. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00581">581</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#l00582">582</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="message_8h.html#a11">ChangeDisplayedHost()</a>. <p> -<div class="fragment"><pre>00582 { -00583 <a class="code" href="message_8h.html#a11">ChangeDisplayedHost</a>(user,host.c_str()); -00584 } +<div class="fragment"><pre>00583 { +00584 <a class="code" href="message_8h.html#a11">ChangeDisplayedHost</a>(user,host.c_str()); +00585 } </pre></div> </td> </tr> </table> @@ -1026,11 +1026,11 @@ Forces a user nickchange. <p> This command works similarly to SVSNICK, and can be used to implement Q-lines etc. If you specify an invalid nickname, the nick change will be dropped and the target user will receive the error numeric for it. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00478">478</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#l00479">479</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00479 { -00480 force_nickchange(user,nickname.c_str()); -00481 } +<div class="fragment"><pre>00480 { +00481 force_nickchange(user,nickname.c_str()); +00482 } </pre></div> </td> </tr> </table> @@ -1073,13 +1073,13 @@ Attempts to look up a user's privilages on a channel. <p> This function will return a string containing either @, , +, or an empty string, representing the user's privilages upon the channel you specify. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00611">611</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#l00612">612</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="message_8h.html#a14">cmode()</a>. <p> -<div class="fragment"><pre>00612 { -00613 <span class="keywordflow">return</span> <a class="code" href="message_8h.html#a14">cmode</a>(User,Chan); -00614 } +<div class="fragment"><pre>00613 { +00614 <span class="keywordflow">return</span> <a class="code" href="message_8h.html#a14">cmode</a>(User,Chan); +00615 } </pre></div> </td> </tr> </table> @@ -1122,13 +1122,13 @@ Returns true if two users share a common channel. <p> This method is used internally by the NICK and QUIT commands, and the <a class="el" href="classServer.html#a11">Server::SendCommon</a> method. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00559">559</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#l00560">560</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="message_8h.html#a0">common_channels()</a>. <p> -<div class="fragment"><pre>00560 { -00561 <span class="keywordflow">return</span> (<a class="code" href="message_8h.html#a0">common_channels</a>(u1,u2) != 0); -00562 } +<div class="fragment"><pre>00561 { +00562 <span class="keywordflow">return</span> (<a class="code" href="message_8h.html#a0">common_channels</a>(u1,u2) != 0); +00563 } </pre></div> </td> </tr> </table> @@ -1162,11 +1162,11 @@ Returns a count of the number of users on a channel. <p> This will NEVER be 0, as if the chanrec exists, it will have at least one user in the channel. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00674">674</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#l00675">675</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00675 { -00676 <span class="keywordflow">return</span> usercount(c); -00677 } +<div class="fragment"><pre>00676 { +00677 <span class="keywordflow">return</span> usercount(c); +00678 } </pre></div> </td> </tr> </table> @@ -1200,13 +1200,13 @@ Deletes a local E-Line. <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00774">774</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#l00775">775</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="xline_8h.html#a10">del_eline()</a>. <p> -<div class="fragment"><pre>00775 { -00776 <a class="code" href="xline_8h.html#a10">del_eline</a>(hostmask.c_str()); -00777 } +<div class="fragment"><pre>00776 { +00777 <a class="code" href="xline_8h.html#a10">del_eline</a>(hostmask.c_str()); +00778 } </pre></div> </td> </tr> </table> @@ -1240,13 +1240,13 @@ Deletes a G-Line from all servers on the mesh. <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00754">754</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#l00755">755</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="xline_8h.html#a6">del_gline()</a>. <p> -<div class="fragment"><pre>00755 { -00756 <a class="code" href="xline_8h.html#a6">del_gline</a>(hostmask.c_str()); -00757 } +<div class="fragment"><pre>00756 { +00757 <a class="code" href="xline_8h.html#a6">del_gline</a>(hostmask.c_str()); +00758 } </pre></div> </td> </tr> </table> @@ -1280,13 +1280,13 @@ Deletes a local K-Line. <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00769">769</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#l00770">770</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="xline_8h.html#a9">del_kline()</a>. <p> -<div class="fragment"><pre>00770 { -00771 <a class="code" href="xline_8h.html#a9">del_kline</a>(hostmask.c_str()); -00772 } +<div class="fragment"><pre>00771 { +00772 <a class="code" href="xline_8h.html#a9">del_kline</a>(hostmask.c_str()); +00773 } </pre></div> </td> </tr> </table> @@ -1320,13 +1320,13 @@ Deletes a Q-Line from all servers on the mesh. <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00759">759</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#l00760">760</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="xline_8h.html#a7">del_qline()</a>. <p> -<div class="fragment"><pre>00760 { -00761 <a class="code" href="xline_8h.html#a7">del_qline</a>(nickname.c_str()); -00762 } +<div class="fragment"><pre>00761 { +00762 <a class="code" href="xline_8h.html#a7">del_qline</a>(nickname.c_str()); +00763 } </pre></div> </td> </tr> </table> @@ -1360,13 +1360,13 @@ Deletes a Z-Line from all servers on the mesh. <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00764">764</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#l00765">765</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="xline_8h.html#a8">del_zline()</a>. <p> -<div class="fragment"><pre>00765 { -00766 <a class="code" href="xline_8h.html#a8">del_zline</a>(ipaddr.c_str()); -00767 } +<div class="fragment"><pre>00766 { +00767 <a class="code" href="xline_8h.html#a8">del_zline</a>(ipaddr.c_str()); +00768 } </pre></div> </td> </tr> </table> @@ -1400,11 +1400,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#l00606">606</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#l00607">607</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00607 { -00608 <span class="keywordflow">return</span> FindChan(channel.c_str()); -00609 } +<div class="fragment"><pre>00608 { +00609 <span class="keywordflow">return</span> FindChan(channel.c_str()); +00610 } </pre></div> </td> </tr> </table> @@ -1438,13 +1438,13 @@ Attempts to look up a nick using the file descriptor associated with that nick. <p> This function will return NULL if the file descriptor is not associated with a valid user. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00601">601</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00602">602</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="modules_8cpp-source.html#l00119">fd_ref_table</a>. <p> -<div class="fragment"><pre>00602 { -00603 <span class="keywordflow">return</span> (socket < 65536 ? <a class="code" href="modules_8cpp.html#a38">fd_ref_table</a>[socket] : NULL); -00604 } +<div class="fragment"><pre>00603 { +00604 <span class="keywordflow">return</span> (socket < 65536 ? <a class="code" href="modules_8cpp.html#a38">fd_ref_table</a>[socket] : NULL); +00605 } </pre></div> </td> </tr> </table> @@ -1478,20 +1478,20 @@ This function finds a module by name. <p> You must provide the filename of the module. If the module cannot be found (is not loaded) the function will return NULL. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00857">857</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#l00858">858</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8cpp-source.html#l01066">MODCOUNT</a>, <a class="el" href="channels_8cpp-source.html#l00092">module_names</a>, and <a class="el" href="channels_8cpp-source.html#l00064">modules</a>. +References <a class="el" href="modules_8cpp-source.html#l01067">MODCOUNT</a>, <a class="el" href="channels_8cpp-source.html#l00092">module_names</a>, and <a class="el" href="channels_8cpp-source.html#l00064">modules</a>. <p> -<div class="fragment"><pre>00858 { -00859 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i <= <a class="code" href="modules_8cpp.html#a1">MODCOUNT</a>; i++) -00860 { -00861 <span class="keywordflow">if</span> (<a class="code" href="channels_8cpp.html#a27">module_names</a>[i] == name) -00862 { -00863 <span class="keywordflow">return</span> <a class="code" href="channels_8cpp.html#a2">modules</a>[i]; -00864 } -00865 } -00866 <span class="keywordflow">return</span> NULL; -00867 } +<div class="fragment"><pre>00859 { +00860 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i <= <a class="code" href="modules_8cpp.html#a1">MODCOUNT</a>; i++) +00861 { +00862 <span class="keywordflow">if</span> (<a class="code" href="channels_8cpp.html#a27">module_names</a>[i] == name) +00863 { +00864 <span class="keywordflow">return</span> <a class="code" href="channels_8cpp.html#a2">modules</a>[i]; +00865 } +00866 } +00867 <span class="keywordflow">return</span> NULL; +00868 } </pre></div> </td> </tr> </table> @@ -1525,11 +1525,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#l00596">596</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#l00597">597</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00597 { -00598 <span class="keywordflow">return</span> Find(nick); -00599 } +<div class="fragment"><pre>00598 { +00599 <span class="keywordflow">return</span> Find(nick); +00600 } </pre></div> </td> </tr> </table> @@ -1562,11 +1562,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#o2">Admin::Nick</a>, <a class="el" href="classAdmin.html#o1">Admin::Email</a> and <a class="el" href="classAdmin.html#o0">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#l00631">631</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#l00632">632</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00632 { -00633 <span class="keywordflow">return</span> <a class="code" href="classAdmin.html">Admin</a>(getadminname(),getadminemail(),getadminnick()); -00634 } +<div class="fragment"><pre>00633 { +00634 <span class="keywordflow">return</span> <a class="code" href="classAdmin.html">Admin</a>(getadminname(),getadminemail(),getadminnick()); +00635 } </pre></div> </td> </tr> </table> @@ -1599,11 +1599,11 @@ Returns the network name, global to all linked servers. <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00626">626</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#l00627">627</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00627 { -00628 <span class="keywordflow">return</span> getnetworkname(); -00629 } +<div class="fragment"><pre>00628 { +00629 <span class="keywordflow">return</span> getnetworkname(); +00630 } </pre></div> </td> </tr> </table> @@ -1636,11 +1636,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#l00621">621</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#l00622">622</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00622 { -00623 <span class="keywordflow">return</span> getservername(); -00624 } +<div class="fragment"><pre>00623 { +00624 <span class="keywordflow">return</span> getservername(); +00625 } </pre></div> </td> </tr> </table> @@ -1674,21 +1674,21 @@ Fetches the userlist of a channel. <p> This function must be here and not a member of userrec or chanrec due to include constraints. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00466">466</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. -<p> -References <a class="el" href="modules_8h-source.html#l00072">chanuserlist</a>, <a class="el" href="channels_8cpp-source.html#l00235">chanrec::GetUsers()</a>, and <a class="el" href="channels_8cpp-source.html#l00078">list</a>. -<p> -<div class="fragment"><pre>00467 { -00468 <a class="code" href="modules_8h.html#a33">chanuserlist</a> userl; -00469 userl.clear(); -00470 std::vector<char*> *<a class="code" href="channels_8cpp.html#a15">list</a> = chan-><a class="code" href="classchanrec.html#a9">GetUsers</a>(); -00471 <span class="keywordflow">for</span> (std::vector<char*>::iterator i = <a class="code" href="channels_8cpp.html#a15">list</a>->begin(); i != <a class="code" href="channels_8cpp.html#a15">list</a>->end(); i++) -00472 { -00473 <span class="keywordtype">char</span>* o = *i; -00474 userl.push_back((<a class="code" href="classuserrec.html">userrec</a>*)o); -00475 } -00476 <span class="keywordflow">return</span> userl; -00477 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00467">467</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="modules_8h-source.html#l00072">chanuserlist</a>, <a class="el" href="channels_8cpp-source.html#l00227">chanrec::GetUsers()</a>, and <a class="el" href="channels_8cpp-source.html#l00078">list</a>. +<p> +<div class="fragment"><pre>00468 { +00469 <a class="code" href="modules_8h.html#a33">chanuserlist</a> userl; +00470 userl.clear(); +00471 std::vector<char*> *<a class="code" href="channels_8cpp.html#a15">list</a> = chan-><a class="code" href="classchanrec.html#a7">GetUsers</a>(); +00472 <span class="keywordflow">for</span> (std::vector<char*>::iterator i = <a class="code" href="channels_8cpp.html#a15">list</a>->begin(); i != <a class="code" href="channels_8cpp.html#a15">list</a>->end(); i++) +00473 { +00474 <span class="keywordtype">char</span>* o = *i; +00475 userl.push_back((<a class="code" href="classuserrec.html">userrec</a>*)o); +00476 } +00477 <span class="keywordflow">return</span> userl; +00478 } </pre></div> </td> </tr> </table> @@ -1722,13 +1722,13 @@ 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#l00591">591</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#l00592">592</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="message_8h.html#a13">isnick()</a>. <p> -<div class="fragment"><pre>00592 { -00593 <span class="keywordflow">return</span> (<a class="code" href="message_8h.html#a13">isnick</a>(nick.c_str()) != 0); -00594 } +<div class="fragment"><pre>00593 { +00594 <span class="keywordflow">return</span> (<a class="code" href="message_8h.html#a13">isnick</a>(nick.c_str()) != 0); +00595 } </pre></div> </td> </tr> </table> @@ -1771,13 +1771,13 @@ Checks if a user is on a channel. <p> This function will return true or false to indicate if user 'User' is on channel 'Chan'. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00616">616</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#l00617">617</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="message_8h.html#a16">has_channel()</a>. <p> -<div class="fragment"><pre>00617 { -00618 <span class="keywordflow">return</span> <a class="code" href="message_8h.html#a16">has_channel</a>(User,Chan); -00619 } +<div class="fragment"><pre>00618 { +00619 <span class="keywordflow">return</span> <a class="code" href="message_8h.html#a16">has_channel</a>(User,Chan); +00620 } </pre></div> </td> </tr> </table> @@ -1811,13 +1811,13 @@ Returns true if the servername you give is ulined. <p> ULined servers have extra privilages. They are allowed to change nicknames on remote servers, change modes of clients which are on remote servers and set modes of channels where there are no channel operators for that channel on the ulined server, amongst other things. Ulined server data is also broadcast across the mesh at all times as opposed to selectively messaged in the case of normal servers, as many ulined server types (such as services) do not support meshed links and must operate in this manner. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00488">488</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#l00489">489</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="commands_8h.html#a74">is_uline()</a>. <p> -<div class="fragment"><pre>00489 { -00490 <span class="keywordflow">return</span> <a class="code" href="commands_8h.html#a74">is_uline</a>(server.c_str()); -00491 } +<div class="fragment"><pre>00490 { +00491 <span class="keywordflow">return</span> <a class="code" href="commands_8h.html#a74">is_uline</a>(server.c_str()); +00492 } </pre></div> </td> </tr> </table> @@ -1851,35 +1851,35 @@ Returns true if a nick!ident string is correctly formatted, false if otherwise. <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00784">784</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. -<p> -<div class="fragment"><pre>00785 { -00786 <span class="keyword">const</span> <span class="keywordtype">char</span>* dest = mask.c_str(); -00787 <span class="keywordflow">if</span> (strchr(dest,<span class="charliteral">'!'</span>)==0) -00788 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00789 <span class="keywordflow">if</span> (strchr(dest,<span class="charliteral">'@'</span>)==0) -00790 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00791 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < strlen(dest); i++) -00792 <span class="keywordflow">if</span> (dest[i] < 32) -00793 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00794 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < strlen(dest); i++) -00795 <span class="keywordflow">if</span> (dest[i] > 126) -00796 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00797 <span class="keywordtype">int</span> c = 0; -00798 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < strlen(dest); i++) -00799 <span class="keywordflow">if</span> (dest[i] == <span class="charliteral">'!'</span>) -00800 c++; -00801 <span class="keywordflow">if</span> (c>1) -00802 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00803 c = 0; -00804 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < strlen(dest); i++) -00805 <span class="keywordflow">if</span> (dest[i] == <span class="charliteral">'@'</span>) -00806 c++; -00807 <span class="keywordflow">if</span> (c>1) -00808 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00809 -00810 <span class="keywordflow">return</span> <span class="keyword">true</span>; -00811 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00785">785</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +<div class="fragment"><pre>00786 { +00787 <span class="keyword">const</span> <span class="keywordtype">char</span>* dest = mask.c_str(); +00788 <span class="keywordflow">if</span> (strchr(dest,<span class="charliteral">'!'</span>)==0) +00789 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00790 <span class="keywordflow">if</span> (strchr(dest,<span class="charliteral">'@'</span>)==0) +00791 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00792 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < strlen(dest); i++) +00793 <span class="keywordflow">if</span> (dest[i] < 32) +00794 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00795 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < strlen(dest); i++) +00796 <span class="keywordflow">if</span> (dest[i] > 126) +00797 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00798 <span class="keywordtype">int</span> c = 0; +00799 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < strlen(dest); i++) +00800 <span class="keywordflow">if</span> (dest[i] == <span class="charliteral">'!'</span>) +00801 c++; +00802 <span class="keywordflow">if</span> (c>1) +00803 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00804 c = 0; +00805 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < strlen(dest); i++) +00806 <span class="keywordflow">if</span> (dest[i] == <span class="charliteral">'@'</span>) +00807 c++; +00808 <span class="keywordflow">if</span> (c>1) +00809 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00810 +00811 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00812 } </pre></div> </td> </tr> </table> @@ -1928,11 +1928,11 @@ Forces a user to join a channel. <p> This is similar to svsjoin and can be used to implement redirection, etc. On success, the return value is a valid pointer to a chanrec* of the channel the user was joined to. On failure, the result is NULL. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00456">456</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#l00457">457</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00457 { -00458 <span class="keywordflow">return</span> add_channel(user,cname.c_str(),key.c_str(),<span class="keyword">false</span>); -00459 } +<div class="fragment"><pre>00458 { +00459 <span class="keywordflow">return</span> add_channel(user,cname.c_str(),key.c_str(),<span class="keyword">false</span>); +00460 } </pre></div> </td> </tr> </table> @@ -1975,11 +1975,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#l00498">498</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#l00499">499</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00499 { -00500 log(level,<span class="stringliteral">"%s"</span>,s.c_str()); -00501 } +<div class="fragment"><pre>00500 { +00501 log(level,<span class="stringliteral">"%s"</span>,s.c_str()); +00502 } </pre></div> </td> </tr> </table> @@ -2022,14 +2022,14 @@ Matches text against a glob pattern. <p> Uses the ircd's internal matching function to match string against a globbing pattern, e.g. *!*@*.com Returns true if the literal successfully matches the pattern, false if otherwise. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00443">443</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#l00444">444</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00444 { -00445 <span class="keywordtype">char</span> literal[MAXBUF],pattern[MAXBUF]; -00446 strlcpy(literal,sliteral.c_str(),MAXBUF); -00447 strlcpy(pattern,spattern.c_str(),MAXBUF); -00448 <span class="keywordflow">return</span> match(literal,pattern); -00449 } +<div class="fragment"><pre>00445 { +00446 <span class="keywordtype">char</span> literal[MAXBUF],pattern[MAXBUF]; +00447 strlcpy(literal,sliteral.c_str(),MAXBUF); +00448 strlcpy(pattern,spattern.c_str(),MAXBUF); +00449 <span class="keywordflow">return</span> match(literal,pattern); +00450 } </pre></div> </td> </tr> </table> @@ -2072,15 +2072,15 @@ This function is used to check if any users on channel c are on server servernam <p> This is used internally by PRIVMSG etc. You should not need to use it. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00839">839</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#l00840">840</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00840 { -00841 <span class="keywordflow">if</span> (c) -00842 { -00843 <span class="keywordflow">return</span> ChanAnyOnThisServer(c,(<span class="keywordtype">char</span>*)servername.c_str()); -00844 } -00845 <span class="keywordflow">else</span> <span class="keywordflow">return</span> <span class="keyword">false</span>; -00846 } +<div class="fragment"><pre>00841 { +00842 <span class="keywordflow">if</span> (c) +00843 { +00844 <span class="keywordflow">return</span> ChanAnyOnThisServer(c,(<span class="keywordtype">char</span>*)servername.c_str()); +00845 } +00846 <span class="keywordflow">else</span> <span class="keywordflow">return</span> <span class="keyword">false</span>; +00847 } </pre></div> </td> </tr> </table> @@ -2123,15 +2123,15 @@ This function is used to check if user u has any channels in common with users o <p> This is used internally by <a class="el" href="classServer.html#a53">Server::MeshSendCommon</a>. You should very rarely need to use it. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00848">848</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#l00849">849</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00849 { -00850 <span class="keywordflow">if</span> (u) -00851 { -00852 <span class="keywordflow">return</span> CommonOnThisServer(u,(<span class="keywordtype">char</span>*)servername.c_str()); -00853 } -00854 <span class="keywordflow">else</span> <span class="keywordflow">return</span> <span class="keyword">false</span>; -00855 } +<div class="fragment"><pre>00850 { +00851 <span class="keywordflow">if</span> (u) +00852 { +00853 <span class="keywordflow">return</span> CommonOnThisServer(u,(<span class="keywordtype">char</span>*)servername.c_str()); +00854 } +00855 <span class="keywordflow">else</span> <span class="keywordflow">return</span> <span class="keyword">false</span>; +00856 } </pre></div> </td> </tr> </table> @@ -2165,11 +2165,11 @@ Sends a line of text to all connected servers. <p> If a server is not directly reachable, the core deals with routing the message, and will also deal with failures transparently. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00813">813</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#l00814">814</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00814 { -00815 NetSendToAll((<span class="keywordtype">char</span>*)text.c_str()); -00816 } +<div class="fragment"><pre>00815 { +00816 NetSendToAll((<span class="keywordtype">char</span>*)text.c_str()); +00817 } </pre></div> </td> </tr> </table> @@ -2203,11 +2203,11 @@ This function is equivalent to Server::MeshSendToAll except it will only route t <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00824">824</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#l00825">825</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00825 { -00826 NetSendToAllAlive((<span class="keywordtype">char</span>*)text.c_str()); -00827 } +<div class="fragment"><pre>00826 { +00827 NetSendToAllAlive((<span class="keywordtype">char</span>*)text.c_str()); +00828 } </pre></div> </td> </tr> </table> @@ -2250,11 +2250,11 @@ This function sends to all servers EXCEPT the one you specify. <p> You should usually use this function to send messages, specifying the SENDER of your message as 'target'. This will prevent message loops. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00834">834</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00835">835</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00835 { -00836 NetSendToAllExcept(target.c_str(),(<span class="keywordtype">char</span>*)text.c_str()); -00837 } +<div class="fragment"><pre>00836 { +00837 NetSendToAllExcept(target.c_str(),(<span class="keywordtype">char</span>*)text.c_str()); +00838 } </pre></div> </td> </tr> </table> @@ -2297,12 +2297,12 @@ This method sends a line of text to all servers who have users which share commo <p> For example, if user A is on server A, and they are on channels #one and #two, and user B is on server B, and also on channel #one, but user C is on server C and on neither #one or #two, this function will cause the text to only be sent to server B. However, if server B is only reachable via C, it will route it to C (you do not have to worry about this routing, it is done transparently, but its good to know how things work!) <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00818">818</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00819">819</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00819 { -00820 <span class="keywordflow">if</span> (user) -00821 NetSendToCommon(user,(<span class="keywordtype">char</span>*)text.c_str()); -00822 } +<div class="fragment"><pre>00820 { +00821 <span class="keywordflow">if</span> (user) +00822 NetSendToCommon(user,(<span class="keywordtype">char</span>*)text.c_str()); +00823 } </pre></div> </td> </tr> </table> @@ -2345,11 +2345,11 @@ This function sends a line of text directly to a server. <p> If the server is not directly routable at this time, the server attempts to route text through the mesh. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00829">829</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#l00830">830</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00830 { -00831 NetSendToOne((<span class="keywordtype">char</span>*)destination.c_str(),(<span class="keywordtype">char</span>*)text.c_str()); -00832 } +<div class="fragment"><pre>00831 { +00832 NetSendToOne((<span class="keywordtype">char</span>*)destination.c_str(),(<span class="keywordtype">char</span>*)text.c_str()); +00833 } </pre></div> </td> </tr> </table> @@ -2398,11 +2398,11 @@ Forces a user to part a channel. <p> This is similar to svspart and can be used to implement redirection, etc. Although the return value of this function is a pointer to a channel record, the returned data is undefined and should not be read or written to. This behaviour may be changed in a future version. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00461">461</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#l00462">462</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00462 { -00463 <span class="keywordflow">return</span> del_channel(user,cname.c_str(),reason.c_str(),<span class="keyword">false</span>); -00464 } +<div class="fragment"><pre>00463 { +00464 <span class="keywordflow">return</span> del_channel(user,cname.c_str(),reason.c_str(),<span class="keyword">false</span>); +00465 } </pre></div> </td> </tr> </table> @@ -2451,38 +2451,38 @@ This user takes one user, and switches their file descriptor with another user, <p> The user in 'alive' is booted off the server with the given message. The user referred to by 'zombie' should have previously been locked with Server::ZombifyUser, otherwise stale sockets and file descriptor leaks can occur. After this call, the pointer to alive will be invalid, and the pointer to zombie will be equivalent in effect to the old pointer to alive. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00699">699</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. -<p> -References <a class="el" href="channels_8h-source.html#l00268">ucrec::channel</a>, <a class="el" href="users_8h-source.html#l00142">userrec::chans</a>, <a class="el" href="users_8cpp-source.html#l00204">userrec::ClearBuffer()</a>, <a class="el" href="connection_8h-source.html#l00215">connection::fd</a>, <a class="el" href="modules_8h-source.html#l00099">FD_MAGIC_NUMBER</a>, <a class="el" href="modules_8cpp-source.html#l00119">fd_ref_table</a>, <a class="el" href="connection_8h-source.html#l00219">connection::host</a>, <a class="el" href="users_8h-source.html#l00125">userrec::ident</a>, <a class="el" href="channels_8h-source.html#l00099">chanrec::name</a>, <a class="el" href="users_8h-source.html#l00121">userrec::nick</a>, <a class="el" href="channels_8h-source.html#l00128">chanrec::setby</a>, <a class="el" href="channels_8h-source.html#l00117">chanrec::topic</a>, and <a class="el" href="channels_8h-source.html#l00124">chanrec::topicset</a>. -<p> -<div class="fragment"><pre>00700 { -00701 zombie-><a class="code" href="classconnection.html#o0">fd</a> = alive-><a class="code" href="classconnection.html#o0">fd</a>; -00702 alive-><a class="code" href="classconnection.html#o0">fd</a> = <a class="code" href="modules_8h.html#a26">FD_MAGIC_NUMBER</a>; -00703 alive-><a class="code" href="classuserrec.html#a10">ClearBuffer</a>(); -00704 Write(zombie-><a class="code" href="classconnection.html#o0">fd</a>,<span class="stringliteral">":%s!%s@%s NICK %s"</span>,alive-><a class="code" href="classuserrec.html#o0">nick</a>,alive-><a class="code" href="classuserrec.html#o1">ident</a>,alive-><a class="code" href="classconnection.html#o1">host</a>,zombie-><a class="code" href="classuserrec.html#o0">nick</a>); -00705 kill_link(alive,message.c_str()); -00706 <a class="code" href="modules_8cpp.html#a38">fd_ref_table</a>[zombie-><a class="code" href="classconnection.html#o0">fd</a>] = zombie; -00707 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i != MAXCHANS; i++) -00708 { -00709 <span class="keywordflow">if</span> (zombie->chans[i].channel != NULL) -00710 { -00711 <span class="keywordflow">if</span> (zombie->chans[i].channel->name) -00712 { -00713 <a class="code" href="classchanrec.html">chanrec</a>* Ptr = zombie-><a class="code" href="classuserrec.html#o5">chans</a>[i].<a class="code" href="classucrec.html#o1">channel</a>; -00714 WriteFrom(zombie->fd,zombie,<span class="stringliteral">"JOIN %s"</span>,Ptr-><a class="code" href="classchanrec.html#o0">name</a>); -00715 <span class="keywordflow">if</span> (Ptr-><a class="code" href="classchanrec.html#o6">topicset</a>) -00716 { -00717 WriteServ(zombie->fd,<span class="stringliteral">"332 %s %s :%s"</span>, zombie->nick, Ptr-><a class="code" href="classchanrec.html#o0">name</a>, Ptr-><a class="code" href="classchanrec.html#o4">topic</a>); -00718 WriteServ(zombie->fd,<span class="stringliteral">"333 %s %s %s %d"</span>, zombie->nick, Ptr-><a class="code" href="classchanrec.html#o0">name</a>, Ptr-><a class="code" href="classchanrec.html#o7">setby</a>, Ptr-><a class="code" href="classchanrec.html#o6">topicset</a>); -00719 } -00720 userlist(zombie,Ptr); -00721 WriteServ(zombie->fd,<span class="stringliteral">"366 %s %s :End of /NAMES list."</span>, zombie->nick, Ptr-><a class="code" href="classchanrec.html#o0">name</a>); -00722 -00723 } -00724 } -00725 } -00726 -00727 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00700">700</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="channels_8h-source.html#l00233">ucrec::channel</a>, <a class="el" href="users_8h-source.html#l00142">userrec::chans</a>, <a class="el" href="users_8cpp-source.html#l00203">userrec::ClearBuffer()</a>, <a class="el" href="connection_8h-source.html#l00215">connection::fd</a>, <a class="el" href="modules_8h-source.html#l00099">FD_MAGIC_NUMBER</a>, <a class="el" href="modules_8cpp-source.html#l00119">fd_ref_table</a>, <a class="el" href="connection_8h-source.html#l00219">connection::host</a>, <a class="el" href="users_8h-source.html#l00125">userrec::ident</a>, <a class="el" href="channels_8h-source.html#l00106">chanrec::name</a>, <a class="el" href="users_8h-source.html#l00121">userrec::nick</a>, <a class="el" href="channels_8h-source.html#l00131">chanrec::setby</a>, <a class="el" href="channels_8h-source.html#l00120">chanrec::topic</a>, and <a class="el" href="channels_8h-source.html#l00127">chanrec::topicset</a>. +<p> +<div class="fragment"><pre>00701 { +00702 zombie-><a class="code" href="classconnection.html#o0">fd</a> = alive-><a class="code" href="classconnection.html#o0">fd</a>; +00703 alive-><a class="code" href="classconnection.html#o0">fd</a> = <a class="code" href="modules_8h.html#a26">FD_MAGIC_NUMBER</a>; +00704 alive-><a class="code" href="classuserrec.html#a10">ClearBuffer</a>(); +00705 Write(zombie-><a class="code" href="classconnection.html#o0">fd</a>,<span class="stringliteral">":%s!%s@%s NICK %s"</span>,alive-><a class="code" href="classuserrec.html#o0">nick</a>,alive-><a class="code" href="classuserrec.html#o1">ident</a>,alive-><a class="code" href="classconnection.html#o1">host</a>,zombie-><a class="code" href="classuserrec.html#o0">nick</a>); +00706 kill_link(alive,message.c_str()); +00707 <a class="code" href="modules_8cpp.html#a38">fd_ref_table</a>[zombie-><a class="code" href="classconnection.html#o0">fd</a>] = zombie; +00708 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i != MAXCHANS; i++) +00709 { +00710 <span class="keywordflow">if</span> (zombie->chans[i].channel != NULL) +00711 { +00712 <span class="keywordflow">if</span> (zombie->chans[i].channel->name) +00713 { +00714 <a class="code" href="classchanrec.html">chanrec</a>* Ptr = zombie-><a class="code" href="classuserrec.html#o5">chans</a>[i].<a class="code" href="classucrec.html#o1">channel</a>; +00715 WriteFrom(zombie->fd,zombie,<span class="stringliteral">"JOIN %s"</span>,Ptr-><a class="code" href="classchanrec.html#o0">name</a>); +00716 <span class="keywordflow">if</span> (Ptr-><a class="code" href="classchanrec.html#o5">topicset</a>) +00717 { +00718 WriteServ(zombie->fd,<span class="stringliteral">"332 %s %s :%s"</span>, zombie->nick, Ptr-><a class="code" href="classchanrec.html#o0">name</a>, Ptr-><a class="code" href="classchanrec.html#o3">topic</a>); +00719 WriteServ(zombie->fd,<span class="stringliteral">"333 %s %s %s %d"</span>, zombie->nick, Ptr-><a class="code" href="classchanrec.html#o0">name</a>, Ptr-><a class="code" href="classchanrec.html#o6">setby</a>, Ptr-><a class="code" href="classchanrec.html#o5">topicset</a>); +00720 } +00721 userlist(zombie,Ptr); +00722 WriteServ(zombie->fd,<span class="stringliteral">"366 %s %s :End of /NAMES list."</span>, zombie->nick, Ptr-><a class="code" href="classchanrec.html#o0">name</a>); +00723 +00724 } +00725 } +00726 } +00727 +00728 } </pre></div> </td> </tr> </table> @@ -2527,11 +2527,11 @@ To the user, it will appear as if they typed /QUIT themselves, except for the fa WARNING!<p> Once you call this function, userrec* user will immediately become INVALID. You MUST NOT write to, or read from this pointer after calling the QuitUser method UNDER ANY CIRCUMSTANCES! The best course of action after calling this method is to immediately bail from your handler. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00483">483</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#l00484">484</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00484 { -00485 kill_link(user,reason.c_str()); -00486 } +<div class="fragment"><pre>00485 { +00486 kill_link(user,reason.c_str()); +00487 } </pre></div> </td> </tr> </table> @@ -2574,11 +2574,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#l00513">513</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#l00514">514</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00514 { -00515 Write(Socket,<span class="stringliteral">"%s"</span>,s.c_str()); -00516 } +<div class="fragment"><pre>00515 { +00516 Write(Socket,<span class="stringliteral">"%s"</span>,s.c_str()); +00517 } </pre></div> </td> </tr> </table> @@ -2633,18 +2633,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#l00547">547</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. -<p> -<div class="fragment"><pre>00548 { -00549 <span class="keywordflow">if</span> (IncludeSender) -00550 { -00551 WriteChannel(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str()); -00552 } -00553 <span class="keywordflow">else</span> -00554 { -00555 ChanExceptSender(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str()); -00556 } -00557 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00548">548</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +<div class="fragment"><pre>00549 { +00550 <span class="keywordflow">if</span> (IncludeSender) +00551 { +00552 WriteChannel(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str()); +00553 } +00554 <span class="keywordflow">else</span> +00555 { +00556 ChanExceptSender(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str()); +00557 } +00558 } </pre></div> </td> </tr> </table> @@ -2693,11 +2693,11 @@ Writes text to a channel, but from a server, including all. <p> This can be used to send server notices to a group of users. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00542">542</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00543">543</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00543 { -00544 WriteChannelWithServ((<span class="keywordtype">char</span>*)ServName.c_str(), Channel, <span class="stringliteral">"%s"</span>, text.c_str()); -00545 } +<div class="fragment"><pre>00544 { +00545 WriteChannelWithServ((<span class="keywordtype">char</span>*)ServName.c_str(), Channel, <span class="stringliteral">"%s"</span>, text.c_str()); +00546 } </pre></div> </td> </tr> </table> @@ -2746,18 +2746,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#l00564">564</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. -<p> -<div class="fragment"><pre>00565 { -00566 <span class="keywordflow">if</span> (IncludeSender) -00567 { -00568 WriteCommon(User,<span class="stringliteral">"%s"</span>,text.c_str()); -00569 } -00570 <span class="keywordflow">else</span> -00571 { -00572 WriteCommonExcept(User,<span class="stringliteral">"%s"</span>,text.c_str()); -00573 } -00574 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00565">565</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +<div class="fragment"><pre>00566 { +00567 <span class="keywordflow">if</span> (IncludeSender) +00568 { +00569 WriteCommon(User,<span class="stringliteral">"%s"</span>,text.c_str()); +00570 } +00571 <span class="keywordflow">else</span> +00572 { +00573 WriteCommonExcept(User,<span class="stringliteral">"%s"</span>,text.c_str()); +00574 } +00575 } </pre></div> </td> </tr> </table> @@ -2806,11 +2806,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#l00523">523</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#l00524">524</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00524 { -00525 WriteFrom(Socket,User,<span class="stringliteral">"%s"</span>,s.c_str()); -00526 } +<div class="fragment"><pre>00525 { +00526 WriteFrom(Socket,User,<span class="stringliteral">"%s"</span>,s.c_str()); +00527 } </pre></div> </td> </tr> </table> @@ -2866,13 +2866,13 @@ modes[2] = user->nick;<p> Srv->SendMode(modes,3,user);<p> The modes will originate from the server where the command was issued, however responses (e.g. numerics) will be sent to the user you provide as the third parameter. You must be sure to get the number of parameters correct in the pcnt parameter otherwise you could leave your server in an unstable state! <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00508">508</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#l00509">509</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="modules_8h.html#a36">server_mode()</a>. <p> -<div class="fragment"><pre>00509 { -00510 <a class="code" href="modules_8h.html#a36">server_mode</a>(parameters,pcnt,user); -00511 } +<div class="fragment"><pre>00510 { +00511 <a class="code" href="modules_8h.html#a36">server_mode</a>(parameters,pcnt,user); +00512 } </pre></div> </td> </tr> </table> @@ -2906,11 +2906,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#l00438">438</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#l00439">439</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00439 { -00440 WriteOpers(<span class="stringliteral">"%s"</span>,s.c_str()); -00441 } +<div class="fragment"><pre>00440 { +00441 WriteOpers(<span class="stringliteral">"%s"</span>,s.c_str()); +00442 } </pre></div> </td> </tr> </table> @@ -2953,11 +2953,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#l00518">518</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#l00519">519</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00519 { -00520 WriteServ(Socket,<span class="stringliteral">"%s"</span>,s.c_str()); -00521 } +<div class="fragment"><pre>00520 { +00521 WriteServ(Socket,<span class="stringliteral">"%s"</span>,s.c_str()); +00522 } </pre></div> </td> </tr> </table> @@ -3010,22 +3010,22 @@ The format will become:<p> :localserver TEXT<p> Which is useful for numerics and server notices to single users, etc. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00528">528</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#l00529">529</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="connection_8h-source.html#l00215">connection::fd</a>. <p> -<div class="fragment"><pre>00529 { -00530 <span class="keywordflow">if</span> (!Source) -00531 { -00532 <span class="comment">// if source is NULL, then the message originates from the local server</span> -00533 Write(Dest-><a class="code" href="classconnection.html#o0">fd</a>,<span class="stringliteral">":%s %s"</span>,this->GetServerName().c_str(),s.c_str()); -00534 } -00535 <span class="keywordflow">else</span> -00536 { -00537 <span class="comment">// otherwise it comes from the user specified</span> -00538 WriteTo(Source,Dest,<span class="stringliteral">"%s"</span>,s.c_str()); -00539 } -00540 } +<div class="fragment"><pre>00530 { +00531 <span class="keywordflow">if</span> (!Source) +00532 { +00533 <span class="comment">// if source is NULL, then the message originates from the local server</span> +00534 Write(Dest-><a class="code" href="classconnection.html#o0">fd</a>,<span class="stringliteral">":%s %s"</span>,this->GetServerName().c_str(),s.c_str()); +00535 } +00536 <span class="keywordflow">else</span> +00537 { +00538 <span class="comment">// otherwise it comes from the user specified</span> +00539 WriteTo(Source,Dest,<span class="stringliteral">"%s"</span>,s.c_str()); +00540 } +00541 } </pre></div> </td> </tr> </table> @@ -3076,11 +3076,11 @@ These can be RFC specified modes such as +i, or module provided modes, including Serv->SendToModeMask("xi", WM_OR, "m00");<p> Then the text 'm00' will be sent to all users with EITHER mode x or i. Conversely if you used WM_AND, the user must have both modes set to receive the message. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00451">451</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#l00452">452</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00452 { -00453 WriteMode(modes.c_str(),flags,<span class="stringliteral">"%s"</span>,text.c_str()); -00454 } +<div class="fragment"><pre>00453 { +00454 WriteMode(modes.c_str(),flags,<span class="stringliteral">"%s"</span>,text.c_str()); +00455 } </pre></div> </td> </tr> </table> @@ -3123,11 +3123,11 @@ 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#l00576">576</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#l00577">577</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00577 { -00578 WriteWallOps(User,<span class="keyword">false</span>,<span class="stringliteral">"%s"</span>,text.c_str()); -00579 } +<div class="fragment"><pre>00578 { +00579 WriteWallOps(User,<span class="keyword">false</span>,<span class="stringliteral">"%s"</span>,text.c_str()); +00580 } </pre></div> </td> </tr> </table> @@ -3170,33 +3170,33 @@ Remove a user's connection to the irc server, but leave their client in existenc <p> When you call this function, the user's file descriptor will be replaced with the value of FD_MAGIC_NUMBER and their old file descriptor will be closed. This idle client will remain until it is restored with a valid file descriptor, or is removed from IRC by an operator After this call, the pointer to user will be invalid. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00680">680</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. -<p> -References <a class="el" href="users_8cpp-source.html#l00204">userrec::ClearBuffer()</a>, <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, <a class="el" href="connection_8h-source.html#l00215">connection::fd</a>, <a class="el" href="modules_8h-source.html#l00099">FD_MAGIC_NUMBER</a>, <a class="el" href="connection_8h-source.html#l00219">connection::host</a>, and <a class="el" href="users_8h-source.html#l00125">userrec::ident</a>. -<p> -<div class="fragment"><pre>00681 { -00682 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> old_fd = user-><a class="code" href="classconnection.html#o0">fd</a>; -00683 user-><a class="code" href="classconnection.html#o0">fd</a> = <a class="code" href="modules_8h.html#a26">FD_MAGIC_NUMBER</a>; -00684 user-><a class="code" href="classuserrec.html#a10">ClearBuffer</a>(); -00685 Write(old_fd,<span class="stringliteral">"ERROR :Closing link (%s@%s) [%s]"</span>,user-><a class="code" href="classuserrec.html#o1">ident</a>,user-><a class="code" href="classconnection.html#o1">host</a>,message.c_str()); -00686 <span class="preprocessor">#ifdef USE_KQUEUE</span> -00687 <span class="preprocessor"></span> <span class="keyword">struct </span>kevent ke; -00688 EV_SET(&ke, old_fd, EVFILT_READ, EV_DELETE, 0, 0, NULL); -00689 <span class="keywordtype">int</span> i = kevent(kq, &ke, 1, 0, 0, NULL); -00690 <span class="keywordflow">if</span> (i == -1) -00691 { -00692 log(DEBUG,<span class="stringliteral">"kqueue: Failed to remove user from queue!"</span>); -00693 } -00694 <span class="preprocessor">#endif</span> -00695 <span class="preprocessor"></span> shutdown(old_fd,2); -00696 close(old_fd); -00697 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00681">681</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="users_8cpp-source.html#l00203">userrec::ClearBuffer()</a>, <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, <a class="el" href="connection_8h-source.html#l00215">connection::fd</a>, <a class="el" href="modules_8h-source.html#l00099">FD_MAGIC_NUMBER</a>, <a class="el" href="connection_8h-source.html#l00219">connection::host</a>, and <a class="el" href="users_8h-source.html#l00125">userrec::ident</a>. +<p> +<div class="fragment"><pre>00682 { +00683 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> old_fd = user-><a class="code" href="classconnection.html#o0">fd</a>; +00684 user-><a class="code" href="classconnection.html#o0">fd</a> = <a class="code" href="modules_8h.html#a26">FD_MAGIC_NUMBER</a>; +00685 user-><a class="code" href="classuserrec.html#a10">ClearBuffer</a>(); +00686 Write(old_fd,<span class="stringliteral">"ERROR :Closing link (%s@%s) [%s]"</span>,user-><a class="code" href="classuserrec.html#o1">ident</a>,user-><a class="code" href="classconnection.html#o1">host</a>,message.c_str()); +00687 <span class="preprocessor">#ifdef USE_KQUEUE</span> +00688 <span class="preprocessor"></span> <span class="keyword">struct </span>kevent ke; +00689 EV_SET(&ke, old_fd, EVFILT_READ, EV_DELETE, 0, 0, NULL); +00690 <span class="keywordtype">int</span> i = kevent(kq, &ke, 1, 0, 0, NULL); +00691 <span class="keywordflow">if</span> (i == -1) +00692 { +00693 log(DEBUG,<span class="stringliteral">"kqueue: Failed to remove user from queue!"</span>); +00694 } +00695 <span class="preprocessor">#endif</span> +00696 <span class="preprocessor"></span> shutdown(old_fd,2); +00697 close(old_fd); +00698 } </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 size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:27 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:06 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classVersion-members.html b/docs/module-doc/classVersion-members.html index 95c5bdb08..37a6317c9 100644 --- a/docs/module-doc/classVersion-members.html +++ b/docs/module-doc/classVersion-members.html @@ -15,7 +15,7 @@ <tr class="memlist"><td><a class="el" href="classVersion.html#o2">Revision</a></td><td><a class="el" href="classVersion.html">Version</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classVersion.html#a0">Version</a>(int major, int minor, int revision, int build, int flags)</td><td><a class="el" href="classVersion.html">Version</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:29 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:06 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classVersion.html b/docs/module-doc/classVersion.html index 26f75dbcf..e74dbcefe 100644 --- a/docs/module-doc/classVersion.html +++ b/docs/module-doc/classVersion.html @@ -92,9 +92,9 @@ Definition at line <a class="el" href="modules_8h-source.html#l00111">111</a> of <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00309">309</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00310">310</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00309 : <a class="code" href="classVersion.html#o0">Major</a>(major), <a class="code" href="classVersion.html#o1">Minor</a>(minor), <a class="code" href="classVersion.html#o2">Revision</a>(revision), <a class="code" href="classVersion.html#o3">Build</a>(build), <a class="code" href="classVersion.html#o4">Flags</a>(flags) { }; +<div class="fragment"><pre>00310 : <a class="code" href="classVersion.html#o0">Major</a>(major), <a class="code" href="classVersion.html#o1">Minor</a>(minor), <a class="code" href="classVersion.html#o2">Revision</a>(revision), <a class="code" href="classVersion.html#o3">Build</a>(build), <a class="code" href="classVersion.html#o4">Flags</a>(flags) { }; </pre></div> </td> </tr> </table> @@ -221,7 +221,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00114">114</a> of </table> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="modules_8h-source.html">modules.h</a><li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:29 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:06 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classWhoWasUser-members.html b/docs/module-doc/classWhoWasUser-members.html new file mode 100644 index 000000000..1c600f4cd --- /dev/null +++ b/docs/module-doc/classWhoWasUser-members.html @@ -0,0 +1,21 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>InspIRCd: Member List</title> +<link href="inspircd.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.3.3 --> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">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></div> +<h1>WhoWasUser Member List</h1>This is the complete list of members for <a class="el" href="classWhoWasUser.html">WhoWasUser</a>, including all inherited members.<table> + <tr class="memlist"><td><a class="el" href="classWhoWasUser.html#o2">dhost</a></td><td><a class="el" href="classWhoWasUser.html">WhoWasUser</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classWhoWasUser.html#o4">fullname</a></td><td><a class="el" href="classWhoWasUser.html">WhoWasUser</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classWhoWasUser.html#o3">host</a></td><td><a class="el" href="classWhoWasUser.html">WhoWasUser</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classWhoWasUser.html#o1">ident</a></td><td><a class="el" href="classWhoWasUser.html">WhoWasUser</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classWhoWasUser.html#o0">nick</a></td><td><a class="el" href="classWhoWasUser.html">WhoWasUser</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classWhoWasUser.html#o5">server</a></td><td><a class="el" href="classWhoWasUser.html">WhoWasUser</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classWhoWasUser.html#o6">signon</a></td><td><a class="el" href="classWhoWasUser.html">WhoWasUser</a></td><td></td></tr> +</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:06 2005 for InspIRCd by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border=0 > +</a>1.3.3 </small></address> +</body> +</html> diff --git a/docs/module-doc/classWhoWasUser.html b/docs/module-doc/classWhoWasUser.html new file mode 100644 index 000000000..d386998ef --- /dev/null +++ b/docs/module-doc/classWhoWasUser.html @@ -0,0 +1,212 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>InspIRCd: WhoWasUser class Reference</title> +<link href="inspircd.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.3.3 --> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">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></div> +<h1>WhoWasUser Class Reference</h1>A lightweight userrec used by WHOWAS. +<a href="#_details">More...</a> +<p> +<code>#include <<a class="el" href="users_8h-source.html">users.h</a>></code> +<p> +<a href="classWhoWasUser-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> +<tr><td></td></tr> +<tr><td colspan=2><br><h2>Public Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="classWhoWasUser.html#o0">nick</a> [NICKMAX]</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="classWhoWasUser.html#o1">ident</a> [16]</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="classWhoWasUser.html#o2">dhost</a> [160]</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="classWhoWasUser.html#o3">host</a> [160]</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="classWhoWasUser.html#o4">fullname</a> [128]</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="classWhoWasUser.html#o5">server</a> [256]</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>time_t </td><td class="memItemRight" valign=bottom><a class="el" href="classWhoWasUser.html#o6">signon</a></td></tr> + +</table> +<hr><a name="_details"></a><h2>Detailed Description</h2> +A lightweight userrec used by WHOWAS. +<p> + +<p> +Definition at line <a class="el" href="users_8h-source.html#l00315">315</a> of file <a class="el" href="users_8h-source.html">users.h</a>.<hr><h2>Member Data Documentation</h2> +<a name="o2" doxytag="WhoWasUser::dhost"></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> char <a class="el" href="classWhoWasUser.html#o2">WhoWasUser::dhost</a>[160] + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="users_8h-source.html#l00320">320</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td> + </tr> +</table> +<a name="o4" doxytag="WhoWasUser::fullname"></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> char <a class="el" href="classWhoWasUser.html#o4">WhoWasUser::fullname</a>[128] + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="users_8h-source.html#l00322">322</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td> + </tr> +</table> +<a name="o3" doxytag="WhoWasUser::host"></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> char <a class="el" href="classWhoWasUser.html#o3">WhoWasUser::host</a>[160] + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="users_8h-source.html#l00321">321</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td> + </tr> +</table> +<a name="o1" doxytag="WhoWasUser::ident"></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> char <a class="el" href="classWhoWasUser.html#o1">WhoWasUser::ident</a>[16] + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="users_8h-source.html#l00319">319</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td> + </tr> +</table> +<a name="o0" doxytag="WhoWasUser::nick"></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> char <a class="el" href="classWhoWasUser.html#o0">WhoWasUser::nick</a>[NICKMAX] + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="users_8h-source.html#l00318">318</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td> + </tr> +</table> +<a name="o5" doxytag="WhoWasUser::server"></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> char <a class="el" href="classWhoWasUser.html#o5">WhoWasUser::server</a>[256] + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="users_8h-source.html#l00323">323</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td> + </tr> +</table> +<a name="o6" doxytag="WhoWasUser::signon"></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> time_t <a class="el" href="classWhoWasUser.html#o6">WhoWasUser::signon</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="users_8h-source.html#l00324">324</a> of file <a class="el" href="users_8h-source.html">users.h</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 size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:06 2005 for InspIRCd by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border=0 > +</a>1.3.3 </small></address> +</body> +</html> diff --git a/docs/module-doc/classXLine-members.html b/docs/module-doc/classXLine-members.html index 7f6ff7071..685244f10 100644 --- a/docs/module-doc/classXLine-members.html +++ b/docs/module-doc/classXLine-members.html @@ -14,7 +14,7 @@ <tr class="memlist"><td><a class="el" href="classXLine.html#o0">set_time</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classXLine.html#o2">source</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:29 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:07 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classXLine.html b/docs/module-doc/classXLine.html index 933828347..250a00d91 100644 --- a/docs/module-doc/classXLine.html +++ b/docs/module-doc/classXLine.html @@ -23,7 +23,7 @@ Inherited by <a class="el" href="classELine.html">ELine</a>, <a class="el" href= <tr><td class="memItemLeft" nowrap align=right valign=top>long </td><td class="memItemRight" valign=bottom><a class="el" href="classXLine.html#o1">duration</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The duration of the ban, or 0 if permenant. </em> <a href="#o1"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="classXLine.html#o2">source</a> [MAXBUF]</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="classXLine.html#o2">source</a> [256]</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Source of the ban. </em> <a href="#o2"></a><em><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="classXLine.html#o3">reason</a> [MAXBUF]</td></tr> @@ -149,7 +149,7 @@ Definition at line <a class="el" href="xline_8h-source.html#l00040">40</a> of fi <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> char <a class="el" href="classXLine.html#o2">XLine::source</a>[MAXBUF] + <td class="md" nowrap valign="top"> char <a class="el" href="classXLine.html#o2">XLine::source</a>[256] </table> </td> </tr> @@ -171,7 +171,7 @@ Definition at line <a class="el" href="xline_8h-source.html#l00048">48</a> of fi </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="xline_8h-source.html">xline.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:29 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:07 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classZLine-members.html b/docs/module-doc/classZLine-members.html index 349512e83..ed504e40d 100644 --- a/docs/module-doc/classZLine-members.html +++ b/docs/module-doc/classZLine-members.html @@ -16,7 +16,7 @@ <tr class="memlist"><td><a class="el" href="classXLine.html#o0">set_time</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classXLine.html#o2">source</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:29 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:07 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classZLine.html b/docs/module-doc/classZLine.html index f5b1acf92..0a8719c23 100644 --- a/docs/module-doc/classZLine.html +++ b/docs/module-doc/classZLine.html @@ -15,7 +15,7 @@ Inherits <a class="el" href="classXLine.html">XLine</a>. <a href="classZLine-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> <tr><td></td></tr> <tr><td colspan=2><br><h2>Public Attributes</h2></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="classZLine.html#o0">ipaddr</a> [MAXBUF]</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="classZLine.html#o0">ipaddr</a> [40]</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">IP Address (xx.yy.zz.aa) to match against May contain wildcards. </em> <a href="#o0"></a><em><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classZLine.html#o1">is_global</a></td></tr> @@ -34,7 +34,7 @@ Definition at line <a class="el" href="xline_8h-source.html#l00093">93</a> of fi <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> char <a class="el" href="classZLine.html#o0">ZLine::ipaddr</a>[MAXBUF] + <td class="md" nowrap valign="top"> char <a class="el" href="classZLine.html#o0">ZLine::ipaddr</a>[40] </table> </td> </tr> @@ -82,7 +82,7 @@ Definition at line <a class="el" href="xline_8h-source.html#l00103">103</a> of f </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="xline_8h-source.html">xline.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:29 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:07 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classchanrec-members.html b/docs/module-doc/classchanrec-members.html index 657825362..165686ffc 100644 --- a/docs/module-doc/classchanrec-members.html +++ b/docs/module-doc/classchanrec-members.html @@ -6,42 +6,34 @@ <!-- Generated by Doxygen 1.3.3 --> <div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">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></div> <h1>chanrec Member List</h1>This is the complete list of members for <a class="el" href="classchanrec.html">chanrec</a>, including all inherited members.<table> - <tr class="memlist"><td><a class="el" href="classchanrec.html#a7">AddUser</a>(char *castuser)</td><td><a class="el" href="classchanrec.html">chanrec</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classchanrec.html#a5">AddUser</a>(char *castuser)</td><td><a class="el" href="classchanrec.html">chanrec</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#o0">age</a></td><td><a class="el" href="classclassbase.html">classbase</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classchanrec.html#o16">bans</a></td><td><a class="el" href="classchanrec.html">chanrec</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classchanrec.html#o15">c_private</a></td><td><a class="el" href="classchanrec.html">chanrec</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classchanrec.html#a10">chanrec</a>()</td><td><a class="el" href="classchanrec.html">chanrec</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classchanrec.html#o10">bans</a></td><td><a class="el" href="classchanrec.html">chanrec</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classchanrec.html#o9">binarymodes</a></td><td><a class="el" href="classchanrec.html">chanrec</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classchanrec.html#a8">chanrec</a>()</td><td><a class="el" href="classchanrec.html">chanrec</a></td><td></td></tr> <tr class="memlist"><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 class="memlist"><td><a class="el" href="classchanrec.html#o5">created</a></td><td><a class="el" href="classchanrec.html">chanrec</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classchanrec.html#o4">created</a></td><td><a class="el" href="classchanrec.html">chanrec</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classchanrec.html#o1">custom_modes</a></td><td><a class="el" href="classchanrec.html">chanrec</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classchanrec.html#a5">DecUserCounter</a>()</td><td><a class="el" href="classchanrec.html">chanrec</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classchanrec.html#a8">DelUser</a>(char *castuser)</td><td><a class="el" href="classchanrec.html">chanrec</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classchanrec.html#a6">DelUser</a>(char *castuser)</td><td><a class="el" href="classchanrec.html">chanrec</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classExtensible.html#a0">Extend</a>(std::string key, char *p)</td><td><a class="el" href="classExtensible.html">Extensible</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classExtensible.html#a2">GetExt</a>(std::string key)</td><td><a class="el" href="classExtensible.html">Extensible</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classchanrec.html#a3">GetModeParameter</a>(char mode)</td><td><a class="el" href="classchanrec.html">chanrec</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classchanrec.html#a6">GetUserCounter</a>()</td><td><a class="el" href="classchanrec.html">chanrec</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classchanrec.html#a9">GetUsers</a>()</td><td><a class="el" href="classchanrec.html">chanrec</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classchanrec.html#a4">IncUserCounter</a>()</td><td><a class="el" href="classchanrec.html">chanrec</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classchanrec.html#o3">internal_userlist</a></td><td><a class="el" href="classchanrec.html">chanrec</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classchanrec.html#o12">inviteonly</a></td><td><a class="el" href="classchanrec.html">chanrec</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classchanrec.html#a4">GetUserCounter</a>()</td><td><a class="el" href="classchanrec.html">chanrec</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classchanrec.html#a7">GetUsers</a>()</td><td><a class="el" href="classchanrec.html">chanrec</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classchanrec.html#o2">internal_userlist</a></td><td><a class="el" href="classchanrec.html">chanrec</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classchanrec.html#a2">IsCustomModeSet</a>(char mode)</td><td><a class="el" href="classchanrec.html">chanrec</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classchanrec.html#o9">key</a></td><td><a class="el" href="classchanrec.html">chanrec</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classchanrec.html#o8">limit</a></td><td><a class="el" href="classchanrec.html">chanrec</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classchanrec.html#o13">moderated</a></td><td><a class="el" href="classchanrec.html">chanrec</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classchanrec.html#o8">key</a></td><td><a class="el" href="classchanrec.html">chanrec</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classchanrec.html#o7">limit</a></td><td><a class="el" href="classchanrec.html">chanrec</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classchanrec.html#o0">name</a></td><td><a class="el" href="classchanrec.html">chanrec</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classchanrec.html#o11">noexternal</a></td><td><a class="el" href="classchanrec.html">chanrec</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classchanrec.html#o14">secret</a></td><td><a class="el" href="classchanrec.html">chanrec</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classchanrec.html#o7">setby</a></td><td><a class="el" href="classchanrec.html">chanrec</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classchanrec.html#o6">setby</a></td><td><a class="el" href="classchanrec.html">chanrec</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classchanrec.html#a0">SetCustomMode</a>(char mode, bool mode_on)</td><td><a class="el" href="classchanrec.html">chanrec</a></td><td></td></tr> <tr class="memlist"><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 class="memlist"><td><a class="el" href="classExtensible.html#a1">Shrink</a>(std::string key)</td><td><a class="el" href="classExtensible.html">Extensible</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classchanrec.html#o4">topic</a></td><td><a class="el" href="classchanrec.html">chanrec</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classchanrec.html#o10">topiclock</a></td><td><a class="el" href="classchanrec.html">chanrec</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classchanrec.html#o6">topicset</a></td><td><a class="el" href="classchanrec.html">chanrec</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classchanrec.html#o2">users</a></td><td><a class="el" href="classchanrec.html">chanrec</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classchanrec.html#a11">~chanrec</a>()</td><td><a class="el" href="classchanrec.html">chanrec</a></td><td><code> [inline, virtual]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classchanrec.html#o3">topic</a></td><td><a class="el" href="classchanrec.html">chanrec</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classchanrec.html#o5">topicset</a></td><td><a class="el" href="classchanrec.html">chanrec</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classchanrec.html#a9">~chanrec</a>()</td><td><a class="el" href="classchanrec.html">chanrec</a></td><td><code> [inline, virtual]</code></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:18 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:01 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classchanrec.html b/docs/module-doc/classchanrec.html index 44fde568f..c66a50bb8 100644 --- a/docs/module-doc/classchanrec.html +++ b/docs/module-doc/classchanrec.html @@ -27,28 +27,22 @@ Inherits <a class="el" href="classExtensible.html">Extensible</a>. <tr><td class="memItemLeft" nowrap align=right valign=top>std::string </td><td class="memItemRight" valign=bottom><a class="el" href="classchanrec.html#a3">GetModeParameter</a> (char mode)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the parameter for a custom mode on a channel. </em> <a href="#a3"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classchanrec.html#a4">IncUserCounter</a> ()</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>long </td><td class="memItemRight" valign=bottom><a class="el" href="classchanrec.html#a4">GetUserCounter</a> ()</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Increment the channel "user counter" The channel user counter is a reference counter which holds the number of users on the channel. </em> <a href="#a4"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classchanrec.html#a5">DecUserCounter</a> ()</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Obtain the channel "user counter" This returns the channel reference counter, which is initialized to 0 when the channel is created and incremented/decremented upon joins, parts quits and kicks. </em> <a href="#a4"></a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classchanrec.html#a5">AddUser</a> (char *castuser)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Decrement the channel "user counter" The channel user counter is a reference counter which holds the number of users on the channel. </em> <a href="#a5"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>long </td><td class="memItemRight" valign=bottom><a class="el" href="classchanrec.html#a6">GetUserCounter</a> ()</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Add a user pointer to the internal reference list The data inserted into the reference list is a table as it is an arbitary pointer compared to other users by its memory address, as this is a very fast 32 or 64 bit integer comparison. </em> <a href="#a5"></a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classchanrec.html#a6">DelUser</a> (char *castuser)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Obtain the channel "user counter" This returns the channel reference counter, which is initialized to 0 when the channel is created and incremented/decremented upon joins, parts quits and kicks. </em> <a href="#a6"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classchanrec.html#a7">AddUser</a> (char *castuser)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Delete a user pointer to the internal reference list The data removed from the reference list is a table as it is an arbitary pointer compared to other users by its memory address, as this is a very fast 32 or 64 bit integer comparison. </em> <a href="#a6"></a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< char * > * </td><td class="memItemRight" valign=bottom><a class="el" href="classchanrec.html#a7">GetUsers</a> ()</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Add a user pointer to the internal reference list The data inserted into the reference list is a table as it is an arbitary pointer compared to other users by its memory address, as this is a very fast 32 or 64 bit integer comparison. </em> <a href="#a7"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classchanrec.html#a8">DelUser</a> (char *castuser)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Obrain the internal reference list The internal reference list contains a list of userrec* cast to char*. </em> <a href="#a7"></a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="classchanrec.html#a8">chanrec</a> ()</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Delete a user pointer to the internal reference list The data removed from the reference list is a table as it is an arbitary pointer compared to other users by its memory address, as this is a very fast 32 or 64 bit integer comparison. </em> <a href="#a8"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< char * > * </td><td class="memItemRight" valign=bottom><a class="el" href="classchanrec.html#a9">GetUsers</a> ()</td></tr> - -<tr><td class="mdescLeft"> </td><td class="mdescRight">Obrain the internal reference list The internal reference list contains a list of userrec* cast to char*. </em> <a href="#a9"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="classchanrec.html#a10">chanrec</a> ()</td></tr> - -<tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a channel record and initialises it with default values. </em> <a href="#a10"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>virtual </td><td class="memItemRight" valign=bottom><a class="el" href="classchanrec.html#a11">~chanrec</a> ()</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a channel record and initialises it with default values. </em> <a href="#a8"></a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual </td><td class="memItemRight" valign=bottom><a class="el" href="classchanrec.html#a9">~chanrec</a> ()</td></tr> <tr><td colspan=2><br><h2>Public Attributes</h2></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="classchanrec.html#o0">name</a> [CHANMAX]</td></tr> @@ -57,51 +51,33 @@ Inherits <a class="el" href="classExtensible.html">Extensible</a>. <tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="classchanrec.html#o1">custom_modes</a> [MAXMODES]</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Custom modes for the channel. </em> <a href="#o1"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>long </td><td class="memItemRight" valign=bottom><a class="el" href="classchanrec.html#o2">users</a></td></tr> - -<tr><td class="mdescLeft"> </td><td class="mdescRight">Count of users on the channel used for fast user counting. </em> <a href="#o2"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< char * > </td><td class="memItemRight" valign=bottom><a class="el" href="classchanrec.html#o3">internal_userlist</a></td></tr> - -<tr><td class="mdescLeft"> </td><td class="mdescRight">User list (casted to char*'s to stop forward declaration stuff) (chicken and egg scenario!). </em> <a href="#o3"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="classchanrec.html#o4">topic</a> [MAXBUF]</td></tr> - -<tr><td class="mdescLeft"> </td><td class="mdescRight">Channel topic. </em> <a href="#o4"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>time_t </td><td class="memItemRight" valign=bottom><a class="el" href="classchanrec.html#o5">created</a></td></tr> - -<tr><td class="mdescLeft"> </td><td class="mdescRight">Creation time. </em> <a href="#o5"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>time_t </td><td class="memItemRight" valign=bottom><a class="el" href="classchanrec.html#o6">topicset</a></td></tr> - -<tr><td class="mdescLeft"> </td><td class="mdescRight">Time topic was set. </em> <a href="#o6"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="classchanrec.html#o7">setby</a> [NICKMAX]</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< char * > </td><td class="memItemRight" valign=bottom><a class="el" href="classchanrec.html#o2">internal_userlist</a></td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">The last user to set the topic. </em> <a href="#o7"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>long </td><td class="memItemRight" valign=bottom><a class="el" href="classchanrec.html#o8">limit</a></td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">User list (casted to char*'s to stop forward declaration stuff) (chicken and egg scenario!). </em> <a href="#o2"></a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="classchanrec.html#o3">topic</a> [MAXBUF]</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Contains the channel user limit. </em> <a href="#o8"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="classchanrec.html#o9">key</a> [32]</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Channel topic. </em> <a href="#o3"></a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>time_t </td><td class="memItemRight" valign=bottom><a class="el" href="classchanrec.html#o4">created</a></td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Contains the channel key. </em> <a href="#o9"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>short int </td><td class="memItemRight" valign=bottom><a class="el" href="classchanrec.html#o10">topiclock</a></td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Creation time. </em> <a href="#o4"></a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>time_t </td><td class="memItemRight" valign=bottom><a class="el" href="classchanrec.html#o5">topicset</a></td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Nonzero if the mode +t is set. </em> <a href="#o10"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>short int </td><td class="memItemRight" valign=bottom><a class="el" href="classchanrec.html#o11">noexternal</a></td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Time topic was set. </em> <a href="#o5"></a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="classchanrec.html#o6">setby</a> [NICKMAX]</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Nonzero if the mode +n is set. </em> <a href="#o11"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>short int </td><td class="memItemRight" valign=bottom><a class="el" href="classchanrec.html#o12">inviteonly</a></td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">The last user to set the topic. </em> <a href="#o6"></a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>short int </td><td class="memItemRight" valign=bottom><a class="el" href="classchanrec.html#o7">limit</a></td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Nonzero if the mode +i is set. </em> <a href="#o12"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>short int </td><td class="memItemRight" valign=bottom><a class="el" href="classchanrec.html#o13">moderated</a></td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Contains the channel user limit. </em> <a href="#o7"></a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="classchanrec.html#o8">key</a> [32]</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Nonzero if the mode +m is set. </em> <a href="#o13"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>short int </td><td class="memItemRight" valign=bottom><a class="el" href="classchanrec.html#o14">secret</a></td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Contains the channel key. </em> <a href="#o8"></a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="classchanrec.html#o9">binarymodes</a></td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Nonzero if the mode +s is set. </em> <a href="#o14"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>short int </td><td class="memItemRight" valign=bottom><a class="el" href="classchanrec.html#o15">c_private</a></td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Contains a bitmask of the CM_* builtin (RFC) binary mode symbols. </em> <a href="#o9"></a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="channels_8h.html#a11">BanList</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classchanrec.html#o10">bans</a></td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Nonzero if the mode +p is set. </em> <a href="#o15"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="channels_8h.html#a5">BanList</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classchanrec.html#o16">bans</a></td></tr> - -<tr><td class="mdescLeft"> </td><td class="mdescRight">The list of all bans set on the channel. </em> <a href="#o16"></a><em><br><br></td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">The list of all bans set on the channel. </em> <a href="#o10"></a><em><br><br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Holds all relevent information for a channel. @@ -110,8 +86,8 @@ This class represents a channel, and contains its name, modes, time created, top <p> <p> -Definition at line <a class="el" href="channels_8h-source.html#l00094">94</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> -<a name="a10" doxytag="chanrec::chanrec"></a><p> +Definition at line <a class="el" href="channels_8h-source.html#l00101">101</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> +<a name="a8" doxytag="chanrec::chanrec"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -142,7 +118,7 @@ Creates a channel record and initialises it with default values. <p> Definition at line <a class="el" href="channels_8cpp-source.html#l00113">113</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. <p> -References <a class="el" href="channels_8h-source.html#l00164">c_private</a>, <a class="el" href="channels_8h-source.html#l00120">created</a>, <a class="el" href="channels_8h-source.html#l00103">custom_modes</a>, <a class="el" href="channels_8h-source.html#l00112">internal_userlist</a>, <a class="el" href="channels_8h-source.html#l00150">inviteonly</a>, <a class="el" href="channels_8h-source.html#l00138">key</a>, <a class="el" href="channels_8h-source.html#l00133">limit</a>, <a class="el" href="channels_8h-source.html#l00154">moderated</a>, <a class="el" href="channels_8h-source.html#l00099">name</a>, <a class="el" href="channels_8h-source.html#l00146">noexternal</a>, <a class="el" href="channels_8h-source.html#l00159">secret</a>, <a class="el" href="channels_8h-source.html#l00128">setby</a>, <a class="el" href="channels_8h-source.html#l00117">topic</a>, <a class="el" href="channels_8h-source.html#l00142">topiclock</a>, <a class="el" href="channels_8h-source.html#l00124">topicset</a>, and <a class="el" href="channels_8h-source.html#l00107">users</a>. +References <a class="el" href="channels_8h-source.html#l00145">binarymodes</a>, <a class="el" href="channels_8h-source.html#l00123">created</a>, <a class="el" href="channels_8h-source.html#l00110">custom_modes</a>, <a class="el" href="channels_8h-source.html#l00115">internal_userlist</a>, <a class="el" href="channels_8h-source.html#l00141">key</a>, <a class="el" href="channels_8h-source.html#l00136">limit</a>, <a class="el" href="channels_8h-source.html#l00106">name</a>, <a class="el" href="channels_8h-source.html#l00131">setby</a>, <a class="el" href="channels_8h-source.html#l00120">topic</a>, and <a class="el" href="channels_8h-source.html#l00127">topicset</a>. <p> <div class="fragment"><pre>00114 { 00115 strcpy(name,<span class="stringliteral">""</span>); @@ -150,14 +126,14 @@ References <a class="el" href="channels_8h-source.html#l00164">c_private</a>, <a 00117 strcpy(topic,<span class="stringliteral">""</span>); 00118 strcpy(setby,<span class="stringliteral">""</span>); 00119 strcpy(key,<span class="stringliteral">""</span>); -00120 <a class="code" href="classchanrec.html#o5">created</a> = <a class="code" href="classchanrec.html#o6">topicset</a> = <a class="code" href="classchanrec.html#o8">limit</a> = <a class="code" href="classchanrec.html#o2">users</a> = 0; -00121 <a class="code" href="classchanrec.html#o10">topiclock</a> = <a class="code" href="classchanrec.html#o11">noexternal</a> = <a class="code" href="classchanrec.html#o12">inviteonly</a> = <a class="code" href="classchanrec.html#o13">moderated</a> = <a class="code" href="classchanrec.html#o14">secret</a> = <a class="code" href="classchanrec.html#o15">c_private</a> = <span class="keyword">false</span>; -00122 <a class="code" href="classchanrec.html#o3">internal_userlist</a>.clear(); +00120 <a class="code" href="classchanrec.html#o4">created</a> = <a class="code" href="classchanrec.html#o5">topicset</a> = <a class="code" href="classchanrec.html#o7">limit</a> = 0; +00121 <a class="code" href="classchanrec.html#o9">binarymodes</a> = 0; +00122 <a class="code" href="classchanrec.html#o2">internal_userlist</a>.clear(); 00123 } </pre></div> </td> </tr> </table> -<a name="a11" doxytag="chanrec::~chanrec"></a><p> +<a name="a9" doxytag="chanrec::~chanrec"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -184,14 +160,14 @@ References <a class="el" href="channels_8h-source.html#l00164">c_private</a>, <a <p> <p> -Definition at line <a class="el" href="channels_8h-source.html#l00240">240</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#l00205">205</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. <p> -<div class="fragment"><pre>00240 { <span class="comment">/* stub */</span> } +<div class="fragment"><pre>00205 { <span class="comment">/* stub */</span> } </pre></div> </td> </tr> </table> <hr><h2>Member Function Documentation</h2> -<a name="a7" doxytag="chanrec::AddUser"></a><p> +<a name="a5" doxytag="chanrec::AddUser"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -221,54 +197,18 @@ Add a user pointer to the internal reference list The data inserted into the ref <p> <p> -Definition at line <a class="el" href="channels_8cpp-source.html#l00215">215</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. -<p> -References <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, and <a class="el" href="channels_8h-source.html#l00112">internal_userlist</a>. -<p> -<div class="fragment"><pre>00216 { -00217 <a class="code" href="classchanrec.html#o3">internal_userlist</a>.push_back(castuser); -00218 log(DEBUG,<span class="stringliteral">"Added casted user to channel's internal list"</span>); -00219 } -</pre></div> </td> - </tr> -</table> -<a name="a5" doxytag="chanrec::DecUserCounter"></a><p> -<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> - <tr> - <td class="mdRow"> - <table cellpadding="0" cellspacing="0" border="0"> - <tr> - <td class="md" nowrap valign="top"> void chanrec::DecUserCounter </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> -Decrement the channel "user counter" The channel user counter is a reference counter which holds the number of users on the channel. +Definition at line <a class="el" href="channels_8cpp-source.html#l00207">207</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. <p> -If it decremented to 0 then the channel is removed from the system. Modules may alter the reference count to hold channels open which have no users and would normally be deleted once empty. +References <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, and <a class="el" href="channels_8h-source.html#l00115">internal_userlist</a>. <p> -Definition at line <a class="el" href="channels_8cpp-source.html#l00206">206</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. -<p> -<div class="fragment"><pre>00207 { -00208 } +<div class="fragment"><pre>00208 { +00209 <a class="code" href="classchanrec.html#o2">internal_userlist</a>.push_back(castuser); +00210 log(DEBUG,<span class="stringliteral">"Added casted user to channel's internal list"</span>); +00211 } </pre></div> </td> </tr> </table> -<a name="a8" doxytag="chanrec::DelUser"></a><p> +<a name="a6" doxytag="chanrec::DelUser"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -298,22 +238,22 @@ Delete a user pointer to the internal reference list The data removed from the r <p> <p> -Definition at line <a class="el" href="channels_8cpp-source.html#l00221">221</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. +Definition at line <a class="el" href="channels_8cpp-source.html#l00213">213</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, <a class="el" href="channels_8h-source.html#l00112">internal_userlist</a>, and <a class="el" href="channels_8h-source.html#l00099">name</a>. +References <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, <a class="el" href="channels_8h-source.html#l00115">internal_userlist</a>, and <a class="el" href="channels_8h-source.html#l00106">name</a>. <p> -<div class="fragment"><pre>00222 { -00223 <span class="keywordflow">for</span> (std::vector<char*>::iterator a = <a class="code" href="classchanrec.html#o3">internal_userlist</a>.begin(); a < <a class="code" href="classchanrec.html#o3">internal_userlist</a>.end(); a++) -00224 { -00225 <span class="keywordflow">if</span> (*a == castuser) -00226 { -00227 log(DEBUG,<span class="stringliteral">"Removed casted user from channel's internal list"</span>); -00228 <a class="code" href="classchanrec.html#o3">internal_userlist</a>.erase(a); -00229 <span class="keywordflow">return</span>; -00230 } -00231 } -00232 log(DEBUG,<span class="stringliteral">"BUG BUG BUG! Attempt to remove an uncasted user from the internal list of %s!"</span>,name); -00233 } +<div class="fragment"><pre>00214 { +00215 <span class="keywordflow">for</span> (std::vector<char*>::iterator a = <a class="code" href="classchanrec.html#o2">internal_userlist</a>.begin(); a < <a class="code" href="classchanrec.html#o2">internal_userlist</a>.end(); a++) +00216 { +00217 <span class="keywordflow">if</span> (*a == castuser) +00218 { +00219 log(DEBUG,<span class="stringliteral">"Removed casted user from channel's internal list"</span>); +00220 <a class="code" href="classchanrec.html#o2">internal_userlist</a>.erase(a); +00221 <span class="keywordflow">return</span>; +00222 } +00223 } +00224 log(DEBUG,<span class="stringliteral">"BUG BUG BUG! Attempt to remove an uncasted user from the internal list of %s!"</span>,name); +00225 } </pre></div> </td> </tr> </table> @@ -367,7 +307,7 @@ References <a class="el" href="channels_8cpp-source.html#l00111">custom_mode_par </pre></div> </td> </tr> </table> -<a name="a6" doxytag="chanrec::GetUserCounter"></a><p> +<a name="a4" doxytag="chanrec::GetUserCounter"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -396,17 +336,17 @@ Obtain the channel "user counter" This returns the channel reference counter, wh <p> <p> -Definition at line <a class="el" href="channels_8cpp-source.html#l00210">210</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. +Definition at line <a class="el" href="channels_8cpp-source.html#l00202">202</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. <p> -References <a class="el" href="channels_8h-source.html#l00112">internal_userlist</a>. +References <a class="el" href="channels_8h-source.html#l00115">internal_userlist</a>. <p> -<div class="fragment"><pre>00211 { -00212 <span class="keywordflow">return</span> (this-><a class="code" href="classchanrec.html#o3">internal_userlist</a>.size()); -00213 } +<div class="fragment"><pre>00203 { +00204 <span class="keywordflow">return</span> (this-><a class="code" href="classchanrec.html#o2">internal_userlist</a>.size()); +00205 } </pre></div> </td> </tr> </table> -<a name="a9" doxytag="chanrec::GetUsers"></a><p> +<a name="a7" doxytag="chanrec::GetUsers"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -435,51 +375,15 @@ Obrain the internal reference list The internal reference list contains a list o <p> These are used for rapid comparison to determine channel membership for PRIVMSG, NOTICE, QUIT, PART etc. The resulting pointer to the vector should be considered readonly and only modified via AddUser and DelUser. <p> -Definition at line <a class="el" href="channels_8cpp-source.html#l00235">235</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. -<p> -References <a class="el" href="channels_8h-source.html#l00112">internal_userlist</a>. -<p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00466">Server::GetUsers()</a>. -<p> -<div class="fragment"><pre>00236 { -00237 <span class="keywordflow">return</span> &<a class="code" href="classchanrec.html#o3">internal_userlist</a>; -00238 } -</pre></div> </td> - </tr> -</table> -<a name="a4" doxytag="chanrec::IncUserCounter"></a><p> -<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> - <tr> - <td class="mdRow"> - <table cellpadding="0" cellspacing="0" border="0"> - <tr> - <td class="md" nowrap valign="top"> void chanrec::IncUserCounter </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> -Increment the channel "user counter" The channel user counter is a reference counter which holds the number of users on the channel. +Definition at line <a class="el" href="channels_8cpp-source.html#l00227">227</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. <p> -If it decremented to 0 then the channel is removed from the system. +References <a class="el" href="channels_8h-source.html#l00115">internal_userlist</a>. <p> -Definition at line <a class="el" href="channels_8cpp-source.html#l00202">202</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. +Referenced by <a class="el" href="modules_8cpp-source.html#l00467">Server::GetUsers()</a>. <p> -<div class="fragment"><pre>00203 { -00204 } +<div class="fragment"><pre>00228 { +00229 <span class="keywordflow">return</span> &<a class="code" href="classchanrec.html#o2">internal_userlist</a>; +00230 } </pre></div> </td> </tr> </table> @@ -565,7 +469,7 @@ Sets or unsets a custom mode in the channels info. <p> Definition at line <a class="el" href="channels_8cpp-source.html#l00125">125</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. <p> -References <a class="el" href="channels_8h-source.html#l00103">custom_modes</a>, <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, and <a class="el" href="channels_8cpp-source.html#l00150">SetCustomModeParam()</a>. +References <a class="el" href="channels_8h-source.html#l00110">custom_modes</a>, <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, and <a class="el" href="channels_8cpp-source.html#l00150">SetCustomModeParam()</a>. <p> <div class="fragment"><pre>00126 { 00127 <span class="keywordflow">if</span> (mode_on) { @@ -639,7 +543,7 @@ Sets or unsets the parameters for a custom mode in a channels info. <p> Definition at line <a class="el" href="channels_8cpp-source.html#l00150">150</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. <p> -References <a class="el" href="channels_8h-source.html#l00075">ModeParameter::channel</a>, <a class="el" href="channels_8cpp-source.html#l00111">custom_mode_params</a>, <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, <a class="el" href="channels_8h-source.html#l00073">ModeParameter::mode</a>, and <a class="el" href="channels_8h-source.html#l00074">ModeParameter::parameter</a>. +References <a class="el" href="channels_8h-source.html#l00082">ModeParameter::channel</a>, <a class="el" href="channels_8cpp-source.html#l00111">custom_mode_params</a>, <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, <a class="el" href="channels_8h-source.html#l00080">ModeParameter::mode</a>, and <a class="el" href="channels_8h-source.html#l00081">ModeParameter::parameter</a>. <p> Referenced by <a class="el" href="channels_8cpp-source.html#l00125">SetCustomMode()</a>. <p> @@ -676,13 +580,13 @@ Referenced by <a class="el" href="channels_8cpp-source.html#l00125">SetCustomMod </tr> </table> <hr><h2>Member Data Documentation</h2> -<a name="o16" doxytag="chanrec::bans"></a><p> +<a name="o10" doxytag="chanrec::bans"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> <a class="el" href="channels_8h.html#a5">BanList</a> <a class="el" href="classchanrec.html#o16">chanrec::bans</a> + <td class="md" nowrap valign="top"> <a class="el" href="channels_8h.html#a11">BanList</a> <a class="el" href="classchanrec.html#o10">chanrec::bans</a> </table> </td> </tr> @@ -699,16 +603,16 @@ The list of all bans set on the channel. <p> <p> -Definition at line <a class="el" href="channels_8h-source.html#l00168">168</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#l00149">149</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td> </tr> </table> -<a name="o15" doxytag="chanrec::c_private"></a><p> +<a name="o9" doxytag="chanrec::binarymodes"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> short int <a class="el" href="classchanrec.html#o15">chanrec::c_private</a> + <td class="md" nowrap valign="top"> char <a class="el" href="classchanrec.html#o9">chanrec::binarymodes</a> </table> </td> </tr> @@ -721,22 +625,22 @@ Definition at line <a class="el" href="channels_8h-source.html#l00168">168</a> o <td> <p> -Nonzero if the mode +p is set. +Contains a bitmask of the CM_* builtin (RFC) binary mode symbols. <p> -This value cannot be set at the same time as <a class="el" href="classchanrec.html#o14">chanrec::secret</a> + <p> -Definition at line <a class="el" href="channels_8h-source.html#l00164">164</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#l00145">145</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#l00113">chanrec()</a>. </td> </tr> </table> -<a name="o5" doxytag="chanrec::created"></a><p> +<a name="o4" doxytag="chanrec::created"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> time_t <a class="el" href="classchanrec.html#o5">chanrec::created</a> + <td class="md" nowrap valign="top"> time_t <a class="el" href="classchanrec.html#o4">chanrec::created</a> </table> </td> </tr> @@ -753,7 +657,7 @@ Creation time. <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>. +Definition at line <a class="el" href="channels_8h-source.html#l00123">123</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#l00113">chanrec()</a>. </td> </tr> @@ -781,18 +685,18 @@ Custom modes for the channel. <p> Plugins may use this field in any way they see fit. <p> -Definition at line <a class="el" href="channels_8h-source.html#l00103">103</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#l00110">110</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#l00113">chanrec()</a>, and <a class="el" href="channels_8cpp-source.html#l00125">SetCustomMode()</a>. </td> </tr> </table> -<a name="o3" doxytag="chanrec::internal_userlist"></a><p> +<a name="o2" doxytag="chanrec::internal_userlist"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> std::vector<char*> <a class="el" href="classchanrec.html#o3">chanrec::internal_userlist</a> + <td class="md" nowrap valign="top"> std::vector<char*> <a class="el" href="classchanrec.html#o2">chanrec::internal_userlist</a> </table> </td> </tr> @@ -809,46 +713,18 @@ User list (casted to char*'s to stop forward declaration stuff) (chicken and egg <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>. -<p> -Referenced by <a class="el" href="channels_8cpp-source.html#l00215">AddUser()</a>, <a class="el" href="channels_8cpp-source.html#l00113">chanrec()</a>, <a class="el" href="channels_8cpp-source.html#l00221">DelUser()</a>, <a class="el" href="channels_8cpp-source.html#l00210">GetUserCounter()</a>, and <a class="el" href="channels_8cpp-source.html#l00235">GetUsers()</a>. </td> - </tr> -</table> -<a name="o12" doxytag="chanrec::inviteonly"></a><p> -<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> - <tr> - <td class="mdRow"> - <table cellpadding="0" cellspacing="0" border="0"> - <tr> - <td class="md" nowrap valign="top"> short int <a class="el" href="classchanrec.html#o12">chanrec::inviteonly</a> - </table> - </td> - </tr> -</table> -<table cellspacing=5 cellpadding=0 border=0> - <tr> - <td> - - </td> - <td> - -<p> -Nonzero if the mode +i is set. -<p> - -<p> -Definition at line <a class="el" href="channels_8h-source.html#l00150">150</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#l00115">115</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#l00113">chanrec()</a>. </td> +Referenced by <a class="el" href="channels_8cpp-source.html#l00207">AddUser()</a>, <a class="el" href="channels_8cpp-source.html#l00113">chanrec()</a>, <a class="el" href="channels_8cpp-source.html#l00213">DelUser()</a>, <a class="el" href="channels_8cpp-source.html#l00202">GetUserCounter()</a>, and <a class="el" href="channels_8cpp-source.html#l00227">GetUsers()</a>. </td> </tr> </table> -<a name="o9" doxytag="chanrec::key"></a><p> +<a name="o8" doxytag="chanrec::key"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> char <a class="el" href="classchanrec.html#o9">chanrec::key</a>[32] + <td class="md" nowrap valign="top"> char <a class="el" href="classchanrec.html#o8">chanrec::key</a>[32] </table> </td> </tr> @@ -865,18 +741,18 @@ Contains the channel key. <p> If this value is an empty string, there is no channel key in place. <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_8h-source.html#l00141">141</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#l00113">chanrec()</a>. </td> </tr> </table> -<a name="o8" doxytag="chanrec::limit"></a><p> +<a name="o7" doxytag="chanrec::limit"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> long <a class="el" href="classchanrec.html#o8">chanrec::limit</a> + <td class="md" nowrap valign="top"> short int <a class="el" href="classchanrec.html#o7">chanrec::limit</a> </table> </td> </tr> @@ -893,35 +769,7 @@ 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#l00133">133</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#l00113">chanrec()</a>. </td> - </tr> -</table> -<a name="o13" doxytag="chanrec::moderated"></a><p> -<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> - <tr> - <td class="mdRow"> - <table cellpadding="0" cellspacing="0" border="0"> - <tr> - <td class="md" nowrap valign="top"> short int <a class="el" href="classchanrec.html#o13">chanrec::moderated</a> - </table> - </td> - </tr> -</table> -<table cellspacing=5 cellpadding=0 border=0> - <tr> - <td> - - </td> - <td> - -<p> -Nonzero if the mode +m is set. -<p> - -<p> -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>. +Definition at line <a class="el" href="channels_8h-source.html#l00136">136</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#l00113">chanrec()</a>. </td> </tr> @@ -949,74 +797,18 @@ The channels name. <p> <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>. -<p> -Referenced by <a class="el" href="channels_8cpp-source.html#l00113">chanrec()</a>, <a class="el" href="channels_8cpp-source.html#l00221">DelUser()</a>, and <a class="el" href="modules_8cpp-source.html#l00699">Server::PseudoToUser()</a>. </td> - </tr> -</table> -<a name="o11" doxytag="chanrec::noexternal"></a><p> -<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> - <tr> - <td class="mdRow"> - <table cellpadding="0" cellspacing="0" border="0"> - <tr> - <td class="md" nowrap valign="top"> short int <a class="el" href="classchanrec.html#o11">chanrec::noexternal</a> - </table> - </td> - </tr> -</table> -<table cellspacing=5 cellpadding=0 border=0> - <tr> - <td> - - </td> - <td> - -<p> -Nonzero if the mode +n is set. -<p> - -<p> -Definition at line <a class="el" href="channels_8h-source.html#l00146">146</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#l00113">chanrec()</a>. </td> - </tr> -</table> -<a name="o14" doxytag="chanrec::secret"></a><p> -<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> - <tr> - <td class="mdRow"> - <table cellpadding="0" cellspacing="0" border="0"> - <tr> - <td class="md" nowrap valign="top"> short int <a class="el" href="classchanrec.html#o14">chanrec::secret</a> - </table> - </td> - </tr> -</table> -<table cellspacing=5 cellpadding=0 border=0> - <tr> - <td> - - </td> - <td> - -<p> -Nonzero if the mode +s is set. -<p> -This value cannot be set at the same time as <a class="el" href="classchanrec.html#o15">chanrec::c_private</a> -<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>. +Definition at line <a class="el" href="channels_8h-source.html#l00106">106</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. <p> -Referenced by <a class="el" href="channels_8cpp-source.html#l00113">chanrec()</a>. </td> +Referenced by <a class="el" href="channels_8cpp-source.html#l00113">chanrec()</a>, <a class="el" href="channels_8cpp-source.html#l00213">DelUser()</a>, and <a class="el" href="modules_8cpp-source.html#l00700">Server::PseudoToUser()</a>. </td> </tr> </table> -<a name="o7" doxytag="chanrec::setby"></a><p> +<a name="o6" doxytag="chanrec::setby"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> char <a class="el" href="classchanrec.html#o7">chanrec::setby</a>[NICKMAX] + <td class="md" nowrap valign="top"> char <a class="el" href="classchanrec.html#o6">chanrec::setby</a>[NICKMAX] </table> </td> </tr> @@ -1033,18 +825,18 @@ The last user to set the topic. <p> If this member is an empty string, no topic was ever set. <p> -Definition at line <a class="el" href="channels_8h-source.html#l00128">128</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#l00131">131</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. <p> -Referenced by <a class="el" href="channels_8cpp-source.html#l00113">chanrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00699">Server::PseudoToUser()</a>. </td> +Referenced by <a class="el" href="channels_8cpp-source.html#l00113">chanrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00700">Server::PseudoToUser()</a>. </td> </tr> </table> -<a name="o4" doxytag="chanrec::topic"></a><p> +<a name="o3" doxytag="chanrec::topic"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> char <a class="el" href="classchanrec.html#o4">chanrec::topic</a>[MAXBUF] + <td class="md" nowrap valign="top"> char <a class="el" href="classchanrec.html#o3">chanrec::topic</a>[MAXBUF] </table> </td> </tr> @@ -1061,46 +853,18 @@ Channel topic. <p> If this is an empty string, no channel topic is set. <p> -Definition at line <a class="el" href="channels_8h-source.html#l00117">117</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#l00113">chanrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00699">Server::PseudoToUser()</a>. </td> - </tr> -</table> -<a name="o10" doxytag="chanrec::topiclock"></a><p> -<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> - <tr> - <td class="mdRow"> - <table cellpadding="0" cellspacing="0" border="0"> - <tr> - <td class="md" nowrap valign="top"> short int <a class="el" href="classchanrec.html#o10">chanrec::topiclock</a> - </table> - </td> - </tr> -</table> -<table cellspacing=5 cellpadding=0 border=0> - <tr> - <td> - - </td> - <td> - -<p> -Nonzero if the mode +t is set. -<p> - -<p> -Definition at line <a class="el" href="channels_8h-source.html#l00142">142</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#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#l00113">chanrec()</a>. </td> +Referenced by <a class="el" href="channels_8cpp-source.html#l00113">chanrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00700">Server::PseudoToUser()</a>. </td> </tr> </table> -<a name="o6" doxytag="chanrec::topicset"></a><p> +<a name="o5" doxytag="chanrec::topicset"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> time_t <a class="el" href="classchanrec.html#o6">chanrec::topicset</a> + <td class="md" nowrap valign="top"> time_t <a class="el" href="classchanrec.html#o5">chanrec::topicset</a> </table> </td> </tr> @@ -1115,44 +879,16 @@ Referenced by <a class="el" href="channels_8cpp-source.html#l00113">chanrec()</a <p> Time topic was set. <p> -If no topic was ever set, this will be equal to <a class="el" href="classchanrec.html#o5">chanrec::created</a> +If no topic was ever set, this will be equal to <a class="el" href="classchanrec.html#o4">chanrec::created</a> <p> -Definition at line <a class="el" href="channels_8h-source.html#l00124">124</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#l00127">127</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. <p> -Referenced by <a class="el" href="channels_8cpp-source.html#l00113">chanrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00699">Server::PseudoToUser()</a>. </td> - </tr> -</table> -<a name="o2" doxytag="chanrec::users"></a><p> -<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> - <tr> - <td class="mdRow"> - <table cellpadding="0" cellspacing="0" border="0"> - <tr> - <td class="md" nowrap valign="top"> long <a class="el" href="classchanrec.html#o2">chanrec::users</a> - </table> - </td> - </tr> -</table> -<table cellspacing=5 cellpadding=0 border=0> - <tr> - <td> - - </td> - <td> - -<p> -Count of users on the channel used for fast user counting. -<p> - -<p> -Definition at line <a class="el" href="channels_8h-source.html#l00107">107</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#l00113">chanrec()</a>. </td> +Referenced by <a class="el" href="channels_8cpp-source.html#l00113">chanrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00700">Server::PseudoToUser()</a>. </td> </tr> </table> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="channels_8h-source.html">channels.h</a><li><a class="el" href="channels_8cpp-source.html">channels.cpp</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:18 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:01 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classclassbase-members.html b/docs/module-doc/classclassbase-members.html index 8719bfe9c..50d9c0fa1 100644 --- a/docs/module-doc/classclassbase-members.html +++ b/docs/module-doc/classclassbase-members.html @@ -9,7 +9,7 @@ <tr class="memlist"><td><a class="el" href="classclassbase.html#o0">age</a></td><td><a class="el" href="classclassbase.html">classbase</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a0">classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:18 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:01 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classclassbase.html b/docs/module-doc/classclassbase.html index 26b2e35d1..b954122c8 100644 --- a/docs/module-doc/classclassbase.html +++ b/docs/module-doc/classclassbase.html @@ -132,7 +132,7 @@ Referenced by <a class="el" href="base_8h-source.html#l00039">classbase()</a>. </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="base_8h-source.html">base.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:18 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:01 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classcommand__t-members.html b/docs/module-doc/classcommand__t-members.html index f0d330dbb..576a008c9 100644 --- a/docs/module-doc/classcommand__t-members.html +++ b/docs/module-doc/classcommand__t-members.html @@ -19,7 +19,7 @@ <tr class="memlist"><td><a class="el" href="classcommand__t.html#o5">total_bytes</a></td><td><a class="el" href="classcommand__t.html">command_t</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classcommand__t.html#o4">use_count</a></td><td><a class="el" href="classcommand__t.html">command_t</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:19 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:01 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classcommand__t.html b/docs/module-doc/classcommand__t.html index 6139dbf21..43fda70c5 100644 --- a/docs/module-doc/classcommand__t.html +++ b/docs/module-doc/classcommand__t.html @@ -227,7 +227,7 @@ Definition at line <a class="el" href="ctables_8h-source.html#l00043">43</a> of </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="ctables_8h-source.html">ctables.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:19 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:01 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classconnection-members.html b/docs/module-doc/classconnection-members.html index fd2767af3..2ba7e65d4 100644 --- a/docs/module-doc/classconnection-members.html +++ b/docs/module-doc/classconnection-members.html @@ -9,38 +9,34 @@ <tr class="memlist"><td><a class="el" href="classconnection.html#a8">AddIncoming</a>(int fd, char *targethost, int sourceport)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#o0">age</a></td><td><a class="el" href="classclassbase.html">classbase</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classconnection.html#a2">BeginLink</a>(char *targethost, int port, char *password, char *servername, int myport)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classconnection.html#o4">bytes_in</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classconnection.html#o5">bytes_out</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classconnection.html#o3">bytes_in</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classconnection.html#o4">bytes_out</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a0">classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classconnection.html#o6">cmds_in</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classconnection.html#o7">cmds_out</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classconnection.html#o5">cmds_in</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classconnection.html#o6">cmds_out</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classconnection.html#a0">connection</a>()</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classconnection.html#o18">connectors</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classconnection.html#o14">connectors</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classconnection.html#a1">CreateListener</a>(char *host, int p)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classExtensible.html#a0">Extend</a>(std::string key, char *p)</td><td><a class="el" href="classExtensible.html">Extensible</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classconnection.html#o0">fd</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classconnection.html#a7">FindHost</a>(std::string host)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classExtensible.html#a2">GetExt</a>(std::string key)</td><td><a class="el" href="classExtensible.html">Extensible</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classconnection.html#o8">haspassed</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classconnection.html#o7">haspassed</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classconnection.html#o1">host</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classconnection.html#o14">idle_lastmsg</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classconnection.html#o3">inbuf</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classconnection.html#o16">internal_addr</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classconnection.html#o17">internal_port</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classconnection.html#o12">idle_lastmsg</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classconnection.html#o2">ip</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classconnection.html#o12">lastping</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classconnection.html#o10">lastping</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classconnection.html#a3">MeshCookie</a>(char *targethost, int port, unsigned long cookie, char *servername)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classconnection.html#o15">nping</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classconnection.html#o9">port</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classconnection.html#o13">nping</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classconnection.html#o8">port</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classconnection.html#a6">RecvPacket</a>(std::deque< std::string > &messages, char *host)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classconnection.html#o10">registered</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classconnection.html#o9">registered</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classconnection.html#a5">SendPacket</a>(char *message, const char *host)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classExtensible.html#a1">Shrink</a>(std::string key)</td><td><a class="el" href="classExtensible.html">Extensible</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classconnection.html#o13">signon</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classconnection.html#o11">state</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classconnection.html#o11">signon</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classconnection.html#a4">TerminateLink</a>(char *targethost)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr class="memlist"><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 size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:20 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:02 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classconnection.html b/docs/module-doc/classconnection.html index 784fc69e3..0a13449ff 100644 --- a/docs/module-doc/classconnection.html +++ b/docs/module-doc/classconnection.html @@ -23,10 +23,10 @@ Inherited by <a class="el" href="classserverrec.html">serverrec</a>, and <a clas <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classconnection.html#a1">CreateListener</a> (char *<a class="el" href="classconnection.html#o1">host</a>, int p)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Create a listening socket on 'host' using port number 'p'. </em> <a href="#a1"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classconnection.html#a2">BeginLink</a> (char *targethost, int <a class="el" href="classconnection.html#o9">port</a>, char *password, char *servername, int myport)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classconnection.html#a2">BeginLink</a> (char *targethost, int <a class="el" href="classconnection.html#o8">port</a>, char *password, char *servername, int myport)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Begin an outbound link to another ircd at targethost. </em> <a href="#a2"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classconnection.html#a3">MeshCookie</a> (char *targethost, int <a class="el" href="classconnection.html#o9">port</a>, unsigned long cookie, char *servername)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classconnection.html#a3">MeshCookie</a> (char *targethost, int <a class="el" href="classconnection.html#o8">port</a>, unsigned long cookie, char *servername)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Begin an outbound mesh link to another ircd on a network you are already an authenticated member of. </em> <a href="#a3"></a><em><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classconnection.html#a4">TerminateLink</a> (char *targethost)</td></tr> @@ -48,60 +48,48 @@ Inherited by <a class="el" href="classserverrec.html">serverrec</a>, and <a clas <tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="classconnection.html#o0">fd</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">File descriptor of the connection. </em> <a href="#o0"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="classconnection.html#o1">host</a> [256]</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="classconnection.html#o1">host</a> [160]</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Hostname of connection. </em> <a href="#o1"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="classconnection.html#o2">ip</a> [32]</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="classconnection.html#o2">ip</a> [16]</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">IP of connection. </em> <a href="#o2"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="classconnection.html#o3">inbuf</a> [MAXBUF]</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>long </td><td class="memItemRight" valign=bottom><a class="el" href="classconnection.html#o3">bytes_in</a></td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Inbuf of connection. </em> <a href="#o3"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>long </td><td class="memItemRight" valign=bottom><a class="el" href="classconnection.html#o4">bytes_in</a></td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Stats counter for bytes inbound. </em> <a href="#o3"></a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>long </td><td class="memItemRight" valign=bottom><a class="el" href="classconnection.html#o4">bytes_out</a></td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Stats counter for bytes inbound. </em> <a href="#o4"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>long </td><td class="memItemRight" valign=bottom><a class="el" href="classconnection.html#o5">bytes_out</a></td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Stats counter for bytes outbound. </em> <a href="#o4"></a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>long </td><td class="memItemRight" valign=bottom><a class="el" href="classconnection.html#o5">cmds_in</a></td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Stats counter for bytes outbound. </em> <a href="#o5"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>long </td><td class="memItemRight" valign=bottom><a class="el" href="classconnection.html#o6">cmds_in</a></td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Stats counter for commands inbound. </em> <a href="#o5"></a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>long </td><td class="memItemRight" valign=bottom><a class="el" href="classconnection.html#o6">cmds_out</a></td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Stats counter for commands inbound. </em> <a href="#o6"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>long </td><td class="memItemRight" valign=bottom><a class="el" href="classconnection.html#o7">cmds_out</a></td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Stats counter for commands outbound. </em> <a href="#o6"></a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classconnection.html#o7">haspassed</a></td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Stats counter for commands outbound. </em> <a href="#o7"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classconnection.html#o8">haspassed</a></td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">True if server/user has authenticated, false if otherwise. </em> <a href="#o7"></a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="classconnection.html#o8">port</a></td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">True if server/user has authenticated, false if otherwise. </em> <a href="#o8"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="classconnection.html#o9">port</a></td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Port number For a userrec, this is the port they connected to the network on. </em> <a href="#o8"></a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="classconnection.html#o9">registered</a></td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Port number For a userrec, this is the port they connected to the network on. </em> <a href="#o9"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="classconnection.html#o10">registered</a></td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Used by userrec to indicate the registration status of the connection. </em> <a href="#o9"></a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>time_t </td><td class="memItemRight" valign=bottom><a class="el" href="classconnection.html#o10">lastping</a></td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Used by userrec to indicate the registration status of the connection. </em> <a href="#o10"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>short int </td><td class="memItemRight" valign=bottom><a class="el" href="classconnection.html#o11">state</a></td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Time the connection was last pinged. </em> <a href="#o10"></a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>time_t </td><td class="memItemRight" valign=bottom><a class="el" href="classconnection.html#o11">signon</a></td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Reserved for future use. </em> <a href="#o11"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>time_t </td><td class="memItemRight" valign=bottom><a class="el" href="classconnection.html#o12">lastping</a></td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Time the connection was created, set in the constructor. </em> <a href="#o11"></a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>time_t </td><td class="memItemRight" valign=bottom><a class="el" href="classconnection.html#o12">idle_lastmsg</a></td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Time the connection was last pinged. </em> <a href="#o12"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>time_t </td><td class="memItemRight" valign=bottom><a class="el" href="classconnection.html#o13">signon</a></td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Time that the connection last sent data, used to calculate idle time. </em> <a href="#o12"></a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>time_t </td><td class="memItemRight" valign=bottom><a class="el" href="classconnection.html#o13">nping</a></td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Time the connection was created, set in the constructor. </em> <a href="#o13"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>time_t </td><td class="memItemRight" valign=bottom><a class="el" href="classconnection.html#o14">idle_lastmsg</a></td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Used by PING checks with clients. </em> <a href="#o13"></a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< <a class="el" href="classircd__connector.html">ircd_connector</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="classconnection.html#o14">connectors</a></td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Time that the connection last sent data, used to calculate idle time. </em> <a href="#o14"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>time_t </td><td class="memItemRight" valign=bottom><a class="el" href="classconnection.html#o15">nping</a></td></tr> - -<tr><td class="mdescLeft"> </td><td class="mdescRight">Used by PING checks with clients. </em> <a href="#o15"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="classconnection.html#o16">internal_addr</a> [MAXBUF]</td></tr> - -<tr><td class="mdescLeft"> </td><td class="mdescRight">Unused, will be removed in a future alpha/beta. </em> <a href="#o16"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="classconnection.html#o17">internal_port</a></td></tr> - -<tr><td class="mdescLeft"> </td><td class="mdescRight">Unused, will be removed in a future alpha/beta. </em> <a href="#o17"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< <a class="el" href="classircd__connector.html">ircd_connector</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="classconnection.html#o18">connectors</a></td></tr> - -<tr><td class="mdescLeft"> </td><td class="mdescRight">With a serverrec, this is a list of all established server connections. </em> <a href="#o18"></a><em><br><br></td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">With a serverrec, this is a list of all established server connections. </em> <a href="#o14"></a><em><br><br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Please note: classes serverrec and userrec both inherit from class connection. @@ -479,13 +467,13 @@ Terminate a link to 'targethost' by calling the <a class="el" href="classircd__c </tr> </table> <hr><h2>Member Data Documentation</h2> -<a name="o4" doxytag="connection::bytes_in"></a><p> +<a name="o3" doxytag="connection::bytes_in"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> long <a class="el" href="classconnection.html#o4">connection::bytes_in</a> + <td class="md" nowrap valign="top"> long <a class="el" href="classconnection.html#o3">connection::bytes_in</a> </table> </td> </tr> @@ -502,18 +490,18 @@ Stats counter for bytes inbound. <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00231">231</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. +Definition at line <a class="el" href="connection_8h-source.html#l00227">227</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. <p> Referenced by <a class="el" href="users_8cpp-source.html#l00028">userrec::userrec()</a>. </td> </tr> </table> -<a name="o5" doxytag="connection::bytes_out"></a><p> +<a name="o4" doxytag="connection::bytes_out"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> long <a class="el" href="classconnection.html#o5">connection::bytes_out</a> + <td class="md" nowrap valign="top"> long <a class="el" href="classconnection.html#o4">connection::bytes_out</a> </table> </td> </tr> @@ -530,18 +518,18 @@ Stats counter for bytes outbound. <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00235">235</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. +Definition at line <a class="el" href="connection_8h-source.html#l00231">231</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. <p> -Referenced by <a class="el" href="users_8cpp-source.html#l00242">userrec::FlushWriteBuf()</a>, and <a class="el" href="users_8cpp-source.html#l00028">userrec::userrec()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00241">userrec::FlushWriteBuf()</a>, and <a class="el" href="users_8cpp-source.html#l00028">userrec::userrec()</a>. </td> </tr> </table> -<a name="o6" doxytag="connection::cmds_in"></a><p> +<a name="o5" doxytag="connection::cmds_in"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> long <a class="el" href="classconnection.html#o6">connection::cmds_in</a> + <td class="md" nowrap valign="top"> long <a class="el" href="classconnection.html#o5">connection::cmds_in</a> </table> </td> </tr> @@ -558,18 +546,18 @@ Stats counter for commands inbound. <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00239">239</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#l00235">235</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#l00028">userrec::userrec()</a>. </td> </tr> </table> -<a name="o7" doxytag="connection::cmds_out"></a><p> +<a name="o6" doxytag="connection::cmds_out"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> long <a class="el" href="classconnection.html#o7">connection::cmds_out</a> + <td class="md" nowrap valign="top"> long <a class="el" href="classconnection.html#o6">connection::cmds_out</a> </table> </td> </tr> @@ -586,18 +574,18 @@ Stats counter for commands outbound. <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00243">243</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#l00239">239</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#l00242">userrec::FlushWriteBuf()</a>, and <a class="el" href="users_8cpp-source.html#l00028">userrec::userrec()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00241">userrec::FlushWriteBuf()</a>, and <a class="el" href="users_8cpp-source.html#l00028">userrec::userrec()</a>. </td> </tr> </table> -<a name="o18" doxytag="connection::connectors"></a><p> +<a name="o14" doxytag="connection::connectors"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> std::vector<<a class="el" href="classircd__connector.html">ircd_connector</a>> <a class="el" href="classconnection.html#o18">connection::connectors</a> + <td class="md" nowrap valign="top"> std::vector<<a class="el" href="classircd__connector.html">ircd_connector</a>> <a class="el" href="classconnection.html#o14">connection::connectors</a> </table> </td> </tr> @@ -614,7 +602,7 @@ With a serverrec, this is a list of all established server connections. <p> With a userrec this is unused. <p> -Definition at line <a class="el" href="connection_8h-source.html#l00290">290</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#l00274">274</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> </tr> </table> <a name="o0" doxytag="connection::fd"></a><p> @@ -642,16 +630,16 @@ File descriptor of the connection. <p> Definition at line <a class="el" href="connection_8h-source.html#l00215">215</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00966">ConfigReader::DumpErrors()</a>, <a class="el" href="modules_8cpp-source.html#l00699">Server::PseudoToUser()</a>, <a class="el" href="modules_8cpp-source.html#l00528">Server::SendTo()</a>, <a class="el" href="servers_8cpp-source.html#l00026">serverrec::serverrec()</a>, <a class="el" href="users_8cpp-source.html#l00028">userrec::userrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00680">Server::UserToPseudo()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00967">ConfigReader::DumpErrors()</a>, <a class="el" href="modules_8cpp-source.html#l00700">Server::PseudoToUser()</a>, <a class="el" href="modules_8cpp-source.html#l00529">Server::SendTo()</a>, <a class="el" href="servers_8cpp-source.html#l00026">serverrec::serverrec()</a>, <a class="el" href="users_8cpp-source.html#l00028">userrec::userrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00681">Server::UserToPseudo()</a>. </td> </tr> </table> -<a name="o8" doxytag="connection::haspassed"></a><p> +<a name="o7" doxytag="connection::haspassed"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> bool <a class="el" href="classconnection.html#o8">connection::haspassed</a> + <td class="md" nowrap valign="top"> bool <a class="el" href="classconnection.html#o7">connection::haspassed</a> </table> </td> </tr> @@ -668,7 +656,7 @@ True if server/user has authenticated, false if otherwise. <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00247">247</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#l00243">243</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#l00028">userrec::userrec()</a>. </td> </tr> @@ -679,7 +667,7 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00028">userrec::userre <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> char <a class="el" href="classconnection.html#o1">connection::host</a>[256] + <td class="md" nowrap valign="top"> char <a class="el" href="classconnection.html#o1">connection::host</a>[160] </table> </td> </tr> @@ -698,16 +686,16 @@ Not used if this is a serverrec <p> Definition at line <a class="el" href="connection_8h-source.html#l00219">219</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. <p> -Referenced by <a class="el" href="users_8cpp-source.html#l00069">userrec::GetFullRealHost()</a>, <a class="el" href="modules_8cpp-source.html#l00699">Server::PseudoToUser()</a>, <a class="el" href="users_8cpp-source.html#l00028">userrec::userrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00680">Server::UserToPseudo()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00068">userrec::GetFullRealHost()</a>, <a class="el" href="modules_8cpp-source.html#l00700">Server::PseudoToUser()</a>, <a class="el" href="users_8cpp-source.html#l00028">userrec::userrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00681">Server::UserToPseudo()</a>. </td> </tr> </table> -<a name="o14" doxytag="connection::idle_lastmsg"></a><p> +<a name="o12" doxytag="connection::idle_lastmsg"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> time_t <a class="el" href="classconnection.html#o14">connection::idle_lastmsg</a> + <td class="md" nowrap valign="top"> time_t <a class="el" href="classconnection.html#o12">connection::idle_lastmsg</a> </table> </td> </tr> @@ -724,98 +712,18 @@ Time that the connection last sent data, used to calculate idle time. <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00273">273</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#l00028">userrec::userrec()</a>. </td> - </tr> -</table> -<a name="o3" doxytag="connection::inbuf"></a><p> -<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> - <tr> - <td class="mdRow"> - <table cellpadding="0" cellspacing="0" border="0"> - <tr> - <td class="md" nowrap valign="top"> char <a class="el" href="classconnection.html#o3">connection::inbuf</a>[MAXBUF] - </table> - </td> - </tr> -</table> -<table cellspacing=5 cellpadding=0 border=0> - <tr> - <td> - - </td> - <td> - -<p> -Inbuf of connection. -<p> -Only used for userrec -<p> -Definition at line <a class="el" href="connection_8h-source.html#l00227">227</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. +Definition at line <a class="el" href="connection_8h-source.html#l00265">265</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#l00028">userrec::userrec()</a>. </td> </tr> </table> -<a name="o16" doxytag="connection::internal_addr"></a><p> -<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> - <tr> - <td class="mdRow"> - <table cellpadding="0" cellspacing="0" border="0"> - <tr> - <td class="md" nowrap valign="top"> char <a class="el" href="classconnection.html#o16">connection::internal_addr</a>[MAXBUF] - </table> - </td> - </tr> -</table> -<table cellspacing=5 cellpadding=0 border=0> - <tr> - <td> - - </td> - <td> - -<p> -Unused, will be removed in a future alpha/beta. -<p> - -<p> -Definition at line <a class="el" href="connection_8h-source.html#l00281">281</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> - </tr> -</table> -<a name="o17" doxytag="connection::internal_port"></a><p> -<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> - <tr> - <td class="mdRow"> - <table cellpadding="0" cellspacing="0" border="0"> - <tr> - <td class="md" nowrap valign="top"> int <a class="el" href="classconnection.html#o17">connection::internal_port</a> - </table> - </td> - </tr> -</table> -<table cellspacing=5 cellpadding=0 border=0> - <tr> - <td> - - </td> - <td> - -<p> -Unused, will be removed in a future alpha/beta. -<p> - -<p> -Definition at line <a class="el" href="connection_8h-source.html#l00285">285</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> - </tr> -</table> <a name="o2" doxytag="connection::ip"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> char <a class="el" href="classconnection.html#o2">connection::ip</a>[32] + <td class="md" nowrap valign="top"> char <a class="el" href="classconnection.html#o2">connection::ip</a>[16] </table> </td> </tr> @@ -830,20 +738,20 @@ Definition at line <a class="el" href="connection_8h-source.html#l00285">285</a> <p> IP of connection. <p> -Reserved for future use. + <p> Definition at line <a class="el" href="connection_8h-source.html#l00223">223</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. <p> Referenced by <a class="el" href="users_8cpp-source.html#l00028">userrec::userrec()</a>. </td> </tr> </table> -<a name="o12" doxytag="connection::lastping"></a><p> +<a name="o10" doxytag="connection::lastping"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> time_t <a class="el" href="classconnection.html#o12">connection::lastping</a> + <td class="md" nowrap valign="top"> time_t <a class="el" href="classconnection.html#o10">connection::lastping</a> </table> </td> </tr> @@ -860,18 +768,18 @@ Time the connection was last pinged. <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00265">265</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#l00257">257</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#l00026">serverrec::serverrec()</a>, and <a class="el" href="users_8cpp-source.html#l00028">userrec::userrec()</a>. </td> </tr> </table> -<a name="o15" doxytag="connection::nping"></a><p> +<a name="o13" doxytag="connection::nping"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> time_t <a class="el" href="classconnection.html#o15">connection::nping</a> + <td class="md" nowrap valign="top"> time_t <a class="el" href="classconnection.html#o13">connection::nping</a> </table> </td> </tr> @@ -888,18 +796,18 @@ Used by PING checks with clients. <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00277">277</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#l00269">269</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#l00028">userrec::userrec()</a>. </td> </tr> </table> -<a name="o9" doxytag="connection::port"></a><p> +<a name="o8" doxytag="connection::port"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> int <a class="el" href="classconnection.html#o9">connection::port</a> + <td class="md" nowrap valign="top"> int <a class="el" href="classconnection.html#o8">connection::port</a> </table> </td> </tr> @@ -916,18 +824,18 @@ Port number For a userrec, this is the port they connected to the network on. <p> For a serverrec this is the current listening port of the serverrec object. <p> -Definition at line <a class="el" href="connection_8h-source.html#l00253">253</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#l00249">249</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#l00028">userrec::userrec()</a>. </td> </tr> </table> -<a name="o10" doxytag="connection::registered"></a><p> +<a name="o9" doxytag="connection::registered"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> int <a class="el" href="classconnection.html#o10">connection::registered</a> + <td class="md" nowrap valign="top"> char <a class="el" href="classconnection.html#o9">connection::registered</a> </table> </td> </tr> @@ -944,18 +852,18 @@ Used by userrec to indicate the registration status of the connection. <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00257">257</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#l00253">253</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#l00028">userrec::userrec()</a>. </td> </tr> </table> -<a name="o13" doxytag="connection::signon"></a><p> +<a name="o11" doxytag="connection::signon"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> time_t <a class="el" href="classconnection.html#o13">connection::signon</a> + <td class="md" nowrap valign="top"> time_t <a class="el" href="classconnection.html#o11">connection::signon</a> </table> </td> </tr> @@ -972,40 +880,14 @@ Time the connection was created, set in the constructor. <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00269">269</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#l00261">261</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#l00026">serverrec::serverrec()</a>, and <a class="el" href="users_8cpp-source.html#l00028">userrec::userrec()</a>. </td> </tr> </table> -<a name="o11" doxytag="connection::state"></a><p> -<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> - <tr> - <td class="mdRow"> - <table cellpadding="0" cellspacing="0" border="0"> - <tr> - <td class="md" nowrap valign="top"> short int <a class="el" href="classconnection.html#o11">connection::state</a> - </table> - </td> - </tr> -</table> -<table cellspacing=5 cellpadding=0 border=0> - <tr> - <td> - - </td> - <td> - -<p> -Reserved for future use. -<p> - -<p> -Definition at line <a class="el" href="connection_8h-source.html#l00261">261</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 size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:20 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:02 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classes.html b/docs/module-doc/classes.html index 1b3c4ae56..b40a1960b 100644 --- a/docs/module-doc/classes.html +++ b/docs/module-doc/classes.html @@ -8,24 +8,25 @@ <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="classDNS.html">DNS</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="classserverrec.html">serverrec</a> </td></tr><tr><td><a class="el" href="classAdmin.html">Admin</a> </td><td><a class="el" href="structdns__ip4list.html">dns_ip4list</a> </td><td><a class="el" href="classHostItem.html">HostItem</a> </td><td><a class="el" href="classModuleMessage.html">ModuleMessage</a> </td><td><a class="el" href="structStrHashComp.html">StrHashComp</a> </td></tr><tr><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> B </div></td></tr></table> +</td><td><a class="el" href="classModuleFactory.html">ModuleFactory</a> </td><td><a class="el" href="structStrHashComp.html">StrHashComp</a> </td></tr><tr><td><a class="el" href="classAdmin.html">Admin</a> </td><td><a class="el" href="structdns__ip4list.html">dns_ip4list</a> </td><td><a class="el" href="classHostItem.html">HostItem</a> </td><td><a class="el" href="classModuleMessage.html">ModuleMessage</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><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> E </div></td></tr></table> </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> I </div></td></tr></table> </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> N </div></td></tr></table> -</td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> U </div></td></tr></table> -</td></tr><tr><td><a class="el" href="classBanItem.html">BanItem</a> </td><td><a class="el" href="classELine.html">ELine</a> </td><td><a class="el" href="structInAddr__HashComp.html">InAddr_HashComp</a> </td><td><a class="el" href="structnspace_1_1nspace_1_1hash_3_01in__addr_01_4.html">nspace::hash< in_addr ></a> (<a class="el" href="namespacenspace.html">nspace</a>) </td><td><a class="el" href="classucrec.html">ucrec</a> </td></tr><tr><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> C </div></td></tr></table> -</td><td><a class="el" href="classEvent.html">Event</a> </td><td><a class="el" href="classInvited.html">Invited</a> </td><td><a class="el" href="structnspace_1_1nspace_1_1hash_3_01string_01_4.html">nspace::hash< string ></a> (<a class="el" href="namespacenspace.html">nspace</a>) </td><td><a class="el" href="classuserrec.html">userrec</a> </td></tr><tr><td><a class="el" href="classchanrec.html">chanrec</a> </td><td><a class="el" href="classExemptItem.html">ExemptItem</a> </td><td><a class="el" href="classInviteItem.html">InviteItem</a> </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> Q </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="classclassbase.html">classbase</a> </td><td><a class="el" href="classExtensible.html">Extensible</a> </td><td><a class="el" href="classircd__connector.html">ircd_connector</a> </td><td><a class="el" href="classQLine.html">QLine</a> </td><td><a class="el" href="classVersion.html">Version</a> </td></tr><tr><td><a class="el" href="classcommand__t.html">command_t</a> </td><td><a class="el" href="classExtMode.html">ExtMode</a> </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> K </div></td></tr></table> +</td><td><a class="el" href="classucrec.html">ucrec</a> </td></tr><tr><td><a class="el" href="classBanItem.html">BanItem</a> </td><td><a class="el" href="classELine.html">ELine</a> </td><td><a class="el" href="structInAddr__HashComp.html">InAddr_HashComp</a> </td><td><a class="el" href="structnspace_1_1nspace_1_1hash_3_01in__addr_01_4.html">nspace::hash< in_addr ></a> (<a class="el" href="namespacenspace.html">nspace</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="classEvent.html">Event</a> </td><td><a class="el" href="classInvited.html">Invited</a> </td><td><a class="el" href="structnspace_1_1nspace_1_1hash_3_01string_01_4.html">nspace::hash< string ></a> (<a class="el" href="namespacenspace.html">nspace</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="classInviteItem.html">InviteItem</a> </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> Q </div></td></tr></table> +</td><td><a class="el" href="classVersion.html">Version</a> </td></tr><tr><td><a class="el" href="classclassbase.html">classbase</a> </td><td><a class="el" href="classExtensible.html">Extensible</a> </td><td><a class="el" href="classircd__connector.html">ircd_connector</a> </td><td><a class="el" href="classQLine.html">QLine</a> </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> W </div></td></tr></table> +</td></tr><tr><td><a class="el" href="classcommand__t.html">command_t</a> </td><td><a class="el" href="classExtMode.html">ExtMode</a> </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> K </div></td></tr></table> </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> R </div></td></tr></table> -</td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> X </div></td></tr></table> -</td></tr><tr><td><a class="el" href="classConfigReader.html">ConfigReader</a> </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> F </div></td></tr></table> -</td><td><a class="el" href="classKLine.html">KLine</a> </td><td><a class="el" href="classRequest.html">Request</a> </td><td><a class="el" href="classXLine.html">XLine</a> </td></tr><tr><td><a class="el" href="classConnectClass.html">ConnectClass</a> </td><td><a class="el" href="classFileReader.html">FileReader</a> </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> M </div></td></tr></table> +</td><td><a class="el" href="classWhoWasUser.html">WhoWasUser</a> </td></tr><tr><td><a class="el" href="classConfigReader.html">ConfigReader</a> </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> F </div></td></tr></table> +</td><td><a class="el" href="classKLine.html">KLine</a> </td><td><a class="el" href="classRequest.html">Request</a> </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> X </div></td></tr></table> +</td></tr><tr><td><a class="el" href="classConnectClass.html">ConnectClass</a> </td><td><a class="el" href="classFileReader.html">FileReader</a> </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> M </div></td></tr></table> </td><td><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"> Z </div></td></tr></table> -</td></tr><tr><td><a class="el" href="classconnection.html">connection</a> </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> G </div></td></tr></table> -</td><td><a class="el" href="classModeParameter.html">ModeParameter</a> </td><td><a class="el" href="classServer.html">Server</a> </td><td><a class="el" href="classZLine.html">ZLine</a> </td></tr><tr><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> D </div></td></tr></table> -</td><td><a class="el" href="classGLine.html">GLine</a> </td><td><a class="el" href="classModule.html">Module</a> </td></tr></table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:17 2005 for InspIRCd by +</td><td><a class="el" href="classXLine.html">XLine</a> </td></tr><tr><td><a class="el" href="classconnection.html">connection</a> </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> G </div></td></tr></table> +</td><td><a class="el" href="classModeParameter.html">ModeParameter</a> </td><td><a class="el" href="classServer.html">Server</a> </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> Z </div></td></tr></table> +</td></tr><tr><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> D </div></td></tr></table> +</td><td><a class="el" href="classGLine.html">GLine</a> </td><td><a class="el" href="classModule.html">Module</a> </td><td><a class="el" href="classserverrec.html">serverrec</a> </td><td><a class="el" href="classZLine.html">ZLine</a> </td></tr></table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:01 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classircd__connector-members.html b/docs/module-doc/classircd__connector-members.html index b37048dd8..d593500b7 100644 --- a/docs/module-doc/classircd__connector-members.html +++ b/docs/module-doc/classircd__connector-members.html @@ -43,7 +43,7 @@ <tr class="memlist"><td><a class="el" href="classircd__connector.html#r4">state</a></td><td><a class="el" href="classircd__connector.html">ircd_connector</a></td><td><code> [private]</code></td></tr> <tr class="memlist"><td><a class="el" href="classircd__connector.html#r5">version</a></td><td><a class="el" href="classircd__connector.html">ircd_connector</a></td><td><code> [private]</code></td></tr> <tr class="memlist"><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 size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:22 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:03 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classircd__connector.html b/docs/module-doc/classircd__connector.html index 95c580e11..d15fa9dd2 100644 --- a/docs/module-doc/classircd__connector.html +++ b/docs/module-doc/classircd__connector.html @@ -106,7 +106,7 @@ Inherits <a class="el" href="classExtensible.html">Extensible</a>. <tr><td class="memItemLeft" nowrap align=right valign=top>std::string </td><td class="memItemRight" valign=bottom><a class="el" href="classircd__connector.html#r3">description</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classServer.html">Server</a> 'GECOS'. </em> <a href="#r3"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="classircd__connector.html#r4">state</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="classircd__connector.html#r4">state</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">State. </em> <a href="#r4"></a><em><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>std::string </td><td class="memItemRight" valign=bottom><a class="el" href="classircd__connector.html#r5">version</a></td></tr> @@ -1004,7 +1004,7 @@ Definition at line <a class="el" href="connection_8h-source.html#l00067">67</a> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> int <a class="el" href="classircd__connector.html#r4">ircd_connector::state</a><code> [private]</code> + <td class="md" nowrap valign="top"> char <a class="el" href="classircd__connector.html#r4">ircd_connector::state</a><code> [private]</code> </table> </td> </tr> @@ -1052,7 +1052,7 @@ Definition at line <a class="el" href="connection_8h-source.html#l00084">84</a> </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="connection_8h-source.html">connection.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:22 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:03 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classserverrec-members.html b/docs/module-doc/classserverrec-members.html index 119f82981..40fe3a744 100644 --- a/docs/module-doc/classserverrec-members.html +++ b/docs/module-doc/classserverrec-members.html @@ -9,44 +9,40 @@ <tr class="memlist"><td><a class="el" href="classconnection.html#a8">AddIncoming</a>(int fd, char *targethost, int sourceport)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#o0">age</a></td><td><a class="el" href="classclassbase.html">classbase</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classconnection.html#a2">BeginLink</a>(char *targethost, int port, char *password, char *servername, int myport)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classconnection.html#o4">bytes_in</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classconnection.html#o5">bytes_out</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classconnection.html#o3">bytes_in</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classconnection.html#o4">bytes_out</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a0">classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classconnection.html#o6">cmds_in</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classconnection.html#o7">cmds_out</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classconnection.html#o5">cmds_in</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classconnection.html#o6">cmds_out</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classconnection.html#a0">connection</a>()</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classconnection.html#o18">connectors</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classconnection.html#o14">connectors</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classconnection.html#a1">CreateListener</a>(char *host, int p)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classserverrec.html#o8">description</a></td><td><a class="el" href="classserverrec.html">serverrec</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classExtensible.html#a0">Extend</a>(std::string key, char *p)</td><td><a class="el" href="classExtensible.html">Extensible</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classconnection.html#o0">fd</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classconnection.html#a7">FindHost</a>(std::string host)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classExtensible.html#a2">GetExt</a>(std::string key)</td><td><a class="el" href="classExtensible.html">Extensible</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classconnection.html#o8">haspassed</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classconnection.html#o7">haspassed</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classserverrec.html#o5">hops_away</a></td><td><a class="el" href="classserverrec.html">serverrec</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classconnection.html#o1">host</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classconnection.html#o14">idle_lastmsg</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classconnection.html#o3">inbuf</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classconnection.html#o16">internal_addr</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classconnection.html#o17">internal_port</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classconnection.html#o12">idle_lastmsg</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classconnection.html#o2">ip</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classserverrec.html#o7">jupiter</a></td><td><a class="el" href="classserverrec.html">serverrec</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classconnection.html#o12">lastping</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classconnection.html#o10">lastping</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classconnection.html#a3">MeshCookie</a>(char *targethost, int port, unsigned long cookie, char *servername)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classserverrec.html#o0">name</a></td><td><a class="el" href="classserverrec.html">serverrec</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classserverrec.html#o9">nickserv</a></td><td><a class="el" href="classserverrec.html">serverrec</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classconnection.html#o15">nping</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classconnection.html#o13">nping</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classserverrec.html#o4">opercount</a></td><td><a class="el" href="classserverrec.html">serverrec</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classserverrec.html#o1">pingtime</a></td><td><a class="el" href="classserverrec.html">serverrec</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classconnection.html#o9">port</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classconnection.html#o8">port</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classconnection.html#a6">RecvPacket</a>(std::deque< std::string > &messages, char *host)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classconnection.html#o10">registered</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classconnection.html#o9">registered</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classconnection.html#a5">SendPacket</a>(char *message, const char *host)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr class="memlist"><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 class="memlist"><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> <tr class="memlist"><td><a class="el" href="classExtensible.html#a1">Shrink</a>(std::string key)</td><td><a class="el" href="classExtensible.html">Extensible</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classconnection.html#o13">signon</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classconnection.html#o11">state</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classconnection.html#o11">signon</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classserverrec.html#o10">sync_soon</a></td><td><a class="el" href="classserverrec.html">serverrec</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classconnection.html#a4">TerminateLink</a>(char *targethost)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classserverrec.html#o3">usercount</a></td><td><a class="el" href="classserverrec.html">serverrec</a></td><td></td></tr> @@ -54,7 +50,7 @@ <tr class="memlist"><td><a class="el" href="classserverrec.html#o6">version</a></td><td><a class="el" href="classserverrec.html">serverrec</a></td><td></td></tr> <tr class="memlist"><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 class="memlist"><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 size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:28 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:06 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classserverrec.html b/docs/module-doc/classserverrec.html index 872fd6047..3cad25fb3 100644 --- a/docs/module-doc/classserverrec.html +++ b/docs/module-doc/classserverrec.html @@ -95,15 +95,15 @@ Constructor. <p> Definition at line <a class="el" href="servers_8cpp-source.html#l00026">26</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>. <p> -References <a class="el" href="connection_8h-source.html#l00215">connection::fd</a>, <a class="el" href="servers_8h-source.html#l00051">hops_away</a>, <a class="el" href="servers_8h-source.html#l00057">jupiter</a>, <a class="el" href="connection_8h-source.html#l00265">connection::lastping</a>, <a class="el" href="servers_8h-source.html#l00036">name</a>, <a class="el" href="servers_8h-source.html#l00065">nickserv</a>, <a class="el" href="servers_8h-source.html#l00048">opercount</a>, <a class="el" href="servers_8h-source.html#l00039">pingtime</a>, <a class="el" href="connection_8h-source.html#l00269">connection::signon</a>, <a class="el" href="servers_8h-source.html#l00067">sync_soon</a>, <a class="el" href="channels_8cpp-source.html#l00107">TIME</a>, <a class="el" href="servers_8h-source.html#l00045">usercount</a>, <a class="el" href="servers_8h-source.html#l00042">usercount_i</a>, and <a class="el" href="servers_8h-source.html#l00054">version</a>. +References <a class="el" href="connection_8h-source.html#l00215">connection::fd</a>, <a class="el" href="servers_8h-source.html#l00051">hops_away</a>, <a class="el" href="servers_8h-source.html#l00057">jupiter</a>, <a class="el" href="connection_8h-source.html#l00257">connection::lastping</a>, <a class="el" href="servers_8h-source.html#l00036">name</a>, <a class="el" href="servers_8h-source.html#l00065">nickserv</a>, <a class="el" href="servers_8h-source.html#l00048">opercount</a>, <a class="el" href="servers_8h-source.html#l00039">pingtime</a>, <a class="el" href="connection_8h-source.html#l00261">connection::signon</a>, <a class="el" href="servers_8h-source.html#l00067">sync_soon</a>, <a class="el" href="channels_8cpp-source.html#l00107">TIME</a>, <a class="el" href="servers_8h-source.html#l00045">usercount</a>, <a class="el" href="servers_8h-source.html#l00042">usercount_i</a>, and <a class="el" href="servers_8h-source.html#l00054">version</a>. <p> <div class="fragment"><pre>00027 { 00028 strlcpy(name,<span class="stringliteral">""</span>,256); 00029 <a class="code" href="classserverrec.html#o1">pingtime</a> = 0; -00030 <a class="code" href="classconnection.html#o12">lastping</a> = <a class="code" href="channels_8cpp.html#a37">TIME</a>; +00030 <a class="code" href="classconnection.html#o10">lastping</a> = <a class="code" href="channels_8cpp.html#a37">TIME</a>; 00031 <a class="code" href="classserverrec.html#o2">usercount_i</a> = <a class="code" href="classserverrec.html#o3">usercount</a> = <a class="code" href="classserverrec.html#o4">opercount</a> = <a class="code" href="classserverrec.html#o6">version</a> = 0; 00032 <a class="code" href="classserverrec.html#o5">hops_away</a> = 1; -00033 <a class="code" href="classconnection.html#o13">signon</a> = <a class="code" href="channels_8cpp.html#a37">TIME</a>; +00033 <a class="code" href="classconnection.html#o11">signon</a> = <a class="code" href="channels_8cpp.html#a37">TIME</a>; 00034 <a class="code" href="classserverrec.html#o7">jupiter</a> = <span class="keyword">false</span>; 00035 <a class="code" href="classconnection.html#o0">fd</a> = 0; 00036 <a class="code" href="classserverrec.html#o10">sync_soon</a> = <span class="keyword">false</span>; @@ -159,15 +159,15 @@ Constructor which initialises some of the main variables. <p> Definition at line <a class="el" href="servers_8cpp-source.html#l00045">45</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>. <p> -References <a class="el" href="connection_8h-source.html#l00215">connection::fd</a>, <a class="el" href="servers_8h-source.html#l00051">hops_away</a>, <a class="el" href="servers_8h-source.html#l00057">jupiter</a>, <a class="el" href="connection_8h-source.html#l00265">connection::lastping</a>, <a class="el" href="servers_8h-source.html#l00036">name</a>, <a class="el" href="servers_8h-source.html#l00065">nickserv</a>, <a class="el" href="servers_8h-source.html#l00048">opercount</a>, <a class="el" href="connection_8h-source.html#l00269">connection::signon</a>, <a class="el" href="servers_8h-source.html#l00067">sync_soon</a>, <a class="el" href="channels_8cpp-source.html#l00107">TIME</a>, <a class="el" href="servers_8h-source.html#l00045">usercount</a>, <a class="el" href="servers_8h-source.html#l00042">usercount_i</a>, and <a class="el" href="servers_8h-source.html#l00054">version</a>. +References <a class="el" href="connection_8h-source.html#l00215">connection::fd</a>, <a class="el" href="servers_8h-source.html#l00051">hops_away</a>, <a class="el" href="servers_8h-source.html#l00057">jupiter</a>, <a class="el" href="connection_8h-source.html#l00257">connection::lastping</a>, <a class="el" href="servers_8h-source.html#l00036">name</a>, <a class="el" href="servers_8h-source.html#l00065">nickserv</a>, <a class="el" href="servers_8h-source.html#l00048">opercount</a>, <a class="el" href="connection_8h-source.html#l00261">connection::signon</a>, <a class="el" href="servers_8h-source.html#l00067">sync_soon</a>, <a class="el" href="channels_8cpp-source.html#l00107">TIME</a>, <a class="el" href="servers_8h-source.html#l00045">usercount</a>, <a class="el" href="servers_8h-source.html#l00042">usercount_i</a>, and <a class="el" href="servers_8h-source.html#l00054">version</a>. <p> <div class="fragment"><pre>00046 { 00047 strlcpy(name,n,256); -00048 <a class="code" href="classconnection.html#o12">lastping</a> = <a class="code" href="channels_8cpp.html#a37">TIME</a>; +00048 <a class="code" href="classconnection.html#o10">lastping</a> = <a class="code" href="channels_8cpp.html#a37">TIME</a>; 00049 <a class="code" href="classserverrec.html#o2">usercount_i</a> = <a class="code" href="classserverrec.html#o3">usercount</a> = <a class="code" href="classserverrec.html#o4">opercount</a> = 0; 00050 <a class="code" href="classserverrec.html#o6">version</a> = ver; 00051 <a class="code" href="classserverrec.html#o5">hops_away</a> = 1; -00052 <a class="code" href="classconnection.html#o13">signon</a> = <a class="code" href="channels_8cpp.html#a37">TIME</a>; +00052 <a class="code" href="classconnection.html#o11">signon</a> = <a class="code" href="channels_8cpp.html#a37">TIME</a>; 00053 <a class="code" href="classserverrec.html#o7">jupiter</a> = jupe; 00054 <a class="code" href="classconnection.html#o0">fd</a> = 0; 00055 <a class="code" href="classserverrec.html#o10">sync_soon</a> = <span class="keyword">false</span>; @@ -519,7 +519,7 @@ Referenced by <a class="el" href="servers_8cpp-source.html#l00026">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 size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:28 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:06 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classucrec-members.html b/docs/module-doc/classucrec-members.html index 95f7be1c1..552d18d43 100644 --- a/docs/module-doc/classucrec-members.html +++ b/docs/module-doc/classucrec-members.html @@ -13,7 +13,7 @@ <tr class="memlist"><td><a class="el" href="classucrec.html#a0">ucrec</a>()</td><td><a class="el" href="classucrec.html">ucrec</a></td><td><code> [inline]</code></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr class="memlist"><td><a class="el" href="classucrec.html#a1">~ucrec</a>()</td><td><a class="el" href="classucrec.html">ucrec</a></td><td><code> [inline, virtual]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:28 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:06 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classucrec.html b/docs/module-doc/classucrec.html index ad7b1ec0e..453ef50a6 100644 --- a/docs/module-doc/classucrec.html +++ b/docs/module-doc/classucrec.html @@ -20,7 +20,7 @@ Inherits <a class="el" href="classclassbase.html">classbase</a>. <tr><td class="memItemLeft" nowrap align=right valign=top>virtual </td><td class="memItemRight" valign=bottom><a class="el" href="classucrec.html#a1">~ucrec</a> ()</td></tr> <tr><td colspan=2><br><h2>Public Attributes</h2></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>long </td><td class="memItemRight" valign=bottom><a class="el" href="classucrec.html#o0">uc_modes</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="classucrec.html#o0">uc_modes</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Contains a bitmask of the UCMODE_OP ... </em> <a href="#o0"></a><em><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classchanrec.html">chanrec</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="classucrec.html#o1">channel</a></td></tr> @@ -34,7 +34,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#l00257">257</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#l00222">222</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 class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> @@ -62,9 +62,9 @@ Definition at line <a class="el" href="channels_8h-source.html#l00257">257</a> o <p> <p> -Definition at line <a class="el" href="channels_8h-source.html#l00270">270</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#l00235">235</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. <p> -<div class="fragment"><pre>00270 { <span class="comment">/* stub */</span> } +<div class="fragment"><pre>00235 { <span class="comment">/* stub */</span> } </pre></div> </td> </tr> </table> @@ -95,9 +95,9 @@ Definition at line <a class="el" href="channels_8h-source.html#l00270">270</a> o <p> <p> -Definition at line <a class="el" href="channels_8h-source.html#l00271">271</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#l00236">236</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. <p> -<div class="fragment"><pre>00271 { <span class="comment">/* stub */</span> } +<div class="fragment"><pre>00236 { <span class="comment">/* stub */</span> } </pre></div> </td> </tr> </table> @@ -125,9 +125,9 @@ 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#l00268">268</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#l00233">233</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00699">Server::PseudoToUser()</a>, and <a class="el" href="users_8cpp-source.html#l00028">userrec::userrec()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00700">Server::PseudoToUser()</a>, and <a class="el" href="users_8cpp-source.html#l00028">userrec::userrec()</a>. </td> </tr> </table> <a name="o0" doxytag="ucrec::uc_modes"></a><p> @@ -136,7 +136,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00699">Server::Pseud <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> long <a class="el" href="classucrec.html#o0">ucrec::uc_modes</a> + <td class="md" nowrap valign="top"> char <a class="el" href="classucrec.html#o0">ucrec::uc_modes</a> </table> </td> </tr> @@ -153,14 +153,14 @@ 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#l00263">263</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#l00228">228</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#l00028">userrec::userrec()</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 size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:28 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:06 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classuserrec-members.html b/docs/module-doc/classuserrec-members.html index 57e339772..3044da8d9 100644 --- a/docs/module-doc/classuserrec-members.html +++ b/docs/module-doc/classuserrec-members.html @@ -13,15 +13,15 @@ <tr class="memlist"><td><a class="el" href="classuserrec.html#o7">awaymsg</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classconnection.html#a2">BeginLink</a>(char *targethost, int port, char *password, char *servername, int myport)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classuserrec.html#a9">BufferIsReady</a>()</td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classconnection.html#o4">bytes_in</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classconnection.html#o5">bytes_out</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classconnection.html#o3">bytes_in</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classconnection.html#o4">bytes_out</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classuserrec.html#o5">chans</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a0">classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr class="memlist"><td><a class="el" href="classuserrec.html#a10">ClearBuffer</a>()</td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classconnection.html#o6">cmds_in</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classconnection.html#o7">cmds_out</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classconnection.html#o5">cmds_in</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classconnection.html#o6">cmds_out</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classconnection.html#a0">connection</a>()</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classconnection.html#o18">connectors</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classconnection.html#o14">connectors</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classconnection.html#a1">CreateListener</a>(char *host, int p)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classuserrec.html#o2">dhost</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classuserrec.html#o12">dns_done</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr> @@ -36,32 +36,29 @@ <tr class="memlist"><td><a class="el" href="classuserrec.html#a2">GetFullHost</a>()</td><td><a class="el" href="classuserrec.html">userrec</a></td><td><code> [virtual]</code></td></tr> <tr class="memlist"><td><a class="el" href="classuserrec.html#a3">GetFullRealHost</a>()</td><td><a class="el" href="classuserrec.html">userrec</a></td><td><code> [virtual]</code></td></tr> <tr class="memlist"><td><a class="el" href="classuserrec.html#a13">GetWriteError</a>()</td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classconnection.html#o8">haspassed</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classconnection.html#o7">haspassed</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classuserrec.html#a7">HasPermission</a>(char *command)</td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classconnection.html#o1">host</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classuserrec.html#o1">ident</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classconnection.html#o14">idle_lastmsg</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classconnection.html#o3">inbuf</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classconnection.html#o16">internal_addr</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classconnection.html#o17">internal_port</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classconnection.html#o12">idle_lastmsg</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classuserrec.html#r0">invites</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td><code> [private]</code></td></tr> <tr class="memlist"><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 class="memlist"><td><a class="el" href="classconnection.html#o2">ip</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classuserrec.html#a4">IsInvited</a>(char *channel)</td><td><a class="el" href="classuserrec.html">userrec</a></td><td><code> [virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classconnection.html#o12">lastping</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classconnection.html#o10">lastping</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classuserrec.html#o17">lines_in</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classconnection.html#a3">MeshCookie</a>(char *targethost, int port, unsigned long cookie, char *servername)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classuserrec.html#o4">modes</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classuserrec.html#o0">nick</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classconnection.html#o15">nping</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classconnection.html#o13">nping</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classuserrec.html#o11">oper</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classuserrec.html#o14">password</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classuserrec.html#o13">pingmax</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classconnection.html#o9">port</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classconnection.html#o8">port</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classconnection.html#a6">RecvPacket</a>(std::deque< std::string > &messages, char *host)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classuserrec.html#o15">recvq</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classuserrec.html#o22">recvqmax</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classconnection.html#o10">registered</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classconnection.html#o9">registered</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr class="memlist"><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 class="memlist"><td><a class="el" href="classuserrec.html#o18">reset_due</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classuserrec.html#o8">result</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr> @@ -71,8 +68,7 @@ <tr class="memlist"><td><a class="el" href="classuserrec.html#o6">server</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classuserrec.html#a12">SetWriteError</a>(std::string error)</td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classExtensible.html#a1">Shrink</a>(std::string key)</td><td><a class="el" href="classExtensible.html">Extensible</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classconnection.html#o13">signon</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classconnection.html#o11">state</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classconnection.html#o11">signon</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classconnection.html#a4">TerminateLink</a>(char *targethost)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classuserrec.html#o19">threshold</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classuserrec.html#o10">timeout</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr> @@ -80,7 +76,7 @@ <tr class="memlist"><td><a class="el" href="classuserrec.html#o20">WriteError</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr class="memlist"><td><a class="el" href="classuserrec.html#a1">~userrec</a>()</td><td><a class="el" href="classuserrec.html">userrec</a></td><td><code> [inline, virtual]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:29 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:06 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classuserrec.html b/docs/module-doc/classuserrec.html index a1d605b1b..1b7b4000c 100644 --- a/docs/module-doc/classuserrec.html +++ b/docs/module-doc/classuserrec.html @@ -65,10 +65,10 @@ Inherits <a class="el" href="classconnection.html">connection</a>. <tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="classuserrec.html#o0">nick</a> [NICKMAX]</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The users nickname. </em> <a href="#o0"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="classuserrec.html#o1">ident</a> [64]</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="classuserrec.html#o1">ident</a> [16]</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The users ident reply. </em> <a href="#o1"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="classuserrec.html#o2">dhost</a> [256]</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="classuserrec.html#o2">dhost</a> [160]</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The host displayed to non-opers (used for cloaking etc). </em> <a href="#o2"></a><em><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="classuserrec.html#o3">fullname</a> [128]</td></tr> @@ -91,7 +91,7 @@ Inherits <a class="el" href="classconnection.html">connection</a>. <tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="classuserrec.html#o9">flood</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Number of lines the user can place into the buffer (up to the global NetBufferSize bytes) before they are disconnected for excess flood. </em> <a href="#o9"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>unsigned long </td><td class="memItemRight" valign=bottom><a class="el" href="classuserrec.html#o10">timeout</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>unsigned int </td><td class="memItemRight" valign=bottom><a class="el" href="classuserrec.html#o10">timeout</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Number of seconds this user is given to send USER/NICK If they do not send their details in this time limit they will be disconnected. </em> <a href="#o10"></a><em><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="classuserrec.html#o11">oper</a> [NICKMAX]</td></tr> @@ -100,7 +100,7 @@ Inherits <a class="el" href="classconnection.html">connection</a>. <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classuserrec.html#o12">dns_done</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">True when <a class="el" href="classDNS.html">DNS</a> lookups are completed. </em> <a href="#o12"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>unsigned long </td><td class="memItemRight" valign=bottom><a class="el" href="classuserrec.html#o13">pingmax</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>unsigned int </td><td class="memItemRight" valign=bottom><a class="el" href="classuserrec.html#o13">pingmax</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Number of seconds between PINGs for this user (set from <connect:allow> tag. </em> <a href="#o13"></a><em><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="classuserrec.html#o14">password</a> [MAXBUF]</td></tr> @@ -112,7 +112,7 @@ Inherits <a class="el" href="classconnection.html">connection</a>. <tr><td class="memItemLeft" nowrap align=right valign=top>std::string </td><td class="memItemRight" valign=bottom><a class="el" href="classuserrec.html#o16">sendq</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">User's send queue. </em> <a href="#o16"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>long </td><td class="memItemRight" valign=bottom><a class="el" href="classuserrec.html#o17">lines_in</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="classuserrec.html#o17">lines_in</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Flood counters. </em> <a href="#o17"></a><em><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>time_t </td><td class="memItemRight" valign=bottom><a class="el" href="classuserrec.html#o18">reset_due</a></td></tr> @@ -169,7 +169,7 @@ Definition at line <a class="el" href="users_8h-source.html#l00108">108</a> of f <p> Definition at line <a class="el" href="users_8cpp-source.html#l00028">28</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. <p> -References <a class="el" href="users_8h-source.html#l00151">awaymsg</a>, <a class="el" href="connection_8h-source.html#l00231">connection::bytes_in</a>, <a class="el" href="connection_8h-source.html#l00235">connection::bytes_out</a>, <a class="el" href="channels_8h-source.html#l00268">ucrec::channel</a>, <a class="el" href="users_8h-source.html#l00142">chans</a>, <a class="el" href="connection_8h-source.html#l00239">connection::cmds_in</a>, <a class="el" href="connection_8h-source.html#l00243">connection::cmds_out</a>, <a class="el" href="users_8h-source.html#l00130">dhost</a>, <a class="el" href="users_8h-source.html#l00179">dns_done</a>, <a class="el" href="connection_8h-source.html#l00215">connection::fd</a>, <a class="el" href="users_8h-source.html#l00162">flood</a>, <a class="el" href="users_8h-source.html#l00134">fullname</a>, <a class="el" href="connection_8h-source.html#l00247">connection::haspassed</a>, <a class="el" href="connection_8h-source.html#l00219">connection::host</a>, <a class="el" href="users_8h-source.html#l00125">ident</a>, <a class="el" href="connection_8h-source.html#l00273">connection::idle_lastmsg</a>, <a class="el" href="connection_8h-source.html#l00227">connection::inbuf</a>, <a class="el" href="users_8h-source.html#l00114">invites</a>, <a class="el" href="connection_8h-source.html#l00223">connection::ip</a>, <a class="el" href="connection_8h-source.html#l00265">connection::lastping</a>, <a class="el" href="users_8h-source.html#l00204">lines_in</a>, <a class="el" href="users_8h-source.html#l00140">modes</a>, <a class="el" href="users_8h-source.html#l00121">nick</a>, <a class="el" href="connection_8h-source.html#l00277">connection::nping</a>, <a class="el" href="users_8h-source.html#l00175">oper</a>, <a class="el" href="connection_8h-source.html#l00253">connection::port</a>, <a class="el" href="users_8h-source.html#l00195">recvq</a>, <a class="el" href="connection_8h-source.html#l00257">connection::registered</a>, <a class="el" href="users_8h-source.html#l00205">reset_due</a>, <a class="el" href="users_8h-source.html#l00156">result</a>, <a class="el" href="users_8h-source.html#l00200">sendq</a>, <a class="el" href="users_8h-source.html#l00146">server</a>, <a class="el" href="connection_8h-source.html#l00269">connection::signon</a>, <a class="el" href="channels_8cpp-source.html#l00107">TIME</a>, <a class="el" href="users_8h-source.html#l00168">timeout</a>, and <a class="el" href="channels_8h-source.html#l00263">ucrec::uc_modes</a>. +References <a class="el" href="users_8h-source.html#l00151">awaymsg</a>, <a class="el" href="connection_8h-source.html#l00227">connection::bytes_in</a>, <a class="el" href="connection_8h-source.html#l00231">connection::bytes_out</a>, <a class="el" href="channels_8h-source.html#l00233">ucrec::channel</a>, <a class="el" href="users_8h-source.html#l00142">chans</a>, <a class="el" href="connection_8h-source.html#l00235">connection::cmds_in</a>, <a class="el" href="connection_8h-source.html#l00239">connection::cmds_out</a>, <a class="el" href="users_8h-source.html#l00130">dhost</a>, <a class="el" href="users_8h-source.html#l00179">dns_done</a>, <a class="el" href="connection_8h-source.html#l00215">connection::fd</a>, <a class="el" href="users_8h-source.html#l00162">flood</a>, <a class="el" href="users_8h-source.html#l00134">fullname</a>, <a class="el" href="connection_8h-source.html#l00243">connection::haspassed</a>, <a class="el" href="connection_8h-source.html#l00219">connection::host</a>, <a class="el" href="users_8h-source.html#l00125">ident</a>, <a class="el" href="connection_8h-source.html#l00265">connection::idle_lastmsg</a>, <a class="el" href="users_8h-source.html#l00114">invites</a>, <a class="el" href="connection_8h-source.html#l00223">connection::ip</a>, <a class="el" href="connection_8h-source.html#l00257">connection::lastping</a>, <a class="el" href="users_8h-source.html#l00204">lines_in</a>, <a class="el" href="users_8h-source.html#l00140">modes</a>, <a class="el" href="users_8h-source.html#l00121">nick</a>, <a class="el" href="connection_8h-source.html#l00269">connection::nping</a>, <a class="el" href="users_8h-source.html#l00175">oper</a>, <a class="el" href="connection_8h-source.html#l00249">connection::port</a>, <a class="el" href="users_8h-source.html#l00195">recvq</a>, <a class="el" href="connection_8h-source.html#l00253">connection::registered</a>, <a class="el" href="users_8h-source.html#l00205">reset_due</a>, <a class="el" href="users_8h-source.html#l00156">result</a>, <a class="el" href="users_8h-source.html#l00200">sendq</a>, <a class="el" href="users_8h-source.html#l00146">server</a>, <a class="el" href="connection_8h-source.html#l00261">connection::signon</a>, <a class="el" href="channels_8cpp-source.html#l00107">TIME</a>, <a class="el" href="users_8h-source.html#l00168">timeout</a>, and <a class="el" href="channels_8h-source.html#l00228">ucrec::uc_modes</a>. <p> <div class="fragment"><pre>00029 { 00030 <span class="comment">// the PROPER way to do it, AVOID bzero at *ALL* costs</span> @@ -181,26 +181,25 @@ References <a class="el" href="users_8h-source.html#l00151">awaymsg</a>, <a clas 00036 strcpy(dhost,<span class="stringliteral">""</span>); 00037 strcpy(fullname,<span class="stringliteral">""</span>); 00038 strcpy(modes,<span class="stringliteral">""</span>); -00039 strcpy(inbuf,<span class="stringliteral">""</span>); -00040 strcpy(server,<span class="stringliteral">""</span>); -00041 strcpy(awaymsg,<span class="stringliteral">""</span>); -00042 strcpy(oper,<span class="stringliteral">""</span>); -00043 <a class="code" href="classuserrec.html#o18">reset_due</a> = <a class="code" href="channels_8cpp.html#a37">TIME</a>; -00044 <a class="code" href="classuserrec.html#o17">lines_in</a> = 0; -00045 <a class="code" href="classconnection.html#o0">fd</a> = <a class="code" href="classconnection.html#o12">lastping</a> = <a class="code" href="classconnection.html#o13">signon</a> = <a class="code" href="classconnection.html#o14">idle_lastmsg</a> = <a class="code" href="classconnection.html#o15">nping</a> = <a class="code" href="classconnection.html#o10">registered</a> = 0; -00046 <a class="code" href="classuserrec.html#o9">flood</a> = <a class="code" href="classconnection.html#o9">port</a> = <a class="code" href="classconnection.html#o4">bytes_in</a> = <a class="code" href="classconnection.html#o5">bytes_out</a> = <a class="code" href="classconnection.html#o6">cmds_in</a> = <a class="code" href="classconnection.html#o7">cmds_out</a> = 0; -00047 <a class="code" href="classconnection.html#o8">haspassed</a> = <span class="keyword">false</span>; -00048 <a class="code" href="classuserrec.html#o12">dns_done</a> = <span class="keyword">false</span>; -00049 <a class="code" href="classuserrec.html#o15">recvq</a> = <span class="stringliteral">""</span>; -00050 <a class="code" href="classuserrec.html#o16">sendq</a> = <span class="stringliteral">""</span>; -00051 strcpy(result,<span class="stringliteral">""</span>); -00052 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < MAXCHANS; i++) -00053 { -00054 this-><a class="code" href="classuserrec.html#o5">chans</a>[i].<a class="code" href="classucrec.html#o1">channel</a> = NULL; -00055 this-><a class="code" href="classuserrec.html#o5">chans</a>[i].<a class="code" href="classucrec.html#o0">uc_modes</a> = 0; -00056 } -00057 <a class="code" href="classuserrec.html#r0">invites</a>.clear(); -00058 } +00039 strcpy(server,<span class="stringliteral">""</span>); +00040 strcpy(awaymsg,<span class="stringliteral">""</span>); +00041 strcpy(oper,<span class="stringliteral">""</span>); +00042 <a class="code" href="classuserrec.html#o18">reset_due</a> = <a class="code" href="channels_8cpp.html#a37">TIME</a>; +00043 <a class="code" href="classuserrec.html#o17">lines_in</a> = 0; +00044 <a class="code" href="classconnection.html#o0">fd</a> = <a class="code" href="classconnection.html#o10">lastping</a> = <a class="code" href="classconnection.html#o11">signon</a> = <a class="code" href="classconnection.html#o12">idle_lastmsg</a> = <a class="code" href="classconnection.html#o13">nping</a> = <a class="code" href="classconnection.html#o9">registered</a> = 0; +00045 <a class="code" href="classuserrec.html#o9">flood</a> = <a class="code" href="classconnection.html#o8">port</a> = <a class="code" href="classconnection.html#o3">bytes_in</a> = <a class="code" href="classconnection.html#o4">bytes_out</a> = <a class="code" href="classconnection.html#o5">cmds_in</a> = <a class="code" href="classconnection.html#o6">cmds_out</a> = 0; +00046 <a class="code" href="classconnection.html#o7">haspassed</a> = <span class="keyword">false</span>; +00047 <a class="code" href="classuserrec.html#o12">dns_done</a> = <span class="keyword">false</span>; +00048 <a class="code" href="classuserrec.html#o15">recvq</a> = <span class="stringliteral">""</span>; +00049 <a class="code" href="classuserrec.html#o16">sendq</a> = <span class="stringliteral">""</span>; +00050 strcpy(result,<span class="stringliteral">""</span>); +00051 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < MAXCHANS; i++) +00052 { +00053 this-><a class="code" href="classuserrec.html#o5">chans</a>[i].<a class="code" href="classucrec.html#o1">channel</a> = NULL; +00054 this-><a class="code" href="classuserrec.html#o5">chans</a>[i].<a class="code" href="classucrec.html#o0">uc_modes</a> = 0; +00055 } +00056 <a class="code" href="classuserrec.html#r0">invites</a>.clear(); +00057 } </pre></div> </td> </tr> </table> @@ -268,34 +267,34 @@ This method adds data to the buffer of the user. <p> The buffer can grow to any size within limits of the available memory, managed by the size of a std::string, however if any individual line in the buffer grows over 600 bytes in length (which is 88 chars over the RFC-specified limit per line) then the method will return false and the text will not be inserted. <p> -Definition at line <a class="el" href="users_8cpp-source.html#l00170">170</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. -<p> -References <a class="el" href="users_8h-source.html#l00195">recvq</a>, <a class="el" href="users_8h-source.html#l00218">recvqmax</a>, and <a class="el" href="users_8cpp-source.html#l00264">SetWriteError()</a>. -<p> -<div class="fragment"><pre>00171 { -00172 std::string b = <span class="stringliteral">""</span>; -00173 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < a.length(); i++) -00174 <span class="keywordflow">if</span> ((a[i] != <span class="charliteral">'\r'</span>) && (a[i] != <span class="charliteral">'\0'</span>) && (a[i] != 7)) -00175 b = b + a[i]; -00176 std::stringstream stream(recvq); -00177 stream << b; -00178 <a class="code" href="classuserrec.html#o15">recvq</a> = stream.str(); -00179 <span class="keywordtype">int</span> i = 0; -00180 <span class="comment">// count the size of the first line in the buffer.</span> -00181 <span class="keywordflow">while</span> (i < <a class="code" href="classuserrec.html#o15">recvq</a>.length()) -00182 { -00183 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o15">recvq</a>[i++] == <span class="charliteral">'\n'</span>) -00184 <span class="keywordflow">break</span>; -00185 } -00186 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o15">recvq</a>.length() > this-><a class="code" href="classuserrec.html#o22">recvqmax</a>) -00187 { -00188 this-><a class="code" href="classuserrec.html#a12">SetWriteError</a>(<span class="stringliteral">"RecvQ exceeded"</span>); -00189 WriteOpers(<span class="stringliteral">"*** User %s RecvQ of %d exceeds connect class maximum of %d"</span>,this->nick,<a class="code" href="classuserrec.html#o15">recvq</a>.length(),this-><a class="code" href="classuserrec.html#o22">recvqmax</a>); -00190 } -00191 <span class="comment">// return false if we've had more than 600 characters WITHOUT</span> -00192 <span class="comment">// a carriage return (this is BAD, drop the socket)</span> -00193 <span class="keywordflow">return</span> (i < 600); -00194 } +Definition at line <a class="el" href="users_8cpp-source.html#l00169">169</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. +<p> +References <a class="el" href="users_8h-source.html#l00195">recvq</a>, <a class="el" href="users_8h-source.html#l00218">recvqmax</a>, and <a class="el" href="users_8cpp-source.html#l00263">SetWriteError()</a>. +<p> +<div class="fragment"><pre>00170 { +00171 std::string b = <span class="stringliteral">""</span>; +00172 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < a.length(); i++) +00173 <span class="keywordflow">if</span> ((a[i] != <span class="charliteral">'\r'</span>) && (a[i] != <span class="charliteral">'\0'</span>) && (a[i] != 7)) +00174 b = b + a[i]; +00175 std::stringstream stream(recvq); +00176 stream << b; +00177 <a class="code" href="classuserrec.html#o15">recvq</a> = stream.str(); +00178 <span class="keywordtype">int</span> i = 0; +00179 <span class="comment">// count the size of the first line in the buffer.</span> +00180 <span class="keywordflow">while</span> (i < <a class="code" href="classuserrec.html#o15">recvq</a>.length()) +00181 { +00182 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o15">recvq</a>[i++] == <span class="charliteral">'\n'</span>) +00183 <span class="keywordflow">break</span>; +00184 } +00185 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o15">recvq</a>.length() > this-><a class="code" href="classuserrec.html#o22">recvqmax</a>) +00186 { +00187 this-><a class="code" href="classuserrec.html#a12">SetWriteError</a>(<span class="stringliteral">"RecvQ exceeded"</span>); +00188 WriteOpers(<span class="stringliteral">"*** User %s RecvQ of %d exceeds connect class maximum of %d"</span>,this->nick,<a class="code" href="classuserrec.html#o15">recvq</a>.length(),this-><a class="code" href="classuserrec.html#o22">recvqmax</a>); +00189 } +00190 <span class="comment">// return false if we've had more than 600 characters WITHOUT</span> +00191 <span class="comment">// a carriage return (this is BAD, drop the socket)</span> +00192 <span class="keywordflow">return</span> (i < 600); +00193 } </pre></div> </td> </tr> </table> @@ -329,23 +328,23 @@ Adds to the user's write buffer. <p> You may add any amount of text up to this users sendq value, if you exceed the sendq value, <a class="el" href="classuserrec.html#a12">SetWriteError()</a> will be called to set the users error string to "SendQ exceeded", and further buffer adds will be dropped. <p> -Definition at line <a class="el" href="users_8cpp-source.html#l00226">226</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. -<p> -References <a class="el" href="users_8cpp-source.html#l00272">GetWriteError()</a>, <a class="el" href="users_8h-source.html#l00200">sendq</a>, <a class="el" href="users_8h-source.html#l00214">sendqmax</a>, and <a class="el" href="users_8cpp-source.html#l00264">SetWriteError()</a>. -<p> -<div class="fragment"><pre>00227 { -00228 <span class="keywordflow">if</span> (this-><a class="code" href="classuserrec.html#a13">GetWriteError</a>() != <span class="stringliteral">""</span>) -00229 <span class="keywordflow">return</span>; -00230 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o16">sendq</a>.length() + data.length() > this-><a class="code" href="classuserrec.html#o21">sendqmax</a>) -00231 { -00232 WriteOpers(<span class="stringliteral">"*** User %s SendQ of %d exceeds connect class maximum of %d"</span>,this->nick,<a class="code" href="classuserrec.html#o16">sendq</a>.length() + data.length(),this-><a class="code" href="classuserrec.html#o21">sendqmax</a>); -00233 this-><a class="code" href="classuserrec.html#a12">SetWriteError</a>(<span class="stringliteral">"SendQ exceeded"</span>); -00234 <span class="keywordflow">return</span>; -00235 } -00236 std::stringstream stream; -00237 stream << <a class="code" href="classuserrec.html#o16">sendq</a> << data; -00238 <a class="code" href="classuserrec.html#o16">sendq</a> = stream.str(); -00239 } +Definition at line <a class="el" href="users_8cpp-source.html#l00225">225</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. +<p> +References <a class="el" href="users_8cpp-source.html#l00271">GetWriteError()</a>, <a class="el" href="users_8h-source.html#l00200">sendq</a>, <a class="el" href="users_8h-source.html#l00214">sendqmax</a>, and <a class="el" href="users_8cpp-source.html#l00263">SetWriteError()</a>. +<p> +<div class="fragment"><pre>00226 { +00227 <span class="keywordflow">if</span> (this-><a class="code" href="classuserrec.html#a13">GetWriteError</a>() != <span class="stringliteral">""</span>) +00228 <span class="keywordflow">return</span>; +00229 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o16">sendq</a>.length() + data.length() > this-><a class="code" href="classuserrec.html#o21">sendqmax</a>) +00230 { +00231 WriteOpers(<span class="stringliteral">"*** User %s SendQ of %d exceeds connect class maximum of %d"</span>,this->nick,<a class="code" href="classuserrec.html#o16">sendq</a>.length() + data.length(),this-><a class="code" href="classuserrec.html#o21">sendqmax</a>); +00232 this-><a class="code" href="classuserrec.html#a12">SetWriteError</a>(<span class="stringliteral">"SendQ exceeded"</span>); +00233 <span class="keywordflow">return</span>; +00234 } +00235 std::stringstream stream; +00236 stream << <a class="code" href="classuserrec.html#o16">sendq</a> << data; +00237 <a class="code" href="classuserrec.html#o16">sendq</a> = stream.str(); +00238 } </pre></div> </td> </tr> </table> @@ -378,16 +377,16 @@ This method returns true if the buffer contains at least one carriage return cha <p> one complete line may be read) <p> -Definition at line <a class="el" href="users_8cpp-source.html#l00196">196</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#l00195">195</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. <p> References <a class="el" href="users_8h-source.html#l00195">recvq</a>. <p> -<div class="fragment"><pre>00197 { -00198 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < <a class="code" href="classuserrec.html#o15">recvq</a>.length(); i++) -00199 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o15">recvq</a>[i] == <span class="charliteral">'\n'</span>) -00200 <span class="keywordflow">return</span> <span class="keyword">true</span>; -00201 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00202 } +<div class="fragment"><pre>00196 { +00197 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < <a class="code" href="classuserrec.html#o15">recvq</a>.length(); i++) +00198 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o15">recvq</a>[i] == <span class="charliteral">'\n'</span>) +00199 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00200 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00201 } </pre></div> </td> </tr> </table> @@ -420,15 +419,15 @@ This function clears the entire buffer by setting it to an empty string. <p> <p> -Definition at line <a class="el" href="users_8cpp-source.html#l00204">204</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#l00203">203</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. <p> References <a class="el" href="users_8h-source.html#l00195">recvq</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00699">Server::PseudoToUser()</a>, and <a class="el" href="modules_8cpp-source.html#l00680">Server::UserToPseudo()</a>. +Referenced by <a class="el" href="modules_8cpp-source.html#l00700">Server::PseudoToUser()</a>, and <a class="el" href="modules_8cpp-source.html#l00681">Server::UserToPseudo()</a>. <p> -<div class="fragment"><pre>00205 { -00206 <a class="code" href="classuserrec.html#o15">recvq</a> = <span class="stringliteral">""</span>; -00207 } +<div class="fragment"><pre>00204 { +00205 <a class="code" href="classuserrec.html#o15">recvq</a> = <span class="stringliteral">""</span>; +00206 } </pre></div> </td> </tr> </table> @@ -461,30 +460,30 @@ Flushes as much of the user's buffer to the file descriptor as possible. <p> This function may not always flush the entire buffer, rather instead as much of it as it possibly can. If the send() call fails to send the entire buffer, the buffer position is advanced forwards and the rest of the data sent at the next call to this method. <p> -Definition at line <a class="el" href="users_8cpp-source.html#l00242">242</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. -<p> -References <a class="el" href="connection_8h-source.html#l00235">connection::bytes_out</a>, <a class="el" href="connection_8h-source.html#l00243">connection::cmds_out</a>, <a class="el" href="users_8h-source.html#l00200">sendq</a>, and <a class="el" href="users_8cpp-source.html#l00264">SetWriteError()</a>. -<p> -<div class="fragment"><pre>00243 { -00244 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o16">sendq</a>.length()) -00245 { -00246 <span class="keywordtype">char</span>* tb = (<span class="keywordtype">char</span>*)this-><a class="code" href="classuserrec.html#o16">sendq</a>.c_str(); -00247 <span class="keywordtype">int</span> n_sent = write(this->fd,tb,this->sendq.length()); -00248 <span class="keywordflow">if</span> (n_sent == -1) -00249 { -00250 this-><a class="code" href="classuserrec.html#a12">SetWriteError</a>(strerror(errno)); -00251 } -00252 <span class="keywordflow">else</span> -00253 { -00254 <span class="comment">// advance the queue</span> -00255 tb += n_sent; -00256 this-><a class="code" href="classuserrec.html#o16">sendq</a> = tb; -00257 <span class="comment">// update the user's stats counters</span> -00258 this-><a class="code" href="classconnection.html#o5">bytes_out</a> += n_sent; -00259 this-><a class="code" href="classconnection.html#o7">cmds_out</a>++; -00260 } -00261 } -00262 } +Definition at line <a class="el" href="users_8cpp-source.html#l00241">241</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. +<p> +References <a class="el" href="connection_8h-source.html#l00231">connection::bytes_out</a>, <a class="el" href="connection_8h-source.html#l00239">connection::cmds_out</a>, <a class="el" href="users_8h-source.html#l00200">sendq</a>, and <a class="el" href="users_8cpp-source.html#l00263">SetWriteError()</a>. +<p> +<div class="fragment"><pre>00242 { +00243 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o16">sendq</a>.length()) +00244 { +00245 <span class="keywordtype">char</span>* tb = (<span class="keywordtype">char</span>*)this-><a class="code" href="classuserrec.html#o16">sendq</a>.c_str(); +00246 <span class="keywordtype">int</span> n_sent = write(this->fd,tb,this->sendq.length()); +00247 <span class="keywordflow">if</span> (n_sent == -1) +00248 { +00249 this-><a class="code" href="classuserrec.html#a12">SetWriteError</a>(strerror(errno)); +00250 } +00251 <span class="keywordflow">else</span> +00252 { +00253 <span class="comment">// advance the queue</span> +00254 tb += n_sent; +00255 this-><a class="code" href="classuserrec.html#o16">sendq</a> = tb; +00256 <span class="comment">// update the user's stats counters</span> +00257 this-><a class="code" href="classconnection.html#o4">bytes_out</a> += n_sent; +00258 this-><a class="code" href="classconnection.html#o6">cmds_out</a>++; +00259 } +00260 } +00261 } </pre></div> </td> </tr> </table> @@ -517,25 +516,25 @@ This method returns the first available string at the tail end of the buffer and <p> This means it is a one way operation in a similar way to strtok(), and multiple calls return multiple lines if they are available. The results of this function if there are no lines to be read are unknown, always use <a class="el" href="classuserrec.html#a9">BufferIsReady()</a> to check if it is ok to read the buffer before calling <a class="el" href="classuserrec.html#a11">GetBuffer()</a>. <p> -Definition at line <a class="el" href="users_8cpp-source.html#l00209">209</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#l00208">208</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. <p> References <a class="el" href="users_8h-source.html#l00195">recvq</a>. <p> -<div class="fragment"><pre>00210 { -00211 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o15">recvq</a> == <span class="stringliteral">""</span>) -00212 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; -00213 <span class="keywordtype">char</span>* line = (<span class="keywordtype">char</span>*)<a class="code" href="classuserrec.html#o15">recvq</a>.c_str(); -00214 std::string ret = <span class="stringliteral">""</span>; -00215 <span class="keywordflow">while</span> ((*line != <span class="charliteral">'\n'</span>) && (strlen(line))) -00216 { -00217 ret = ret + *line; -00218 line++; -00219 } -00220 <span class="keywordflow">if</span> ((*line == <span class="charliteral">'\n'</span>) || (*line == <span class="charliteral">'\r'</span>)) -00221 line++; -00222 <a class="code" href="classuserrec.html#o15">recvq</a> = line; -00223 <span class="keywordflow">return</span> ret; -00224 } +<div class="fragment"><pre>00209 { +00210 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o15">recvq</a> == <span class="stringliteral">""</span>) +00211 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; +00212 <span class="keywordtype">char</span>* line = (<span class="keywordtype">char</span>*)<a class="code" href="classuserrec.html#o15">recvq</a>.c_str(); +00213 std::string ret = <span class="stringliteral">""</span>; +00214 <span class="keywordflow">while</span> ((*line != <span class="charliteral">'\n'</span>) && (strlen(line))) +00215 { +00216 ret = ret + *line; +00217 line++; +00218 } +00219 <span class="keywordflow">if</span> ((*line == <span class="charliteral">'\n'</span>) || (*line == <span class="charliteral">'\r'</span>)) +00220 line++; +00221 <a class="code" href="classuserrec.html#o15">recvq</a> = line; +00222 <span class="keywordflow">return</span> ret; +00223 } </pre></div> </td> </tr> </table> @@ -568,14 +567,14 @@ Returns the full displayed host of the user This member function returns the hos <p> <p> -Definition at line <a class="el" href="users_8cpp-source.html#l00062">62</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#l00061">61</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. <p> References <a class="el" href="users_8h-source.html#l00130">dhost</a>, <a class="el" href="users_8h-source.html#l00125">ident</a>, <a class="el" href="users_8h-source.html#l00121">nick</a>, and <a class="el" href="users_8h-source.html#l00156">result</a>. <p> -<div class="fragment"><pre>00063 { -00064 snprintf(result,MAXBUF,<span class="stringliteral">"%s!%s@%s"</span>,nick,ident,dhost); -00065 <span class="keywordflow">return</span> <a class="code" href="classuserrec.html#o8">result</a>; -00066 } +<div class="fragment"><pre>00062 { +00063 snprintf(result,MAXBUF,<span class="stringliteral">"%s!%s@%s"</span>,nick,ident,dhost); +00064 <span class="keywordflow">return</span> <a class="code" href="classuserrec.html#o8">result</a>; +00065 } </pre></div> </td> </tr> </table> @@ -608,14 +607,14 @@ Returns the full real host of the user This member function returns the hostname <p> If any form of hostname cloaking is in operation, e.g. through a module, then this method will ignore it and return the true hostname. <p> -Definition at line <a class="el" href="users_8cpp-source.html#l00069">69</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#l00068">68</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. <p> References <a class="el" href="connection_8h-source.html#l00219">connection::host</a>, <a class="el" href="users_8h-source.html#l00125">ident</a>, <a class="el" href="users_8h-source.html#l00121">nick</a>, and <a class="el" href="users_8h-source.html#l00156">result</a>. <p> -<div class="fragment"><pre>00070 { -00071 snprintf(result,MAXBUF,<span class="stringliteral">"%s!%s@%s"</span>,nick,ident,host); -00072 <span class="keywordflow">return</span> <a class="code" href="classuserrec.html#o8">result</a>; -00073 } +<div class="fragment"><pre>00069 { +00070 snprintf(result,MAXBUF,<span class="stringliteral">"%s!%s@%s"</span>,nick,ident,host); +00071 <span class="keywordflow">return</span> <a class="code" href="classuserrec.html#o8">result</a>; +00072 } </pre></div> </td> </tr> </table> @@ -648,15 +647,15 @@ Returns the write error which last occured on this connection or an empty string <p> <p> -Definition at line <a class="el" href="users_8cpp-source.html#l00272">272</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#l00271">271</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. <p> References <a class="el" href="users_8h-source.html#l00210">WriteError</a>. <p> -Referenced by <a class="el" href="users_8cpp-source.html#l00226">AddWriteBuf()</a>. +Referenced by <a class="el" href="users_8cpp-source.html#l00225">AddWriteBuf()</a>. <p> -<div class="fragment"><pre>00273 { -00274 <span class="keywordflow">return</span> this-><a class="code" href="classuserrec.html#o20">WriteError</a>; -00275 } +<div class="fragment"><pre>00272 { +00273 <span class="keywordflow">return</span> this-><a class="code" href="classuserrec.html#o20">WriteError</a>; +00274 } </pre></div> </td> </tr> </table> @@ -690,59 +689,59 @@ Returns true or false for if a user can execute a privilaged oper command. <p> This is done by looking up their oper type from <a class="el" href="classuserrec.html#o11">userrec::oper</a>, then referencing this to their oper classes and checking the commands they can execute. <p> -Definition at line <a class="el" href="users_8cpp-source.html#l00118">118</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#l00117">117</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. <p> References <a class="el" href="channels_8cpp-source.html#l00101">config_f</a>, and <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>. <p> -<div class="fragment"><pre>00119 { -00120 <span class="keywordtype">char</span> TypeName[MAXBUF],Classes[MAXBUF],ClassName[MAXBUF],CommandList[MAXBUF]; -00121 <span class="keywordtype">char</span>* mycmd; -00122 <span class="keywordtype">char</span>* savept; -00123 <span class="keywordtype">char</span>* savept2; -00124 -00125 <span class="comment">// are they even an oper at all?</span> -00126 <span class="keywordflow">if</span> (strchr(this->modes,<span class="charliteral">'o'</span>)) -00127 { -00128 log(DEBUG,<span class="stringliteral">"*** HasPermission: %s is an oper"</span>,this->nick); -00129 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> j =0; j < ConfValueEnum(<span class="stringliteral">"type"</span>,&config_f); j++) -00130 { -00131 ConfValue(<span class="stringliteral">"type"</span>,<span class="stringliteral">"name"</span>,j,TypeName,&config_f); -00132 <span class="keywordflow">if</span> (!strcmp(TypeName,this->oper)) -00133 { -00134 log(DEBUG,<span class="stringliteral">"*** HasPermission: %s is an oper of type '%s'"</span>,this->nick,this->oper); -00135 ConfValue(<span class="stringliteral">"type"</span>,<span class="stringliteral">"classes"</span>,j,Classes,&config_f); -00136 <span class="keywordtype">char</span>* myclass = strtok_r(Classes,<span class="stringliteral">" "</span>,&savept); -00137 <span class="keywordflow">while</span> (myclass) -00138 { -00139 log(DEBUG,<span class="stringliteral">"*** HasPermission: checking classtype '%s'"</span>,myclass); -00140 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> k =0; k < ConfValueEnum(<span class="stringliteral">"class"</span>,&config_f); k++) -00141 { -00142 ConfValue(<span class="stringliteral">"class"</span>,<span class="stringliteral">"name"</span>,k,ClassName,&config_f); -00143 <span class="keywordflow">if</span> (!strcmp(ClassName,myclass)) -00144 { -00145 ConfValue(<span class="stringliteral">"class"</span>,<span class="stringliteral">"commands"</span>,k,CommandList,&config_f); -00146 log(DEBUG,<span class="stringliteral">"*** HasPermission: found class named %s with commands: '%s'"</span>,ClassName,CommandList); +<div class="fragment"><pre>00118 { +00119 <span class="keywordtype">char</span> TypeName[MAXBUF],Classes[MAXBUF],ClassName[MAXBUF],CommandList[MAXBUF]; +00120 <span class="keywordtype">char</span>* mycmd; +00121 <span class="keywordtype">char</span>* savept; +00122 <span class="keywordtype">char</span>* savept2; +00123 +00124 <span class="comment">// are they even an oper at all?</span> +00125 <span class="keywordflow">if</span> (strchr(this->modes,<span class="charliteral">'o'</span>)) +00126 { +00127 log(DEBUG,<span class="stringliteral">"*** HasPermission: %s is an oper"</span>,this->nick); +00128 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> j =0; j < ConfValueEnum(<span class="stringliteral">"type"</span>,&config_f); j++) +00129 { +00130 ConfValue(<span class="stringliteral">"type"</span>,<span class="stringliteral">"name"</span>,j,TypeName,&config_f); +00131 <span class="keywordflow">if</span> (!strcmp(TypeName,this->oper)) +00132 { +00133 log(DEBUG,<span class="stringliteral">"*** HasPermission: %s is an oper of type '%s'"</span>,this->nick,this->oper); +00134 ConfValue(<span class="stringliteral">"type"</span>,<span class="stringliteral">"classes"</span>,j,Classes,&config_f); +00135 <span class="keywordtype">char</span>* myclass = strtok_r(Classes,<span class="stringliteral">" "</span>,&savept); +00136 <span class="keywordflow">while</span> (myclass) +00137 { +00138 log(DEBUG,<span class="stringliteral">"*** HasPermission: checking classtype '%s'"</span>,myclass); +00139 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> k =0; k < ConfValueEnum(<span class="stringliteral">"class"</span>,&config_f); k++) +00140 { +00141 ConfValue(<span class="stringliteral">"class"</span>,<span class="stringliteral">"name"</span>,k,ClassName,&config_f); +00142 <span class="keywordflow">if</span> (!strcmp(ClassName,myclass)) +00143 { +00144 ConfValue(<span class="stringliteral">"class"</span>,<span class="stringliteral">"commands"</span>,k,CommandList,&config_f); +00145 log(DEBUG,<span class="stringliteral">"*** HasPermission: found class named %s with commands: '%s'"</span>,ClassName,CommandList); +00146 00147 -00148 -00149 mycmd = strtok_r(CommandList,<span class="stringliteral">" "</span>,&savept2); -00150 <span class="keywordflow">while</span> (mycmd) -00151 { -00152 <span class="keywordflow">if</span> (!strcasecmp(mycmd,command)) -00153 { -00154 log(DEBUG,<span class="stringliteral">"*** Command %s found, returning true"</span>,command); -00155 <span class="keywordflow">return</span> <span class="keyword">true</span>; -00156 } -00157 mycmd = strtok_r(NULL,<span class="stringliteral">" "</span>,&savept2); -00158 } -00159 } -00160 } -00161 myclass = strtok_r(NULL,<span class="stringliteral">" "</span>,&savept); -00162 } -00163 } -00164 } -00165 } -00166 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00167 } +00148 mycmd = strtok_r(CommandList,<span class="stringliteral">" "</span>,&savept2); +00149 <span class="keywordflow">while</span> (mycmd) +00150 { +00151 <span class="keywordflow">if</span> (!strcasecmp(mycmd,command)) +00152 { +00153 log(DEBUG,<span class="stringliteral">"*** Command %s found, returning true"</span>,command); +00154 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00155 } +00156 mycmd = strtok_r(NULL,<span class="stringliteral">" "</span>,&savept2); +00157 } +00158 } +00159 } +00160 myclass = strtok_r(NULL,<span class="stringliteral">" "</span>,&savept); +00161 } +00162 } +00163 } +00164 } +00165 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00166 } </pre></div> </td> </tr> </table> @@ -776,15 +775,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#l00089">89</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#l00088">88</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. <p> References <a class="el" href="users_8h-source.html#l00039">Invited::channel</a>, and <a class="el" href="users_8h-source.html#l00114">invites</a>. <p> -<div class="fragment"><pre>00090 { -00091 <a class="code" href="classInvited.html">Invited</a> i; -00092 strlcpy(i.<a class="code" href="classInvited.html#o0">channel</a>,channel,CHANMAX); -00093 <a class="code" href="classuserrec.html#r0">invites</a>.push_back(i); -00094 } +<div class="fragment"><pre>00089 { +00090 <a class="code" href="classInvited.html">Invited</a> i; +00091 strlcpy(i.<a class="code" href="classInvited.html#o0">channel</a>,channel,CHANMAX); +00092 <a class="code" href="classuserrec.html#r0">invites</a>.push_back(i); +00093 } </pre></div> </td> </tr> </table> @@ -818,22 +817,22 @@ Returns true if a user is invited to a channel. <p> <p> -Definition at line <a class="el" href="users_8cpp-source.html#l00075">75</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#l00074">74</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. <p> References <a class="el" href="users_8h-source.html#l00114">invites</a>. <p> -<div class="fragment"><pre>00076 { -00077 <span class="keywordflow">for</span> (InvitedList::iterator i = <a class="code" href="classuserrec.html#r0">invites</a>.begin(); i != <a class="code" href="classuserrec.html#r0">invites</a>.end(); i++) -00078 { -00079 <span class="keywordflow">if</span> (i->channel) { -00080 <span class="keywordflow">if</span> (!strcasecmp(i->channel,channel)) -00081 { -00082 <span class="keywordflow">return</span> <span class="keyword">true</span>; -00083 } -00084 } -00085 } -00086 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00087 } +<div class="fragment"><pre>00075 { +00076 <span class="keywordflow">for</span> (InvitedList::iterator i = <a class="code" href="classuserrec.html#r0">invites</a>.begin(); i != <a class="code" href="classuserrec.html#r0">invites</a>.end(); i++) +00077 { +00078 <span class="keywordflow">if</span> (i->channel) { +00079 <span class="keywordflow">if</span> (!strcasecmp(i->channel,channel)) +00080 { +00081 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00082 } +00083 } +00084 } +00085 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00086 } </pre></div> </td> </tr> </table> @@ -867,30 +866,30 @@ 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#l00096">96</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#l00095">95</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. <p> References <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, and <a class="el" href="users_8h-source.html#l00114">invites</a>. <p> -<div class="fragment"><pre>00097 { -00098 log(DEBUG,<span class="stringliteral">"Removing invites"</span>); -00099 <span class="keywordflow">if</span> (channel) -00100 { -00101 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#r0">invites</a>.size()) -00102 { -00103 <span class="keywordflow">for</span> (InvitedList::iterator i = <a class="code" href="classuserrec.html#r0">invites</a>.begin(); i != <a class="code" href="classuserrec.html#r0">invites</a>.end(); i++) -00104 { -00105 <span class="keywordflow">if</span> (i->channel) -00106 { -00107 <span class="keywordflow">if</span> (!strcasecmp(i->channel,channel)) -00108 { -00109 <a class="code" href="classuserrec.html#r0">invites</a>.erase(i); -00110 <span class="keywordflow">return</span>; -00111 } -00112 } -00113 } -00114 } -00115 } -00116 } +<div class="fragment"><pre>00096 { +00097 log(DEBUG,<span class="stringliteral">"Removing invites"</span>); +00098 <span class="keywordflow">if</span> (channel) +00099 { +00100 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#r0">invites</a>.size()) +00101 { +00102 <span class="keywordflow">for</span> (InvitedList::iterator i = <a class="code" href="classuserrec.html#r0">invites</a>.begin(); i != <a class="code" href="classuserrec.html#r0">invites</a>.end(); i++) +00103 { +00104 <span class="keywordflow">if</span> (i->channel) +00105 { +00106 <span class="keywordflow">if</span> (!strcasecmp(i->channel,channel)) +00107 { +00108 <a class="code" href="classuserrec.html#r0">invites</a>.erase(i); +00109 <span class="keywordflow">return</span>; +00110 } +00111 } +00112 } +00113 } +00114 } +00115 } </pre></div> </td> </tr> </table> @@ -924,18 +923,18 @@ Sets the write error for a connection. <p> This is done because the actual disconnect of a client may occur at an inopportune time such as half way through /LIST output. The WriteErrors of clients are checked at a more ideal time (in the mainloop) and errored clients purged. <p> -Definition at line <a class="el" href="users_8cpp-source.html#l00264">264</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#l00263">263</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. <p> References <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, and <a class="el" href="users_8h-source.html#l00210">WriteError</a>. <p> -Referenced by <a class="el" href="users_8cpp-source.html#l00170">AddBuffer()</a>, <a class="el" href="users_8cpp-source.html#l00226">AddWriteBuf()</a>, and <a class="el" href="users_8cpp-source.html#l00242">FlushWriteBuf()</a>. +Referenced by <a class="el" href="users_8cpp-source.html#l00169">AddBuffer()</a>, <a class="el" href="users_8cpp-source.html#l00225">AddWriteBuf()</a>, and <a class="el" href="users_8cpp-source.html#l00241">FlushWriteBuf()</a>. <p> -<div class="fragment"><pre>00265 { -00266 log(DEBUG,<span class="stringliteral">"Setting error string for %s to '%s'"</span>,this->nick,error.c_str()); -00267 <span class="comment">// don't try to set the error twice, its already set take the first string.</span> -00268 <span class="keywordflow">if</span> (this-><a class="code" href="classuserrec.html#o20">WriteError</a> == <span class="stringliteral">""</span>) -00269 this-><a class="code" href="classuserrec.html#o20">WriteError</a> = error; -00270 } +<div class="fragment"><pre>00264 { +00265 log(DEBUG,<span class="stringliteral">"Setting error string for %s to '%s'"</span>,this->nick,error.c_str()); +00266 <span class="comment">// don't try to set the error twice, its already set take the first string.</span> +00267 <span class="keywordflow">if</span> (this-><a class="code" href="classuserrec.html#o20">WriteError</a> == <span class="stringliteral">""</span>) +00268 this-><a class="code" href="classuserrec.html#o20">WriteError</a> = error; +00269 } </pre></div> </td> </tr> </table> @@ -991,7 +990,7 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00028">userrec()</a>. <p> Definition at line <a class="el" href="users_8h-source.html#l00142">142</a> of file <a class="el" href="users_8h-source.html">users.h</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00699">Server::PseudoToUser()</a>, and <a class="el" href="users_8cpp-source.html#l00028">userrec()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00700">Server::PseudoToUser()</a>, and <a class="el" href="users_8cpp-source.html#l00028">userrec()</a>. </td> </tr> </table> <a name="o2" doxytag="userrec::dhost"></a><p> @@ -1000,7 +999,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00699">Server::Pseud <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> char <a class="el" href="classuserrec.html#o2">userrec::dhost</a>[256] + <td class="md" nowrap valign="top"> char <a class="el" href="classuserrec.html#o2">userrec::dhost</a>[160] </table> </td> </tr> @@ -1019,7 +1018,7 @@ This usually matches the value of <a class="el" href="classconnection.html#o1">u <p> Definition at line <a class="el" href="users_8h-source.html#l00130">130</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#l00062">GetFullHost()</a>, and <a class="el" href="users_8cpp-source.html#l00028">userrec()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00061">GetFullHost()</a>, and <a class="el" href="users_8cpp-source.html#l00028">userrec()</a>. </td> </tr> </table> <a name="o12" doxytag="userrec::dns_done"></a><p> @@ -1112,7 +1111,7 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00028">userrec()</a>. <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> char <a class="el" href="classuserrec.html#o1">userrec::ident</a>[64] + <td class="md" nowrap valign="top"> char <a class="el" href="classuserrec.html#o1">userrec::ident</a>[16] </table> </td> </tr> @@ -1131,7 +1130,7 @@ The users ident reply. <p> Definition at line <a class="el" href="users_8h-source.html#l00125">125</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#l00062">GetFullHost()</a>, <a class="el" href="users_8cpp-source.html#l00069">GetFullRealHost()</a>, <a class="el" href="modules_8cpp-source.html#l00699">Server::PseudoToUser()</a>, <a class="el" href="users_8cpp-source.html#l00028">userrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00680">Server::UserToPseudo()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00061">GetFullHost()</a>, <a class="el" href="users_8cpp-source.html#l00068">GetFullRealHost()</a>, <a class="el" href="modules_8cpp-source.html#l00700">Server::PseudoToUser()</a>, <a class="el" href="users_8cpp-source.html#l00028">userrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00681">Server::UserToPseudo()</a>. </td> </tr> </table> <a name="r0" doxytag="userrec::invites"></a><p> @@ -1159,7 +1158,7 @@ A list of channels the user has a pending invite to. <p> Definition at line <a class="el" href="users_8h-source.html#l00114">114</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#l00089">InviteTo()</a>, <a class="el" href="users_8cpp-source.html#l00075">IsInvited()</a>, <a class="el" href="users_8cpp-source.html#l00096">RemoveInvite()</a>, and <a class="el" href="users_8cpp-source.html#l00028">userrec()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00088">InviteTo()</a>, <a class="el" href="users_8cpp-source.html#l00074">IsInvited()</a>, <a class="el" href="users_8cpp-source.html#l00095">RemoveInvite()</a>, and <a class="el" href="users_8cpp-source.html#l00028">userrec()</a>. </td> </tr> </table> <a name="o17" doxytag="userrec::lines_in"></a><p> @@ -1168,7 +1167,7 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00089">InviteTo()</a>, <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> long <a class="el" href="classuserrec.html#o17">userrec::lines_in</a> + <td class="md" nowrap valign="top"> int <a class="el" href="classuserrec.html#o17">userrec::lines_in</a> </table> </td> </tr> @@ -1243,7 +1242,7 @@ An invalid nickname indicates an unregistered connection prior to the NICK comma <p> Definition at line <a class="el" href="users_8h-source.html#l00121">121</a> of file <a class="el" href="users_8h-source.html">users.h</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00966">ConfigReader::DumpErrors()</a>, <a class="el" href="users_8cpp-source.html#l00062">GetFullHost()</a>, <a class="el" href="users_8cpp-source.html#l00069">GetFullRealHost()</a>, <a class="el" href="modules_8cpp-source.html#l00699">Server::PseudoToUser()</a>, and <a class="el" href="users_8cpp-source.html#l00028">userrec()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00967">ConfigReader::DumpErrors()</a>, <a class="el" href="users_8cpp-source.html#l00061">GetFullHost()</a>, <a class="el" href="users_8cpp-source.html#l00068">GetFullRealHost()</a>, <a class="el" href="modules_8cpp-source.html#l00700">Server::PseudoToUser()</a>, and <a class="el" href="users_8cpp-source.html#l00028">userrec()</a>. </td> </tr> </table> <a name="o11" doxytag="userrec::oper"></a><p> @@ -1306,7 +1305,7 @@ Definition at line <a class="el" href="users_8h-source.html#l00189">189</a> of f <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> unsigned long <a class="el" href="classuserrec.html#o13">userrec::pingmax</a> + <td class="md" nowrap valign="top"> unsigned int <a class="el" href="classuserrec.html#o13">userrec::pingmax</a> </table> </td> </tr> @@ -1351,7 +1350,7 @@ Lines from the IRCd awaiting processing are stored here. Upgraded april 2005, ol <p> Definition at line <a class="el" href="users_8h-source.html#l00195">195</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#l00170">AddBuffer()</a>, <a class="el" href="users_8cpp-source.html#l00196">BufferIsReady()</a>, <a class="el" href="users_8cpp-source.html#l00204">ClearBuffer()</a>, <a class="el" href="users_8cpp-source.html#l00209">GetBuffer()</a>, and <a class="el" href="users_8cpp-source.html#l00028">userrec()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00169">AddBuffer()</a>, <a class="el" href="users_8cpp-source.html#l00195">BufferIsReady()</a>, <a class="el" href="users_8cpp-source.html#l00203">ClearBuffer()</a>, <a class="el" href="users_8cpp-source.html#l00208">GetBuffer()</a>, and <a class="el" href="users_8cpp-source.html#l00028">userrec()</a>. </td> </tr> </table> <a name="o22" doxytag="userrec::recvqmax"></a><p> @@ -1379,7 +1378,7 @@ Maximum size this user's recvq can become. <p> Definition at line <a class="el" href="users_8h-source.html#l00218">218</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#l00170">AddBuffer()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00169">AddBuffer()</a>. </td> </tr> </table> <a name="o18" doxytag="userrec::reset_due"></a><p> @@ -1433,7 +1432,7 @@ You may use this to increase the speed of use of this class. <p> Definition at line <a class="el" href="users_8h-source.html#l00156">156</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#l00062">GetFullHost()</a>, <a class="el" href="users_8cpp-source.html#l00069">GetFullRealHost()</a>, and <a class="el" href="users_8cpp-source.html#l00028">userrec()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00061">GetFullHost()</a>, <a class="el" href="users_8cpp-source.html#l00068">GetFullRealHost()</a>, and <a class="el" href="users_8cpp-source.html#l00028">userrec()</a>. </td> </tr> </table> <a name="o16" doxytag="userrec::sendq"></a><p> @@ -1461,7 +1460,7 @@ Lines waiting to be sent are stored here until their buffer is flushed. <p> Definition at line <a class="el" href="users_8h-source.html#l00200">200</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#l00226">AddWriteBuf()</a>, <a class="el" href="users_8cpp-source.html#l00242">FlushWriteBuf()</a>, and <a class="el" href="users_8cpp-source.html#l00028">userrec()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00225">AddWriteBuf()</a>, <a class="el" href="users_8cpp-source.html#l00241">FlushWriteBuf()</a>, and <a class="el" href="users_8cpp-source.html#l00028">userrec()</a>. </td> </tr> </table> <a name="o21" doxytag="userrec::sendqmax"></a><p> @@ -1489,7 +1488,7 @@ Maximum size this user's sendq can become. <p> Definition at line <a class="el" href="users_8h-source.html#l00214">214</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#l00226">AddWriteBuf()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00225">AddWriteBuf()</a>. </td> </tr> </table> <a name="o6" doxytag="userrec::server"></a><p> @@ -1550,7 +1549,7 @@ Definition at line <a class="el" href="users_8h-source.html#l00206">206</a> of f <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> unsigned long <a class="el" href="classuserrec.html#o10">userrec::timeout</a> + <td class="md" nowrap valign="top"> unsigned int <a class="el" href="classuserrec.html#o10">userrec::timeout</a> </table> </td> </tr> @@ -1595,12 +1594,12 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00028">userrec()</a>. <p> Definition at line <a class="el" href="users_8h-source.html#l00210">210</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#l00272">GetWriteError()</a>, and <a class="el" href="users_8cpp-source.html#l00264">SetWriteError()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00271">GetWriteError()</a>, and <a class="el" href="users_8cpp-source.html#l00263">SetWriteError()</a>. </td> </tr> </table> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="users_8h-source.html">users.h</a><li><a class="el" href="users_8cpp-source.html">users.cpp</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:29 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:06 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/commands_8h-source.html b/docs/module-doc/commands_8h-source.html index bd2afa087..01a404602 100644 --- a/docs/module-doc/commands_8h-source.html +++ b/docs/module-doc/commands_8h-source.html @@ -118,7 +118,7 @@ 00121 <span class="keywordtype">long</span> <a class="code" href="commands_8h.html#a75">duration</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* str); 00122 00123 <span class="preprocessor">#endif</span> -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:11 2005 for InspIRCd by +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:58:58 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/commands_8h.html b/docs/module-doc/commands_8h.html index d7be65235..c07eff440 100644 --- a/docs/module-doc/commands_8h.html +++ b/docs/module-doc/commands_8h.html @@ -207,7 +207,7 @@ Other useful functions. <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00749">Server::AddELine()</a>, <a class="el" href="modules_8cpp-source.html#l00729">Server::AddGLine()</a>, <a class="el" href="modules_8cpp-source.html#l00744">Server::AddKLine()</a>, <a class="el" href="modules_8cpp-source.html#l00734">Server::AddQLine()</a>, <a class="el" href="modules_8cpp-source.html#l00739">Server::AddZLine()</a>, and <a class="el" href="modules_8cpp-source.html#l00779">Server::CalcDuration()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00750">Server::AddELine()</a>, <a class="el" href="modules_8cpp-source.html#l00730">Server::AddGLine()</a>, <a class="el" href="modules_8cpp-source.html#l00745">Server::AddKLine()</a>, <a class="el" href="modules_8cpp-source.html#l00735">Server::AddQLine()</a>, <a class="el" href="modules_8cpp-source.html#l00740">Server::AddZLine()</a>, and <a class="el" href="modules_8cpp-source.html#l00780">Server::CalcDuration()</a>. </td> </tr> </table> <a name="a58" doxytag="commands.h::handle_a"></a><p> @@ -3722,7 +3722,7 @@ Functions for u:lined servers. <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00488">Server::IsUlined()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00489">Server::IsUlined()</a>. </td> </tr> </table> <a name="a51" doxytag="commands.h::process_restricted_commands"></a><p> @@ -3793,7 +3793,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00488">Server::IsUli </td> </tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:15 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:00 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/connection_8h-source.html b/docs/module-doc/connection_8h-source.html index 79c043389..c5010e9c4 100644 --- a/docs/module-doc/connection_8h-source.html +++ b/docs/module-doc/connection_8h-source.html @@ -57,7 +57,7 @@ 00068 <a name="l00071"></a><a class="code" href="classircd__connector.html#r3">00071</a> std::string <a class="code" href="classircd__connector.html#r3">description</a>; 00072 -<a name="l00076"></a><a class="code" href="classircd__connector.html#r4">00076</a> <span class="keywordtype">int</span> <a class="code" href="classircd__connector.html#r4">state</a>; +<a name="l00076"></a><a class="code" href="classircd__connector.html#r4">00076</a> <span class="keywordtype">char</span> <a class="code" href="classircd__connector.html#r4">state</a>; 00077 00080 <span class="keywordtype">bool</span> <a class="code" href="classircd__connector.html#d0">SetHostAddress</a>(<span class="keywordtype">char</span>* host, <span class="keywordtype">int</span> port); 00081 @@ -122,65 +122,57 @@ 00212 <span class="keyword">public</span>: <a name="l00215"></a><a class="code" href="classconnection.html#o0">00215</a> <span class="keywordtype">int</span> <a class="code" href="classconnection.html#o0">fd</a>; 00216 -<a name="l00219"></a><a class="code" href="classconnection.html#o1">00219</a> <span class="keywordtype">char</span> <a class="code" href="classconnection.html#o1">host</a>[256]; +<a name="l00219"></a><a class="code" href="classconnection.html#o1">00219</a> <span class="keywordtype">char</span> <a class="code" href="classconnection.html#o1">host</a>[160]; 00220 -<a name="l00223"></a><a class="code" href="classconnection.html#o2">00223</a> <span class="keywordtype">char</span> <a class="code" href="classconnection.html#o2">ip</a>[32]; +<a name="l00223"></a><a class="code" href="classconnection.html#o2">00223</a> <span class="keywordtype">char</span> <a class="code" href="classconnection.html#o2">ip</a>[16]; 00224 -<a name="l00227"></a><a class="code" href="classconnection.html#o3">00227</a> <span class="keywordtype">char</span> <a class="code" href="classconnection.html#o3">inbuf</a>[MAXBUF]; -00228 -<a name="l00231"></a><a class="code" href="classconnection.html#o4">00231</a> <span class="keywordtype">long</span> <a class="code" href="classconnection.html#o4">bytes_in</a>; +<a name="l00227"></a><a class="code" href="classconnection.html#o3">00227</a> <span class="keywordtype">long</span> <a class="code" href="classconnection.html#o3">bytes_in</a>; +00228 +<a name="l00231"></a><a class="code" href="classconnection.html#o4">00231</a> <span class="keywordtype">long</span> <a class="code" href="classconnection.html#o4">bytes_out</a>; 00232 -<a name="l00235"></a><a class="code" href="classconnection.html#o5">00235</a> <span class="keywordtype">long</span> <a class="code" href="classconnection.html#o5">bytes_out</a>; +<a name="l00235"></a><a class="code" href="classconnection.html#o5">00235</a> <span class="keywordtype">long</span> <a class="code" href="classconnection.html#o5">cmds_in</a>; 00236 -<a name="l00239"></a><a class="code" href="classconnection.html#o6">00239</a> <span class="keywordtype">long</span> <a class="code" href="classconnection.html#o6">cmds_in</a>; +<a name="l00239"></a><a class="code" href="classconnection.html#o6">00239</a> <span class="keywordtype">long</span> <a class="code" href="classconnection.html#o6">cmds_out</a>; 00240 -<a name="l00243"></a><a class="code" href="classconnection.html#o7">00243</a> <span class="keywordtype">long</span> <a class="code" href="classconnection.html#o7">cmds_out</a>; +<a name="l00243"></a><a class="code" href="classconnection.html#o7">00243</a> <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#o7">haspassed</a>; 00244 -<a name="l00247"></a><a class="code" href="classconnection.html#o8">00247</a> <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#o8">haspassed</a>; -00248 -<a name="l00253"></a><a class="code" href="classconnection.html#o9">00253</a> <span class="keywordtype">int</span> <a class="code" href="classconnection.html#o9">port</a>; +<a name="l00249"></a><a class="code" href="classconnection.html#o8">00249</a> <span class="keywordtype">int</span> <a class="code" href="classconnection.html#o8">port</a>; +00250 +<a name="l00253"></a><a class="code" href="classconnection.html#o9">00253</a> <span class="keywordtype">char</span> <a class="code" href="classconnection.html#o9">registered</a>; 00254 -<a name="l00257"></a><a class="code" href="classconnection.html#o10">00257</a> <span class="keywordtype">int</span> <a class="code" href="classconnection.html#o10">registered</a>; +<a name="l00257"></a><a class="code" href="classconnection.html#o10">00257</a> time_t <a class="code" href="classconnection.html#o10">lastping</a>; 00258 -<a name="l00261"></a><a class="code" href="classconnection.html#o11">00261</a> <span class="keywordtype">short</span> <span class="keywordtype">int</span> <a class="code" href="classconnection.html#o11">state</a>; +<a name="l00261"></a><a class="code" href="classconnection.html#o11">00261</a> time_t <a class="code" href="classconnection.html#o11">signon</a>; 00262 -<a name="l00265"></a><a class="code" href="classconnection.html#o12">00265</a> time_t <a class="code" href="classconnection.html#o12">lastping</a>; +<a name="l00265"></a><a class="code" href="classconnection.html#o12">00265</a> time_t <a class="code" href="classconnection.html#o12">idle_lastmsg</a>; 00266 -<a name="l00269"></a><a class="code" href="classconnection.html#o13">00269</a> time_t <a class="code" href="classconnection.html#o13">signon</a>; +<a name="l00269"></a><a class="code" href="classconnection.html#o13">00269</a> time_t <a class="code" href="classconnection.html#o13">nping</a>; 00270 -<a name="l00273"></a><a class="code" href="classconnection.html#o14">00273</a> time_t <a class="code" href="classconnection.html#o14">idle_lastmsg</a>; -00274 -<a name="l00277"></a><a class="code" href="classconnection.html#o15">00277</a> time_t <a class="code" href="classconnection.html#o15">nping</a>; -00278 -<a name="l00281"></a><a class="code" href="classconnection.html#o16">00281</a> <span class="keywordtype">char</span> <a class="code" href="classconnection.html#o16">internal_addr</a>[MAXBUF]; -00282 -<a name="l00285"></a><a class="code" href="classconnection.html#o17">00285</a> <span class="keywordtype">int</span> <a class="code" href="classconnection.html#o17">internal_port</a>; -00286 -<a name="l00290"></a><a class="code" href="classconnection.html#o18">00290</a> std::vector<ircd_connector> <a class="code" href="classconnection.html#o18">connectors</a>; +<a name="l00274"></a><a class="code" href="classconnection.html#o14">00274</a> std::vector<ircd_connector> <a class="code" href="classconnection.html#o14">connectors</a>; +00275 +00278 <a class="code" href="classconnection.html#a0">connection</a>(); +00279 +00282 <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); +00283 +00286 <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#a2">BeginLink</a>(<span class="keywordtype">char</span>* targethost, <span class="keywordtype">int</span> port, <span class="keywordtype">char</span>* password, <span class="keywordtype">char</span>* servername, <span class="keywordtype">int</span> myport); +00287 +00290 <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#a3">MeshCookie</a>(<span class="keywordtype">char</span>* targethost, <span class="keywordtype">int</span> port, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> cookie, <span class="keywordtype">char</span>* servername); 00291 -00294 <a class="code" href="classconnection.html#a0">connection</a>(); +00294 <span class="keywordtype">void</span> <a class="code" href="classconnection.html#a4">TerminateLink</a>(<span class="keywordtype">char</span>* targethost); 00295 -00298 <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); -00299 -00302 <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#a2">BeginLink</a>(<span class="keywordtype">char</span>* targethost, <span class="keywordtype">int</span> port, <span class="keywordtype">char</span>* password, <span class="keywordtype">char</span>* servername, <span class="keywordtype">int</span> myport); -00303 -00306 <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#a3">MeshCookie</a>(<span class="keywordtype">char</span>* targethost, <span class="keywordtype">int</span> port, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> cookie, <span class="keywordtype">char</span>* servername); -00307 -00310 <span class="keywordtype">void</span> <a class="code" href="classconnection.html#a4">TerminateLink</a>(<span class="keywordtype">char</span>* targethost); -00311 -00315 <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#a5">SendPacket</a>(<span class="keywordtype">char</span> *message, <span class="keyword">const</span> <span class="keywordtype">char</span>* host); -00316 -00321 <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#a6">RecvPacket</a>(std::deque<std::string> &messages, <span class="keywordtype">char</span>* host); -00322 -00325 <a class="code" href="classircd__connector.html">ircd_connector</a>* <a class="code" href="classconnection.html#a7">FindHost</a>(std::string host); -00326 -00330 <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#a8">AddIncoming</a>(<span class="keywordtype">int</span> fd,<span class="keywordtype">char</span>* targethost, <span class="keywordtype">int</span> sourceport); -00331 -00332 }; -00333 -00334 -00335 <span class="preprocessor">#endif</span> -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:11 2005 for InspIRCd by +00299 <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#a5">SendPacket</a>(<span class="keywordtype">char</span> *message, <span class="keyword">const</span> <span class="keywordtype">char</span>* host); +00300 +00305 <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#a6">RecvPacket</a>(std::deque<std::string> &messages, <span class="keywordtype">char</span>* host); +00306 +00309 <a class="code" href="classircd__connector.html">ircd_connector</a>* <a class="code" href="classconnection.html#a7">FindHost</a>(std::string host); +00310 +00314 <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#a8">AddIncoming</a>(<span class="keywordtype">int</span> fd,<span class="keywordtype">char</span>* targethost, <span class="keywordtype">int</span> sourceport); +00315 +00316 }; +00317 +00318 +00319 <span class="preprocessor">#endif</span> +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:58:58 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/connection_8h.html b/docs/module-doc/connection_8h.html index c8689a50c..1a63fd8ac 100644 --- a/docs/module-doc/connection_8h.html +++ b/docs/module-doc/connection_8h.html @@ -189,7 +189,7 @@ Definition at line <a class="el" href="connection_8h-source.html#l00040">40</a> Definition at line <a class="el" href="connection_8h-source.html#l00037">37</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> </tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:15 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:00 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/ctables_8h-source.html b/docs/module-doc/ctables_8h-source.html index b526d691c..42043fa7d 100644 --- a/docs/module-doc/ctables_8h-source.html +++ b/docs/module-doc/ctables_8h-source.html @@ -42,7 +42,7 @@ 00051 00052 <span class="preprocessor">#endif</span> 00053 <span class="preprocessor"></span> -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:11 2005 for InspIRCd by +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:58:58 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/ctables_8h.html b/docs/module-doc/ctables_8h.html index 92975a456..c1a32b0a5 100644 --- a/docs/module-doc/ctables_8h.html +++ b/docs/module-doc/ctables_8h.html @@ -17,7 +17,7 @@ <tr><td class="mdescLeft"> </td><td class="mdescRight">A structure that defines a command. </em> <a href="classcommand__t.html#_details">More...</a><em><br><br></td></tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:15 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:00 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/dns_8h-source.html b/docs/module-doc/dns_8h-source.html index 820de511b..302f5d95b 100644 --- a/docs/module-doc/dns_8h-source.html +++ b/docs/module-doc/dns_8h-source.html @@ -70,7 +70,7 @@ 00093 }; 00094 00095 <span class="preprocessor">#endif</span> -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:11 2005 for InspIRCd by +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:58:58 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/dns_8h.html b/docs/module-doc/dns_8h.html index 5ce0d54b4..5408cc9fd 100644 --- a/docs/module-doc/dns_8h.html +++ b/docs/module-doc/dns_8h.html @@ -20,7 +20,7 @@ <tr><td class="memItemLeft" nowrap align=right valign=top>struct </td><td class="memItemRight" valign=bottom><a class="el" href="structdns__ip4list.html">dns_ip4list</a></td></tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:15 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:00 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/files.html b/docs/module-doc/files.html index 67668e45d..7f2028d46 100644 --- a/docs/module-doc/files.html +++ b/docs/module-doc/files.html @@ -23,7 +23,7 @@ <tr><td class="indexkey"><a class="el" href="users_8h.html">users.h</a> <a href="users_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> <tr><td class="indexkey"><a class="el" href="xline_8h.html">xline.h</a> <a href="xline_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:10 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:58:57 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/functions.html b/docs/module-doc/functions.html index f22b189e8..a65648658 100644 --- a/docs/module-doc/functions.html +++ b/docs/module-doc/functions.html @@ -24,7 +24,7 @@ Here is a list of all class members with links to the classes they belong to:<h3 : <a class="el" href="classServer.html#a43">Server</a><li>AddQLine() : <a class="el" href="classServer.html#a41">Server</a><li>addr : <a class="el" href="classircd__connector.html#r0">ircd_connector</a><li>AddUser() -: <a class="el" href="classchanrec.html#a7">chanrec</a><li>AddWriteBuf() +: <a class="el" href="classchanrec.html#a5">chanrec</a><li>AddWriteBuf() : <a class="el" href="classuserrec.html#a14">userrec</a><li>AddZLine() : <a class="el" href="classServer.html#a42">Server</a><li>Admin() : <a class="el" href="classAdmin.html#a0">Admin</a><li>age @@ -33,18 +33,18 @@ Here is a list of all class members with links to the classes they belong to:<h3 <h3><a name="index_b">- b -</a> </h3><ul> <li>bans -: <a class="el" href="classchanrec.html#o16">chanrec</a><li>BeginLink() -: <a class="el" href="classconnection.html#a2">connection</a><li>binip +: <a class="el" href="classchanrec.html#o10">chanrec</a><li>BeginLink() +: <a class="el" href="classconnection.html#a2">connection</a><li>binarymodes +: <a class="el" href="classchanrec.html#o9">chanrec</a><li>binip : <a class="el" href="classDNS.html#r0">DNS</a><li>BufferIsComplete() : <a class="el" href="classircd__connector.html#a15">ircd_connector</a><li>BufferIsReady() : <a class="el" href="classuserrec.html#a9">userrec</a><li>Build : <a class="el" href="classVersion.html#o3">Version</a><li>bytes_in -: <a class="el" href="classconnection.html#o4">connection</a><li>bytes_out -: <a class="el" href="classconnection.html#o5">connection</a></ul> +: <a class="el" href="classconnection.html#o3">connection</a><li>bytes_out +: <a class="el" href="classconnection.html#o4">connection</a></ul> <h3><a name="index_c">- c -</a> </h3><ul> -<li>c_private -: <a class="el" href="classchanrec.html#o15">chanrec</a><li>cache +<li>cache : <a class="el" href="classConfigReader.html#p0">ConfigReader</a><li>CalcDuration() : <a class="el" href="classServer.html#a50">Server</a><li>CallCommandHandler() : <a class="el" href="classServer.html#a33">Server</a><li>ChangeGECOS() @@ -53,38 +53,37 @@ Here is a list of all class members with links to the classes they belong to:<h3 : <a class="el" href="classServer.html#a30">Server</a><li>ChanMode() : <a class="el" href="classServer.html#a18">Server</a><li>channel : <a class="el" href="classInvited.html#o0">Invited</a>, <a class="el" href="classucrec.html#o1">ucrec</a>, <a class="el" href="classModeParameter.html#o2">ModeParameter</a><li>chanrec() -: <a class="el" href="classchanrec.html#a10">chanrec</a><li>chans +: <a class="el" href="classchanrec.html#a8">chanrec</a><li>chans : <a class="el" href="classuserrec.html#o5">userrec</a><li>classbase() : <a class="el" href="classclassbase.html#a0">classbase</a><li>ClearBuffer() : <a class="el" href="classuserrec.html#a10">userrec</a>, <a class="el" href="classircd__connector.html#a16">ircd_connector</a><li>CloseConnection() : <a class="el" href="classircd__connector.html#a13">ircd_connector</a><li>cmds_in -: <a class="el" href="classconnection.html#o6">connection</a><li>cmds_out -: <a class="el" href="classconnection.html#o7">connection</a><li>command +: <a class="el" href="classconnection.html#o5">connection</a><li>cmds_out +: <a class="el" href="classconnection.html#o6">connection</a><li>command : <a class="el" href="classcommand__t.html#o0">command_t</a><li>CommonChannels() : <a class="el" href="classServer.html#a10">Server</a><li>ConfigReader() : <a class="el" href="classConfigReader.html#a1">ConfigReader</a><li>ConnectClass() : <a class="el" href="classConnectClass.html#a0">ConnectClass</a><li>connection() : <a class="el" href="classconnection.html#a0">connection</a><li>connectors -: <a class="el" href="classconnection.html#o18">connection</a><li>CountUsers() +: <a class="el" href="classconnection.html#o14">connection</a><li>CountUsers() : <a class="el" href="classServer.html#a14">Server</a><li>created -: <a class="el" href="classchanrec.html#o5">chanrec</a><li>CreateListener() +: <a class="el" href="classchanrec.html#o4">chanrec</a><li>CreateListener() : <a class="el" href="classconnection.html#a1">connection</a><li>CreateModule() : <a class="el" href="classModuleFactory.html#a2">ModuleFactory</a><li>custom_modes : <a class="el" href="classchanrec.html#o1">chanrec</a></ul> <h3><a name="index_d">- d -</a> </h3><ul> <li>data -: <a class="el" href="classEvent.html#p0">Event</a>, <a class="el" href="classRequest.html#p0">Request</a>, <a class="el" href="classHostItem.html#o2">HostItem</a><li>DecUserCounter() -: <a class="el" href="classchanrec.html#a5">chanrec</a><li>DelELine() +: <a class="el" href="classEvent.html#p0">Event</a>, <a class="el" href="classRequest.html#p0">Request</a>, <a class="el" href="classHostItem.html#o2">HostItem</a><li>DelELine() : <a class="el" href="classServer.html#a49">Server</a><li>DelGLine() : <a class="el" href="classServer.html#a45">Server</a><li>DelKLine() : <a class="el" href="classServer.html#a48">Server</a><li>DelQLine() : <a class="el" href="classServer.html#a46">Server</a><li>DelUser() -: <a class="el" href="classchanrec.html#a8">chanrec</a><li>DelZLine() +: <a class="el" href="classchanrec.html#a6">chanrec</a><li>DelZLine() : <a class="el" href="classServer.html#a47">Server</a><li>description : <a class="el" href="classserverrec.html#o8">serverrec</a>, <a class="el" href="classircd__connector.html#r3">ircd_connector</a><li>dest : <a class="el" href="classRequest.html#p2">Request</a><li>dhost -: <a class="el" href="classuserrec.html#o2">userrec</a><li>DNS() +: <a class="el" href="classWhoWasUser.html#o2">WhoWasUser</a>, <a class="el" href="classuserrec.html#o2">userrec</a><li>DNS() : <a class="el" href="classDNS.html#a1">DNS</a><li>dns_aton4() : <a class="el" href="classDNS.html#d2">DNS</a><li>dns_aton4_r() : <a class="el" href="classDNS.html#d11">DNS</a><li>dns_aton4_s() @@ -133,7 +132,7 @@ Here is a list of all class members with links to the classes they belong to:<h3 : <a class="el" href="classuserrec.html#o9">userrec</a>, <a class="el" href="classConnectClass.html#o2">ConnectClass</a><li>FlushWriteBuf() : <a class="el" href="classuserrec.html#a15">userrec</a><li>ForwardLookup() : <a class="el" href="classDNS.html#a4">DNS</a><li>fullname -: <a class="el" href="classuserrec.html#o3">userrec</a></ul> +: <a class="el" href="classWhoWasUser.html#o4">WhoWasUser</a>, <a class="el" href="classuserrec.html#o3">userrec</a></ul> <h3><a name="index_g">- g -</a> </h3><ul> <li>GetAdmin() @@ -158,8 +157,8 @@ Here is a list of all class members with links to the classes they belong to:<h3 : <a class="el" href="classircd__connector.html#a10">ircd_connector</a><li>GetSource() : <a class="el" href="classEvent.html#a2">Event</a>, <a class="el" href="classRequest.html#a2">Request</a><li>GetState() : <a class="el" href="classircd__connector.html#a5">ircd_connector</a><li>GetUserCounter() -: <a class="el" href="classchanrec.html#a6">chanrec</a><li>GetUsers() -: <a class="el" href="classServer.html#a37">Server</a>, <a class="el" href="classchanrec.html#a9">chanrec</a><li>GetVersion() +: <a class="el" href="classchanrec.html#a4">chanrec</a><li>GetUsers() +: <a class="el" href="classServer.html#a37">Server</a>, <a class="el" href="classchanrec.html#a7">chanrec</a><li>GetVersion() : <a class="el" href="classModule.html#a2">Module</a><li>GetVersionString() : <a class="el" href="classircd__connector.html#a19">ircd_connector</a><li>GetWriteError() : <a class="el" href="classuserrec.html#a13">userrec</a></ul> @@ -167,25 +166,20 @@ Here is a list of all class members with links to the classes they belong to:<h3 </h3><ul> <li>handler_function : <a class="el" href="classcommand__t.html#o1">command_t</a><li>haspassed -: <a class="el" href="classconnection.html#o8">connection</a><li>HasPermission() +: <a class="el" href="classconnection.html#o7">connection</a><li>HasPermission() : <a class="el" href="classuserrec.html#a7">userrec</a><li>HasResult() : <a class="el" href="classDNS.html#a5">DNS</a><li>hops_away : <a class="el" href="classserverrec.html#o5">serverrec</a><li>host -: <a class="el" href="classConnectClass.html#o3">ConnectClass</a>, <a class="el" href="classconnection.html#o1">connection</a>, <a class="el" href="classircd__connector.html#o1">ircd_connector</a><li>HostItem() +: <a class="el" href="classWhoWasUser.html#o3">WhoWasUser</a>, <a class="el" href="classConnectClass.html#o3">ConnectClass</a>, <a class="el" href="classconnection.html#o1">connection</a>, <a class="el" href="classircd__connector.html#o1">ircd_connector</a><li>HostItem() : <a class="el" href="classHostItem.html#a0">HostItem</a><li>hostmask : <a class="el" href="classELine.html#o0">ELine</a>, <a class="el" href="classGLine.html#o0">GLine</a>, <a class="el" href="classKLine.html#o0">KLine</a></ul> <h3><a name="index_i">- i -</a> </h3><ul> <li>id : <a class="el" href="classEvent.html#p2">Event</a><li>ident -: <a class="el" href="classuserrec.html#o1">userrec</a><li>idle_lastmsg -: <a class="el" href="classconnection.html#o14">connection</a><li>inbuf -: <a class="el" href="classconnection.html#o3">connection</a><li>IncUserCounter() -: <a class="el" href="classchanrec.html#a4">chanrec</a><li>internal_addr -: <a class="el" href="classconnection.html#o16">connection</a><li>internal_port -: <a class="el" href="classconnection.html#o17">connection</a><li>internal_userlist -: <a class="el" href="classchanrec.html#o3">chanrec</a><li>inviteonly -: <a class="el" href="classchanrec.html#o12">chanrec</a><li>invites +: <a class="el" href="classWhoWasUser.html#o1">WhoWasUser</a>, <a class="el" href="classuserrec.html#o1">userrec</a><li>idle_lastmsg +: <a class="el" href="classconnection.html#o12">connection</a><li>internal_userlist +: <a class="el" href="classchanrec.html#o2">chanrec</a><li>invites : <a class="el" href="classuserrec.html#r0">userrec</a><li>InviteTo() : <a class="el" href="classuserrec.html#a5">userrec</a><li>ip : <a class="el" href="structdns__ip4list.html#o0">dns_ip4list</a>, <a class="el" href="classconnection.html#o2">connection</a><li>ipaddr @@ -206,12 +200,12 @@ Here is a list of all class members with links to the classes they belong to:<h3 <h3><a name="index_k">- k -</a> </h3><ul> <li>key -: <a class="el" href="classchanrec.html#o9">chanrec</a></ul> +: <a class="el" href="classchanrec.html#o8">chanrec</a></ul> <h3><a name="index_l">- l -</a> </h3><ul> <li>lastping -: <a class="el" href="classconnection.html#o12">connection</a><li>limit -: <a class="el" href="classchanrec.html#o8">chanrec</a><li>lines_in +: <a class="el" href="classconnection.html#o10">connection</a><li>limit +: <a class="el" href="classchanrec.html#o7">chanrec</a><li>lines_in : <a class="el" href="classuserrec.html#o17">userrec</a><li>list : <a class="el" href="classExtMode.html#o5">ExtMode</a><li>LoadFile() : <a class="el" href="classFileReader.html#a3">FileReader</a><li>Log() @@ -233,8 +227,7 @@ Here is a list of all class members with links to the classes they belong to:<h3 : <a class="el" href="classcommand__t.html#o3">command_t</a><li>Minor : <a class="el" href="classVersion.html#o1">Version</a><li>mode : <a class="el" href="classModeParameter.html#o0">ModeParameter</a><li>modechar -: <a class="el" href="classExtMode.html#o0">ExtMode</a><li>moderated -: <a class="el" href="classchanrec.html#o13">chanrec</a><li>modes +: <a class="el" href="classExtMode.html#o0">ExtMode</a><li>modes : <a class="el" href="classuserrec.html#o4">userrec</a><li>Module() : <a class="el" href="classModule.html#a0">Module</a><li>ModuleFactory() : <a class="el" href="classModuleFactory.html#a0">ModuleFactory</a></ul> @@ -247,10 +240,9 @@ Here is a list of all class members with links to the classes they belong to:<h3 : <a class="el" href="classExtMode.html#o4">ExtMode</a><li>next : <a class="el" href="structdns__ip4list.html#o1">dns_ip4list</a><li>Nick : <a class="el" href="classAdmin.html#o2">Admin</a><li>nick -: <a class="el" href="classQLine.html#o0">QLine</a>, <a class="el" href="classuserrec.html#o0">userrec</a><li>nickserv -: <a class="el" href="classserverrec.html#o9">serverrec</a><li>noexternal -: <a class="el" href="classchanrec.html#o11">chanrec</a><li>nping -: <a class="el" href="classconnection.html#o15">connection</a></ul> +: <a class="el" href="classQLine.html#o0">QLine</a>, <a class="el" href="classWhoWasUser.html#o0">WhoWasUser</a>, <a class="el" href="classuserrec.html#o0">userrec</a><li>nickserv +: <a class="el" href="classserverrec.html#o9">serverrec</a><li>nping +: <a class="el" href="classconnection.html#o13">connection</a></ul> <h3><a name="index_o">- o -</a> </h3><ul> <li>On005Numeric() @@ -321,7 +313,7 @@ Here is a list of all class members with links to the classes they belong to:<h3 : <a class="el" href="classuserrec.html#o14">userrec</a><li>pingmax : <a class="el" href="classuserrec.html#o13">userrec</a><li>pingtime : <a class="el" href="classConnectClass.html#o4">ConnectClass</a>, <a class="el" href="classserverrec.html#o1">serverrec</a><li>port -: <a class="el" href="classconnection.html#o9">connection</a>, <a class="el" href="classircd__connector.html#o2">ircd_connector</a><li>PseudoToUser() +: <a class="el" href="classconnection.html#o8">connection</a>, <a class="el" href="classircd__connector.html#o2">ircd_connector</a><li>PseudoToUser() : <a class="el" href="classServer.html#a39">Server</a></ul> <h3><a name="index_q">- q -</a> </h3><ul> @@ -338,7 +330,7 @@ Here is a list of all class members with links to the classes they belong to:<h3 : <a class="el" href="classconnection.html#a6">connection</a><li>recvq : <a class="el" href="classuserrec.html#o15">userrec</a><li>recvqmax : <a class="el" href="classuserrec.html#o22">userrec</a>, <a class="el" href="classConnectClass.html#o8">ConnectClass</a><li>registered -: <a class="el" href="classconnection.html#o10">connection</a><li>registration_timeout +: <a class="el" href="classconnection.html#o9">connection</a><li>registration_timeout : <a class="el" href="classConnectClass.html#o1">ConnectClass</a><li>RemoveInvite() : <a class="el" href="classuserrec.html#a6">userrec</a><li>Request() : <a class="el" href="classRequest.html#a0">Request</a><li>reset_due @@ -349,8 +341,7 @@ Here is a list of all class members with links to the classes they belong to:<h3 : <a class="el" href="classircd__connector.html#o3">ircd_connector</a></ul> <h3><a name="index_s">- s -</a> </h3><ul> -<li>secret -: <a class="el" href="classchanrec.html#o14">chanrec</a><li>Send() +<li>Send() : <a class="el" href="classServer.html#a4">Server</a>, <a class="el" href="classEvent.html#a4">Event</a>, <a class="el" href="classRequest.html#a4">Request</a>, <a class="el" href="classModuleMessage.html#a0">ModuleMessage</a><li>SendChannel() : <a class="el" href="classServer.html#a9">Server</a><li>SendChannelServerNotice() : <a class="el" href="classServer.html#a6">Server</a><li>SendCommon() @@ -364,14 +355,14 @@ Here is a list of all class members with links to the classes they belong to:<h3 : <a class="el" href="classServer.html#a5">Server</a><li>SendTo() : <a class="el" href="classServer.html#a8">Server</a><li>SendToModeMask() : <a class="el" href="classServer.html#a27">Server</a><li>SendWallops() -: <a class="el" href="classServer.html#a12">Server</a><li>Server() -: <a class="el" href="classServer.html#a0">Server</a><li>server -: <a class="el" href="classuserrec.html#o6">userrec</a><li>servername +: <a class="el" href="classServer.html#a12">Server</a><li>server +: <a class="el" href="classWhoWasUser.html#o5">WhoWasUser</a>, <a class="el" href="classuserrec.html#o6">userrec</a><li>Server() +: <a class="el" href="classServer.html#a0">Server</a><li>servername : <a class="el" href="classircd__connector.html#r2">ircd_connector</a><li>serverrec() : <a class="el" href="classserverrec.html#a1">serverrec</a><li>set_by : <a class="el" href="classHostItem.html#o1">HostItem</a><li>set_time : <a class="el" href="classXLine.html#o0">XLine</a>, <a class="el" href="classHostItem.html#o0">HostItem</a><li>setby -: <a class="el" href="classchanrec.html#o7">chanrec</a><li>SetCustomMode() +: <a class="el" href="classchanrec.html#o6">chanrec</a><li>SetCustomMode() : <a class="el" href="classchanrec.html#a0">chanrec</a><li>SetCustomModeParam() : <a class="el" href="classchanrec.html#a1">chanrec</a><li>SetDescription() : <a class="el" href="classircd__connector.html#a9">ircd_connector</a><li>SetDescriptor() @@ -385,9 +376,9 @@ Here is a list of all class members with links to the classes they belong to:<h3 : <a class="el" href="classircd__connector.html#a18">ircd_connector</a><li>SetWriteError() : <a class="el" href="classuserrec.html#a12">userrec</a><li>Shrink() : <a class="el" href="classExtensible.html#a1">Extensible</a><li>signon -: <a class="el" href="classconnection.html#o13">connection</a><li>source +: <a class="el" href="classWhoWasUser.html#o6">WhoWasUser</a>, <a class="el" href="classconnection.html#o11">connection</a><li>source : <a class="el" href="classXLine.html#o2">XLine</a>, <a class="el" href="classEvent.html#p1">Event</a>, <a class="el" href="classRequest.html#p1">Request</a>, <a class="el" href="classcommand__t.html#o6">command_t</a><li>state -: <a class="el" href="classconnection.html#o11">connection</a>, <a class="el" href="classircd__connector.html#r4">ircd_connector</a><li>sync_soon +: <a class="el" href="classircd__connector.html#r4">ircd_connector</a><li>sync_soon : <a class="el" href="classserverrec.html#o10">serverrec</a></ul> <h3><a name="index_t">- t -</a> </h3><ul> @@ -396,9 +387,8 @@ Here is a list of all class members with links to the classes they belong to:<h3 : <a class="el" href="classconnection.html#a4">connection</a><li>threshold : <a class="el" href="classuserrec.html#o19">userrec</a>, <a class="el" href="classConnectClass.html#o6">ConnectClass</a><li>timeout : <a class="el" href="classuserrec.html#o10">userrec</a><li>topic -: <a class="el" href="classchanrec.html#o4">chanrec</a><li>topiclock -: <a class="el" href="classchanrec.html#o10">chanrec</a><li>topicset -: <a class="el" href="classchanrec.html#o6">chanrec</a><li>total_bytes +: <a class="el" href="classchanrec.html#o3">chanrec</a><li>topicset +: <a class="el" href="classchanrec.html#o5">chanrec</a><li>total_bytes : <a class="el" href="classcommand__t.html#o5">command_t</a><li>type : <a class="el" href="classConnectClass.html#o0">ConnectClass</a>, <a class="el" href="classExtMode.html#o1">ExtMode</a></ul> <h3><a name="index_u">- u -</a> @@ -409,15 +399,14 @@ Here is a list of all class members with links to the classes they belong to:<h3 : <a class="el" href="classcommand__t.html#o4">command_t</a><li>usercount : <a class="el" href="classserverrec.html#o3">serverrec</a><li>usercount_i : <a class="el" href="classserverrec.html#o2">serverrec</a><li>userrec() -: <a class="el" href="classuserrec.html#a0">userrec</a><li>users -: <a class="el" href="classchanrec.html#o2">chanrec</a><li>UserToPseudo() +: <a class="el" href="classuserrec.html#a0">userrec</a><li>UserToPseudo() : <a class="el" href="classServer.html#a38">Server</a></ul> <h3><a name="index_v">- v -</a> </h3><ul> <li>Verify() -: <a class="el" href="classConfigReader.html#a8">ConfigReader</a><li>version -: <a class="el" href="classserverrec.html#o6">serverrec</a>, <a class="el" href="classircd__connector.html#r5">ircd_connector</a><li>Version() -: <a class="el" href="classVersion.html#a0">Version</a></ul> +: <a class="el" href="classConfigReader.html#a8">ConfigReader</a><li>Version() +: <a class="el" href="classVersion.html#a0">Version</a><li>version +: <a class="el" href="classserverrec.html#o6">serverrec</a>, <a class="el" href="classircd__connector.html#r5">ircd_connector</a></ul> <h3><a name="index_w">- w -</a> </h3><ul> <li>WriteError @@ -425,7 +414,7 @@ Here is a list of all class members with links to the classes they belong to:<h3 <h3><a name="index_~">- ~ -</a> </h3><ul> <li>~chanrec() -: <a class="el" href="classchanrec.html#a11">chanrec</a><li>~classbase() +: <a class="el" href="classchanrec.html#a9">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>~DNS() : <a class="el" href="classDNS.html#a2">DNS</a><li>~FileReader() @@ -437,7 +426,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 size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:17 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:01 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/functions_func.html b/docs/module-doc/functions_func.html index 4fbcb8a2d..7af84533c 100644 --- a/docs/module-doc/functions_func.html +++ b/docs/module-doc/functions_func.html @@ -23,7 +23,7 @@ : <a class="el" href="classconnection.html#a8">connection</a><li>AddKLine() : <a class="el" href="classServer.html#a43">Server</a><li>AddQLine() : <a class="el" href="classServer.html#a41">Server</a><li>AddUser() -: <a class="el" href="classchanrec.html#a7">chanrec</a><li>AddWriteBuf() +: <a class="el" href="classchanrec.html#a5">chanrec</a><li>AddWriteBuf() : <a class="el" href="classuserrec.html#a14">userrec</a><li>AddZLine() : <a class="el" href="classServer.html#a42">Server</a><li>Admin() : <a class="el" href="classAdmin.html#a0">Admin</a></ul> @@ -42,7 +42,7 @@ : <a class="el" href="classServer.html#a34">Server</a><li>ChangeUserNick() : <a class="el" href="classServer.html#a30">Server</a><li>ChanMode() : <a class="el" href="classServer.html#a18">Server</a><li>chanrec() -: <a class="el" href="classchanrec.html#a10">chanrec</a><li>classbase() +: <a class="el" href="classchanrec.html#a8">chanrec</a><li>classbase() : <a class="el" href="classclassbase.html#a0">classbase</a><li>ClearBuffer() : <a class="el" href="classuserrec.html#a10">userrec</a>, <a class="el" href="classircd__connector.html#a16">ircd_connector</a><li>CloseConnection() : <a class="el" href="classircd__connector.html#a13">ircd_connector</a><li>CommonChannels() @@ -55,13 +55,12 @@ : <a class="el" href="classModuleFactory.html#a2">ModuleFactory</a></ul> <h3><a name="index_d">- d -</a> </h3><ul> -<li>DecUserCounter() -: <a class="el" href="classchanrec.html#a5">chanrec</a><li>DelELine() +<li>DelELine() : <a class="el" href="classServer.html#a49">Server</a><li>DelGLine() : <a class="el" href="classServer.html#a45">Server</a><li>DelKLine() : <a class="el" href="classServer.html#a48">Server</a><li>DelQLine() : <a class="el" href="classServer.html#a46">Server</a><li>DelUser() -: <a class="el" href="classchanrec.html#a8">chanrec</a><li>DelZLine() +: <a class="el" href="classchanrec.html#a6">chanrec</a><li>DelZLine() : <a class="el" href="classServer.html#a47">Server</a><li>DNS() : <a class="el" href="classDNS.html#a1">DNS</a><li>dns_aton4() : <a class="el" href="classDNS.html#d2">DNS</a><li>dns_aton4_r() @@ -124,8 +123,8 @@ : <a class="el" href="classircd__connector.html#a10">ircd_connector</a><li>GetSource() : <a class="el" href="classEvent.html#a2">Event</a>, <a class="el" href="classRequest.html#a2">Request</a><li>GetState() : <a class="el" href="classircd__connector.html#a5">ircd_connector</a><li>GetUserCounter() -: <a class="el" href="classchanrec.html#a6">chanrec</a><li>GetUsers() -: <a class="el" href="classServer.html#a37">Server</a>, <a class="el" href="classchanrec.html#a9">chanrec</a><li>GetVersion() +: <a class="el" href="classchanrec.html#a4">chanrec</a><li>GetUsers() +: <a class="el" href="classServer.html#a37">Server</a>, <a class="el" href="classchanrec.html#a7">chanrec</a><li>GetVersion() : <a class="el" href="classModule.html#a2">Module</a><li>GetVersionString() : <a class="el" href="classircd__connector.html#a19">ircd_connector</a><li>GetWriteError() : <a class="el" href="classuserrec.html#a13">userrec</a></ul> @@ -137,8 +136,7 @@ : <a class="el" href="classHostItem.html#a0">HostItem</a></ul> <h3><a name="index_i">- i -</a> </h3><ul> -<li>IncUserCounter() -: <a class="el" href="classchanrec.html#a4">chanrec</a><li>InviteTo() +<li>InviteTo() : <a class="el" href="classuserrec.html#a5">userrec</a><li>IsCustomModeSet() : <a class="el" href="classchanrec.html#a2">chanrec</a><li>IsInvited() : <a class="el" href="classuserrec.html#a4">userrec</a><li>IsNick() @@ -294,7 +292,7 @@ <h3><a name="index_~">- ~ -</a> </h3><ul> <li>~chanrec() -: <a class="el" href="classchanrec.html#a11">chanrec</a><li>~classbase() +: <a class="el" href="classchanrec.html#a9">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>~DNS() : <a class="el" href="classDNS.html#a2">DNS</a><li>~FileReader() @@ -306,7 +304,7 @@ : <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 size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:17 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:01 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/functions_vars.html b/docs/module-doc/functions_vars.html index 14a8d9bb8..6095ec75b 100644 --- a/docs/module-doc/functions_vars.html +++ b/docs/module-doc/functions_vars.html @@ -20,23 +20,23 @@ <h3><a name="index_b">- b -</a> </h3><ul> <li>bans -: <a class="el" href="classchanrec.html#o16">chanrec</a><li>binip +: <a class="el" href="classchanrec.html#o10">chanrec</a><li>binarymodes +: <a class="el" href="classchanrec.html#o9">chanrec</a><li>binip : <a class="el" href="classDNS.html#r0">DNS</a><li>Build : <a class="el" href="classVersion.html#o3">Version</a><li>bytes_in -: <a class="el" href="classconnection.html#o4">connection</a><li>bytes_out -: <a class="el" href="classconnection.html#o5">connection</a></ul> +: <a class="el" href="classconnection.html#o3">connection</a><li>bytes_out +: <a class="el" href="classconnection.html#o4">connection</a></ul> <h3><a name="index_c">- c -</a> </h3><ul> -<li>c_private -: <a class="el" href="classchanrec.html#o15">chanrec</a><li>cache +<li>cache : <a class="el" href="classConfigReader.html#p0">ConfigReader</a><li>channel : <a class="el" href="classInvited.html#o0">Invited</a>, <a class="el" href="classucrec.html#o1">ucrec</a>, <a class="el" href="classModeParameter.html#o2">ModeParameter</a><li>chans : <a class="el" href="classuserrec.html#o5">userrec</a><li>cmds_in -: <a class="el" href="classconnection.html#o6">connection</a><li>cmds_out -: <a class="el" href="classconnection.html#o7">connection</a><li>command +: <a class="el" href="classconnection.html#o5">connection</a><li>cmds_out +: <a class="el" href="classconnection.html#o6">connection</a><li>command : <a class="el" href="classcommand__t.html#o0">command_t</a><li>connectors -: <a class="el" href="classconnection.html#o18">connection</a><li>created -: <a class="el" href="classchanrec.html#o5">chanrec</a><li>custom_modes +: <a class="el" href="classconnection.html#o14">connection</a><li>created +: <a class="el" href="classchanrec.html#o4">chanrec</a><li>custom_modes : <a class="el" href="classchanrec.html#o1">chanrec</a></ul> <h3><a name="index_d">- d -</a> </h3><ul> @@ -44,7 +44,7 @@ : <a class="el" href="classEvent.html#p0">Event</a>, <a class="el" href="classRequest.html#p0">Request</a>, <a class="el" href="classHostItem.html#o2">HostItem</a><li>description : <a class="el" href="classserverrec.html#o8">serverrec</a>, <a class="el" href="classircd__connector.html#r3">ircd_connector</a><li>dest : <a class="el" href="classRequest.html#p2">Request</a><li>dhost -: <a class="el" href="classuserrec.html#o2">userrec</a><li>dns_done +: <a class="el" href="classWhoWasUser.html#o2">WhoWasUser</a>, <a class="el" href="classuserrec.html#o2">userrec</a><li>dns_done : <a class="el" href="classuserrec.html#o12">userrec</a><li>duration : <a class="el" href="classXLine.html#o1">XLine</a></ul> <h3><a name="index_e">- e -</a> @@ -62,26 +62,22 @@ : <a class="el" href="classVersion.html#o4">Version</a><li>flags_needed : <a class="el" href="classcommand__t.html#o2">command_t</a><li>flood : <a class="el" href="classuserrec.html#o9">userrec</a>, <a class="el" href="classConnectClass.html#o2">ConnectClass</a><li>fullname -: <a class="el" href="classuserrec.html#o3">userrec</a></ul> +: <a class="el" href="classWhoWasUser.html#o4">WhoWasUser</a>, <a class="el" href="classuserrec.html#o3">userrec</a></ul> <h3><a name="index_h">- h -</a> </h3><ul> <li>handler_function : <a class="el" href="classcommand__t.html#o1">command_t</a><li>haspassed -: <a class="el" href="classconnection.html#o8">connection</a><li>hops_away +: <a class="el" href="classconnection.html#o7">connection</a><li>hops_away : <a class="el" href="classserverrec.html#o5">serverrec</a><li>host -: <a class="el" href="classConnectClass.html#o3">ConnectClass</a>, <a class="el" href="classconnection.html#o1">connection</a>, <a class="el" href="classircd__connector.html#o1">ircd_connector</a><li>hostmask +: <a class="el" href="classWhoWasUser.html#o3">WhoWasUser</a>, <a class="el" href="classConnectClass.html#o3">ConnectClass</a>, <a class="el" href="classconnection.html#o1">connection</a>, <a class="el" href="classircd__connector.html#o1">ircd_connector</a><li>hostmask : <a class="el" href="classELine.html#o0">ELine</a>, <a class="el" href="classGLine.html#o0">GLine</a>, <a class="el" href="classKLine.html#o0">KLine</a></ul> <h3><a name="index_i">- i -</a> </h3><ul> <li>id : <a class="el" href="classEvent.html#p2">Event</a><li>ident -: <a class="el" href="classuserrec.html#o1">userrec</a><li>idle_lastmsg -: <a class="el" href="classconnection.html#o14">connection</a><li>inbuf -: <a class="el" href="classconnection.html#o3">connection</a><li>internal_addr -: <a class="el" href="classconnection.html#o16">connection</a><li>internal_port -: <a class="el" href="classconnection.html#o17">connection</a><li>internal_userlist -: <a class="el" href="classchanrec.html#o3">chanrec</a><li>inviteonly -: <a class="el" href="classchanrec.html#o12">chanrec</a><li>invites +: <a class="el" href="classWhoWasUser.html#o1">WhoWasUser</a>, <a class="el" href="classuserrec.html#o1">userrec</a><li>idle_lastmsg +: <a class="el" href="classconnection.html#o12">connection</a><li>internal_userlist +: <a class="el" href="classchanrec.html#o2">chanrec</a><li>invites : <a class="el" href="classuserrec.html#r0">userrec</a><li>ip : <a class="el" href="structdns__ip4list.html#o0">dns_ip4list</a>, <a class="el" href="classconnection.html#o2">connection</a><li>ipaddr : <a class="el" href="classZLine.html#o0">ZLine</a><li>ircdbuffer @@ -94,12 +90,12 @@ <h3><a name="index_k">- k -</a> </h3><ul> <li>key -: <a class="el" href="classchanrec.html#o9">chanrec</a></ul> +: <a class="el" href="classchanrec.html#o8">chanrec</a></ul> <h3><a name="index_l">- l -</a> </h3><ul> <li>lastping -: <a class="el" href="classconnection.html#o12">connection</a><li>limit -: <a class="el" href="classchanrec.html#o8">chanrec</a><li>lines_in +: <a class="el" href="classconnection.html#o10">connection</a><li>limit +: <a class="el" href="classchanrec.html#o7">chanrec</a><li>lines_in : <a class="el" href="classuserrec.html#o17">userrec</a><li>list : <a class="el" href="classExtMode.html#o5">ExtMode</a></ul> <h3><a name="index_m">- m -</a> @@ -109,8 +105,7 @@ : <a class="el" href="classcommand__t.html#o3">command_t</a><li>Minor : <a class="el" href="classVersion.html#o1">Version</a><li>mode : <a class="el" href="classModeParameter.html#o0">ModeParameter</a><li>modechar -: <a class="el" href="classExtMode.html#o0">ExtMode</a><li>moderated -: <a class="el" href="classchanrec.html#o13">chanrec</a><li>modes +: <a class="el" href="classExtMode.html#o0">ExtMode</a><li>modes : <a class="el" href="classuserrec.html#o4">userrec</a></ul> <h3><a name="index_n">- n -</a> </h3><ul> @@ -121,10 +116,9 @@ : <a class="el" href="classExtMode.html#o4">ExtMode</a><li>next : <a class="el" href="structdns__ip4list.html#o1">dns_ip4list</a><li>Nick : <a class="el" href="classAdmin.html#o2">Admin</a><li>nick -: <a class="el" href="classQLine.html#o0">QLine</a>, <a class="el" href="classuserrec.html#o0">userrec</a><li>nickserv -: <a class="el" href="classserverrec.html#o9">serverrec</a><li>noexternal -: <a class="el" href="classchanrec.html#o11">chanrec</a><li>nping -: <a class="el" href="classconnection.html#o15">connection</a></ul> +: <a class="el" href="classQLine.html#o0">QLine</a>, <a class="el" href="classWhoWasUser.html#o0">WhoWasUser</a>, <a class="el" href="classuserrec.html#o0">userrec</a><li>nickserv +: <a class="el" href="classserverrec.html#o9">serverrec</a><li>nping +: <a class="el" href="classconnection.html#o13">connection</a></ul> <h3><a name="index_o">- o -</a> </h3><ul> <li>oper @@ -140,7 +134,7 @@ : <a class="el" href="classuserrec.html#o14">userrec</a><li>pingmax : <a class="el" href="classuserrec.html#o13">userrec</a><li>pingtime : <a class="el" href="classConnectClass.html#o4">ConnectClass</a>, <a class="el" href="classserverrec.html#o1">serverrec</a><li>port -: <a class="el" href="classconnection.html#o9">connection</a>, <a class="el" href="classircd__connector.html#o2">ircd_connector</a></ul> +: <a class="el" href="classconnection.html#o8">connection</a>, <a class="el" href="classircd__connector.html#o2">ircd_connector</a></ul> <h3><a name="index_r">- r -</a> </h3><ul> <li>readerror @@ -148,7 +142,7 @@ : <a class="el" href="classXLine.html#o3">XLine</a><li>recvq : <a class="el" href="classuserrec.html#o15">userrec</a><li>recvqmax : <a class="el" href="classuserrec.html#o22">userrec</a>, <a class="el" href="classConnectClass.html#o8">ConnectClass</a><li>registered -: <a class="el" href="classconnection.html#o10">connection</a><li>registration_timeout +: <a class="el" href="classconnection.html#o9">connection</a><li>registration_timeout : <a class="el" href="classConnectClass.html#o1">ConnectClass</a><li>reset_due : <a class="el" href="classuserrec.html#o18">userrec</a><li>result : <a class="el" href="classuserrec.html#o8">userrec</a>, <a class="el" href="classDNS.html#r1">DNS</a><li>Revision @@ -156,18 +150,17 @@ : <a class="el" href="classircd__connector.html#o3">ircd_connector</a></ul> <h3><a name="index_s">- s -</a> </h3><ul> -<li>secret -: <a class="el" href="classchanrec.html#o14">chanrec</a><li>sendq +<li>sendq : <a class="el" href="classuserrec.html#o16">userrec</a><li>sendqmax : <a class="el" href="classuserrec.html#o21">userrec</a>, <a class="el" href="classConnectClass.html#o7">ConnectClass</a><li>server -: <a class="el" href="classuserrec.html#o6">userrec</a><li>servername +: <a class="el" href="classWhoWasUser.html#o5">WhoWasUser</a>, <a class="el" href="classuserrec.html#o6">userrec</a><li>servername : <a class="el" href="classircd__connector.html#r2">ircd_connector</a><li>set_by : <a class="el" href="classHostItem.html#o1">HostItem</a><li>set_time : <a class="el" href="classXLine.html#o0">XLine</a>, <a class="el" href="classHostItem.html#o0">HostItem</a><li>setby -: <a class="el" href="classchanrec.html#o7">chanrec</a><li>signon -: <a class="el" href="classconnection.html#o13">connection</a><li>source +: <a class="el" href="classchanrec.html#o6">chanrec</a><li>signon +: <a class="el" href="classWhoWasUser.html#o6">WhoWasUser</a>, <a class="el" href="classconnection.html#o11">connection</a><li>source : <a class="el" href="classXLine.html#o2">XLine</a>, <a class="el" href="classEvent.html#p1">Event</a>, <a class="el" href="classRequest.html#p1">Request</a>, <a class="el" href="classcommand__t.html#o6">command_t</a><li>state -: <a class="el" href="classconnection.html#o11">connection</a>, <a class="el" href="classircd__connector.html#r4">ircd_connector</a><li>sync_soon +: <a class="el" href="classircd__connector.html#r4">ircd_connector</a><li>sync_soon : <a class="el" href="classserverrec.html#o10">serverrec</a></ul> <h3><a name="index_t">- t -</a> </h3><ul> @@ -175,9 +168,8 @@ : <a class="el" href="classDNS.html#r2">DNS</a><li>threshold : <a class="el" href="classuserrec.html#o19">userrec</a>, <a class="el" href="classConnectClass.html#o6">ConnectClass</a><li>timeout : <a class="el" href="classuserrec.html#o10">userrec</a><li>topic -: <a class="el" href="classchanrec.html#o4">chanrec</a><li>topiclock -: <a class="el" href="classchanrec.html#o10">chanrec</a><li>topicset -: <a class="el" href="classchanrec.html#o6">chanrec</a><li>total_bytes +: <a class="el" href="classchanrec.html#o3">chanrec</a><li>topicset +: <a class="el" href="classchanrec.html#o5">chanrec</a><li>total_bytes : <a class="el" href="classcommand__t.html#o5">command_t</a><li>type : <a class="el" href="classConnectClass.html#o0">ConnectClass</a>, <a class="el" href="classExtMode.html#o1">ExtMode</a></ul> <h3><a name="index_u">- u -</a> @@ -186,8 +178,7 @@ : <a class="el" href="classucrec.html#o0">ucrec</a><li>use_count : <a class="el" href="classcommand__t.html#o4">command_t</a><li>usercount : <a class="el" href="classserverrec.html#o3">serverrec</a><li>usercount_i -: <a class="el" href="classserverrec.html#o2">serverrec</a><li>users -: <a class="el" href="classchanrec.html#o2">chanrec</a></ul> +: <a class="el" href="classserverrec.html#o2">serverrec</a></ul> <h3><a name="index_v">- v -</a> </h3><ul> <li>version @@ -196,7 +187,7 @@ </h3><ul> <li>WriteError : <a class="el" href="classuserrec.html#o20">userrec</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:18 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:01 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/globals.html b/docs/module-doc/globals.html index 78dbd626c..2f86a79ad 100644 --- a/docs/module-doc/globals.html +++ b/docs/module-doc/globals.html @@ -42,7 +42,7 @@ Here is a list of all file members with links to the files they belong to:<h3><a <h3><a name="index_b">- b -</a> </h3><ul> <li>BanList -: <a class="el" href="channels_8h.html#a5">channels.h</a><li>Blocking() +: <a class="el" href="channels_8h.html#a11">channels.h</a><li>Blocking() : <a class="el" href="message_8h.html#a5">message.h</a><li>boundPortCount : <a class="el" href="modules_8cpp.html#a29">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a28">channels.cpp</a></ul> <h3><a name="index_c">- c -</a> @@ -54,16 +54,22 @@ Here is a list of all file members with links to the files they belong to:<h3><a : <a class="el" href="modules_8cpp.html#a40">modules.cpp</a><li>ChangeDisplayedHost() : <a class="el" href="message_8h.html#a11">message.h</a><li>ChangeName() : <a class="el" href="message_8h.html#a10">message.h</a><li>chanlist -: <a class="el" href="modules_8cpp.html#a44">modules.cpp</a><li>chanuserlist +: <a class="el" href="modules_8cpp.html#a45">modules.cpp</a><li>chanuserlist : <a class="el" href="modules_8h.html#a33">modules.h</a><li>chlist() : <a class="el" href="message_8h.html#a18">message.h</a><li>chop() : <a class="el" href="message_8h.html#a1">message.h</a><li>ClassVector : <a class="el" href="users_8h.html#a7">users.h</a><li>CleanAndResolve() : <a class="el" href="message_8h.html#a7">message.h</a><li>clientlist -: <a class="el" href="modules_8cpp.html#a43">modules.cpp</a><li>cmdlist -: <a class="el" href="modules_8cpp.html#a46">modules.cpp</a><li>cmode() +: <a class="el" href="modules_8cpp.html#a44">modules.cpp</a><li>CM_INVITEONLY +: <a class="el" href="channels_8h.html#a2">channels.h</a><li>CM_MODERATED +: <a class="el" href="channels_8h.html#a3">channels.h</a><li>CM_NOEXTERNAL +: <a class="el" href="channels_8h.html#a1">channels.h</a><li>CM_PRIVATE +: <a class="el" href="channels_8h.html#a5">channels.h</a><li>CM_SECRET +: <a class="el" href="channels_8h.html#a4">channels.h</a><li>CM_TOPICLOCK +: <a class="el" href="channels_8h.html#a0">channels.h</a><li>cmdlist +: <a class="el" href="modules_8cpp.html#a47">modules.cpp</a><li>cmode() : <a class="el" href="message_8h.html#a14">message.h</a><li>command_table -: <a class="el" href="modules_8cpp.html#a42">modules.cpp</a><li>common_channels() +: <a class="el" href="modules_8cpp.html#a43">modules.cpp</a><li>common_channels() : <a class="el" href="message_8h.html#a0">message.h</a><li>CONF_FILE_NOT_FOUND : <a class="el" href="modules_8h.html#a30">modules.h</a><li>CONF_NOT_A_NUMBER : <a class="el" href="modules_8h.html#a27">modules.h</a><li>CONF_NOT_UNSIGNED @@ -88,20 +94,20 @@ Here is a list of all file members with links to the files they belong to:<h3><a : <a class="el" href="modules_8cpp.html#a22">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a21">channels.cpp</a><li>diepass : <a class="el" href="modules_8cpp.html#a12">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a11">channels.cpp</a><li>DieValue : <a class="el" href="modules_8cpp.html#a18">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a17">channels.cpp</a><li>DoAddExtendedMode() -: <a class="el" href="modules_8cpp.html#a58">modules.cpp</a><li>duration() +: <a class="el" href="modules_8cpp.html#a59">modules.cpp</a><li>duration() : <a class="el" href="commands_8h.html#a75">commands.h</a></ul> <h3><a name="index_e">- e -</a> </h3><ul> <li>EMode -: <a class="el" href="modules_8cpp.html#a52">modules.cpp</a><li>ExemptList -: <a class="el" href="channels_8h.html#a6">channels.h</a><li>expire_lines() +: <a class="el" href="modules_8cpp.html#a53">modules.cpp</a><li>ExemptList +: <a class="el" href="channels_8h.html#a12">channels.h</a><li>expire_lines() : <a class="el" href="xline_8h.html#a16">xline.h</a><li>ExtModeList -: <a class="el" href="modules_8cpp.html#a50">modules.cpp</a><li>ExtModeListIter -: <a class="el" href="modules_8cpp.html#a51">modules.cpp</a></ul> +: <a class="el" href="modules_8cpp.html#a51">modules.cpp</a><li>ExtModeListIter +: <a class="el" href="modules_8cpp.html#a52">modules.cpp</a></ul> <h3><a name="index_f">- f -</a> </h3><ul> <li>factory -: <a class="el" href="modules_8cpp.html#a61">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a3">channels.cpp</a><li>FD_MAGIC_NUMBER +: <a class="el" href="modules_8cpp.html#a62">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a3">channels.cpp</a><li>FD_MAGIC_NUMBER : <a class="el" href="modules_8h.html#a26">modules.h</a><li>fd_reap : <a class="el" href="modules_8cpp.html#a27">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a26">channels.cpp</a><li>fd_ref_table : <a class="el" href="modules_8cpp.html#a38">modules.cpp</a><li>file_cache @@ -198,8 +204,8 @@ Here is a list of all file members with links to the files they belong to:<h3><a </h3><ul> <li>InvitedList : <a class="el" href="users_8h.html#a6">users.h</a><li>InviteList -: <a class="el" href="channels_8h.html#a7">channels.h</a><li>IP -: <a class="el" href="modules_8cpp.html#a49">modules.cpp</a><li>ircd_module +: <a class="el" href="channels_8h.html#a13">channels.h</a><li>IP +: <a class="el" href="modules_8cpp.html#a50">modules.cpp</a><li>ircd_module : <a class="el" href="modules_8h.html#a34">modules.h</a><li>is_uline() : <a class="el" href="commands_8h.html#a74">commands.h</a><li>isident() : <a class="el" href="message_8h.html#a12">message.h</a><li>isnick() @@ -225,16 +231,16 @@ Here is a list of all file members with links to the files they belong to:<h3><a : <a class="el" href="mode_8h.html#a13">mode.h</a><li>merge_mode2() : <a class="el" href="mode_8h.html#a14">mode.h</a><li>MODCOUNT : <a class="el" href="modules_8cpp.html#a1">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a1">channels.cpp</a><li>ModeDefined() -: <a class="el" href="modules_8cpp.html#a53">modules.cpp</a><li>ModeDefinedOff() -: <a class="el" href="modules_8cpp.html#a57">modules.cpp</a><li>ModeDefinedOn() -: <a class="el" href="modules_8cpp.html#a56">modules.cpp</a><li>ModeDefinedOper() -: <a class="el" href="modules_8cpp.html#a55">modules.cpp</a><li>ModeIsListMode() -: <a class="el" href="modules_8cpp.html#a54">modules.cpp</a><li>ModeMakeList() -: <a class="el" href="modules_8cpp.html#a59">modules.cpp</a><li>module_names +: <a class="el" href="modules_8cpp.html#a54">modules.cpp</a><li>ModeDefinedOff() +: <a class="el" href="modules_8cpp.html#a58">modules.cpp</a><li>ModeDefinedOn() +: <a class="el" href="modules_8cpp.html#a57">modules.cpp</a><li>ModeDefinedOper() +: <a class="el" href="modules_8cpp.html#a56">modules.cpp</a><li>ModeIsListMode() +: <a class="el" href="modules_8cpp.html#a55">modules.cpp</a><li>ModeMakeList() +: <a class="el" href="modules_8cpp.html#a60">modules.cpp</a><li>module_names : <a class="el" href="modules_8cpp.html#a28">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a27">channels.cpp</a><li>modules -: <a class="el" href="modules_8cpp.html#a60">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a2">channels.cpp</a><li>motd +: <a class="el" href="modules_8cpp.html#a61">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a2">channels.cpp</a><li>motd : <a class="el" href="modules_8cpp.html#a14">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a13">channels.cpp</a><li>MOTD -: <a class="el" href="modules_8cpp.html#a47">modules.cpp</a><li>MT_CHANNEL +: <a class="el" href="modules_8cpp.html#a48">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> @@ -267,7 +273,7 @@ Here is a list of all file members with links to the files they belong to:<h3><a : <a class="el" href="xline_8h.html#a0">xline.h</a><li>restartpass : <a class="el" href="modules_8cpp.html#a13">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a12">channels.cpp</a><li>rules : <a class="el" href="modules_8cpp.html#a15">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a14">channels.cpp</a><li>RULES -: <a class="el" href="modules_8cpp.html#a48">modules.cpp</a></ul> +: <a class="el" href="modules_8cpp.html#a49">modules.cpp</a></ul> <h3><a name="index_s">- s -</a> </h3><ul> <li>safedelete() @@ -309,11 +315,11 @@ Here is a list of all file members with links to the files they belong to:<h3><a <h3><a name="index_u">- u -</a> </h3><ul> <li>UCMODE_FOUNDER -: <a class="el" href="channels_8h.html#a4">channels.h</a><li>UCMODE_HOP -: <a class="el" href="channels_8h.html#a2">channels.h</a><li>UCMODE_OP -: <a class="el" href="channels_8h.html#a0">channels.h</a><li>UCMODE_PROTECT -: <a class="el" href="channels_8h.html#a3">channels.h</a><li>UCMODE_VOICE -: <a class="el" href="channels_8h.html#a1">channels.h</a><li>user_hash +: <a class="el" href="channels_8h.html#a10">channels.h</a><li>UCMODE_HOP +: <a class="el" href="channels_8h.html#a8">channels.h</a><li>UCMODE_OP +: <a class="el" href="channels_8h.html#a6">channels.h</a><li>UCMODE_PROTECT +: <a class="el" href="channels_8h.html#a9">channels.h</a><li>UCMODE_VOICE +: <a class="el" href="channels_8h.html#a7">channels.h</a><li>user_hash : <a class="el" href="modules_8cpp.html#a39">modules.cpp</a></ul> <h3><a name="index_v">- v -</a> </h3><ul> @@ -327,7 +333,8 @@ Here is a list of all file members with links to the files they belong to:<h3><a <h3><a name="index_w">- w -</a> </h3><ul> <li>whowas -: <a class="el" href="modules_8cpp.html#a45">modules.cpp</a><li>WHOWAS_MAX +: <a class="el" href="modules_8cpp.html#a46">modules.cpp</a><li>whowas_hash +: <a class="el" href="modules_8cpp.html#a42">modules.cpp</a><li>WHOWAS_MAX : <a class="el" href="modules_8cpp.html#a21">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a20">channels.cpp</a><li>WHOWAS_STALE : <a class="el" href="modules_8cpp.html#a20">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a19">channels.cpp</a></ul> <h3><a name="index_z">- z -</a> @@ -335,7 +342,7 @@ Here is a list of all file members with links to the files they belong to:<h3><a <li>zline_make_global() : <a class="el" href="xline_8h.html#a26">xline.h</a><li>zline_set_creation_time() : <a class="el" href="xline_8h.html#a25">xline.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:29 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:07 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/globals_defs.html b/docs/module-doc/globals_defs.html index ccc0c303c..f48072a4a 100644 --- a/docs/module-doc/globals_defs.html +++ b/docs/module-doc/globals_defs.html @@ -30,7 +30,13 @@ </h3><ul> <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>CONF_FILE_NOT_FOUND +: <a class="el" href="users_8h.html#a5">users.h</a><li>CM_INVITEONLY +: <a class="el" href="channels_8h.html#a2">channels.h</a><li>CM_MODERATED +: <a class="el" href="channels_8h.html#a3">channels.h</a><li>CM_NOEXTERNAL +: <a class="el" href="channels_8h.html#a1">channels.h</a><li>CM_PRIVATE +: <a class="el" href="channels_8h.html#a5">channels.h</a><li>CM_SECRET +: <a class="el" href="channels_8h.html#a4">channels.h</a><li>CM_TOPICLOCK +: <a class="el" href="channels_8h.html#a0">channels.h</a><li>CONF_FILE_NOT_FOUND : <a class="el" href="modules_8h.html#a30">modules.h</a><li>CONF_NOT_A_NUMBER : <a class="el" href="modules_8h.html#a27">modules.h</a><li>CONF_NOT_UNSIGNED : <a class="el" href="modules_8h.html#a28">modules.h</a><li>CONF_VALUE_NOT_FOUND @@ -79,11 +85,11 @@ <h3><a name="index_u">- u -</a> </h3><ul> <li>UCMODE_FOUNDER -: <a class="el" href="channels_8h.html#a4">channels.h</a><li>UCMODE_HOP -: <a class="el" href="channels_8h.html#a2">channels.h</a><li>UCMODE_OP -: <a class="el" href="channels_8h.html#a0">channels.h</a><li>UCMODE_PROTECT -: <a class="el" href="channels_8h.html#a3">channels.h</a><li>UCMODE_VOICE -: <a class="el" href="channels_8h.html#a1">channels.h</a></ul> +: <a class="el" href="channels_8h.html#a10">channels.h</a><li>UCMODE_HOP +: <a class="el" href="channels_8h.html#a8">channels.h</a><li>UCMODE_OP +: <a class="el" href="channels_8h.html#a6">channels.h</a><li>UCMODE_PROTECT +: <a class="el" href="channels_8h.html#a9">channels.h</a><li>UCMODE_VOICE +: <a class="el" href="channels_8h.html#a7">channels.h</a></ul> <h3><a name="index_v">- v -</a> </h3><ul> <li>VERBOSE @@ -92,7 +98,7 @@ : <a class="el" href="modules_8h.html#a22">modules.h</a><li>VF_STATIC : <a class="el" href="modules_8h.html#a20">modules.h</a><li>VF_VENDOR : <a class="el" href="modules_8h.html#a21">modules.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:30 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:07 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/globals_func.html b/docs/module-doc/globals_func.html index 6051a5a49..7a1559017 100644 --- a/docs/module-doc/globals_func.html +++ b/docs/module-doc/globals_func.html @@ -47,7 +47,7 @@ : <a class="el" href="xline_8h.html#a9">xline.h</a><li>del_qline() : <a class="el" href="xline_8h.html#a7">xline.h</a><li>del_zline() : <a class="el" href="xline_8h.html#a8">xline.h</a><li>DoAddExtendedMode() -: <a class="el" href="modules_8cpp.html#a58">modules.cpp</a><li>duration() +: <a class="el" href="modules_8cpp.html#a59">modules.cpp</a><li>duration() : <a class="el" href="commands_8h.html#a75">commands.h</a></ul> <h3><a name="index_e">- e -</a> </h3><ul> @@ -56,7 +56,7 @@ <h3><a name="index_f">- f -</a> </h3><ul> <li>factory() -: <a class="el" href="modules_8cpp.html#a61">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a3">channels.cpp</a></ul> +: <a class="el" href="modules_8cpp.html#a62">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a3">channels.cpp</a></ul> <h3><a name="index_g">- g -</a> </h3><ul> <li>give_hops() @@ -159,13 +159,13 @@ : <a class="el" href="xline_8h.html#a13">xline.h</a><li>merge_mode() : <a class="el" href="mode_8h.html#a13">mode.h</a><li>merge_mode2() : <a class="el" href="mode_8h.html#a14">mode.h</a><li>ModeDefined() -: <a class="el" href="modules_8cpp.html#a53">modules.cpp</a><li>ModeDefinedOff() -: <a class="el" href="modules_8cpp.html#a57">modules.cpp</a><li>ModeDefinedOn() -: <a class="el" href="modules_8cpp.html#a56">modules.cpp</a><li>ModeDefinedOper() -: <a class="el" href="modules_8cpp.html#a55">modules.cpp</a><li>ModeIsListMode() -: <a class="el" href="modules_8cpp.html#a54">modules.cpp</a><li>ModeMakeList() -: <a class="el" href="modules_8cpp.html#a59">modules.cpp</a><li>modules() -: <a class="el" href="modules_8cpp.html#a60">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a2">channels.cpp</a></ul> +: <a class="el" href="modules_8cpp.html#a54">modules.cpp</a><li>ModeDefinedOff() +: <a class="el" href="modules_8cpp.html#a58">modules.cpp</a><li>ModeDefinedOn() +: <a class="el" href="modules_8cpp.html#a57">modules.cpp</a><li>ModeDefinedOper() +: <a class="el" href="modules_8cpp.html#a56">modules.cpp</a><li>ModeIsListMode() +: <a class="el" href="modules_8cpp.html#a55">modules.cpp</a><li>ModeMakeList() +: <a class="el" href="modules_8cpp.html#a60">modules.cpp</a><li>modules() +: <a class="el" href="modules_8cpp.html#a61">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a2">channels.cpp</a></ul> <h3><a name="index_n">- n -</a> </h3><ul> <li>NonBlocking() @@ -211,7 +211,7 @@ <li>zline_make_global() : <a class="el" href="xline_8h.html#a26">xline.h</a><li>zline_set_creation_time() : <a class="el" href="xline_8h.html#a25">xline.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:29 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:07 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/globals_type.html b/docs/module-doc/globals_type.html index 5cdbf4b78..2ed72665e 100644 --- a/docs/module-doc/globals_type.html +++ b/docs/module-doc/globals_type.html @@ -11,22 +11,23 @@ <ul> <li>address_cache : <a class="el" href="modules_8cpp.html#a41">modules.cpp</a><li>BanList -: <a class="el" href="channels_8h.html#a5">channels.h</a><li>chan_hash +: <a class="el" href="channels_8h.html#a11">channels.h</a><li>chan_hash : <a class="el" href="modules_8cpp.html#a40">modules.cpp</a><li>chanuserlist : <a class="el" href="modules_8h.html#a33">modules.h</a><li>ClassVector : <a class="el" href="users_8h.html#a7">users.h</a><li>command_table -: <a class="el" href="modules_8cpp.html#a42">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#a50">modules.cpp</a><li>ExtModeListIter -: <a class="el" href="modules_8cpp.html#a51">modules.cpp</a><li>file_cache +: <a class="el" href="modules_8cpp.html#a43">modules.cpp</a><li>ExemptList +: <a class="el" href="channels_8h.html#a12">channels.h</a><li>ExtModeList +: <a class="el" href="modules_8cpp.html#a51">modules.cpp</a><li>ExtModeListIter +: <a class="el" href="modules_8cpp.html#a52">modules.cpp</a><li>file_cache : <a class="el" href="modules_8h.html#a31">modules.h</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="channels_8h.html#a13">channels.h</a><li>ircd_module : <a class="el" href="modules_8h.html#a34">modules.h</a><li>string_list : <a class="el" href="modules_8h.html#a32">modules.h</a><li>user_hash : <a class="el" href="modules_8cpp.html#a39">modules.cpp</a><li>VoidPointer -: <a class="el" href="base_8h.html#a0">base.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:30 2005 for InspIRCd by +: <a class="el" href="base_8h.html#a0">base.h</a><li>whowas_hash +: <a class="el" href="modules_8cpp.html#a42">modules.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:07 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/globals_vars.html b/docs/module-doc/globals_vars.html index b674bccfc..88f29bb7b 100644 --- a/docs/module-doc/globals_vars.html +++ b/docs/module-doc/globals_vars.html @@ -25,9 +25,9 @@ <h3><a name="index_c">- c -</a> </h3><ul> <li>chanlist -: <a class="el" href="modules_8cpp.html#a44">modules.cpp</a><li>clientlist -: <a class="el" href="modules_8cpp.html#a43">modules.cpp</a><li>cmdlist -: <a class="el" href="modules_8cpp.html#a46">modules.cpp</a><li>config_f +: <a class="el" href="modules_8cpp.html#a45">modules.cpp</a><li>clientlist +: <a class="el" href="modules_8cpp.html#a44">modules.cpp</a><li>cmdlist +: <a class="el" href="modules_8cpp.html#a47">modules.cpp</a><li>config_f : <a class="el" href="users_8cpp.html#a0">users.cpp</a>, <a class="el" href="modules_8cpp.html#a35">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a34">channels.cpp</a><li>custom_mode_params : <a class="el" href="channels_8cpp.html#a38">channels.cpp</a></ul> <h3><a name="index_d">- d -</a> @@ -41,17 +41,17 @@ <h3><a name="index_e">- e -</a> </h3><ul> <li>EMode -: <a class="el" href="modules_8cpp.html#a52">modules.cpp</a></ul> +: <a class="el" href="modules_8cpp.html#a53">modules.cpp</a></ul> <h3><a name="index_f">- f -</a> </h3><ul> <li>factory -: <a class="el" href="modules_8cpp.html#a61">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a3">channels.cpp</a><li>fd_reap +: <a class="el" href="modules_8cpp.html#a62">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a3">channels.cpp</a><li>fd_reap : <a class="el" href="modules_8cpp.html#a27">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a26">channels.cpp</a><li>fd_ref_table : <a class="el" href="modules_8cpp.html#a38">modules.cpp</a></ul> <h3><a name="index_i">- i -</a> </h3><ul> <li>IP -: <a class="el" href="modules_8cpp.html#a49">modules.cpp</a></ul> +: <a class="el" href="modules_8cpp.html#a50">modules.cpp</a></ul> <h3><a name="index_l">- l -</a> </h3><ul> <li>list @@ -65,9 +65,9 @@ : <a class="el" href="modules_8cpp.html#a36">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a35">channels.cpp</a><li>MODCOUNT : <a class="el" href="modules_8cpp.html#a1">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a1">channels.cpp</a><li>module_names : <a class="el" href="modules_8cpp.html#a28">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a27">channels.cpp</a><li>modules -: <a class="el" href="modules_8cpp.html#a60">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a2">channels.cpp</a><li>motd +: <a class="el" href="modules_8cpp.html#a61">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a2">channels.cpp</a><li>motd : <a class="el" href="modules_8cpp.html#a14">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a13">channels.cpp</a><li>MOTD -: <a class="el" href="modules_8cpp.html#a47">modules.cpp</a></ul> +: <a class="el" href="modules_8cpp.html#a48">modules.cpp</a></ul> <h3><a name="index_n">- n -</a> </h3><ul> <li>nb_start @@ -85,7 +85,7 @@ <li>restartpass : <a class="el" href="modules_8cpp.html#a13">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a12">channels.cpp</a><li>rules : <a class="el" href="modules_8cpp.html#a15">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a14">channels.cpp</a><li>RULES -: <a class="el" href="modules_8cpp.html#a48">modules.cpp</a></ul> +: <a class="el" href="modules_8cpp.html#a49">modules.cpp</a></ul> <h3><a name="index_s">- s -</a> </h3><ul> <li>ServerDesc @@ -100,10 +100,10 @@ <h3><a name="index_w">- w -</a> </h3><ul> <li>whowas -: <a class="el" href="modules_8cpp.html#a45">modules.cpp</a><li>WHOWAS_MAX +: <a class="el" href="modules_8cpp.html#a46">modules.cpp</a><li>WHOWAS_MAX : <a class="el" href="modules_8cpp.html#a21">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a20">channels.cpp</a><li>WHOWAS_STALE : <a class="el" href="modules_8cpp.html#a20">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a19">channels.cpp</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:29 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:07 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/hierarchy.html b/docs/module-doc/hierarchy.html index 898e7dea5..2a57b2a6a 100644 --- a/docs/module-doc/hierarchy.html +++ b/docs/module-doc/hierarchy.html @@ -57,8 +57,9 @@ <li><a class="el" href="structnspace_1_1nspace_1_1hash_3_01in__addr_01_4.html">nspace::hash< in_addr ></a> <li><a class="el" href="structnspace_1_1nspace_1_1hash_3_01string_01_4.html">nspace::hash< string ></a> <li><a class="el" href="structStrHashComp.html">StrHashComp</a> +<li><a class="el" href="classWhoWasUser.html">WhoWasUser</a> </ul> -<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:17 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:01 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/main.html b/docs/module-doc/main.html index cb9903ab4..7b721f540 100644 --- a/docs/module-doc/main.html +++ b/docs/module-doc/main.html @@ -7,7 +7,7 @@ <div class="qindex"><a class="qindexHL" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">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></div> <h1>InspIRCd Documentation</h1> <p> -<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:10 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:58:57 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/message_8h-source.html b/docs/module-doc/message_8h-source.html index 86c8778ba..f69916dd1 100644 --- a/docs/module-doc/message_8h-source.html +++ b/docs/module-doc/message_8h-source.html @@ -57,7 +57,7 @@ 00050 <span class="keywordtype">void</span> <a class="code" href="message_8h.html#a19">send_network_quit</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* nick, <span class="keyword">const</span> <span class="keywordtype">char</span>* reason); 00051 00052 <span class="preprocessor">#endif</span> -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:11 2005 for InspIRCd by +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:58:58 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/message_8h.html b/docs/module-doc/message_8h.html index aa5d628cb..2ff62954f 100644 --- a/docs/module-doc/message_8h.html +++ b/docs/module-doc/message_8h.html @@ -155,7 +155,7 @@ <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00581">Server::ChangeHost()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00582">Server::ChangeHost()</a>. </td> </tr> </table> <a name="a10" doxytag="message.h::ChangeName"></a><p> @@ -195,7 +195,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00581">Server::Chang <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00586">Server::ChangeGECOS()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00587">Server::ChangeGECOS()</a>. </td> </tr> </table> <a name="a18" doxytag="message.h::chlist"></a><p> @@ -340,7 +340,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00586">Server::Chang <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00611">Server::ChanMode()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00612">Server::ChanMode()</a>. </td> </tr> </table> <a name="a0" doxytag="message.h::common_channels"></a><p> @@ -380,7 +380,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00611">Server::ChanM <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00559">Server::CommonChannels()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00560">Server::CommonChannels()</a>. </td> </tr> </table> <a name="a15" doxytag="message.h::cstatus"></a><p> @@ -458,7 +458,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00559">Server::Commo <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00616">Server::IsOnChannel()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00617">Server::IsOnChannel()</a>. </td> </tr> </table> <a name="a9" doxytag="message.h::hasumode"></a><p> @@ -556,7 +556,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00616">Server::IsOnC <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00591">Server::IsNick()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00592">Server::IsNick()</a>. </td> </tr> </table> <a name="a6" doxytag="message.h::NonBlocking"></a><p> @@ -742,7 +742,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00591">Server::IsNic </td> </tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:15 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:00 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/mode_8h-source.html b/docs/module-doc/mode_8h-source.html index 8662cbecc..b51a6b704 100644 --- a/docs/module-doc/mode_8h-source.html +++ b/docs/module-doc/mode_8h-source.html @@ -53,7 +53,7 @@ 00046 00047 00048 <span class="preprocessor">#endif</span> -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:11 2005 for InspIRCd by +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:58:58 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/mode_8h.html b/docs/module-doc/mode_8h.html index ba2beca0f..93a53d9b9 100644 --- a/docs/module-doc/mode_8h.html +++ b/docs/module-doc/mode_8h.html @@ -788,7 +788,7 @@ </td> </tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:15 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:00 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/modules_8cpp-source.html b/docs/module-doc/modules_8cpp-source.html index 9807b4f97..0dd52681c 100644 --- a/docs/module-doc/modules_8cpp-source.html +++ b/docs/module-doc/modules_8cpp-source.html @@ -192,888 +192,889 @@ <a name="l00185"></a><a class="code" href="modules_8cpp.html#a39">00185</a> <span class="keyword">typedef</span> nspace::hash_map<std::string, userrec*, nspace::hash<string>, <a class="code" href="structStrHashComp.html">StrHashComp</a>> <a class="code" href="modules_8cpp.html#a39">user_hash</a>; <a name="l00186"></a><a class="code" href="modules_8cpp.html#a40">00186</a> <span class="keyword">typedef</span> nspace::hash_map<std::string, chanrec*, nspace::hash<string>, <a class="code" href="structStrHashComp.html">StrHashComp</a>> <a class="code" href="modules_8cpp.html#a40">chan_hash</a>; <a name="l00187"></a><a class="code" href="modules_8cpp.html#a41">00187</a> <span class="keyword">typedef</span> nspace::hash_map<in_addr,string*, nspace::hash<in_addr>, <a class="code" href="structInAddr__HashComp.html">InAddr_HashComp</a>> <a class="code" href="modules_8cpp.html#a41">address_cache</a>; -<a name="l00188"></a><a class="code" href="modules_8cpp.html#a42">00188</a> <span class="keyword">typedef</span> std::deque<command_t> <a class="code" href="modules_8cpp.html#a42">command_table</a>; -00189 +<a name="l00188"></a><a class="code" href="modules_8cpp.html#a42">00188</a> <span class="keyword">typedef</span> nspace::hash_map<std::string, WhoWasUser*, nspace::hash<string>, <a class="code" href="structStrHashComp.html">StrHashComp</a>> <a class="code" href="modules_8cpp.html#a42">whowas_hash</a>; +<a name="l00189"></a><a class="code" href="modules_8cpp.html#a43">00189</a> <span class="keyword">typedef</span> std::deque<command_t> <a class="code" href="modules_8cpp.html#a43">command_table</a>; 00190 -<a name="l00191"></a><a class="code" href="modules_8cpp.html#a43">00191</a> <span class="keyword">extern</span> <a class="code" href="modules_8cpp.html#a39">user_hash</a> <a class="code" href="modules_8cpp.html#a43">clientlist</a>; -<a name="l00192"></a><a class="code" href="modules_8cpp.html#a44">00192</a> <span class="keyword">extern</span> <a class="code" href="modules_8cpp.html#a40">chan_hash</a> <a class="code" href="modules_8cpp.html#a44">chanlist</a>; -<a name="l00193"></a><a class="code" href="modules_8cpp.html#a45">00193</a> <span class="keyword">extern</span> <a class="code" href="modules_8cpp.html#a39">user_hash</a> <a class="code" href="modules_8cpp.html#a45">whowas</a>; -<a name="l00194"></a><a class="code" href="modules_8cpp.html#a46">00194</a> <span class="keyword">extern</span> <a class="code" href="modules_8cpp.html#a42">command_table</a> <a class="code" href="modules_8cpp.html#a46">cmdlist</a>; -<a name="l00195"></a><a class="code" href="modules_8cpp.html#a47">00195</a> <span class="keyword">extern</span> <a class="code" href="modules_8h.html#a31">file_cache</a> <a class="code" href="modules_8cpp.html#a47">MOTD</a>; -<a name="l00196"></a><a class="code" href="modules_8cpp.html#a48">00196</a> <span class="keyword">extern</span> <a class="code" href="modules_8h.html#a31">file_cache</a> <a class="code" href="modules_8cpp.html#a48">RULES</a>; -<a name="l00197"></a><a class="code" href="modules_8cpp.html#a49">00197</a> <span class="keyword">extern</span> <a class="code" href="modules_8cpp.html#a41">address_cache</a> <a class="code" href="modules_8cpp.html#a49">IP</a>; -00198 +00191 +<a name="l00192"></a><a class="code" href="modules_8cpp.html#a44">00192</a> <span class="keyword">extern</span> <a class="code" href="modules_8cpp.html#a39">user_hash</a> <a class="code" href="modules_8cpp.html#a44">clientlist</a>; +<a name="l00193"></a><a class="code" href="modules_8cpp.html#a45">00193</a> <span class="keyword">extern</span> <a class="code" href="modules_8cpp.html#a40">chan_hash</a> <a class="code" href="modules_8cpp.html#a45">chanlist</a>; +<a name="l00194"></a><a class="code" href="modules_8cpp.html#a46">00194</a> <span class="keyword">extern</span> <a class="code" href="modules_8cpp.html#a42">whowas_hash</a> <a class="code" href="modules_8cpp.html#a46">whowas</a>; +<a name="l00195"></a><a class="code" href="modules_8cpp.html#a47">00195</a> <span class="keyword">extern</span> <a class="code" href="modules_8cpp.html#a43">command_table</a> <a class="code" href="modules_8cpp.html#a47">cmdlist</a>; +<a name="l00196"></a><a class="code" href="modules_8cpp.html#a48">00196</a> <span class="keyword">extern</span> <a class="code" href="modules_8h.html#a31">file_cache</a> <a class="code" href="modules_8cpp.html#a48">MOTD</a>; +<a name="l00197"></a><a class="code" href="modules_8cpp.html#a49">00197</a> <span class="keyword">extern</span> <a class="code" href="modules_8h.html#a31">file_cache</a> <a class="code" href="modules_8cpp.html#a49">RULES</a>; +<a name="l00198"></a><a class="code" href="modules_8cpp.html#a50">00198</a> <span class="keyword">extern</span> <a class="code" href="modules_8cpp.html#a41">address_cache</a> <a class="code" href="modules_8cpp.html#a50">IP</a>; 00199 -00200 <span class="comment">// class type for holding an extended mode character - internal to core</span> -00201 -<a name="l00202"></a><a class="code" href="classExtMode.html">00202</a> <span class="keyword">class </span><a class="code" href="classExtMode.html">ExtMode</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> -00203 { -00204 <span class="keyword">public</span>: -<a name="l00205"></a><a class="code" href="classExtMode.html#o0">00205</a> <span class="keywordtype">char</span> <a class="code" href="classExtMode.html#o0">modechar</a>; -<a name="l00206"></a><a class="code" href="classExtMode.html#o1">00206</a> <span class="keywordtype">int</span> <a class="code" href="classExtMode.html#o1">type</a>; -<a name="l00207"></a><a class="code" href="classExtMode.html#o2">00207</a> <span class="keywordtype">int</span> <a class="code" href="classExtMode.html#o2">params_when_on</a>; -<a name="l00208"></a><a class="code" href="classExtMode.html#o3">00208</a> <span class="keywordtype">int</span> <a class="code" href="classExtMode.html#o3">params_when_off</a>; -<a name="l00209"></a><a class="code" href="classExtMode.html#o4">00209</a> <span class="keywordtype">bool</span> <a class="code" href="classExtMode.html#o4">needsoper</a>; -<a name="l00210"></a><a class="code" href="classExtMode.html#o5">00210</a> <span class="keywordtype">bool</span> <a class="code" href="channels_8cpp.html#a15">list</a>; -<a name="l00211"></a><a class="code" href="classExtMode.html#a0">00211</a> <a class="code" href="classExtMode.html#a0">ExtMode</a>(<span class="keywordtype">char</span> mc, <span class="keywordtype">int</span> ty, <span class="keywordtype">bool</span> oper, <span class="keywordtype">int</span> p_on, <span class="keywordtype">int</span> p_off) : <a class="code" href="classExtMode.html#o0">modechar</a>(mc), <a class="code" href="classExtMode.html#o1">type</a>(ty), <a class="code" href="classExtMode.html#o4">needsoper</a>(oper), <a class="code" href="classExtMode.html#o2">params_when_on</a>(p_on), <a class="code" href="classExtMode.html#o3">params_when_off</a>(p_off) { }; -00212 }; -00213 -<a name="l00214"></a><a class="code" href="modules_8cpp.html#a50">00214</a> <span class="keyword">typedef</span> std::vector<ExtMode> <a class="code" href="modules_8cpp.html#a50">ExtModeList</a>; -<a name="l00215"></a><a class="code" href="modules_8cpp.html#a51">00215</a> <span class="keyword">typedef</span> ExtModeList::iterator <a class="code" href="modules_8cpp.html#a51">ExtModeListIter</a>; -00216 +00200 +00201 <span class="comment">// class type for holding an extended mode character - internal to core</span> +00202 +<a name="l00203"></a><a class="code" href="classExtMode.html">00203</a> <span class="keyword">class </span><a class="code" href="classExtMode.html">ExtMode</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> +00204 { +00205 <span class="keyword">public</span>: +<a name="l00206"></a><a class="code" href="classExtMode.html#o0">00206</a> <span class="keywordtype">char</span> <a class="code" href="classExtMode.html#o0">modechar</a>; +<a name="l00207"></a><a class="code" href="classExtMode.html#o1">00207</a> <span class="keywordtype">int</span> <a class="code" href="classExtMode.html#o1">type</a>; +<a name="l00208"></a><a class="code" href="classExtMode.html#o2">00208</a> <span class="keywordtype">int</span> <a class="code" href="classExtMode.html#o2">params_when_on</a>; +<a name="l00209"></a><a class="code" href="classExtMode.html#o3">00209</a> <span class="keywordtype">int</span> <a class="code" href="classExtMode.html#o3">params_when_off</a>; +<a name="l00210"></a><a class="code" href="classExtMode.html#o4">00210</a> <span class="keywordtype">bool</span> <a class="code" href="classExtMode.html#o4">needsoper</a>; +<a name="l00211"></a><a class="code" href="classExtMode.html#o5">00211</a> <span class="keywordtype">bool</span> <a class="code" href="channels_8cpp.html#a15">list</a>; +<a name="l00212"></a><a class="code" href="classExtMode.html#a0">00212</a> <a class="code" href="classExtMode.html#a0">ExtMode</a>(<span class="keywordtype">char</span> mc, <span class="keywordtype">int</span> ty, <span class="keywordtype">bool</span> oper, <span class="keywordtype">int</span> p_on, <span class="keywordtype">int</span> p_off) : <a class="code" href="classExtMode.html#o0">modechar</a>(mc), <a class="code" href="classExtMode.html#o1">type</a>(ty), <a class="code" href="classExtMode.html#o4">needsoper</a>(oper), <a class="code" href="classExtMode.html#o2">params_when_on</a>(p_on), <a class="code" href="classExtMode.html#o3">params_when_off</a>(p_off) { }; +00213 }; +00214 +<a name="l00215"></a><a class="code" href="modules_8cpp.html#a51">00215</a> <span class="keyword">typedef</span> std::vector<ExtMode> <a class="code" href="modules_8cpp.html#a51">ExtModeList</a>; +<a name="l00216"></a><a class="code" href="modules_8cpp.html#a52">00216</a> <span class="keyword">typedef</span> ExtModeList::iterator <a class="code" href="modules_8cpp.html#a52">ExtModeListIter</a>; 00217 -<a name="l00218"></a><a class="code" href="modules_8cpp.html#a52">00218</a> <a class="code" href="modules_8cpp.html#a50">ExtModeList</a> <a class="code" href="modules_8cpp.html#a52">EMode</a>; -00219 -00220 <span class="comment">// returns true if an extended mode character is in use</span> -<a name="l00221"></a><a class="code" href="modules_8cpp.html#a53">00221</a> <span class="keywordtype">bool</span> <a class="code" href="modules_8cpp.html#a53">ModeDefined</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type) -00222 { -00223 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a51">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a52">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a52">EMode</a>.end(); i++) -00224 { -00225 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) -00226 { -00227 <span class="keywordflow">return</span> <span class="keyword">true</span>; -00228 } -00229 } -00230 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00231 } -00232 -<a name="l00233"></a><a class="code" href="modules_8cpp.html#a54">00233</a> <span class="keywordtype">bool</span> <a class="code" href="modules_8cpp.html#a54">ModeIsListMode</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type) -00234 { -00235 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a51">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a52">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a52">EMode</a>.end(); i++) -00236 { -00237 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type) && (i->list == <span class="keyword">true</span>)) -00238 { -00239 <span class="keywordflow">return</span> <span class="keyword">true</span>; -00240 } -00241 } -00242 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00243 } -00244 -<a name="l00245"></a><a class="code" href="modules_8cpp.html#a55">00245</a> <span class="keywordtype">bool</span> <a class="code" href="modules_8cpp.html#a55">ModeDefinedOper</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type) -00246 { -00247 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a51">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a52">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a52">EMode</a>.end(); i++) -00248 { -00249 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type) && (i->needsoper == <span class="keyword">true</span>)) -00250 { -00251 <span class="keywordflow">return</span> <span class="keyword">true</span>; -00252 } -00253 } -00254 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00255 } -00256 -00257 <span class="comment">// returns number of parameters for a custom mode when it is switched on</span> -<a name="l00258"></a><a class="code" href="modules_8cpp.html#a56">00258</a> <span class="keywordtype">int</span> <a class="code" href="modules_8cpp.html#a56">ModeDefinedOn</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type) -00259 { -00260 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a51">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a52">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a52">EMode</a>.end(); i++) -00261 { -00262 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) -00263 { -00264 <span class="keywordflow">return</span> i->params_when_on; -00265 } -00266 } -00267 <span class="keywordflow">return</span> 0; -00268 } -00269 -00270 <span class="comment">// returns number of parameters for a custom mode when it is switched on</span> -<a name="l00271"></a><a class="code" href="modules_8cpp.html#a57">00271</a> <span class="keywordtype">int</span> <a class="code" href="modules_8cpp.html#a57">ModeDefinedOff</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type) -00272 { -00273 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a51">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a52">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a52">EMode</a>.end(); i++) -00274 { -00275 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) -00276 { -00277 <span class="keywordflow">return</span> i->params_when_off; -00278 } -00279 } -00280 <span class="keywordflow">return</span> 0; -00281 } -00282 -00283 <span class="comment">// returns true if an extended mode character is in use</span> -<a name="l00284"></a><a class="code" href="modules_8cpp.html#a58">00284</a> <span class="keywordtype">bool</span> <a class="code" href="modules_8cpp.html#a58">DoAddExtendedMode</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type, <span class="keywordtype">bool</span> requires_oper, <span class="keywordtype">int</span> params_on, <span class="keywordtype">int</span> params_off) -00285 { -00286 <span class="keywordflow">if</span> (<a class="code" href="modules_8cpp.html#a53">ModeDefined</a>(modechar,type)) { -00287 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00288 } -00289 <a class="code" href="modules_8cpp.html#a52">EMode</a>.push_back(<a class="code" href="classExtMode.html">ExtMode</a>(modechar,type,requires_oper,params_on,params_off)); -00290 <span class="keywordflow">return</span> <span class="keyword">true</span>; -00291 } -00292 -00293 <span class="comment">// turns a mode into a listmode</span> -<a name="l00294"></a><a class="code" href="modules_8cpp.html#a59">00294</a> <span class="keywordtype">void</span> <a class="code" href="modules_8cpp.html#a59">ModeMakeList</a>(<span class="keywordtype">char</span> modechar) -00295 { -00296 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a51">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a52">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a52">EMode</a>.end(); i++) -00297 { -00298 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == <a class="code" href="modules_8h.html#a5">MT_CHANNEL</a>)) -00299 { -00300 i->list = <span class="keyword">true</span>; -00301 <span class="keywordflow">return</span>; -00302 } -00303 } -00304 <span class="keywordflow">return</span>; -00305 } -00306 -00307 <span class="comment">// version is a simple class for holding a modules version number</span> -00308 -<a name="l00309"></a><a class="code" href="classVersion.html#a0">00309</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, <span class="keywordtype">int</span> flags) : Major(major), Minor(minor), Revision(revision), Build(build), Flags(flags) { }; -00310 -00311 <span class="comment">// admin is a simple class for holding a server's administrative info</span> -00312 -<a name="l00313"></a><a class="code" href="classAdmin.html#a0">00313</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) { }; -00314 -<a name="l00315"></a><a class="code" href="classRequest.html#a0">00315</a> <a class="code" href="classRequest.html#a0">Request::Request</a>(<span class="keywordtype">char</span>* anydata, <a class="code" href="classModule.html">Module</a>* src, <a class="code" href="classModule.html">Module</a>* dst) : data(anydata), source(src), dest(dst) { }; -00316 -<a name="l00317"></a><a class="code" href="classRequest.html#a1">00317</a> <span class="keywordtype">char</span>* <a class="code" href="classRequest.html#a1">Request::GetData</a>() -00318 { -00319 <span class="keywordflow">return</span> this-><a class="code" href="classRequest.html#p0">data</a>; -00320 } -00321 -<a name="l00322"></a><a class="code" href="classRequest.html#a2">00322</a> <a class="code" href="classModule.html">Module</a>* <a class="code" href="classRequest.html#a2">Request::GetSource</a>() -00323 { -00324 <span class="keywordflow">return</span> this-><a class="code" href="classRequest.html#p1">source</a>; -00325 } -00326 -<a name="l00327"></a><a class="code" href="classRequest.html#a3">00327</a> <a class="code" href="classModule.html">Module</a>* <a class="code" href="classRequest.html#a3">Request::GetDest</a>() -00328 { -00329 <span class="keywordflow">return</span> this-><a class="code" href="classRequest.html#p2">dest</a>; -00330 } -00331 -<a name="l00332"></a><a class="code" href="classRequest.html#a4">00332</a> <span class="keywordtype">char</span>* <a class="code" href="classRequest.html#a4">Request::Send</a>() -00333 { -00334 <span class="keywordflow">if</span> (this-><a class="code" href="classRequest.html#p2">dest</a>) -00335 { -00336 <span class="keywordflow">return</span> <a class="code" href="classRequest.html#p2">dest</a>-><a class="code" href="classModule.html#a46">OnRequest</a>(<span class="keyword">this</span>); -00337 } -00338 <span class="keywordflow">else</span> -00339 { -00340 <span class="keywordflow">return</span> NULL; -00341 } -00342 } -00343 -<a name="l00344"></a><a class="code" href="classEvent.html#a0">00344</a> <a class="code" href="classEvent.html#a0">Event::Event</a>(<span class="keywordtype">char</span>* anydata, <a class="code" href="classModule.html">Module</a>* src, std::string eventid) : data(anydata), source(src), id(eventid) { }; -00345 -<a name="l00346"></a><a class="code" href="classEvent.html#a1">00346</a> <span class="keywordtype">char</span>* <a class="code" href="classEvent.html#a1">Event::GetData</a>() -00347 { -00348 <span class="keywordflow">return</span> this-><a class="code" href="classEvent.html#p0">data</a>; -00349 } -00350 -<a name="l00351"></a><a class="code" href="classEvent.html#a2">00351</a> <a class="code" href="classModule.html">Module</a>* <a class="code" href="classEvent.html#a2">Event::GetSource</a>() -00352 { -00353 <span class="keywordflow">return</span> this-><a class="code" href="classEvent.html#p1">source</a>; -00354 } -00355 -<a name="l00356"></a><a class="code" href="classEvent.html#a4">00356</a> <span class="keywordtype">char</span>* <a class="code" href="classEvent.html#a4">Event::Send</a>() -00357 { -00358 <a class="code" href="modules_8h.html#a24">FOREACH_MOD</a> OnEvent(<span class="keyword">this</span>); -00359 <span class="keywordflow">return</span> NULL; -00360 } -00361 -<a name="l00362"></a><a class="code" href="classEvent.html#a3">00362</a> std::string <a class="code" href="classEvent.html#a3">Event::GetEventID</a>() -00363 { -00364 <span class="keywordflow">return</span> this-><a class="code" href="classEvent.html#p2">id</a>; -00365 } -00366 +00218 +<a name="l00219"></a><a class="code" href="modules_8cpp.html#a53">00219</a> <a class="code" href="modules_8cpp.html#a51">ExtModeList</a> <a class="code" href="modules_8cpp.html#a53">EMode</a>; +00220 +00221 <span class="comment">// returns true if an extended mode character is in use</span> +<a name="l00222"></a><a class="code" href="modules_8cpp.html#a54">00222</a> <span class="keywordtype">bool</span> <a class="code" href="modules_8cpp.html#a54">ModeDefined</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type) +00223 { +00224 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a52">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a53">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a53">EMode</a>.end(); i++) +00225 { +00226 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) +00227 { +00228 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00229 } +00230 } +00231 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00232 } +00233 +<a name="l00234"></a><a class="code" href="modules_8cpp.html#a55">00234</a> <span class="keywordtype">bool</span> <a class="code" href="modules_8cpp.html#a55">ModeIsListMode</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type) +00235 { +00236 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a52">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a53">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a53">EMode</a>.end(); i++) +00237 { +00238 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type) && (i->list == <span class="keyword">true</span>)) +00239 { +00240 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00241 } +00242 } +00243 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00244 } +00245 +<a name="l00246"></a><a class="code" href="modules_8cpp.html#a56">00246</a> <span class="keywordtype">bool</span> <a class="code" href="modules_8cpp.html#a56">ModeDefinedOper</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type) +00247 { +00248 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a52">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a53">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a53">EMode</a>.end(); i++) +00249 { +00250 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type) && (i->needsoper == <span class="keyword">true</span>)) +00251 { +00252 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00253 } +00254 } +00255 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00256 } +00257 +00258 <span class="comment">// returns number of parameters for a custom mode when it is switched on</span> +<a name="l00259"></a><a class="code" href="modules_8cpp.html#a57">00259</a> <span class="keywordtype">int</span> <a class="code" href="modules_8cpp.html#a57">ModeDefinedOn</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type) +00260 { +00261 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a52">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a53">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a53">EMode</a>.end(); i++) +00262 { +00263 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) +00264 { +00265 <span class="keywordflow">return</span> i->params_when_on; +00266 } +00267 } +00268 <span class="keywordflow">return</span> 0; +00269 } +00270 +00271 <span class="comment">// returns number of parameters for a custom mode when it is switched on</span> +<a name="l00272"></a><a class="code" href="modules_8cpp.html#a58">00272</a> <span class="keywordtype">int</span> <a class="code" href="modules_8cpp.html#a58">ModeDefinedOff</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type) +00273 { +00274 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a52">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a53">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a53">EMode</a>.end(); i++) +00275 { +00276 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) +00277 { +00278 <span class="keywordflow">return</span> i->params_when_off; +00279 } +00280 } +00281 <span class="keywordflow">return</span> 0; +00282 } +00283 +00284 <span class="comment">// returns true if an extended mode character is in use</span> +<a name="l00285"></a><a class="code" href="modules_8cpp.html#a59">00285</a> <span class="keywordtype">bool</span> <a class="code" href="modules_8cpp.html#a59">DoAddExtendedMode</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type, <span class="keywordtype">bool</span> requires_oper, <span class="keywordtype">int</span> params_on, <span class="keywordtype">int</span> params_off) +00286 { +00287 <span class="keywordflow">if</span> (<a class="code" href="modules_8cpp.html#a54">ModeDefined</a>(modechar,type)) { +00288 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00289 } +00290 <a class="code" href="modules_8cpp.html#a53">EMode</a>.push_back(<a class="code" href="classExtMode.html">ExtMode</a>(modechar,type,requires_oper,params_on,params_off)); +00291 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00292 } +00293 +00294 <span class="comment">// turns a mode into a listmode</span> +<a name="l00295"></a><a class="code" href="modules_8cpp.html#a60">00295</a> <span class="keywordtype">void</span> <a class="code" href="modules_8cpp.html#a60">ModeMakeList</a>(<span class="keywordtype">char</span> modechar) +00296 { +00297 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a52">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a53">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a53">EMode</a>.end(); i++) +00298 { +00299 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == <a class="code" href="modules_8h.html#a5">MT_CHANNEL</a>)) +00300 { +00301 i->list = <span class="keyword">true</span>; +00302 <span class="keywordflow">return</span>; +00303 } +00304 } +00305 <span class="keywordflow">return</span>; +00306 } +00307 +00308 <span class="comment">// version is a simple class for holding a modules version number</span> +00309 +<a name="l00310"></a><a class="code" href="classVersion.html#a0">00310</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, <span class="keywordtype">int</span> flags) : Major(major), Minor(minor), Revision(revision), Build(build), Flags(flags) { }; +00311 +00312 <span class="comment">// admin is a simple class for holding a server's administrative info</span> +00313 +<a name="l00314"></a><a class="code" href="classAdmin.html#a0">00314</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) { }; +00315 +<a name="l00316"></a><a class="code" href="classRequest.html#a0">00316</a> <a class="code" href="classRequest.html#a0">Request::Request</a>(<span class="keywordtype">char</span>* anydata, <a class="code" href="classModule.html">Module</a>* src, <a class="code" href="classModule.html">Module</a>* dst) : data(anydata), source(src), dest(dst) { }; +00317 +<a name="l00318"></a><a class="code" href="classRequest.html#a1">00318</a> <span class="keywordtype">char</span>* <a class="code" href="classRequest.html#a1">Request::GetData</a>() +00319 { +00320 <span class="keywordflow">return</span> this-><a class="code" href="classRequest.html#p0">data</a>; +00321 } +00322 +<a name="l00323"></a><a class="code" href="classRequest.html#a2">00323</a> <a class="code" href="classModule.html">Module</a>* <a class="code" href="classRequest.html#a2">Request::GetSource</a>() +00324 { +00325 <span class="keywordflow">return</span> this-><a class="code" href="classRequest.html#p1">source</a>; +00326 } +00327 +<a name="l00328"></a><a class="code" href="classRequest.html#a3">00328</a> <a class="code" href="classModule.html">Module</a>* <a class="code" href="classRequest.html#a3">Request::GetDest</a>() +00329 { +00330 <span class="keywordflow">return</span> this-><a class="code" href="classRequest.html#p2">dest</a>; +00331 } +00332 +<a name="l00333"></a><a class="code" href="classRequest.html#a4">00333</a> <span class="keywordtype">char</span>* <a class="code" href="classRequest.html#a4">Request::Send</a>() +00334 { +00335 <span class="keywordflow">if</span> (this-><a class="code" href="classRequest.html#p2">dest</a>) +00336 { +00337 <span class="keywordflow">return</span> <a class="code" href="classRequest.html#p2">dest</a>-><a class="code" href="classModule.html#a46">OnRequest</a>(<span class="keyword">this</span>); +00338 } +00339 <span class="keywordflow">else</span> +00340 { +00341 <span class="keywordflow">return</span> NULL; +00342 } +00343 } +00344 +<a name="l00345"></a><a class="code" href="classEvent.html#a0">00345</a> <a class="code" href="classEvent.html#a0">Event::Event</a>(<span class="keywordtype">char</span>* anydata, <a class="code" href="classModule.html">Module</a>* src, std::string eventid) : data(anydata), source(src), id(eventid) { }; +00346 +<a name="l00347"></a><a class="code" href="classEvent.html#a1">00347</a> <span class="keywordtype">char</span>* <a class="code" href="classEvent.html#a1">Event::GetData</a>() +00348 { +00349 <span class="keywordflow">return</span> this-><a class="code" href="classEvent.html#p0">data</a>; +00350 } +00351 +<a name="l00352"></a><a class="code" href="classEvent.html#a2">00352</a> <a class="code" href="classModule.html">Module</a>* <a class="code" href="classEvent.html#a2">Event::GetSource</a>() +00353 { +00354 <span class="keywordflow">return</span> this-><a class="code" href="classEvent.html#p1">source</a>; +00355 } +00356 +<a name="l00357"></a><a class="code" href="classEvent.html#a4">00357</a> <span class="keywordtype">char</span>* <a class="code" href="classEvent.html#a4">Event::Send</a>() +00358 { +00359 <a class="code" href="modules_8h.html#a24">FOREACH_MOD</a> OnEvent(<span class="keyword">this</span>); +00360 <span class="keywordflow">return</span> NULL; +00361 } +00362 +<a name="l00363"></a><a class="code" href="classEvent.html#a3">00363</a> std::string <a class="code" href="classEvent.html#a3">Event::GetEventID</a>() +00364 { +00365 <span class="keywordflow">return</span> this-><a class="code" href="classEvent.html#p2">id</a>; +00366 } 00367 -00368 <span class="comment">// These declarations define the behavours of the base class Module (which does nothing at all)</span> -<a name="l00369"></a><a class="code" href="classModule.html#a0">00369</a> <a class="code" href="classModule.html#a0">Module::Module</a>() { } -<a name="l00370"></a><a class="code" href="classModule.html#a1">00370</a> <a class="code" href="classModule.html#a1">Module::~Module</a>() { } -<a name="l00371"></a><a class="code" href="classModule.html#a3">00371</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="l00372"></a><a class="code" href="classModule.html#a4">00372</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="l00373"></a><a class="code" href="classModule.html#a5">00373</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a5">Module::OnUserDisconnect</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { } -<a name="l00374"></a><a class="code" href="classModule.html#a6">00374</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a6">Module::OnUserJoin</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* channel) { } -<a name="l00375"></a><a class="code" href="classModule.html#a7">00375</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a7">Module::OnUserPart</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* channel) { } -<a name="l00376"></a><a class="code" href="classModule.html#a8">00376</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a8">Module::OnPacketTransmit</a>(std::string &data, std::string serv) { } -<a name="l00377"></a><a class="code" href="classModule.html#a9">00377</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a9">Module::OnPacketReceive</a>(std::string &data, std::string serv) { } -<a name="l00378"></a><a class="code" href="classModule.html#a10">00378</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a10">Module::OnRehash</a>() { } -<a name="l00379"></a><a class="code" href="classModule.html#a11">00379</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a11">Module::OnServerRaw</a>(std::string &raw, <span class="keywordtype">bool</span> inbound, <a class="code" href="classuserrec.html">userrec</a>* user) { } -<a name="l00380"></a><a class="code" href="classModule.html#a13">00380</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a13">Module::OnUserPreJoin</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan, <span class="keyword">const</span> <span class="keywordtype">char</span>* cname) { <span class="keywordflow">return</span> 0; } -<a name="l00381"></a><a class="code" href="classModule.html#a12">00381</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a12">Module::OnExtendedMode</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <span class="keywordtype">void</span>* target, <span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type, <span class="keywordtype">bool</span> mode_on, string_list &params) { <span class="keywordflow">return</span> <span class="keyword">false</span>; } -<a name="l00382"></a><a class="code" href="classModule.html#a2">00382</a> <a class="code" href="classVersion.html">Version</a> <a class="code" href="classModule.html#a2">Module::GetVersion</a>() { <span class="keywordflow">return</span> <a class="code" href="classVersion.html">Version</a>(1,0,0,0,<a class="code" href="modules_8h.html#a21">VF_VENDOR</a>); } -<a name="l00383"></a><a class="code" href="classModule.html#a16">00383</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a16">Module::OnOper</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { }; -<a name="l00384"></a><a class="code" href="classModule.html#a17">00384</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a17">Module::OnInfo</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { }; -<a name="l00385"></a><a class="code" href="classModule.html#a18">00385</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a18">Module::OnWhois</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classuserrec.html">userrec</a>* dest) { }; -<a name="l00386"></a><a class="code" href="classModule.html#a19">00386</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a19">Module::OnUserPreInvite</a>(<a class="code" href="classuserrec.html">userrec</a>* source,<a class="code" href="classuserrec.html">userrec</a>* dest,<a class="code" href="classchanrec.html">chanrec</a>* channel) { <span class="keywordflow">return</span> 0; }; -<a name="l00387"></a><a class="code" href="classModule.html#a20">00387</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a20">Module::OnUserPreMessage</a>(<a class="code" href="classuserrec.html">userrec</a>* user,<span class="keywordtype">void</span>* dest,<span class="keywordtype">int</span> target_type, std::string &text) { <span class="keywordflow">return</span> 0; }; -<a name="l00388"></a><a class="code" href="classModule.html#a21">00388</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a21">Module::OnUserPreNotice</a>(<a class="code" href="classuserrec.html">userrec</a>* user,<span class="keywordtype">void</span>* dest,<span class="keywordtype">int</span> target_type, std::string &text) { <span class="keywordflow">return</span> 0; }; -<a name="l00389"></a><a class="code" href="classModule.html#a22">00389</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a22">Module::OnUserPreNick</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string newnick) { <span class="keywordflow">return</span> 0; }; -<a name="l00390"></a><a class="code" href="classModule.html#a23">00390</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a23">Module::OnUserPostNick</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string oldnick) { }; -<a name="l00391"></a><a class="code" href="classModule.html#a24">00391</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a24">Module::OnAccessCheck</a>(<a class="code" href="classuserrec.html">userrec</a>* source,<a class="code" href="classuserrec.html">userrec</a>* dest,<a class="code" href="classchanrec.html">chanrec</a>* channel,<span class="keywordtype">int</span> access_type) { <span class="keywordflow">return</span> <a class="code" href="modules_8h.html#a8">ACR_DEFAULT</a>; }; -<a name="l00392"></a><a class="code" href="classModule.html#a25">00392</a> <a class="code" href="modules_8h.html#a32">string_list</a> <a class="code" href="classModule.html#a25">Module::OnUserSync</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { <a class="code" href="modules_8h.html#a32">string_list</a> empty; <span class="keywordflow">return</span> empty; } -<a name="l00393"></a><a class="code" href="classModule.html#a26">00393</a> <a class="code" href="modules_8h.html#a32">string_list</a> <a class="code" href="classModule.html#a26">Module::OnChannelSync</a>(<a class="code" href="classchanrec.html">chanrec</a>* chan) { <a class="code" href="modules_8h.html#a32">string_list</a> empty; <span class="keywordflow">return</span> empty; } -<a name="l00394"></a><a class="code" href="classModule.html#a27">00394</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a27">Module::On005Numeric</a>(std::string &output) { }; -<a name="l00395"></a><a class="code" href="classModule.html#a28">00395</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a28">Module::OnKill</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classuserrec.html">userrec</a>* dest, std::string reason) { <span class="keywordflow">return</span> 0; }; -<a name="l00396"></a><a class="code" href="classModule.html#a29">00396</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a29">Module::OnLoadModule</a>(<a class="code" href="classModule.html">Module</a>* mod,std::string name) { }; -<a name="l00397"></a><a class="code" href="classModule.html#a30">00397</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a30">Module::OnBackgroundTimer</a>(time_t curtime) { }; -<a name="l00398"></a><a class="code" href="classModule.html#a31">00398</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a31">Module::OnSendList</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* channel, <span class="keywordtype">char</span> mode) { }; -<a name="l00399"></a><a class="code" href="classModule.html#a32">00399</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a32">Module::OnPreCommand</a>(std::string command, <span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user) { <span class="keywordflow">return</span> 0; }; -<a name="l00400"></a><a class="code" href="classModule.html#a33">00400</a> <span class="keywordtype">bool</span> <a class="code" href="classModule.html#a33">Module::OnCheckReady</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { <span class="keywordflow">return</span> <span class="keyword">true</span>; }; -<a name="l00401"></a><a class="code" href="classModule.html#a34">00401</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a34">Module::OnUserRegister</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { }; -<a name="l00402"></a><a class="code" href="classModule.html#a14">00402</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a14">Module::OnUserPreKick</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan, std::string reason) { <span class="keywordflow">return</span> 0; }; -<a name="l00403"></a><a class="code" href="classModule.html#a15">00403</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a15">Module::OnUserKick</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan, std::string reason) { }; -<a name="l00404"></a><a class="code" href="classModule.html#a35">00404</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a35">Module::OnRawMode</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan, <span class="keywordtype">char</span> mode, std::string param, <span class="keywordtype">bool</span> adding, <span class="keywordtype">int</span> pcnt) { <span class="keywordflow">return</span> 0; }; -<a name="l00405"></a><a class="code" href="classModule.html#a36">00405</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a36">Module::OnCheckInvite</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan) { <span class="keywordflow">return</span> 0; }; -<a name="l00406"></a><a class="code" href="classModule.html#a37">00406</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a37">Module::OnCheckKey</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan, std::string keygiven) { <span class="keywordflow">return</span> 0; }; -<a name="l00407"></a><a class="code" href="classModule.html#a38">00407</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a38">Module::OnCheckLimit</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan) { <span class="keywordflow">return</span> 0; }; -<a name="l00408"></a><a class="code" href="classModule.html#a39">00408</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a39">Module::OnCheckBan</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan) { <span class="keywordflow">return</span> 0; }; -<a name="l00409"></a><a class="code" href="classModule.html#a40">00409</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a40">Module::OnStats</a>(<span class="keywordtype">char</span> symbol) { }; -<a name="l00410"></a><a class="code" href="classModule.html#a41">00410</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a41">Module::OnChangeLocalUserHost</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string newhost) { <span class="keywordflow">return</span> 0; }; -<a name="l00411"></a><a class="code" href="classModule.html#a42">00411</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a42">Module::OnChangeLocalUserGECOS</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string newhost) { <span class="keywordflow">return</span> 0; }; -<a name="l00412"></a><a class="code" href="classModule.html#a43">00412</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a43">Module::OnLocalTopicChange</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan, std::string topic) { <span class="keywordflow">return</span> 0; }; -<a name="l00413"></a><a class="code" href="classModule.html#a44">00413</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a44">Module::OnMeshToken</a>(<span class="keywordtype">char</span> token,string_list params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, std::string tcp_host,std::string ipaddr,<span class="keywordtype">int</span> port) { <span class="keywordflow">return</span> 0; }; -<a name="l00414"></a><a class="code" href="classModule.html#a45">00414</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a45">Module::OnEvent</a>(<a class="code" href="classEvent.html">Event</a>* event) { <span class="keywordflow">return</span>; }; -<a name="l00415"></a><a class="code" href="classModule.html#a46">00415</a> <span class="keywordtype">char</span>* <a class="code" href="classModule.html#a46">Module::OnRequest</a>(<a class="code" href="classRequest.html">Request</a>* request) { <span class="keywordflow">return</span> NULL; }; -<a name="l00416"></a><a class="code" href="classModule.html#a47">00416</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a47">Module::OnOperCompare</a>(std::string password, std::string input) { <span class="keywordflow">return</span> 0; }; -<a name="l00417"></a><a class="code" href="classModule.html#a48">00417</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a48">Module::OnGlobalOper</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { }; -<a name="l00418"></a><a class="code" href="classModule.html#a49">00418</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a49">Module::OnGlobalConnect</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { }; -<a name="l00419"></a><a class="code" href="classModule.html#a50">00419</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a50">Module::OnAddBan</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classchanrec.html">chanrec</a>* channel,std::string banmask) { <span class="keywordflow">return</span> 0; }; -<a name="l00420"></a><a class="code" href="classModule.html#a51">00420</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a51">Module::OnDelBan</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classchanrec.html">chanrec</a>* channel,std::string banmask) { <span class="keywordflow">return</span> 0; }; -<a name="l00421"></a><a class="code" href="classModule.html#a52">00421</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a52">Module::OnRawSocketAccept</a>(<span class="keywordtype">int</span> fd, std::string ip, <span class="keywordtype">int</span> localport) { }; -<a name="l00422"></a><a class="code" href="classModule.html#a53">00422</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a53">Module::OnRawSocketWrite</a>(<span class="keywordtype">int</span> fd, <span class="keywordtype">char</span>* buffer, <span class="keywordtype">int</span> count) { <span class="keywordflow">return</span> 0; }; -<a name="l00423"></a><a class="code" href="classModule.html#a54">00423</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a54">Module::OnRawSocketClose</a>(<span class="keywordtype">int</span> fd) { }; -<a name="l00424"></a><a class="code" href="classModule.html#a55">00424</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a55">Module::OnRawSocketRead</a>(<span class="keywordtype">int</span> fd, <span class="keywordtype">char</span>* buffer, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> count, <span class="keywordtype">int</span> &readresult) { <span class="keywordflow">return</span> 0; }; -00425 -00426 <span class="comment">// server is a wrapper class that provides methods to all of the C-style</span> -00427 <span class="comment">// exports in the core</span> -00428 <span class="comment">//</span> -00429 -<a name="l00430"></a><a class="code" href="classServer.html#a0">00430</a> <a class="code" href="classServer.html#a0">Server::Server</a>() -00431 { -00432 } -00433 -<a name="l00434"></a><a class="code" href="classServer.html#a1">00434</a> <a class="code" href="classServer.html#a1">Server::~Server</a>() -00435 { -00436 } -00437 -<a name="l00438"></a><a class="code" href="classServer.html#a2">00438</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a2">Server::SendOpers</a>(std::string s) -00439 { -00440 WriteOpers(<span class="stringliteral">"%s"</span>,s.c_str()); -00441 } -00442 -<a name="l00443"></a><a class="code" href="classServer.html#a32">00443</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a32">Server::MatchText</a>(std::string sliteral, std::string spattern) -00444 { -00445 <span class="keywordtype">char</span> literal[MAXBUF],pattern[MAXBUF]; -00446 strlcpy(literal,sliteral.c_str(),MAXBUF); -00447 strlcpy(pattern,spattern.c_str(),MAXBUF); -00448 <span class="keywordflow">return</span> match(literal,pattern); -00449 } -00450 -<a name="l00451"></a><a class="code" href="classServer.html#a27">00451</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a27">Server::SendToModeMask</a>(std::string modes, <span class="keywordtype">int</span> flags, std::string text) -00452 { -00453 WriteMode(modes.c_str(),flags,<span class="stringliteral">"%s"</span>,text.c_str()); -00454 } -00455 -<a name="l00456"></a><a class="code" href="classServer.html#a28">00456</a> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#a28">Server::JoinUserToChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string cname, std::string key) -00457 { -00458 <span class="keywordflow">return</span> add_channel(user,cname.c_str(),key.c_str(),<span class="keyword">false</span>); -00459 } -00460 -<a name="l00461"></a><a class="code" href="classServer.html#a29">00461</a> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#a29">Server::PartUserFromChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string cname, std::string reason) -00462 { -00463 <span class="keywordflow">return</span> del_channel(user,cname.c_str(),reason.c_str(),<span class="keyword">false</span>); -00464 } -00465 -<a name="l00466"></a><a class="code" href="classServer.html#a37">00466</a> <a class="code" href="modules_8h.html#a33">chanuserlist</a> <a class="code" href="classServer.html#a37">Server::GetUsers</a>(<a class="code" href="classchanrec.html">chanrec</a>* chan) -00467 { -00468 <a class="code" href="modules_8h.html#a33">chanuserlist</a> userl; -00469 userl.clear(); -00470 std::vector<char*> *<a class="code" href="channels_8cpp.html#a15">list</a> = chan-><a class="code" href="classchanrec.html#a9">GetUsers</a>(); -00471 <span class="keywordflow">for</span> (std::vector<char*>::iterator i = <a class="code" href="channels_8cpp.html#a15">list</a>->begin(); i != <a class="code" href="channels_8cpp.html#a15">list</a>->end(); i++) -00472 { -00473 <span class="keywordtype">char</span>* o = *i; -00474 userl.push_back((<a class="code" href="classuserrec.html">userrec</a>*)o); -00475 } -00476 <span class="keywordflow">return</span> userl; -00477 } -<a name="l00478"></a><a class="code" href="classServer.html#a30">00478</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a30">Server::ChangeUserNick</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string nickname) -00479 { -00480 force_nickchange(user,nickname.c_str()); -00481 } -00482 -<a name="l00483"></a><a class="code" href="classServer.html#a31">00483</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a31">Server::QuitUser</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string reason) -00484 { -00485 kill_link(user,reason.c_str()); -00486 } -00487 -<a name="l00488"></a><a class="code" href="classServer.html#a36">00488</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a36">Server::IsUlined</a>(std::string server) -00489 { -00490 <span class="keywordflow">return</span> <a class="code" href="commands_8h.html#a74">is_uline</a>(server.c_str()); -00491 } -00492 -<a name="l00493"></a><a class="code" href="classServer.html#a33">00493</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a33">Server::CallCommandHandler</a>(std::string commandname, <span class="keywordtype">char</span>** parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a>* user) -00494 { -00495 call_handler(commandname.c_str(),parameters,pcnt,user); -00496 } -00497 -<a name="l00498"></a><a class="code" href="classServer.html#a3">00498</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) -00499 { -00500 log(level,<span class="stringliteral">"%s"</span>,s.c_str()); -00501 } -00502 -<a name="l00503"></a><a class="code" href="classServer.html#a25">00503</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a25">Server::AddCommand</a>(<span class="keywordtype">char</span>* cmd, handlerfunc f, <span class="keywordtype">char</span> flags, <span class="keywordtype">int</span> minparams, <span class="keywordtype">char</span>* source) -00504 { -00505 <a class="code" href="modules_8h.html#a35">createcommand</a>(cmd,f,flags,minparams,source); -00506 } -00507 -<a name="l00508"></a><a class="code" href="classServer.html#a26">00508</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a26">Server::SendMode</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user) -00509 { -00510 <a class="code" href="modules_8h.html#a36">server_mode</a>(parameters,pcnt,user); -00511 } -00512 -<a name="l00513"></a><a class="code" href="classServer.html#a4">00513</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) -00514 { -00515 Write(Socket,<span class="stringliteral">"%s"</span>,s.c_str()); -00516 } -00517 -<a name="l00518"></a><a class="code" href="classServer.html#a5">00518</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) -00519 { -00520 WriteServ(Socket,<span class="stringliteral">"%s"</span>,s.c_str()); -00521 } -00522 -<a name="l00523"></a><a class="code" href="classServer.html#a7">00523</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a7">Server::SendFrom</a>(<span class="keywordtype">int</span> Socket, <a class="code" href="classuserrec.html">userrec</a>* User, std::string s) -00524 { -00525 WriteFrom(Socket,User,<span class="stringliteral">"%s"</span>,s.c_str()); -00526 } -00527 -<a name="l00528"></a><a class="code" href="classServer.html#a8">00528</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a8">Server::SendTo</a>(<a class="code" href="classuserrec.html">userrec</a>* Source, <a class="code" href="classuserrec.html">userrec</a>* Dest, std::string s) -00529 { -00530 <span class="keywordflow">if</span> (!Source) -00531 { -00532 <span class="comment">// if source is NULL, then the message originates from the local server</span> -00533 Write(Dest-><a class="code" href="classconnection.html#o0">fd</a>,<span class="stringliteral">":%s %s"</span>,this->GetServerName().c_str(),s.c_str()); -00534 } -00535 <span class="keywordflow">else</span> -00536 { -00537 <span class="comment">// otherwise it comes from the user specified</span> -00538 WriteTo(Source,Dest,<span class="stringliteral">"%s"</span>,s.c_str()); -00539 } -00540 } -00541 -<a name="l00542"></a><a class="code" href="classServer.html#a6">00542</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a6">Server::SendChannelServerNotice</a>(std::string ServName, <a class="code" href="classchanrec.html">chanrec</a>* Channel, std::string text) -00543 { -00544 WriteChannelWithServ((<span class="keywordtype">char</span>*)ServName.c_str(), Channel, <span class="stringliteral">"%s"</span>, text.c_str()); -00545 } -00546 -<a name="l00547"></a><a class="code" href="classServer.html#a9">00547</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a9">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) -00548 { -00549 <span class="keywordflow">if</span> (IncludeSender) -00550 { -00551 WriteChannel(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str()); -00552 } -00553 <span class="keywordflow">else</span> -00554 { -00555 ChanExceptSender(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str()); -00556 } -00557 } -00558 -<a name="l00559"></a><a class="code" href="classServer.html#a10">00559</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a10">Server::CommonChannels</a>(<a class="code" href="classuserrec.html">userrec</a>* u1, <a class="code" href="classuserrec.html">userrec</a>* u2) -00560 { -00561 <span class="keywordflow">return</span> (<a class="code" href="message_8h.html#a0">common_channels</a>(u1,u2) != 0); -00562 } -00563 -<a name="l00564"></a><a class="code" href="classServer.html#a11">00564</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a11">Server::SendCommon</a>(<a class="code" href="classuserrec.html">userrec</a>* User, std::string text,<span class="keywordtype">bool</span> IncludeSender) -00565 { -00566 <span class="keywordflow">if</span> (IncludeSender) -00567 { -00568 WriteCommon(User,<span class="stringliteral">"%s"</span>,text.c_str()); -00569 } -00570 <span class="keywordflow">else</span> -00571 { -00572 WriteCommonExcept(User,<span class="stringliteral">"%s"</span>,text.c_str()); -00573 } -00574 } -00575 -<a name="l00576"></a><a class="code" href="classServer.html#a12">00576</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a12">Server::SendWallops</a>(<a class="code" href="classuserrec.html">userrec</a>* User, std::string text) -00577 { -00578 WriteWallOps(User,<span class="keyword">false</span>,<span class="stringliteral">"%s"</span>,text.c_str()); -00579 } -00580 -<a name="l00581"></a><a class="code" href="classServer.html#a34">00581</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a34">Server::ChangeHost</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string host) -00582 { -00583 <a class="code" href="message_8h.html#a11">ChangeDisplayedHost</a>(user,host.c_str()); -00584 } -00585 -<a name="l00586"></a><a class="code" href="classServer.html#a35">00586</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a35">Server::ChangeGECOS</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string gecos) -00587 { -00588 <a class="code" href="message_8h.html#a10">ChangeName</a>(user,gecos.c_str()); -00589 } -00590 -<a name="l00591"></a><a class="code" href="classServer.html#a13">00591</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a13">Server::IsNick</a>(std::string nick) -00592 { -00593 <span class="keywordflow">return</span> (<a class="code" href="message_8h.html#a13">isnick</a>(nick.c_str()) != 0); -00594 } -00595 -<a name="l00596"></a><a class="code" href="classServer.html#a15">00596</a> <a class="code" href="classuserrec.html">userrec</a>* <a class="code" href="classServer.html#a15">Server::FindNick</a>(std::string nick) -00597 { -00598 <span class="keywordflow">return</span> Find(nick); -00599 } -00600 -<a name="l00601"></a><a class="code" href="classServer.html#a16">00601</a> <a class="code" href="classuserrec.html">userrec</a>* <a class="code" href="classServer.html#a16">Server::FindDescriptor</a>(<span class="keywordtype">int</span> socket) -00602 { -00603 <span class="keywordflow">return</span> (socket < 65536 ? <a class="code" href="modules_8cpp.html#a38">fd_ref_table</a>[socket] : NULL); -00604 } -00605 -<a name="l00606"></a><a class="code" href="classServer.html#a17">00606</a> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#a17">Server::FindChannel</a>(std::string channel) -00607 { -00608 <span class="keywordflow">return</span> FindChan(channel.c_str()); -00609 } -00610 -<a name="l00611"></a><a class="code" href="classServer.html#a18">00611</a> std::string <a class="code" href="classServer.html#a18">Server::ChanMode</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Chan) -00612 { -00613 <span class="keywordflow">return</span> <a class="code" href="message_8h.html#a14">cmode</a>(User,Chan); -00614 } -00615 -<a name="l00616"></a><a class="code" href="classServer.html#a19">00616</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a19">Server::IsOnChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Chan) -00617 { -00618 <span class="keywordflow">return</span> <a class="code" href="message_8h.html#a16">has_channel</a>(User,Chan); -00619 } -00620 -<a name="l00621"></a><a class="code" href="classServer.html#a20">00621</a> std::string <a class="code" href="classServer.html#a20">Server::GetServerName</a>() -00622 { -00623 <span class="keywordflow">return</span> getservername(); -00624 } -00625 -<a name="l00626"></a><a class="code" href="classServer.html#a21">00626</a> std::string <a class="code" href="classServer.html#a21">Server::GetNetworkName</a>() -00627 { -00628 <span class="keywordflow">return</span> getnetworkname(); -00629 } -00630 -<a name="l00631"></a><a class="code" href="classServer.html#a22">00631</a> <a class="code" href="classAdmin.html">Admin</a> <a class="code" href="classServer.html#a22">Server::GetAdmin</a>() -00632 { -00633 <span class="keywordflow">return</span> <a class="code" href="classAdmin.html">Admin</a>(getadminname(),getadminemail(),getadminnick()); -00634 } -00635 +00368 +00369 <span class="comment">// These declarations define the behavours of the base class Module (which does nothing at all)</span> +<a name="l00370"></a><a class="code" href="classModule.html#a0">00370</a> <a class="code" href="classModule.html#a0">Module::Module</a>() { } +<a name="l00371"></a><a class="code" href="classModule.html#a1">00371</a> <a class="code" href="classModule.html#a1">Module::~Module</a>() { } +<a name="l00372"></a><a class="code" href="classModule.html#a3">00372</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="l00373"></a><a class="code" href="classModule.html#a4">00373</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="l00374"></a><a class="code" href="classModule.html#a5">00374</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a5">Module::OnUserDisconnect</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { } +<a name="l00375"></a><a class="code" href="classModule.html#a6">00375</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a6">Module::OnUserJoin</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* channel) { } +<a name="l00376"></a><a class="code" href="classModule.html#a7">00376</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a7">Module::OnUserPart</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* channel) { } +<a name="l00377"></a><a class="code" href="classModule.html#a8">00377</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a8">Module::OnPacketTransmit</a>(std::string &data, std::string serv) { } +<a name="l00378"></a><a class="code" href="classModule.html#a9">00378</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a9">Module::OnPacketReceive</a>(std::string &data, std::string serv) { } +<a name="l00379"></a><a class="code" href="classModule.html#a10">00379</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a10">Module::OnRehash</a>() { } +<a name="l00380"></a><a class="code" href="classModule.html#a11">00380</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a11">Module::OnServerRaw</a>(std::string &raw, <span class="keywordtype">bool</span> inbound, <a class="code" href="classuserrec.html">userrec</a>* user) { } +<a name="l00381"></a><a class="code" href="classModule.html#a13">00381</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a13">Module::OnUserPreJoin</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan, <span class="keyword">const</span> <span class="keywordtype">char</span>* cname) { <span class="keywordflow">return</span> 0; } +<a name="l00382"></a><a class="code" href="classModule.html#a12">00382</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a12">Module::OnExtendedMode</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <span class="keywordtype">void</span>* target, <span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type, <span class="keywordtype">bool</span> mode_on, string_list &params) { <span class="keywordflow">return</span> <span class="keyword">false</span>; } +<a name="l00383"></a><a class="code" href="classModule.html#a2">00383</a> <a class="code" href="classVersion.html">Version</a> <a class="code" href="classModule.html#a2">Module::GetVersion</a>() { <span class="keywordflow">return</span> <a class="code" href="classVersion.html">Version</a>(1,0,0,0,<a class="code" href="modules_8h.html#a21">VF_VENDOR</a>); } +<a name="l00384"></a><a class="code" href="classModule.html#a16">00384</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a16">Module::OnOper</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { }; +<a name="l00385"></a><a class="code" href="classModule.html#a17">00385</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a17">Module::OnInfo</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { }; +<a name="l00386"></a><a class="code" href="classModule.html#a18">00386</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a18">Module::OnWhois</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classuserrec.html">userrec</a>* dest) { }; +<a name="l00387"></a><a class="code" href="classModule.html#a19">00387</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a19">Module::OnUserPreInvite</a>(<a class="code" href="classuserrec.html">userrec</a>* source,<a class="code" href="classuserrec.html">userrec</a>* dest,<a class="code" href="classchanrec.html">chanrec</a>* channel) { <span class="keywordflow">return</span> 0; }; +<a name="l00388"></a><a class="code" href="classModule.html#a20">00388</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a20">Module::OnUserPreMessage</a>(<a class="code" href="classuserrec.html">userrec</a>* user,<span class="keywordtype">void</span>* dest,<span class="keywordtype">int</span> target_type, std::string &text) { <span class="keywordflow">return</span> 0; }; +<a name="l00389"></a><a class="code" href="classModule.html#a21">00389</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a21">Module::OnUserPreNotice</a>(<a class="code" href="classuserrec.html">userrec</a>* user,<span class="keywordtype">void</span>* dest,<span class="keywordtype">int</span> target_type, std::string &text) { <span class="keywordflow">return</span> 0; }; +<a name="l00390"></a><a class="code" href="classModule.html#a22">00390</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a22">Module::OnUserPreNick</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string newnick) { <span class="keywordflow">return</span> 0; }; +<a name="l00391"></a><a class="code" href="classModule.html#a23">00391</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a23">Module::OnUserPostNick</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string oldnick) { }; +<a name="l00392"></a><a class="code" href="classModule.html#a24">00392</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a24">Module::OnAccessCheck</a>(<a class="code" href="classuserrec.html">userrec</a>* source,<a class="code" href="classuserrec.html">userrec</a>* dest,<a class="code" href="classchanrec.html">chanrec</a>* channel,<span class="keywordtype">int</span> access_type) { <span class="keywordflow">return</span> <a class="code" href="modules_8h.html#a8">ACR_DEFAULT</a>; }; +<a name="l00393"></a><a class="code" href="classModule.html#a25">00393</a> <a class="code" href="modules_8h.html#a32">string_list</a> <a class="code" href="classModule.html#a25">Module::OnUserSync</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { <a class="code" href="modules_8h.html#a32">string_list</a> empty; <span class="keywordflow">return</span> empty; } +<a name="l00394"></a><a class="code" href="classModule.html#a26">00394</a> <a class="code" href="modules_8h.html#a32">string_list</a> <a class="code" href="classModule.html#a26">Module::OnChannelSync</a>(<a class="code" href="classchanrec.html">chanrec</a>* chan) { <a class="code" href="modules_8h.html#a32">string_list</a> empty; <span class="keywordflow">return</span> empty; } +<a name="l00395"></a><a class="code" href="classModule.html#a27">00395</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a27">Module::On005Numeric</a>(std::string &output) { }; +<a name="l00396"></a><a class="code" href="classModule.html#a28">00396</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a28">Module::OnKill</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classuserrec.html">userrec</a>* dest, std::string reason) { <span class="keywordflow">return</span> 0; }; +<a name="l00397"></a><a class="code" href="classModule.html#a29">00397</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a29">Module::OnLoadModule</a>(<a class="code" href="classModule.html">Module</a>* mod,std::string name) { }; +<a name="l00398"></a><a class="code" href="classModule.html#a30">00398</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a30">Module::OnBackgroundTimer</a>(time_t curtime) { }; +<a name="l00399"></a><a class="code" href="classModule.html#a31">00399</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a31">Module::OnSendList</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* channel, <span class="keywordtype">char</span> mode) { }; +<a name="l00400"></a><a class="code" href="classModule.html#a32">00400</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a32">Module::OnPreCommand</a>(std::string command, <span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user) { <span class="keywordflow">return</span> 0; }; +<a name="l00401"></a><a class="code" href="classModule.html#a33">00401</a> <span class="keywordtype">bool</span> <a class="code" href="classModule.html#a33">Module::OnCheckReady</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { <span class="keywordflow">return</span> <span class="keyword">true</span>; }; +<a name="l00402"></a><a class="code" href="classModule.html#a34">00402</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a34">Module::OnUserRegister</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { }; +<a name="l00403"></a><a class="code" href="classModule.html#a14">00403</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a14">Module::OnUserPreKick</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan, std::string reason) { <span class="keywordflow">return</span> 0; }; +<a name="l00404"></a><a class="code" href="classModule.html#a15">00404</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a15">Module::OnUserKick</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan, std::string reason) { }; +<a name="l00405"></a><a class="code" href="classModule.html#a35">00405</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a35">Module::OnRawMode</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan, <span class="keywordtype">char</span> mode, std::string param, <span class="keywordtype">bool</span> adding, <span class="keywordtype">int</span> pcnt) { <span class="keywordflow">return</span> 0; }; +<a name="l00406"></a><a class="code" href="classModule.html#a36">00406</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a36">Module::OnCheckInvite</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan) { <span class="keywordflow">return</span> 0; }; +<a name="l00407"></a><a class="code" href="classModule.html#a37">00407</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a37">Module::OnCheckKey</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan, std::string keygiven) { <span class="keywordflow">return</span> 0; }; +<a name="l00408"></a><a class="code" href="classModule.html#a38">00408</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a38">Module::OnCheckLimit</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan) { <span class="keywordflow">return</span> 0; }; +<a name="l00409"></a><a class="code" href="classModule.html#a39">00409</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a39">Module::OnCheckBan</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan) { <span class="keywordflow">return</span> 0; }; +<a name="l00410"></a><a class="code" href="classModule.html#a40">00410</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a40">Module::OnStats</a>(<span class="keywordtype">char</span> symbol) { }; +<a name="l00411"></a><a class="code" href="classModule.html#a41">00411</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a41">Module::OnChangeLocalUserHost</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string newhost) { <span class="keywordflow">return</span> 0; }; +<a name="l00412"></a><a class="code" href="classModule.html#a42">00412</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a42">Module::OnChangeLocalUserGECOS</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string newhost) { <span class="keywordflow">return</span> 0; }; +<a name="l00413"></a><a class="code" href="classModule.html#a43">00413</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a43">Module::OnLocalTopicChange</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan, std::string topic) { <span class="keywordflow">return</span> 0; }; +<a name="l00414"></a><a class="code" href="classModule.html#a44">00414</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a44">Module::OnMeshToken</a>(<span class="keywordtype">char</span> token,string_list params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, std::string tcp_host,std::string ipaddr,<span class="keywordtype">int</span> port) { <span class="keywordflow">return</span> 0; }; +<a name="l00415"></a><a class="code" href="classModule.html#a45">00415</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a45">Module::OnEvent</a>(<a class="code" href="classEvent.html">Event</a>* event) { <span class="keywordflow">return</span>; }; +<a name="l00416"></a><a class="code" href="classModule.html#a46">00416</a> <span class="keywordtype">char</span>* <a class="code" href="classModule.html#a46">Module::OnRequest</a>(<a class="code" href="classRequest.html">Request</a>* request) { <span class="keywordflow">return</span> NULL; }; +<a name="l00417"></a><a class="code" href="classModule.html#a47">00417</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a47">Module::OnOperCompare</a>(std::string password, std::string input) { <span class="keywordflow">return</span> 0; }; +<a name="l00418"></a><a class="code" href="classModule.html#a48">00418</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a48">Module::OnGlobalOper</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { }; +<a name="l00419"></a><a class="code" href="classModule.html#a49">00419</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a49">Module::OnGlobalConnect</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { }; +<a name="l00420"></a><a class="code" href="classModule.html#a50">00420</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a50">Module::OnAddBan</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classchanrec.html">chanrec</a>* channel,std::string banmask) { <span class="keywordflow">return</span> 0; }; +<a name="l00421"></a><a class="code" href="classModule.html#a51">00421</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a51">Module::OnDelBan</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classchanrec.html">chanrec</a>* channel,std::string banmask) { <span class="keywordflow">return</span> 0; }; +<a name="l00422"></a><a class="code" href="classModule.html#a52">00422</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a52">Module::OnRawSocketAccept</a>(<span class="keywordtype">int</span> fd, std::string ip, <span class="keywordtype">int</span> localport) { }; +<a name="l00423"></a><a class="code" href="classModule.html#a53">00423</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a53">Module::OnRawSocketWrite</a>(<span class="keywordtype">int</span> fd, <span class="keywordtype">char</span>* buffer, <span class="keywordtype">int</span> count) { <span class="keywordflow">return</span> 0; }; +<a name="l00424"></a><a class="code" href="classModule.html#a54">00424</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a54">Module::OnRawSocketClose</a>(<span class="keywordtype">int</span> fd) { }; +<a name="l00425"></a><a class="code" href="classModule.html#a55">00425</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a55">Module::OnRawSocketRead</a>(<span class="keywordtype">int</span> fd, <span class="keywordtype">char</span>* buffer, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> count, <span class="keywordtype">int</span> &readresult) { <span class="keywordflow">return</span> 0; }; +00426 +00427 <span class="comment">// server is a wrapper class that provides methods to all of the C-style</span> +00428 <span class="comment">// exports in the core</span> +00429 <span class="comment">//</span> +00430 +<a name="l00431"></a><a class="code" href="classServer.html#a0">00431</a> <a class="code" href="classServer.html#a0">Server::Server</a>() +00432 { +00433 } +00434 +<a name="l00435"></a><a class="code" href="classServer.html#a1">00435</a> <a class="code" href="classServer.html#a1">Server::~Server</a>() +00436 { +00437 } +00438 +<a name="l00439"></a><a class="code" href="classServer.html#a2">00439</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a2">Server::SendOpers</a>(std::string s) +00440 { +00441 WriteOpers(<span class="stringliteral">"%s"</span>,s.c_str()); +00442 } +00443 +<a name="l00444"></a><a class="code" href="classServer.html#a32">00444</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a32">Server::MatchText</a>(std::string sliteral, std::string spattern) +00445 { +00446 <span class="keywordtype">char</span> literal[MAXBUF],pattern[MAXBUF]; +00447 strlcpy(literal,sliteral.c_str(),MAXBUF); +00448 strlcpy(pattern,spattern.c_str(),MAXBUF); +00449 <span class="keywordflow">return</span> match(literal,pattern); +00450 } +00451 +<a name="l00452"></a><a class="code" href="classServer.html#a27">00452</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a27">Server::SendToModeMask</a>(std::string modes, <span class="keywordtype">int</span> flags, std::string text) +00453 { +00454 WriteMode(modes.c_str(),flags,<span class="stringliteral">"%s"</span>,text.c_str()); +00455 } +00456 +<a name="l00457"></a><a class="code" href="classServer.html#a28">00457</a> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#a28">Server::JoinUserToChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string cname, std::string key) +00458 { +00459 <span class="keywordflow">return</span> add_channel(user,cname.c_str(),key.c_str(),<span class="keyword">false</span>); +00460 } +00461 +<a name="l00462"></a><a class="code" href="classServer.html#a29">00462</a> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#a29">Server::PartUserFromChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string cname, std::string reason) +00463 { +00464 <span class="keywordflow">return</span> del_channel(user,cname.c_str(),reason.c_str(),<span class="keyword">false</span>); +00465 } +00466 +<a name="l00467"></a><a class="code" href="classServer.html#a37">00467</a> <a class="code" href="modules_8h.html#a33">chanuserlist</a> <a class="code" href="classServer.html#a37">Server::GetUsers</a>(<a class="code" href="classchanrec.html">chanrec</a>* chan) +00468 { +00469 <a class="code" href="modules_8h.html#a33">chanuserlist</a> userl; +00470 userl.clear(); +00471 std::vector<char*> *<a class="code" href="channels_8cpp.html#a15">list</a> = chan-><a class="code" href="classchanrec.html#a7">GetUsers</a>(); +00472 <span class="keywordflow">for</span> (std::vector<char*>::iterator i = <a class="code" href="channels_8cpp.html#a15">list</a>->begin(); i != <a class="code" href="channels_8cpp.html#a15">list</a>->end(); i++) +00473 { +00474 <span class="keywordtype">char</span>* o = *i; +00475 userl.push_back((<a class="code" href="classuserrec.html">userrec</a>*)o); +00476 } +00477 <span class="keywordflow">return</span> userl; +00478 } +<a name="l00479"></a><a class="code" href="classServer.html#a30">00479</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a30">Server::ChangeUserNick</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string nickname) +00480 { +00481 force_nickchange(user,nickname.c_str()); +00482 } +00483 +<a name="l00484"></a><a class="code" href="classServer.html#a31">00484</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a31">Server::QuitUser</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string reason) +00485 { +00486 kill_link(user,reason.c_str()); +00487 } +00488 +<a name="l00489"></a><a class="code" href="classServer.html#a36">00489</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a36">Server::IsUlined</a>(std::string server) +00490 { +00491 <span class="keywordflow">return</span> <a class="code" href="commands_8h.html#a74">is_uline</a>(server.c_str()); +00492 } +00493 +<a name="l00494"></a><a class="code" href="classServer.html#a33">00494</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a33">Server::CallCommandHandler</a>(std::string commandname, <span class="keywordtype">char</span>** parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a>* user) +00495 { +00496 call_handler(commandname.c_str(),parameters,pcnt,user); +00497 } +00498 +<a name="l00499"></a><a class="code" href="classServer.html#a3">00499</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) +00500 { +00501 log(level,<span class="stringliteral">"%s"</span>,s.c_str()); +00502 } +00503 +<a name="l00504"></a><a class="code" href="classServer.html#a25">00504</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a25">Server::AddCommand</a>(<span class="keywordtype">char</span>* cmd, handlerfunc f, <span class="keywordtype">char</span> flags, <span class="keywordtype">int</span> minparams, <span class="keywordtype">char</span>* source) +00505 { +00506 <a class="code" href="modules_8h.html#a35">createcommand</a>(cmd,f,flags,minparams,source); +00507 } +00508 +<a name="l00509"></a><a class="code" href="classServer.html#a26">00509</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a26">Server::SendMode</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user) +00510 { +00511 <a class="code" href="modules_8h.html#a36">server_mode</a>(parameters,pcnt,user); +00512 } +00513 +<a name="l00514"></a><a class="code" href="classServer.html#a4">00514</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) +00515 { +00516 Write(Socket,<span class="stringliteral">"%s"</span>,s.c_str()); +00517 } +00518 +<a name="l00519"></a><a class="code" href="classServer.html#a5">00519</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) +00520 { +00521 WriteServ(Socket,<span class="stringliteral">"%s"</span>,s.c_str()); +00522 } +00523 +<a name="l00524"></a><a class="code" href="classServer.html#a7">00524</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a7">Server::SendFrom</a>(<span class="keywordtype">int</span> Socket, <a class="code" href="classuserrec.html">userrec</a>* User, std::string s) +00525 { +00526 WriteFrom(Socket,User,<span class="stringliteral">"%s"</span>,s.c_str()); +00527 } +00528 +<a name="l00529"></a><a class="code" href="classServer.html#a8">00529</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a8">Server::SendTo</a>(<a class="code" href="classuserrec.html">userrec</a>* Source, <a class="code" href="classuserrec.html">userrec</a>* Dest, std::string s) +00530 { +00531 <span class="keywordflow">if</span> (!Source) +00532 { +00533 <span class="comment">// if source is NULL, then the message originates from the local server</span> +00534 Write(Dest-><a class="code" href="classconnection.html#o0">fd</a>,<span class="stringliteral">":%s %s"</span>,this->GetServerName().c_str(),s.c_str()); +00535 } +00536 <span class="keywordflow">else</span> +00537 { +00538 <span class="comment">// otherwise it comes from the user specified</span> +00539 WriteTo(Source,Dest,<span class="stringliteral">"%s"</span>,s.c_str()); +00540 } +00541 } +00542 +<a name="l00543"></a><a class="code" href="classServer.html#a6">00543</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a6">Server::SendChannelServerNotice</a>(std::string ServName, <a class="code" href="classchanrec.html">chanrec</a>* Channel, std::string text) +00544 { +00545 WriteChannelWithServ((<span class="keywordtype">char</span>*)ServName.c_str(), Channel, <span class="stringliteral">"%s"</span>, text.c_str()); +00546 } +00547 +<a name="l00548"></a><a class="code" href="classServer.html#a9">00548</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a9">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) +00549 { +00550 <span class="keywordflow">if</span> (IncludeSender) +00551 { +00552 WriteChannel(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str()); +00553 } +00554 <span class="keywordflow">else</span> +00555 { +00556 ChanExceptSender(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str()); +00557 } +00558 } +00559 +<a name="l00560"></a><a class="code" href="classServer.html#a10">00560</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a10">Server::CommonChannels</a>(<a class="code" href="classuserrec.html">userrec</a>* u1, <a class="code" href="classuserrec.html">userrec</a>* u2) +00561 { +00562 <span class="keywordflow">return</span> (<a class="code" href="message_8h.html#a0">common_channels</a>(u1,u2) != 0); +00563 } +00564 +<a name="l00565"></a><a class="code" href="classServer.html#a11">00565</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a11">Server::SendCommon</a>(<a class="code" href="classuserrec.html">userrec</a>* User, std::string text,<span class="keywordtype">bool</span> IncludeSender) +00566 { +00567 <span class="keywordflow">if</span> (IncludeSender) +00568 { +00569 WriteCommon(User,<span class="stringliteral">"%s"</span>,text.c_str()); +00570 } +00571 <span class="keywordflow">else</span> +00572 { +00573 WriteCommonExcept(User,<span class="stringliteral">"%s"</span>,text.c_str()); +00574 } +00575 } +00576 +<a name="l00577"></a><a class="code" href="classServer.html#a12">00577</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a12">Server::SendWallops</a>(<a class="code" href="classuserrec.html">userrec</a>* User, std::string text) +00578 { +00579 WriteWallOps(User,<span class="keyword">false</span>,<span class="stringliteral">"%s"</span>,text.c_str()); +00580 } +00581 +<a name="l00582"></a><a class="code" href="classServer.html#a34">00582</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a34">Server::ChangeHost</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string host) +00583 { +00584 <a class="code" href="message_8h.html#a11">ChangeDisplayedHost</a>(user,host.c_str()); +00585 } +00586 +<a name="l00587"></a><a class="code" href="classServer.html#a35">00587</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a35">Server::ChangeGECOS</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string gecos) +00588 { +00589 <a class="code" href="message_8h.html#a10">ChangeName</a>(user,gecos.c_str()); +00590 } +00591 +<a name="l00592"></a><a class="code" href="classServer.html#a13">00592</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a13">Server::IsNick</a>(std::string nick) +00593 { +00594 <span class="keywordflow">return</span> (<a class="code" href="message_8h.html#a13">isnick</a>(nick.c_str()) != 0); +00595 } +00596 +<a name="l00597"></a><a class="code" href="classServer.html#a15">00597</a> <a class="code" href="classuserrec.html">userrec</a>* <a class="code" href="classServer.html#a15">Server::FindNick</a>(std::string nick) +00598 { +00599 <span class="keywordflow">return</span> Find(nick); +00600 } +00601 +<a name="l00602"></a><a class="code" href="classServer.html#a16">00602</a> <a class="code" href="classuserrec.html">userrec</a>* <a class="code" href="classServer.html#a16">Server::FindDescriptor</a>(<span class="keywordtype">int</span> socket) +00603 { +00604 <span class="keywordflow">return</span> (socket < 65536 ? <a class="code" href="modules_8cpp.html#a38">fd_ref_table</a>[socket] : NULL); +00605 } +00606 +<a name="l00607"></a><a class="code" href="classServer.html#a17">00607</a> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#a17">Server::FindChannel</a>(std::string channel) +00608 { +00609 <span class="keywordflow">return</span> FindChan(channel.c_str()); +00610 } +00611 +<a name="l00612"></a><a class="code" href="classServer.html#a18">00612</a> std::string <a class="code" href="classServer.html#a18">Server::ChanMode</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Chan) +00613 { +00614 <span class="keywordflow">return</span> <a class="code" href="message_8h.html#a14">cmode</a>(User,Chan); +00615 } +00616 +<a name="l00617"></a><a class="code" href="classServer.html#a19">00617</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a19">Server::IsOnChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Chan) +00618 { +00619 <span class="keywordflow">return</span> <a class="code" href="message_8h.html#a16">has_channel</a>(User,Chan); +00620 } +00621 +<a name="l00622"></a><a class="code" href="classServer.html#a20">00622</a> std::string <a class="code" href="classServer.html#a20">Server::GetServerName</a>() +00623 { +00624 <span class="keywordflow">return</span> getservername(); +00625 } +00626 +<a name="l00627"></a><a class="code" href="classServer.html#a21">00627</a> std::string <a class="code" href="classServer.html#a21">Server::GetNetworkName</a>() +00628 { +00629 <span class="keywordflow">return</span> getnetworkname(); +00630 } +00631 +<a name="l00632"></a><a class="code" href="classServer.html#a22">00632</a> <a class="code" href="classAdmin.html">Admin</a> <a class="code" href="classServer.html#a22">Server::GetAdmin</a>() +00633 { +00634 <span class="keywordflow">return</span> <a class="code" href="classAdmin.html">Admin</a>(getadminname(),getadminemail(),getadminnick()); +00635 } 00636 00637 -<a name="l00638"></a><a class="code" href="classServer.html#a23">00638</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a23">Server::AddExtendedMode</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type, <span class="keywordtype">bool</span> requires_oper, <span class="keywordtype">int</span> params_when_on, <span class="keywordtype">int</span> params_when_off) -00639 { -00640 <span class="keywordflow">if</span> (((modechar >= <span class="charliteral">'A'</span>) && (modechar <= 'Z')) || ((modechar >= <span class="charliteral">'a'</span>) && (modechar <= <span class="charliteral">'z'</span>))) -00641 { -00642 <span class="keywordflow">if</span> (type == <a class="code" href="modules_8h.html#a7">MT_SERVER</a>) -00643 { -00644 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** Modes of type MT_SERVER are reserved for future expansion"</span>); -00645 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00646 } -00647 <span class="keywordflow">if</span> (((params_when_on>0) || (params_when_off>0)) && (type == <a class="code" href="modules_8h.html#a6">MT_CLIENT</a>)) -00648 { -00649 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** Parameters on MT_CLIENT modes are not supported"</span>); -00650 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00651 } -00652 <span class="keywordflow">if</span> ((params_when_on>1) || (params_when_off>1)) -00653 { -00654 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** More than one parameter for an MT_CHANNEL mode is not yet supported"</span>); -00655 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00656 } -00657 <span class="keywordflow">return</span> <a class="code" href="modules_8cpp.html#a58">DoAddExtendedMode</a>(modechar,type,requires_oper,params_when_on,params_when_off); -00658 } -00659 <span class="keywordflow">else</span> -00660 { -00661 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** Muppet modechar detected."</span>); -00662 } -00663 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00664 } -00665 -<a name="l00666"></a><a class="code" href="classServer.html#a24">00666</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a24">Server::AddExtendedListMode</a>(<span class="keywordtype">char</span> modechar) -00667 { -00668 <span class="keywordtype">bool</span> res = <a class="code" href="modules_8cpp.html#a58">DoAddExtendedMode</a>(modechar,<a class="code" href="modules_8h.html#a5">MT_CHANNEL</a>,<span class="keyword">false</span>,1,1); -00669 <span class="keywordflow">if</span> (res) -00670 <a class="code" href="modules_8cpp.html#a59">ModeMakeList</a>(modechar); -00671 <span class="keywordflow">return</span> res; -00672 } -00673 -<a name="l00674"></a><a class="code" href="classServer.html#a14">00674</a> <span class="keywordtype">int</span> <a class="code" href="classServer.html#a14">Server::CountUsers</a>(<a class="code" href="classchanrec.html">chanrec</a>* c) -00675 { -00676 <span class="keywordflow">return</span> usercount(c); -00677 } -00678 +00638 +<a name="l00639"></a><a class="code" href="classServer.html#a23">00639</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a23">Server::AddExtendedMode</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type, <span class="keywordtype">bool</span> requires_oper, <span class="keywordtype">int</span> params_when_on, <span class="keywordtype">int</span> params_when_off) +00640 { +00641 <span class="keywordflow">if</span> (((modechar >= <span class="charliteral">'A'</span>) && (modechar <= 'Z')) || ((modechar >= <span class="charliteral">'a'</span>) && (modechar <= <span class="charliteral">'z'</span>))) +00642 { +00643 <span class="keywordflow">if</span> (type == <a class="code" href="modules_8h.html#a7">MT_SERVER</a>) +00644 { +00645 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** Modes of type MT_SERVER are reserved for future expansion"</span>); +00646 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00647 } +00648 <span class="keywordflow">if</span> (((params_when_on>0) || (params_when_off>0)) && (type == <a class="code" href="modules_8h.html#a6">MT_CLIENT</a>)) +00649 { +00650 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** Parameters on MT_CLIENT modes are not supported"</span>); +00651 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00652 } +00653 <span class="keywordflow">if</span> ((params_when_on>1) || (params_when_off>1)) +00654 { +00655 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** More than one parameter for an MT_CHANNEL mode is not yet supported"</span>); +00656 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00657 } +00658 <span class="keywordflow">return</span> <a class="code" href="modules_8cpp.html#a59">DoAddExtendedMode</a>(modechar,type,requires_oper,params_when_on,params_when_off); +00659 } +00660 <span class="keywordflow">else</span> +00661 { +00662 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** Muppet modechar detected."</span>); +00663 } +00664 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00665 } +00666 +<a name="l00667"></a><a class="code" href="classServer.html#a24">00667</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a24">Server::AddExtendedListMode</a>(<span class="keywordtype">char</span> modechar) +00668 { +00669 <span class="keywordtype">bool</span> res = <a class="code" href="modules_8cpp.html#a59">DoAddExtendedMode</a>(modechar,<a class="code" href="modules_8h.html#a5">MT_CHANNEL</a>,<span class="keyword">false</span>,1,1); +00670 <span class="keywordflow">if</span> (res) +00671 <a class="code" href="modules_8cpp.html#a60">ModeMakeList</a>(modechar); +00672 <span class="keywordflow">return</span> res; +00673 } +00674 +<a name="l00675"></a><a class="code" href="classServer.html#a14">00675</a> <span class="keywordtype">int</span> <a class="code" href="classServer.html#a14">Server::CountUsers</a>(<a class="code" href="classchanrec.html">chanrec</a>* c) +00676 { +00677 <span class="keywordflow">return</span> usercount(c); +00678 } 00679 -<a name="l00680"></a><a class="code" href="classServer.html#a38">00680</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a38">Server::UserToPseudo</a>(<a class="code" href="classuserrec.html">userrec</a>* user,std::string message) -00681 { -00682 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> old_fd = user-><a class="code" href="classconnection.html#o0">fd</a>; -00683 user-><a class="code" href="classconnection.html#o0">fd</a> = <a class="code" href="modules_8h.html#a26">FD_MAGIC_NUMBER</a>; -00684 user-><a class="code" href="classuserrec.html#a10">ClearBuffer</a>(); -00685 Write(old_fd,<span class="stringliteral">"ERROR :Closing link (%s@%s) [%s]"</span>,user-><a class="code" href="classuserrec.html#o1">ident</a>,user-><a class="code" href="classconnection.html#o1">host</a>,message.c_str()); -00686 <span class="preprocessor">#ifdef USE_KQUEUE</span> -00687 <span class="preprocessor"></span> <span class="keyword">struct </span>kevent ke; -00688 EV_SET(&ke, old_fd, EVFILT_READ, EV_DELETE, 0, 0, NULL); -00689 <span class="keywordtype">int</span> i = kevent(kq, &ke, 1, 0, 0, NULL); -00690 <span class="keywordflow">if</span> (i == -1) -00691 { -00692 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"kqueue: Failed to remove user from queue!"</span>); -00693 } -00694 <span class="preprocessor">#endif</span> -00695 <span class="preprocessor"></span> shutdown(old_fd,2); -00696 close(old_fd); -00697 } -00698 -<a name="l00699"></a><a class="code" href="classServer.html#a39">00699</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a39">Server::PseudoToUser</a>(<a class="code" href="classuserrec.html">userrec</a>* alive,<a class="code" href="classuserrec.html">userrec</a>* zombie,std::string message) -00700 { -00701 zombie-><a class="code" href="classconnection.html#o0">fd</a> = alive-><a class="code" href="classconnection.html#o0">fd</a>; -00702 alive-><a class="code" href="classconnection.html#o0">fd</a> = <a class="code" href="modules_8h.html#a26">FD_MAGIC_NUMBER</a>; -00703 alive-><a class="code" href="classuserrec.html#a10">ClearBuffer</a>(); -00704 Write(zombie-><a class="code" href="classconnection.html#o0">fd</a>,<span class="stringliteral">":%s!%s@%s NICK %s"</span>,alive-><a class="code" href="classuserrec.html#o0">nick</a>,alive-><a class="code" href="classuserrec.html#o1">ident</a>,alive-><a class="code" href="classconnection.html#o1">host</a>,zombie-><a class="code" href="classuserrec.html#o0">nick</a>); -00705 kill_link(alive,message.c_str()); -00706 <a class="code" href="modules_8cpp.html#a38">fd_ref_table</a>[zombie-><a class="code" href="classconnection.html#o0">fd</a>] = zombie; -00707 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i != MAXCHANS; i++) -00708 { -00709 <span class="keywordflow">if</span> (zombie->chans[i].channel != NULL) -00710 { -00711 <span class="keywordflow">if</span> (zombie->chans[i].channel->name) -00712 { -00713 <a class="code" href="classchanrec.html">chanrec</a>* Ptr = zombie-><a class="code" href="classuserrec.html#o5">chans</a>[i].<a class="code" href="classucrec.html#o1">channel</a>; -00714 WriteFrom(zombie->fd,zombie,<span class="stringliteral">"JOIN %s"</span>,Ptr-><a class="code" href="classchanrec.html#o0">name</a>); -00715 <span class="keywordflow">if</span> (Ptr-><a class="code" href="classchanrec.html#o6">topicset</a>) -00716 { -00717 WriteServ(zombie->fd,<span class="stringliteral">"332 %s %s :%s"</span>, zombie->nick, Ptr-><a class="code" href="classchanrec.html#o0">name</a>, Ptr-><a class="code" href="classchanrec.html#o4">topic</a>); -00718 WriteServ(zombie->fd,<span class="stringliteral">"333 %s %s %s %d"</span>, zombie->nick, Ptr-><a class="code" href="classchanrec.html#o0">name</a>, Ptr-><a class="code" href="classchanrec.html#o7">setby</a>, Ptr-><a class="code" href="classchanrec.html#o6">topicset</a>); -00719 } -00720 userlist(zombie,Ptr); -00721 WriteServ(zombie->fd,<span class="stringliteral">"366 %s %s :End of /NAMES list."</span>, zombie->nick, Ptr-><a class="code" href="classchanrec.html#o0">name</a>); -00722 -00723 } -00724 } -00725 } -00726 -00727 } -00728 -<a name="l00729"></a><a class="code" href="classServer.html#a40">00729</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a40">Server::AddGLine</a>(<span class="keywordtype">long</span> duration, std::string source, std::string reason, std::string hostmask) -00730 { -00731 <a class="code" href="xline_8h.html#a1">add_gline</a>(<a class="code" href="commands_8h.html#a75">duration</a>, source.c_str(), reason.c_str(), hostmask.c_str()); -00732 } -00733 -<a name="l00734"></a><a class="code" href="classServer.html#a41">00734</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a41">Server::AddQLine</a>(<span class="keywordtype">long</span> duration, std::string source, std::string reason, std::string nickname) -00735 { -00736 <a class="code" href="xline_8h.html#a2">add_qline</a>(<a class="code" href="commands_8h.html#a75">duration</a>, source.c_str(), reason.c_str(), nickname.c_str()); -00737 } -00738 -<a name="l00739"></a><a class="code" href="classServer.html#a42">00739</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a42">Server::AddZLine</a>(<span class="keywordtype">long</span> duration, std::string source, std::string reason, std::string ipaddr) -00740 { -00741 <a class="code" href="xline_8h.html#a3">add_zline</a>(<a class="code" href="commands_8h.html#a75">duration</a>, source.c_str(), reason.c_str(), ipaddr.c_str()); -00742 } -00743 -<a name="l00744"></a><a class="code" href="classServer.html#a43">00744</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a43">Server::AddKLine</a>(<span class="keywordtype">long</span> duration, std::string source, std::string reason, std::string hostmask) -00745 { -00746 <a class="code" href="xline_8h.html#a4">add_kline</a>(<a class="code" href="commands_8h.html#a75">duration</a>, source.c_str(), reason.c_str(), hostmask.c_str()); -00747 } -00748 -<a name="l00749"></a><a class="code" href="classServer.html#a44">00749</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a44">Server::AddELine</a>(<span class="keywordtype">long</span> duration, std::string source, std::string reason, std::string hostmask) -00750 { -00751 <a class="code" href="xline_8h.html#a5">add_eline</a>(<a class="code" href="commands_8h.html#a75">duration</a>, source.c_str(), reason.c_str(), hostmask.c_str()); -00752 } -00753 -<a name="l00754"></a><a class="code" href="classServer.html#a45">00754</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a45">Server::DelGLine</a>(std::string hostmask) -00755 { -00756 <a class="code" href="xline_8h.html#a6">del_gline</a>(hostmask.c_str()); -00757 } -00758 -<a name="l00759"></a><a class="code" href="classServer.html#a46">00759</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a46">Server::DelQLine</a>(std::string nickname) -00760 { -00761 <a class="code" href="xline_8h.html#a7">del_qline</a>(nickname.c_str()); -00762 } -00763 -<a name="l00764"></a><a class="code" href="classServer.html#a47">00764</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a47">Server::DelZLine</a>(std::string ipaddr) -00765 { -00766 <a class="code" href="xline_8h.html#a8">del_zline</a>(ipaddr.c_str()); -00767 } -00768 -<a name="l00769"></a><a class="code" href="classServer.html#a48">00769</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a48">Server::DelKLine</a>(std::string hostmask) -00770 { -00771 <a class="code" href="xline_8h.html#a9">del_kline</a>(hostmask.c_str()); -00772 } -00773 -<a name="l00774"></a><a class="code" href="classServer.html#a49">00774</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a49">Server::DelELine</a>(std::string hostmask) -00775 { -00776 <a class="code" href="xline_8h.html#a10">del_eline</a>(hostmask.c_str()); -00777 } -00778 -<a name="l00779"></a><a class="code" href="classServer.html#a50">00779</a> <span class="keywordtype">long</span> <a class="code" href="classServer.html#a50">Server::CalcDuration</a>(std::string delta) -00780 { -00781 <span class="keywordflow">return</span> <a class="code" href="commands_8h.html#a75">duration</a>(delta.c_str()); -00782 } -00783 -<a name="l00784"></a><a class="code" href="classServer.html#a51">00784</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a51">Server::IsValidMask</a>(std::string mask) -00785 { -00786 <span class="keyword">const</span> <span class="keywordtype">char</span>* dest = mask.c_str(); -00787 <span class="keywordflow">if</span> (strchr(dest,<span class="charliteral">'!'</span>)==0) -00788 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00789 <span class="keywordflow">if</span> (strchr(dest,<span class="charliteral">'@'</span>)==0) -00790 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00791 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < strlen(dest); i++) -00792 <span class="keywordflow">if</span> (dest[i] < 32) -00793 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00794 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < strlen(dest); i++) -00795 <span class="keywordflow">if</span> (dest[i] > 126) -00796 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00797 <span class="keywordtype">int</span> c = 0; -00798 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < strlen(dest); i++) -00799 <span class="keywordflow">if</span> (dest[i] == <span class="charliteral">'!'</span>) -00800 c++; -00801 <span class="keywordflow">if</span> (c>1) -00802 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00803 c = 0; -00804 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < strlen(dest); i++) -00805 <span class="keywordflow">if</span> (dest[i] == <span class="charliteral">'@'</span>) -00806 c++; -00807 <span class="keywordflow">if</span> (c>1) -00808 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00809 -00810 <span class="keywordflow">return</span> <span class="keyword">true</span>; -00811 } -00812 -<a name="l00813"></a><a class="code" href="classServer.html#a52">00813</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a52">Server::MeshSendAll</a>(std::string text) -00814 { -00815 NetSendToAll((<span class="keywordtype">char</span>*)text.c_str()); -00816 } -00817 -<a name="l00818"></a><a class="code" href="classServer.html#a53">00818</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a53">Server::MeshSendCommon</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string text) -00819 { -00820 <span class="keywordflow">if</span> (user) -00821 NetSendToCommon(user,(<span class="keywordtype">char</span>*)text.c_str()); -00822 } -00823 -<a name="l00824"></a><a class="code" href="classServer.html#a54">00824</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a54">Server::MeshSendAllAlive</a>(std::string text) -00825 { -00826 NetSendToAllAlive((<span class="keywordtype">char</span>*)text.c_str()); -00827 } -00828 -<a name="l00829"></a><a class="code" href="classServer.html#a55">00829</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a55">Server::MeshSendUnicast</a>(std::string destination, std::string text) -00830 { -00831 NetSendToOne((<span class="keywordtype">char</span>*)destination.c_str(),(<span class="keywordtype">char</span>*)text.c_str()); -00832 } -00833 -<a name="l00834"></a><a class="code" href="classServer.html#a56">00834</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a56">Server::MeshSendAllExcept</a>(std::string target, std::string text) -00835 { -00836 NetSendToAllExcept(target.c_str(),(<span class="keywordtype">char</span>*)text.c_str()); -00837 } -00838 -<a name="l00839"></a><a class="code" href="classServer.html#a57">00839</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a57">Server::MeshCheckChan</a>(<a class="code" href="classchanrec.html">chanrec</a> *c,std::string servername) -00840 { -00841 <span class="keywordflow">if</span> (c) -00842 { -00843 <span class="keywordflow">return</span> ChanAnyOnThisServer(c,(<span class="keywordtype">char</span>*)servername.c_str()); -00844 } -00845 <span class="keywordflow">else</span> <span class="keywordflow">return</span> <span class="keyword">false</span>; -00846 } -00847 -<a name="l00848"></a><a class="code" href="classServer.html#a58">00848</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a58">Server::MeshCheckCommon</a>(<a class="code" href="classuserrec.html">userrec</a>* u,std::string servername) -00849 { -00850 <span class="keywordflow">if</span> (u) -00851 { -00852 <span class="keywordflow">return</span> CommonOnThisServer(u,(<span class="keywordtype">char</span>*)servername.c_str()); -00853 } -00854 <span class="keywordflow">else</span> <span class="keywordflow">return</span> <span class="keyword">false</span>; -00855 } -00856 -<a name="l00857"></a><a class="code" href="classServer.html#a59">00857</a> <a class="code" href="classModule.html">Module</a>* <a class="code" href="classServer.html#a59">Server::FindModule</a>(std::string name) -00858 { -00859 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i <= <a class="code" href="modules_8cpp.html#a1">MODCOUNT</a>; i++) -00860 { -00861 <span class="keywordflow">if</span> (<a class="code" href="channels_8cpp.html#a27">module_names</a>[i] == name) -00862 { -00863 <span class="keywordflow">return</span> <a class="code" href="channels_8cpp.html#a2">modules</a>[i]; -00864 } -00865 } -00866 <span class="keywordflow">return</span> NULL; -00867 } -00868 -<a name="l00869"></a><a class="code" href="classConfigReader.html#a0">00869</a> <a class="code" href="classConfigReader.html#a0">ConfigReader::ConfigReader</a>() -00870 { -00871 this-><a class="code" href="classConfigReader.html#p0">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); -00872 this-><a class="code" href="classConfigReader.html#p1">errorlog</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); -00873 this-><a class="code" href="classConfigReader.html#p2">readerror</a> = LoadConf(CONFIG_FILE,this->cache,this->errorlog); -00874 <span class="keywordflow">if</span> (!this-><a class="code" href="classConfigReader.html#p2">readerror</a>) -00875 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a30">CONF_FILE_NOT_FOUND</a>; -00876 } -00877 +00680 +<a name="l00681"></a><a class="code" href="classServer.html#a38">00681</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a38">Server::UserToPseudo</a>(<a class="code" href="classuserrec.html">userrec</a>* user,std::string message) +00682 { +00683 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> old_fd = user-><a class="code" href="classconnection.html#o0">fd</a>; +00684 user-><a class="code" href="classconnection.html#o0">fd</a> = <a class="code" href="modules_8h.html#a26">FD_MAGIC_NUMBER</a>; +00685 user-><a class="code" href="classuserrec.html#a10">ClearBuffer</a>(); +00686 Write(old_fd,<span class="stringliteral">"ERROR :Closing link (%s@%s) [%s]"</span>,user-><a class="code" href="classuserrec.html#o1">ident</a>,user-><a class="code" href="classconnection.html#o1">host</a>,message.c_str()); +00687 <span class="preprocessor">#ifdef USE_KQUEUE</span> +00688 <span class="preprocessor"></span> <span class="keyword">struct </span>kevent ke; +00689 EV_SET(&ke, old_fd, EVFILT_READ, EV_DELETE, 0, 0, NULL); +00690 <span class="keywordtype">int</span> i = kevent(kq, &ke, 1, 0, 0, NULL); +00691 <span class="keywordflow">if</span> (i == -1) +00692 { +00693 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"kqueue: Failed to remove user from queue!"</span>); +00694 } +00695 <span class="preprocessor">#endif</span> +00696 <span class="preprocessor"></span> shutdown(old_fd,2); +00697 close(old_fd); +00698 } +00699 +<a name="l00700"></a><a class="code" href="classServer.html#a39">00700</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a39">Server::PseudoToUser</a>(<a class="code" href="classuserrec.html">userrec</a>* alive,<a class="code" href="classuserrec.html">userrec</a>* zombie,std::string message) +00701 { +00702 zombie-><a class="code" href="classconnection.html#o0">fd</a> = alive-><a class="code" href="classconnection.html#o0">fd</a>; +00703 alive-><a class="code" href="classconnection.html#o0">fd</a> = <a class="code" href="modules_8h.html#a26">FD_MAGIC_NUMBER</a>; +00704 alive-><a class="code" href="classuserrec.html#a10">ClearBuffer</a>(); +00705 Write(zombie-><a class="code" href="classconnection.html#o0">fd</a>,<span class="stringliteral">":%s!%s@%s NICK %s"</span>,alive-><a class="code" href="classuserrec.html#o0">nick</a>,alive-><a class="code" href="classuserrec.html#o1">ident</a>,alive-><a class="code" href="classconnection.html#o1">host</a>,zombie-><a class="code" href="classuserrec.html#o0">nick</a>); +00706 kill_link(alive,message.c_str()); +00707 <a class="code" href="modules_8cpp.html#a38">fd_ref_table</a>[zombie-><a class="code" href="classconnection.html#o0">fd</a>] = zombie; +00708 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i != MAXCHANS; i++) +00709 { +00710 <span class="keywordflow">if</span> (zombie->chans[i].channel != NULL) +00711 { +00712 <span class="keywordflow">if</span> (zombie->chans[i].channel->name) +00713 { +00714 <a class="code" href="classchanrec.html">chanrec</a>* Ptr = zombie-><a class="code" href="classuserrec.html#o5">chans</a>[i].<a class="code" href="classucrec.html#o1">channel</a>; +00715 WriteFrom(zombie->fd,zombie,<span class="stringliteral">"JOIN %s"</span>,Ptr-><a class="code" href="classchanrec.html#o0">name</a>); +00716 <span class="keywordflow">if</span> (Ptr-><a class="code" href="classchanrec.html#o5">topicset</a>) +00717 { +00718 WriteServ(zombie->fd,<span class="stringliteral">"332 %s %s :%s"</span>, zombie->nick, Ptr-><a class="code" href="classchanrec.html#o0">name</a>, Ptr-><a class="code" href="classchanrec.html#o3">topic</a>); +00719 WriteServ(zombie->fd,<span class="stringliteral">"333 %s %s %s %d"</span>, zombie->nick, Ptr-><a class="code" href="classchanrec.html#o0">name</a>, Ptr-><a class="code" href="classchanrec.html#o6">setby</a>, Ptr-><a class="code" href="classchanrec.html#o5">topicset</a>); +00720 } +00721 userlist(zombie,Ptr); +00722 WriteServ(zombie->fd,<span class="stringliteral">"366 %s %s :End of /NAMES list."</span>, zombie->nick, Ptr-><a class="code" href="classchanrec.html#o0">name</a>); +00723 +00724 } +00725 } +00726 } +00727 +00728 } +00729 +<a name="l00730"></a><a class="code" href="classServer.html#a40">00730</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a40">Server::AddGLine</a>(<span class="keywordtype">long</span> duration, std::string source, std::string reason, std::string hostmask) +00731 { +00732 <a class="code" href="xline_8h.html#a1">add_gline</a>(<a class="code" href="commands_8h.html#a75">duration</a>, source.c_str(), reason.c_str(), hostmask.c_str()); +00733 } +00734 +<a name="l00735"></a><a class="code" href="classServer.html#a41">00735</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a41">Server::AddQLine</a>(<span class="keywordtype">long</span> duration, std::string source, std::string reason, std::string nickname) +00736 { +00737 <a class="code" href="xline_8h.html#a2">add_qline</a>(<a class="code" href="commands_8h.html#a75">duration</a>, source.c_str(), reason.c_str(), nickname.c_str()); +00738 } +00739 +<a name="l00740"></a><a class="code" href="classServer.html#a42">00740</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a42">Server::AddZLine</a>(<span class="keywordtype">long</span> duration, std::string source, std::string reason, std::string ipaddr) +00741 { +00742 <a class="code" href="xline_8h.html#a3">add_zline</a>(<a class="code" href="commands_8h.html#a75">duration</a>, source.c_str(), reason.c_str(), ipaddr.c_str()); +00743 } +00744 +<a name="l00745"></a><a class="code" href="classServer.html#a43">00745</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a43">Server::AddKLine</a>(<span class="keywordtype">long</span> duration, std::string source, std::string reason, std::string hostmask) +00746 { +00747 <a class="code" href="xline_8h.html#a4">add_kline</a>(<a class="code" href="commands_8h.html#a75">duration</a>, source.c_str(), reason.c_str(), hostmask.c_str()); +00748 } +00749 +<a name="l00750"></a><a class="code" href="classServer.html#a44">00750</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a44">Server::AddELine</a>(<span class="keywordtype">long</span> duration, std::string source, std::string reason, std::string hostmask) +00751 { +00752 <a class="code" href="xline_8h.html#a5">add_eline</a>(<a class="code" href="commands_8h.html#a75">duration</a>, source.c_str(), reason.c_str(), hostmask.c_str()); +00753 } +00754 +<a name="l00755"></a><a class="code" href="classServer.html#a45">00755</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a45">Server::DelGLine</a>(std::string hostmask) +00756 { +00757 <a class="code" href="xline_8h.html#a6">del_gline</a>(hostmask.c_str()); +00758 } +00759 +<a name="l00760"></a><a class="code" href="classServer.html#a46">00760</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a46">Server::DelQLine</a>(std::string nickname) +00761 { +00762 <a class="code" href="xline_8h.html#a7">del_qline</a>(nickname.c_str()); +00763 } +00764 +<a name="l00765"></a><a class="code" href="classServer.html#a47">00765</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a47">Server::DelZLine</a>(std::string ipaddr) +00766 { +00767 <a class="code" href="xline_8h.html#a8">del_zline</a>(ipaddr.c_str()); +00768 } +00769 +<a name="l00770"></a><a class="code" href="classServer.html#a48">00770</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a48">Server::DelKLine</a>(std::string hostmask) +00771 { +00772 <a class="code" href="xline_8h.html#a9">del_kline</a>(hostmask.c_str()); +00773 } +00774 +<a name="l00775"></a><a class="code" href="classServer.html#a49">00775</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a49">Server::DelELine</a>(std::string hostmask) +00776 { +00777 <a class="code" href="xline_8h.html#a10">del_eline</a>(hostmask.c_str()); +00778 } +00779 +<a name="l00780"></a><a class="code" href="classServer.html#a50">00780</a> <span class="keywordtype">long</span> <a class="code" href="classServer.html#a50">Server::CalcDuration</a>(std::string delta) +00781 { +00782 <span class="keywordflow">return</span> <a class="code" href="commands_8h.html#a75">duration</a>(delta.c_str()); +00783 } +00784 +<a name="l00785"></a><a class="code" href="classServer.html#a51">00785</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a51">Server::IsValidMask</a>(std::string mask) +00786 { +00787 <span class="keyword">const</span> <span class="keywordtype">char</span>* dest = mask.c_str(); +00788 <span class="keywordflow">if</span> (strchr(dest,<span class="charliteral">'!'</span>)==0) +00789 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00790 <span class="keywordflow">if</span> (strchr(dest,<span class="charliteral">'@'</span>)==0) +00791 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00792 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < strlen(dest); i++) +00793 <span class="keywordflow">if</span> (dest[i] < 32) +00794 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00795 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < strlen(dest); i++) +00796 <span class="keywordflow">if</span> (dest[i] > 126) +00797 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00798 <span class="keywordtype">int</span> c = 0; +00799 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < strlen(dest); i++) +00800 <span class="keywordflow">if</span> (dest[i] == <span class="charliteral">'!'</span>) +00801 c++; +00802 <span class="keywordflow">if</span> (c>1) +00803 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00804 c = 0; +00805 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < strlen(dest); i++) +00806 <span class="keywordflow">if</span> (dest[i] == <span class="charliteral">'@'</span>) +00807 c++; +00808 <span class="keywordflow">if</span> (c>1) +00809 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00810 +00811 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00812 } +00813 +<a name="l00814"></a><a class="code" href="classServer.html#a52">00814</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a52">Server::MeshSendAll</a>(std::string text) +00815 { +00816 NetSendToAll((<span class="keywordtype">char</span>*)text.c_str()); +00817 } +00818 +<a name="l00819"></a><a class="code" href="classServer.html#a53">00819</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a53">Server::MeshSendCommon</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string text) +00820 { +00821 <span class="keywordflow">if</span> (user) +00822 NetSendToCommon(user,(<span class="keywordtype">char</span>*)text.c_str()); +00823 } +00824 +<a name="l00825"></a><a class="code" href="classServer.html#a54">00825</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a54">Server::MeshSendAllAlive</a>(std::string text) +00826 { +00827 NetSendToAllAlive((<span class="keywordtype">char</span>*)text.c_str()); +00828 } +00829 +<a name="l00830"></a><a class="code" href="classServer.html#a55">00830</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a55">Server::MeshSendUnicast</a>(std::string destination, std::string text) +00831 { +00832 NetSendToOne((<span class="keywordtype">char</span>*)destination.c_str(),(<span class="keywordtype">char</span>*)text.c_str()); +00833 } +00834 +<a name="l00835"></a><a class="code" href="classServer.html#a56">00835</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a56">Server::MeshSendAllExcept</a>(std::string target, std::string text) +00836 { +00837 NetSendToAllExcept(target.c_str(),(<span class="keywordtype">char</span>*)text.c_str()); +00838 } +00839 +<a name="l00840"></a><a class="code" href="classServer.html#a57">00840</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a57">Server::MeshCheckChan</a>(<a class="code" href="classchanrec.html">chanrec</a> *c,std::string servername) +00841 { +00842 <span class="keywordflow">if</span> (c) +00843 { +00844 <span class="keywordflow">return</span> ChanAnyOnThisServer(c,(<span class="keywordtype">char</span>*)servername.c_str()); +00845 } +00846 <span class="keywordflow">else</span> <span class="keywordflow">return</span> <span class="keyword">false</span>; +00847 } +00848 +<a name="l00849"></a><a class="code" href="classServer.html#a58">00849</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a58">Server::MeshCheckCommon</a>(<a class="code" href="classuserrec.html">userrec</a>* u,std::string servername) +00850 { +00851 <span class="keywordflow">if</span> (u) +00852 { +00853 <span class="keywordflow">return</span> CommonOnThisServer(u,(<span class="keywordtype">char</span>*)servername.c_str()); +00854 } +00855 <span class="keywordflow">else</span> <span class="keywordflow">return</span> <span class="keyword">false</span>; +00856 } +00857 +<a name="l00858"></a><a class="code" href="classServer.html#a59">00858</a> <a class="code" href="classModule.html">Module</a>* <a class="code" href="classServer.html#a59">Server::FindModule</a>(std::string name) +00859 { +00860 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i <= <a class="code" href="modules_8cpp.html#a1">MODCOUNT</a>; i++) +00861 { +00862 <span class="keywordflow">if</span> (<a class="code" href="channels_8cpp.html#a27">module_names</a>[i] == name) +00863 { +00864 <span class="keywordflow">return</span> <a class="code" href="channels_8cpp.html#a2">modules</a>[i]; +00865 } +00866 } +00867 <span class="keywordflow">return</span> NULL; +00868 } +00869 +<a name="l00870"></a><a class="code" href="classConfigReader.html#a0">00870</a> <a class="code" href="classConfigReader.html#a0">ConfigReader::ConfigReader</a>() +00871 { +00872 this-><a class="code" href="classConfigReader.html#p0">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); +00873 this-><a class="code" href="classConfigReader.html#p1">errorlog</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); +00874 this-><a class="code" href="classConfigReader.html#p2">readerror</a> = LoadConf(CONFIG_FILE,this->cache,this->errorlog); +00875 <span class="keywordflow">if</span> (!this-><a class="code" href="classConfigReader.html#p2">readerror</a>) +00876 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a30">CONF_FILE_NOT_FOUND</a>; +00877 } 00878 -<a name="l00879"></a><a class="code" href="classConfigReader.html#a2">00879</a> <a class="code" href="classConfigReader.html#a2">ConfigReader::~ConfigReader</a>() -00880 { -00881 <span class="keywordflow">if</span> (this-><a class="code" href="classConfigReader.html#p0">cache</a>) -00882 <span class="keyword">delete</span> this-><a class="code" href="classConfigReader.html#p0">cache</a>; -00883 <span class="keywordflow">if</span> (this-><a class="code" href="classConfigReader.html#p1">errorlog</a>) -00884 <span class="keyword">delete</span> this-><a class="code" href="classConfigReader.html#p1">errorlog</a>; -00885 } -00886 +00879 +<a name="l00880"></a><a class="code" href="classConfigReader.html#a2">00880</a> <a class="code" href="classConfigReader.html#a2">ConfigReader::~ConfigReader</a>() +00881 { +00882 <span class="keywordflow">if</span> (this-><a class="code" href="classConfigReader.html#p0">cache</a>) +00883 <span class="keyword">delete</span> this-><a class="code" href="classConfigReader.html#p0">cache</a>; +00884 <span class="keywordflow">if</span> (this-><a class="code" href="classConfigReader.html#p1">errorlog</a>) +00885 <span class="keyword">delete</span> this-><a class="code" href="classConfigReader.html#p1">errorlog</a>; +00886 } 00887 -<a name="l00888"></a><a class="code" href="classConfigReader.html#a1">00888</a> <a class="code" href="classConfigReader.html#a0">ConfigReader::ConfigReader</a>(std::string filename) -00889 { -00890 this-><a class="code" href="classConfigReader.html#p0">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); -00891 this-><a class="code" href="classConfigReader.html#p1">errorlog</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); -00892 this-><a class="code" href="classConfigReader.html#p2">readerror</a> = LoadConf(filename.c_str(),this-><a class="code" href="classConfigReader.html#p0">cache</a>,this-><a class="code" href="classConfigReader.html#p1">errorlog</a>); -00893 <span class="keywordflow">if</span> (!this-><a class="code" href="classConfigReader.html#p2">readerror</a>) -00894 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a30">CONF_FILE_NOT_FOUND</a>; -00895 }; -00896 -<a name="l00897"></a><a class="code" href="classConfigReader.html#a3">00897</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) -00898 { -00899 <span class="keywordtype">char</span> val[MAXBUF]; -00900 <span class="keywordtype">char</span> t[MAXBUF]; -00901 <span class="keywordtype">char</span> n[MAXBUF]; -00902 strlcpy(t,tag.c_str(),MAXBUF); -00903 strlcpy(n,name.c_str(),MAXBUF); -00904 <span class="keywordtype">int</span> res = ReadConf(<a class="code" href="classConfigReader.html#p0">cache</a>,t,n,index,val); -00905 <span class="keywordflow">if</span> (!res) -00906 { -00907 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a29">CONF_VALUE_NOT_FOUND</a>; -00908 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; -00909 } -00910 <span class="keywordflow">return</span> val; -00911 } -00912 -<a name="l00913"></a><a class="code" href="classConfigReader.html#a4">00913</a> <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#a4">ConfigReader::ReadFlag</a>(std::string tag, std::string name, <span class="keywordtype">int</span> index) -00914 { -00915 <span class="keywordtype">char</span> val[MAXBUF]; -00916 <span class="keywordtype">char</span> t[MAXBUF]; -00917 <span class="keywordtype">char</span> n[MAXBUF]; -00918 strlcpy(t,tag.c_str(),MAXBUF); -00919 strlcpy(n,name.c_str(),MAXBUF); -00920 <span class="keywordtype">int</span> res = ReadConf(<a class="code" href="classConfigReader.html#p0">cache</a>,t,n,index,val); -00921 <span class="keywordflow">if</span> (!res) -00922 { -00923 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a29">CONF_VALUE_NOT_FOUND</a>; -00924 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00925 } -00926 std::string s = val; -00927 <span class="keywordflow">return</span> ((s == <span class="stringliteral">"yes"</span>) || (s == <span class="stringliteral">"YES"</span>) || (s == <span class="stringliteral">"true"</span>) || (s == <span class="stringliteral">"TRUE"</span>) || (s == <span class="stringliteral">"1"</span>)); -00928 } -00929 -<a name="l00930"></a><a class="code" href="classConfigReader.html#a5">00930</a> <span class="keywordtype">long</span> <a class="code" href="classConfigReader.html#a5">ConfigReader::ReadInteger</a>(std::string tag, std::string name, <span class="keywordtype">int</span> index, <span class="keywordtype">bool</span> needs_unsigned) -00931 { -00932 <span class="keywordtype">char</span> val[MAXBUF]; -00933 <span class="keywordtype">char</span> t[MAXBUF]; -00934 <span class="keywordtype">char</span> n[MAXBUF]; -00935 strlcpy(t,tag.c_str(),MAXBUF); -00936 strlcpy(n,name.c_str(),MAXBUF); -00937 <span class="keywordtype">int</span> res = ReadConf(<a class="code" href="classConfigReader.html#p0">cache</a>,t,n,index,val); -00938 <span class="keywordflow">if</span> (!res) -00939 { -00940 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a29">CONF_VALUE_NOT_FOUND</a>; -00941 <span class="keywordflow">return</span> 0; -00942 } -00943 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < strlen(val); i++) -00944 { -00945 <span class="keywordflow">if</span> (!isdigit(val[i])) -00946 { -00947 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a27">CONF_NOT_A_NUMBER</a>; -00948 <span class="keywordflow">return</span> 0; -00949 } -00950 } -00951 <span class="keywordflow">if</span> ((needs_unsigned) && (atoi(val)<0)) -00952 { -00953 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a28">CONF_NOT_UNSIGNED</a>; -00954 <span class="keywordflow">return</span> 0; -00955 } -00956 <span class="keywordflow">return</span> atoi(val); -00957 } -00958 -<a name="l00959"></a><a class="code" href="classConfigReader.html#a6">00959</a> <span class="keywordtype">long</span> <a class="code" href="classConfigReader.html#a6">ConfigReader::GetError</a>() -00960 { -00961 <span class="keywordtype">long</span> olderr = this-><a class="code" href="classConfigReader.html#p3">error</a>; -00962 this->error = 0; -00963 <span class="keywordflow">return</span> olderr; -00964 } -00965 -<a name="l00966"></a><a class="code" href="classConfigReader.html#a9">00966</a> <span class="keywordtype">void</span> <a class="code" href="classConfigReader.html#a9">ConfigReader::DumpErrors</a>(<span class="keywordtype">bool</span> bail, <a class="code" href="classuserrec.html">userrec</a>* user) -00967 { -00968 <span class="keywordflow">if</span> (bail) -00969 { -00970 printf(<span class="stringliteral">"There were errors in your configuration:\n%s"</span>,<a class="code" href="classConfigReader.html#p1">errorlog</a>->str().c_str()); -00971 exit(0); -00972 } -00973 <span class="keywordflow">else</span> -00974 { -00975 <span class="keywordtype">char</span> dataline[1024]; -00976 <span class="keywordflow">if</span> (user) -00977 { -00978 WriteServ(user-><a class="code" href="classconnection.html#o0">fd</a>,<span class="stringliteral">"NOTICE %s :There were errors in the configuration file:"</span>,user-><a class="code" href="classuserrec.html#o0">nick</a>); -00979 <span class="keywordflow">while</span> (!<a class="code" href="classConfigReader.html#p1">errorlog</a>->eof()) -00980 { -00981 <a class="code" href="classConfigReader.html#p1">errorlog</a>->getline(dataline,1024); -00982 WriteServ(user-><a class="code" href="classconnection.html#o0">fd</a>,<span class="stringliteral">"NOTICE %s :%s"</span>,user-><a class="code" href="classuserrec.html#o0">nick</a>,dataline); -00983 } -00984 } -00985 <span class="keywordflow">else</span> -00986 { -00987 WriteOpers(<span class="stringliteral">"There were errors in the configuration file:"</span>,user-><a class="code" href="classuserrec.html#o0">nick</a>); -00988 <span class="keywordflow">while</span> (!<a class="code" href="classConfigReader.html#p1">errorlog</a>->eof()) -00989 { -00990 <a class="code" href="classConfigReader.html#p1">errorlog</a>->getline(dataline,1024); -00991 WriteOpers(dataline); -00992 } -00993 } -00994 <span class="keywordflow">return</span>; -00995 } -00996 } -00997 +00888 +<a name="l00889"></a><a class="code" href="classConfigReader.html#a1">00889</a> <a class="code" href="classConfigReader.html#a0">ConfigReader::ConfigReader</a>(std::string filename) +00890 { +00891 this-><a class="code" href="classConfigReader.html#p0">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); +00892 this-><a class="code" href="classConfigReader.html#p1">errorlog</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); +00893 this-><a class="code" href="classConfigReader.html#p2">readerror</a> = LoadConf(filename.c_str(),this-><a class="code" href="classConfigReader.html#p0">cache</a>,this-><a class="code" href="classConfigReader.html#p1">errorlog</a>); +00894 <span class="keywordflow">if</span> (!this-><a class="code" href="classConfigReader.html#p2">readerror</a>) +00895 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a30">CONF_FILE_NOT_FOUND</a>; +00896 }; +00897 +<a name="l00898"></a><a class="code" href="classConfigReader.html#a3">00898</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) +00899 { +00900 <span class="keywordtype">char</span> val[MAXBUF]; +00901 <span class="keywordtype">char</span> t[MAXBUF]; +00902 <span class="keywordtype">char</span> n[MAXBUF]; +00903 strlcpy(t,tag.c_str(),MAXBUF); +00904 strlcpy(n,name.c_str(),MAXBUF); +00905 <span class="keywordtype">int</span> res = ReadConf(<a class="code" href="classConfigReader.html#p0">cache</a>,t,n,index,val); +00906 <span class="keywordflow">if</span> (!res) +00907 { +00908 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a29">CONF_VALUE_NOT_FOUND</a>; +00909 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; +00910 } +00911 <span class="keywordflow">return</span> val; +00912 } +00913 +<a name="l00914"></a><a class="code" href="classConfigReader.html#a4">00914</a> <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#a4">ConfigReader::ReadFlag</a>(std::string tag, std::string name, <span class="keywordtype">int</span> index) +00915 { +00916 <span class="keywordtype">char</span> val[MAXBUF]; +00917 <span class="keywordtype">char</span> t[MAXBUF]; +00918 <span class="keywordtype">char</span> n[MAXBUF]; +00919 strlcpy(t,tag.c_str(),MAXBUF); +00920 strlcpy(n,name.c_str(),MAXBUF); +00921 <span class="keywordtype">int</span> res = ReadConf(<a class="code" href="classConfigReader.html#p0">cache</a>,t,n,index,val); +00922 <span class="keywordflow">if</span> (!res) +00923 { +00924 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a29">CONF_VALUE_NOT_FOUND</a>; +00925 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00926 } +00927 std::string s = val; +00928 <span class="keywordflow">return</span> ((s == <span class="stringliteral">"yes"</span>) || (s == <span class="stringliteral">"YES"</span>) || (s == <span class="stringliteral">"true"</span>) || (s == <span class="stringliteral">"TRUE"</span>) || (s == <span class="stringliteral">"1"</span>)); +00929 } +00930 +<a name="l00931"></a><a class="code" href="classConfigReader.html#a5">00931</a> <span class="keywordtype">long</span> <a class="code" href="classConfigReader.html#a5">ConfigReader::ReadInteger</a>(std::string tag, std::string name, <span class="keywordtype">int</span> index, <span class="keywordtype">bool</span> needs_unsigned) +00932 { +00933 <span class="keywordtype">char</span> val[MAXBUF]; +00934 <span class="keywordtype">char</span> t[MAXBUF]; +00935 <span class="keywordtype">char</span> n[MAXBUF]; +00936 strlcpy(t,tag.c_str(),MAXBUF); +00937 strlcpy(n,name.c_str(),MAXBUF); +00938 <span class="keywordtype">int</span> res = ReadConf(<a class="code" href="classConfigReader.html#p0">cache</a>,t,n,index,val); +00939 <span class="keywordflow">if</span> (!res) +00940 { +00941 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a29">CONF_VALUE_NOT_FOUND</a>; +00942 <span class="keywordflow">return</span> 0; +00943 } +00944 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < strlen(val); i++) +00945 { +00946 <span class="keywordflow">if</span> (!isdigit(val[i])) +00947 { +00948 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a27">CONF_NOT_A_NUMBER</a>; +00949 <span class="keywordflow">return</span> 0; +00950 } +00951 } +00952 <span class="keywordflow">if</span> ((needs_unsigned) && (atoi(val)<0)) +00953 { +00954 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a28">CONF_NOT_UNSIGNED</a>; +00955 <span class="keywordflow">return</span> 0; +00956 } +00957 <span class="keywordflow">return</span> atoi(val); +00958 } +00959 +<a name="l00960"></a><a class="code" href="classConfigReader.html#a6">00960</a> <span class="keywordtype">long</span> <a class="code" href="classConfigReader.html#a6">ConfigReader::GetError</a>() +00961 { +00962 <span class="keywordtype">long</span> olderr = this-><a class="code" href="classConfigReader.html#p3">error</a>; +00963 this->error = 0; +00964 <span class="keywordflow">return</span> olderr; +00965 } +00966 +<a name="l00967"></a><a class="code" href="classConfigReader.html#a9">00967</a> <span class="keywordtype">void</span> <a class="code" href="classConfigReader.html#a9">ConfigReader::DumpErrors</a>(<span class="keywordtype">bool</span> bail, <a class="code" href="classuserrec.html">userrec</a>* user) +00968 { +00969 <span class="keywordflow">if</span> (bail) +00970 { +00971 printf(<span class="stringliteral">"There were errors in your configuration:\n%s"</span>,<a class="code" href="classConfigReader.html#p1">errorlog</a>->str().c_str()); +00972 exit(0); +00973 } +00974 <span class="keywordflow">else</span> +00975 { +00976 <span class="keywordtype">char</span> dataline[1024]; +00977 <span class="keywordflow">if</span> (user) +00978 { +00979 WriteServ(user-><a class="code" href="classconnection.html#o0">fd</a>,<span class="stringliteral">"NOTICE %s :There were errors in the configuration file:"</span>,user-><a class="code" href="classuserrec.html#o0">nick</a>); +00980 <span class="keywordflow">while</span> (!<a class="code" href="classConfigReader.html#p1">errorlog</a>->eof()) +00981 { +00982 <a class="code" href="classConfigReader.html#p1">errorlog</a>->getline(dataline,1024); +00983 WriteServ(user-><a class="code" href="classconnection.html#o0">fd</a>,<span class="stringliteral">"NOTICE %s :%s"</span>,user-><a class="code" href="classuserrec.html#o0">nick</a>,dataline); +00984 } +00985 } +00986 <span class="keywordflow">else</span> +00987 { +00988 WriteOpers(<span class="stringliteral">"There were errors in the configuration file:"</span>,user-><a class="code" href="classuserrec.html#o0">nick</a>); +00989 <span class="keywordflow">while</span> (!<a class="code" href="classConfigReader.html#p1">errorlog</a>->eof()) +00990 { +00991 <a class="code" href="classConfigReader.html#p1">errorlog</a>->getline(dataline,1024); +00992 WriteOpers(dataline); +00993 } +00994 } +00995 <span class="keywordflow">return</span>; +00996 } +00997 } 00998 -<a name="l00999"></a><a class="code" href="classConfigReader.html#a7">00999</a> <span class="keywordtype">int</span> <a class="code" href="classConfigReader.html#a7">ConfigReader::Enumerate</a>(std::string tag) -01000 { -01001 <span class="keywordflow">return</span> EnumConf(<a class="code" href="classConfigReader.html#p0">cache</a>,tag.c_str()); -01002 } -01003 -<a name="l01004"></a><a class="code" href="classConfigReader.html#a10">01004</a> <span class="keywordtype">int</span> <a class="code" href="classConfigReader.html#a10">ConfigReader::EnumerateValues</a>(std::string tag, <span class="keywordtype">int</span> index) -01005 { -01006 <span class="keywordflow">return</span> EnumValues(<a class="code" href="classConfigReader.html#p0">cache</a>, tag.c_str(), index); -01007 } -01008 -<a name="l01009"></a><a class="code" href="classConfigReader.html#a8">01009</a> <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#a8">ConfigReader::Verify</a>() -01010 { -01011 <span class="keywordflow">return</span> this-><a class="code" href="classConfigReader.html#p2">readerror</a>; -01012 } -01013 +00999 +<a name="l01000"></a><a class="code" href="classConfigReader.html#a7">01000</a> <span class="keywordtype">int</span> <a class="code" href="classConfigReader.html#a7">ConfigReader::Enumerate</a>(std::string tag) +01001 { +01002 <span class="keywordflow">return</span> EnumConf(<a class="code" href="classConfigReader.html#p0">cache</a>,tag.c_str()); +01003 } +01004 +<a name="l01005"></a><a class="code" href="classConfigReader.html#a10">01005</a> <span class="keywordtype">int</span> <a class="code" href="classConfigReader.html#a10">ConfigReader::EnumerateValues</a>(std::string tag, <span class="keywordtype">int</span> index) +01006 { +01007 <span class="keywordflow">return</span> EnumValues(<a class="code" href="classConfigReader.html#p0">cache</a>, tag.c_str(), index); +01008 } +01009 +<a name="l01010"></a><a class="code" href="classConfigReader.html#a8">01010</a> <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#a8">ConfigReader::Verify</a>() +01011 { +01012 <span class="keywordflow">return</span> this-><a class="code" href="classConfigReader.html#p2">readerror</a>; +01013 } 01014 -<a name="l01015"></a><a class="code" href="classFileReader.html#a1">01015</a> <a class="code" href="classFileReader.html#a0">FileReader::FileReader</a>(std::string filename) -01016 { -01017 <a class="code" href="modules_8h.html#a31">file_cache</a> c; -01018 readfile(c,filename.c_str()); -01019 this-><a class="code" href="classFileReader.html#r0">fc</a> = c; -01020 } -01021 -<a name="l01022"></a><a class="code" href="classFileReader.html#a0">01022</a> <a class="code" href="classFileReader.html#a0">FileReader::FileReader</a>() -01023 { -01024 } -01025 -<a name="l01026"></a><a class="code" href="classFileReader.html#a3">01026</a> <span class="keywordtype">void</span> <a class="code" href="classFileReader.html#a3">FileReader::LoadFile</a>(std::string filename) -01027 { -01028 <a class="code" href="modules_8h.html#a31">file_cache</a> c; -01029 readfile(c,filename.c_str()); -01030 this-><a class="code" href="classFileReader.html#r0">fc</a> = c; -01031 } -01032 +01015 +<a name="l01016"></a><a class="code" href="classFileReader.html#a1">01016</a> <a class="code" href="classFileReader.html#a0">FileReader::FileReader</a>(std::string filename) +01017 { +01018 <a class="code" href="modules_8h.html#a31">file_cache</a> c; +01019 readfile(c,filename.c_str()); +01020 this-><a class="code" href="classFileReader.html#r0">fc</a> = c; +01021 } +01022 +<a name="l01023"></a><a class="code" href="classFileReader.html#a0">01023</a> <a class="code" href="classFileReader.html#a0">FileReader::FileReader</a>() +01024 { +01025 } +01026 +<a name="l01027"></a><a class="code" href="classFileReader.html#a3">01027</a> <span class="keywordtype">void</span> <a class="code" href="classFileReader.html#a3">FileReader::LoadFile</a>(std::string filename) +01028 { +01029 <a class="code" href="modules_8h.html#a31">file_cache</a> c; +01030 readfile(c,filename.c_str()); +01031 this-><a class="code" href="classFileReader.html#r0">fc</a> = c; +01032 } 01033 -<a name="l01034"></a><a class="code" href="classFileReader.html#a2">01034</a> <a class="code" href="classFileReader.html#a2">FileReader::~FileReader</a>() -01035 { -01036 } -01037 -<a name="l01038"></a><a class="code" href="classFileReader.html#a4">01038</a> <span class="keywordtype">bool</span> <a class="code" href="classFileReader.html#a4">FileReader::Exists</a>() -01039 { -01040 <span class="keywordflow">if</span> (<a class="code" href="classFileReader.html#r0">fc</a>.size() == 0) -01041 { -01042 <span class="keywordflow">return</span>(<span class="keyword">false</span>); -01043 } -01044 <span class="keywordflow">else</span> -01045 { -01046 <span class="keywordflow">return</span>(<span class="keyword">true</span>); -01047 } -01048 } -01049 -<a name="l01050"></a><a class="code" href="classFileReader.html#a5">01050</a> std::string <a class="code" href="classFileReader.html#a5">FileReader::GetLine</a>(<span class="keywordtype">int</span> x) -01051 { -01052 <span class="keywordflow">if</span> ((x<0) || (x><a class="code" href="classFileReader.html#r0">fc</a>.size())) -01053 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; -01054 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#r0">fc</a>[x]; -01055 } -01056 -<a name="l01057"></a><a class="code" href="classFileReader.html#a6">01057</a> <span class="keywordtype">int</span> <a class="code" href="classFileReader.html#a6">FileReader::FileSize</a>() -01058 { -01059 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#r0">fc</a>.size(); -01060 } -01061 +01034 +<a name="l01035"></a><a class="code" href="classFileReader.html#a2">01035</a> <a class="code" href="classFileReader.html#a2">FileReader::~FileReader</a>() +01036 { +01037 } +01038 +<a name="l01039"></a><a class="code" href="classFileReader.html#a4">01039</a> <span class="keywordtype">bool</span> <a class="code" href="classFileReader.html#a4">FileReader::Exists</a>() +01040 { +01041 <span class="keywordflow">if</span> (<a class="code" href="classFileReader.html#r0">fc</a>.size() == 0) +01042 { +01043 <span class="keywordflow">return</span>(<span class="keyword">false</span>); +01044 } +01045 <span class="keywordflow">else</span> +01046 { +01047 <span class="keywordflow">return</span>(<span class="keyword">true</span>); +01048 } +01049 } +01050 +<a name="l01051"></a><a class="code" href="classFileReader.html#a5">01051</a> std::string <a class="code" href="classFileReader.html#a5">FileReader::GetLine</a>(<span class="keywordtype">int</span> x) +01052 { +01053 <span class="keywordflow">if</span> ((x<0) || (x><a class="code" href="classFileReader.html#r0">fc</a>.size())) +01054 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; +01055 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#r0">fc</a>[x]; +01056 } +01057 +<a name="l01058"></a><a class="code" href="classFileReader.html#a6">01058</a> <span class="keywordtype">int</span> <a class="code" href="classFileReader.html#a6">FileReader::FileSize</a>() +01059 { +01060 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#r0">fc</a>.size(); +01061 } 01062 -01063 std::vector<Module*> <a class="code" href="modules_8cpp.html#a60">modules</a>(255); -01064 std::vector<ircd_module*> <a class="code" href="modules_8cpp.html#a61">factory</a>(255); -01065 -<a name="l01066"></a><a class="code" href="modules_8cpp.html#a1">01066</a> <span class="keywordtype">int</span> <a class="code" href="modules_8cpp.html#a1">MODCOUNT</a> = -1; -01067 +01063 +01064 std::vector<Module*> <a class="code" href="modules_8cpp.html#a61">modules</a>(255); +01065 std::vector<ircd_module*> <a class="code" href="modules_8cpp.html#a62">factory</a>(255); +01066 +<a name="l01067"></a><a class="code" href="modules_8cpp.html#a1">01067</a> <span class="keywordtype">int</span> <a class="code" href="modules_8cpp.html#a1">MODCOUNT</a> = -1; 01068 -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:12 2005 for InspIRCd by +01069 +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:58:58 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/modules_8cpp.html b/docs/module-doc/modules_8cpp.html index 973fa385a..fa8d484be 100644 --- a/docs/module-doc/modules_8cpp.html +++ b/docs/module-doc/modules_8cpp.html @@ -67,30 +67,34 @@ in_addr, string *, nspace::hash<<br> in_addr >, <a class="el" href="structInAddr__HashComp.html">InAddr_HashComp</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a41">address_cache</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::deque< <a class="el" href="classcommand__t.html">command_t</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a42">command_table</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>typedef nspace::hash_map<<br> + std::string, <a class="el" href="classWhoWasUser.html">WhoWasUser</a> *,<br> + nspace::hash< string >, <a class="el" href="structStrHashComp.html">StrHashComp</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a42">whowas_hash</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::deque< <a class="el" href="classcommand__t.html">command_t</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a43">command_table</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::vector< <a class="el" href="classExtMode.html">ExtMode</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a50">ExtModeList</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::vector< <a class="el" href="classExtMode.html">ExtMode</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a51">ExtModeList</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>typedef ExtModeList::iterator </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a51">ExtModeListIter</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>typedef ExtModeList::iterator </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a52">ExtModeListIter</a></td></tr> <tr><td colspan=2><br><h2>Functions</h2></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a53">ModeDefined</a> (char modechar, int type)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a54">ModeDefined</a> (char modechar, int type)</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a54">ModeIsListMode</a> (char modechar, int type)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a55">ModeIsListMode</a> (char modechar, int type)</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a55">ModeDefinedOper</a> (char modechar, int type)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a56">ModeDefinedOper</a> (char modechar, int type)</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a56">ModeDefinedOn</a> (char modechar, int type)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a57">ModeDefinedOn</a> (char modechar, int type)</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a57">ModeDefinedOff</a> (char modechar, int type)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a58">ModeDefinedOff</a> (char modechar, int type)</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a58">DoAddExtendedMode</a> (char modechar, int type, bool requires_oper, int params_on, int params_off)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a59">DoAddExtendedMode</a> (char modechar, int type, bool requires_oper, int params_on, int params_off)</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a59">ModeMakeList</a> (char modechar)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a60">ModeMakeList</a> (char modechar)</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< <a class="el" href="classModule.html">Module</a> * > </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a60">modules</a> (255)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< <a class="el" href="classModule.html">Module</a> * > </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a61">modules</a> (255)</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< <a class="el" href="modules_8h.html#a34">ircd_module</a> * > </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a61">factory</a> (255)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< <a class="el" href="modules_8h.html#a34">ircd_module</a> * > </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a62">factory</a> (255)</td></tr> <tr><td colspan=2><br><h2>Variables</h2></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a1">MODCOUNT</a> = -1</td></tr> @@ -169,21 +173,21 @@ <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classuserrec.html">userrec</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a38">fd_ref_table</a> [65536]</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="modules_8cpp.html#a39">user_hash</a> </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a43">clientlist</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="modules_8cpp.html#a39">user_hash</a> </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a44">clientlist</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="modules_8cpp.html#a40">chan_hash</a> </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a44">chanlist</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="modules_8cpp.html#a40">chan_hash</a> </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a45">chanlist</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="modules_8cpp.html#a39">user_hash</a> </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a45">whowas</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="modules_8cpp.html#a42">whowas_hash</a> </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a46">whowas</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="modules_8cpp.html#a42">command_table</a> </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a46">cmdlist</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="modules_8cpp.html#a43">command_table</a> </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a47">cmdlist</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="modules_8h.html#a31">file_cache</a> </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a47">MOTD</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="modules_8h.html#a31">file_cache</a> </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a48">MOTD</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="modules_8h.html#a31">file_cache</a> </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a48">RULES</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="modules_8h.html#a31">file_cache</a> </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a49">RULES</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="modules_8cpp.html#a41">address_cache</a> </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a49">IP</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="modules_8cpp.html#a41">address_cache</a> </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a50">IP</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="modules_8cpp.html#a50">ExtModeList</a> </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a52">EMode</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="modules_8cpp.html#a51">ExtModeList</a> </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a53">EMode</a></td></tr> </table> <hr><h2>Define Documentation</h2> @@ -260,13 +264,13 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00187">187</a> 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>. </td> </tr> </table> -<a name="a42" doxytag="modules.cpp::command_table"></a><p> +<a name="a43" doxytag="modules.cpp::command_table"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> typedef std::deque<<a class="el" href="classcommand__t.html">command_t</a>> <a class="el" href="modules_8cpp.html#a42">command_table</a> + <td class="md" nowrap valign="top"> typedef std::deque<<a class="el" href="classcommand__t.html">command_t</a>> <a class="el" href="modules_8cpp.html#a43">command_table</a> </table> </td> </tr> @@ -281,16 +285,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00186">186</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00188">188</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00189">189</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a50" doxytag="modules.cpp::ExtModeList"></a><p> +<a name="a51" doxytag="modules.cpp::ExtModeList"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <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>> <a class="el" href="modules_8cpp.html#a50">ExtModeList</a> + <td class="md" nowrap valign="top"> typedef std::vector<<a class="el" href="classExtMode.html">ExtMode</a>> <a class="el" href="modules_8cpp.html#a51">ExtModeList</a> </table> </td> </tr> @@ -305,16 +309,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00188">188</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00214">214</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#l00215">215</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a51" doxytag="modules.cpp::ExtModeListIter"></a><p> +<a name="a52" doxytag="modules.cpp::ExtModeListIter"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> typedef ExtModeList::iterator <a class="el" href="modules_8cpp.html#a51">ExtModeListIter</a> + <td class="md" nowrap valign="top"> typedef ExtModeList::iterator <a class="el" href="modules_8cpp.html#a52">ExtModeListIter</a> </table> </td> </tr> @@ -329,9 +333,9 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00214">214</a> <p> <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#l00216">216</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00221">ModeDefined()</a>, <a class="el" href="modules_8cpp-source.html#l00271">ModeDefinedOff()</a>, <a class="el" href="modules_8cpp-source.html#l00258">ModeDefinedOn()</a>, <a class="el" href="modules_8cpp-source.html#l00245">ModeDefinedOper()</a>, <a class="el" href="modules_8cpp-source.html#l00233">ModeIsListMode()</a>, and <a class="el" href="modules_8cpp-source.html#l00294">ModeMakeList()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00222">ModeDefined()</a>, <a class="el" href="modules_8cpp-source.html#l00272">ModeDefinedOff()</a>, <a class="el" href="modules_8cpp-source.html#l00259">ModeDefinedOn()</a>, <a class="el" href="modules_8cpp-source.html#l00246">ModeDefinedOper()</a>, <a class="el" href="modules_8cpp-source.html#l00234">ModeIsListMode()</a>, and <a class="el" href="modules_8cpp-source.html#l00295">ModeMakeList()</a>. </td> </tr> </table> <a name="a39" doxytag="modules.cpp::user_hash"></a><p> @@ -358,8 +362,32 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00221">ModeDefined() Definition at line <a class="el" href="modules_8cpp-source.html#l00185">185</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> +<a name="a42" doxytag="modules.cpp::whowas_hash"></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> typedef nspace::hash_map<std::string, <a class="el" href="classWhoWasUser.html">WhoWasUser</a>*, nspace::hash<string>, <a class="el" href="structStrHashComp.html">StrHashComp</a>> <a class="el" href="modules_8cpp.html#a42">whowas_hash</a> + </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#l00188">188</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> + </tr> +</table> <hr><h2>Function Documentation</h2> -<a name="a58" doxytag="modules.cpp::DoAddExtendedMode"></a><p> +<a name="a59" doxytag="modules.cpp::DoAddExtendedMode"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -414,23 +442,23 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00185">185</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00284">284</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00285">285</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8cpp-source.html#l00218">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00221">ModeDefined()</a>. +References <a class="el" href="modules_8cpp-source.html#l00219">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00222">ModeDefined()</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00666">Server::AddExtendedListMode()</a>, and <a class="el" href="modules_8cpp-source.html#l00638">Server::AddExtendedMode()</a>. +Referenced by <a class="el" href="modules_8cpp-source.html#l00667">Server::AddExtendedListMode()</a>, and <a class="el" href="modules_8cpp-source.html#l00639">Server::AddExtendedMode()</a>. <p> -<div class="fragment"><pre>00285 { -00286 <span class="keywordflow">if</span> (<a class="code" href="modules_8cpp.html#a53">ModeDefined</a>(modechar,type)) { -00287 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00288 } -00289 <a class="code" href="modules_8cpp.html#a52">EMode</a>.push_back(<a class="code" href="classExtMode.html">ExtMode</a>(modechar,type,requires_oper,params_on,params_off)); -00290 <span class="keywordflow">return</span> <span class="keyword">true</span>; -00291 } +<div class="fragment"><pre>00286 { +00287 <span class="keywordflow">if</span> (<a class="code" href="modules_8cpp.html#a54">ModeDefined</a>(modechar,type)) { +00288 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00289 } +00290 <a class="code" href="modules_8cpp.html#a53">EMode</a>.push_back(<a class="code" href="classExtMode.html">ExtMode</a>(modechar,type,requires_oper,params_on,params_off)); +00291 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00292 } </pre></div> </td> </tr> </table> -<a name="a61" doxytag="modules.cpp::factory"></a><p> +<a name="a62" doxytag="modules.cpp::factory"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -459,7 +487,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00666">Server::AddEx </td> </tr> </table> -<a name="a53" doxytag="modules.cpp::ModeDefined"></a><p> +<a name="a54" doxytag="modules.cpp::ModeDefined"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -496,26 +524,26 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00666">Server::AddEx <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00221">221</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00222">222</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8cpp-source.html#l00218">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00215">ExtModeListIter</a>. +References <a class="el" href="modules_8cpp-source.html#l00219">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00216">ExtModeListIter</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00284">DoAddExtendedMode()</a>. +Referenced by <a class="el" href="modules_8cpp-source.html#l00285">DoAddExtendedMode()</a>. <p> -<div class="fragment"><pre>00222 { -00223 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a51">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a52">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a52">EMode</a>.end(); i++) -00224 { -00225 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) -00226 { -00227 <span class="keywordflow">return</span> <span class="keyword">true</span>; -00228 } -00229 } -00230 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00231 } +<div class="fragment"><pre>00223 { +00224 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a52">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a53">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a53">EMode</a>.end(); i++) +00225 { +00226 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) +00227 { +00228 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00229 } +00230 } +00231 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00232 } </pre></div> </td> </tr> </table> -<a name="a57" doxytag="modules.cpp::ModeDefinedOff"></a><p> +<a name="a58" doxytag="modules.cpp::ModeDefinedOff"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -552,24 +580,24 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00284">DoAddExtended <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00271">271</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#l00272">272</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8cpp-source.html#l00218">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00215">ExtModeListIter</a>. +References <a class="el" href="modules_8cpp-source.html#l00219">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00216">ExtModeListIter</a>. <p> -<div class="fragment"><pre>00272 { -00273 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a51">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a52">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a52">EMode</a>.end(); i++) -00274 { -00275 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) -00276 { -00277 <span class="keywordflow">return</span> i->params_when_off; -00278 } -00279 } -00280 <span class="keywordflow">return</span> 0; -00281 } +<div class="fragment"><pre>00273 { +00274 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a52">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a53">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a53">EMode</a>.end(); i++) +00275 { +00276 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) +00277 { +00278 <span class="keywordflow">return</span> i->params_when_off; +00279 } +00280 } +00281 <span class="keywordflow">return</span> 0; +00282 } </pre></div> </td> </tr> </table> -<a name="a56" doxytag="modules.cpp::ModeDefinedOn"></a><p> +<a name="a57" doxytag="modules.cpp::ModeDefinedOn"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -606,24 +634,24 @@ References <a class="el" href="modules_8cpp-source.html#l00218">EMode</a>, and < <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00258">258</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00259">259</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8cpp-source.html#l00218">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00215">ExtModeListIter</a>. +References <a class="el" href="modules_8cpp-source.html#l00219">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00216">ExtModeListIter</a>. <p> -<div class="fragment"><pre>00259 { -00260 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a51">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a52">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a52">EMode</a>.end(); i++) -00261 { -00262 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) -00263 { -00264 <span class="keywordflow">return</span> i->params_when_on; -00265 } -00266 } -00267 <span class="keywordflow">return</span> 0; -00268 } +<div class="fragment"><pre>00260 { +00261 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a52">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a53">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a53">EMode</a>.end(); i++) +00262 { +00263 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) +00264 { +00265 <span class="keywordflow">return</span> i->params_when_on; +00266 } +00267 } +00268 <span class="keywordflow">return</span> 0; +00269 } </pre></div> </td> </tr> </table> -<a name="a55" doxytag="modules.cpp::ModeDefinedOper"></a><p> +<a name="a56" doxytag="modules.cpp::ModeDefinedOper"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -660,24 +688,24 @@ References <a class="el" href="modules_8cpp-source.html#l00218">EMode</a>, and < <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00245">245</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_8cpp-source.html#l00218">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00215">ExtModeListIter</a>. +References <a class="el" href="modules_8cpp-source.html#l00219">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00216">ExtModeListIter</a>. <p> -<div class="fragment"><pre>00246 { -00247 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a51">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a52">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a52">EMode</a>.end(); i++) -00248 { -00249 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type) && (i->needsoper == <span class="keyword">true</span>)) -00250 { -00251 <span class="keywordflow">return</span> <span class="keyword">true</span>; -00252 } -00253 } -00254 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00255 } +<div class="fragment"><pre>00247 { +00248 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a52">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a53">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a53">EMode</a>.end(); i++) +00249 { +00250 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type) && (i->needsoper == <span class="keyword">true</span>)) +00251 { +00252 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00253 } +00254 } +00255 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00256 } </pre></div> </td> </tr> </table> -<a name="a54" doxytag="modules.cpp::ModeIsListMode"></a><p> +<a name="a55" doxytag="modules.cpp::ModeIsListMode"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -714,24 +742,24 @@ References <a class="el" href="modules_8cpp-source.html#l00218">EMode</a>, and < <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00233">233</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#l00234">234</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8cpp-source.html#l00218">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00215">ExtModeListIter</a>. +References <a class="el" href="modules_8cpp-source.html#l00219">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00216">ExtModeListIter</a>. <p> -<div class="fragment"><pre>00234 { -00235 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a51">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a52">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a52">EMode</a>.end(); i++) -00236 { -00237 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type) && (i->list == <span class="keyword">true</span>)) -00238 { -00239 <span class="keywordflow">return</span> <span class="keyword">true</span>; -00240 } -00241 } -00242 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00243 } +<div class="fragment"><pre>00235 { +00236 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a52">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a53">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a53">EMode</a>.end(); i++) +00237 { +00238 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type) && (i->list == <span class="keyword">true</span>)) +00239 { +00240 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00241 } +00242 } +00243 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00244 } </pre></div> </td> </tr> </table> -<a name="a59" doxytag="modules.cpp::ModeMakeList"></a><p> +<a name="a60" doxytag="modules.cpp::ModeMakeList"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -759,27 +787,27 @@ References <a class="el" href="modules_8cpp-source.html#l00218">EMode</a>, and < <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00294">294</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00295">295</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8cpp-source.html#l00218">EMode</a>, <a class="el" href="modules_8cpp-source.html#l00215">ExtModeListIter</a>, and <a class="el" href="modules_8h-source.html#l00031">MT_CHANNEL</a>. +References <a class="el" href="modules_8cpp-source.html#l00219">EMode</a>, <a class="el" href="modules_8cpp-source.html#l00216">ExtModeListIter</a>, and <a class="el" href="modules_8h-source.html#l00031">MT_CHANNEL</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00666">Server::AddExtendedListMode()</a>. +Referenced by <a class="el" href="modules_8cpp-source.html#l00667">Server::AddExtendedListMode()</a>. <p> -<div class="fragment"><pre>00295 { -00296 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a51">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a52">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a52">EMode</a>.end(); i++) -00297 { -00298 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == <a class="code" href="modules_8h.html#a5">MT_CHANNEL</a>)) -00299 { -00300 i->list = <span class="keyword">true</span>; -00301 <span class="keywordflow">return</span>; -00302 } -00303 } -00304 <span class="keywordflow">return</span>; -00305 } +<div class="fragment"><pre>00296 { +00297 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a52">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a53">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a53">EMode</a>.end(); i++) +00298 { +00299 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == <a class="code" href="modules_8h.html#a5">MT_CHANNEL</a>)) +00300 { +00301 i->list = <span class="keyword">true</span>; +00302 <span class="keywordflow">return</span>; +00303 } +00304 } +00305 <span class="keywordflow">return</span>; +00306 } </pre></div> </td> </tr> </table> -<a name="a60" doxytag="modules.cpp::modules"></a><p> +<a name="a61" doxytag="modules.cpp::modules"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -929,13 +957,13 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00112">112</a> Definition at line <a class="el" href="modules_8cpp-source.html#l00106">106</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a44" doxytag="modules.cpp::chanlist"></a><p> +<a name="a45" doxytag="modules.cpp::chanlist"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> <a class="el" href="modules_8cpp.html#a40">chan_hash</a> <a class="el" href="modules_8cpp.html#a44">chanlist</a> + <td class="md" nowrap valign="top"> <a class="el" href="modules_8cpp.html#a40">chan_hash</a> <a class="el" href="modules_8cpp.html#a45">chanlist</a> </table> </td> </tr> @@ -950,16 +978,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00106">106</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00192">192</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +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>. </td> </tr> </table> -<a name="a43" doxytag="modules.cpp::clientlist"></a><p> +<a name="a44" doxytag="modules.cpp::clientlist"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> <a class="el" href="modules_8cpp.html#a39">user_hash</a> <a class="el" href="modules_8cpp.html#a43">clientlist</a> + <td class="md" nowrap valign="top"> <a class="el" href="modules_8cpp.html#a39">user_hash</a> <a class="el" href="modules_8cpp.html#a44">clientlist</a> </table> </td> </tr> @@ -974,16 +1002,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00192">192</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00191">191</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#l00192">192</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a46" doxytag="modules.cpp::cmdlist"></a><p> +<a name="a47" doxytag="modules.cpp::cmdlist"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> <a class="el" href="modules_8cpp.html#a42">command_table</a> <a class="el" href="modules_8cpp.html#a46">cmdlist</a> + <td class="md" nowrap valign="top"> <a class="el" href="modules_8cpp.html#a43">command_table</a> <a class="el" href="modules_8cpp.html#a47">cmdlist</a> </table> </td> </tr> @@ -998,7 +1026,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00191">191</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00194">194</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#l00195">195</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> <a name="a35" doxytag="modules.cpp::config_f"></a><p> @@ -1145,13 +1173,13 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00086">86</a> o 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>. </td> </tr> </table> -<a name="a52" doxytag="modules.cpp::EMode"></a><p> +<a name="a53" doxytag="modules.cpp::EMode"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> <a class="el" href="modules_8cpp.html#a50">ExtModeList</a> <a class="el" href="modules_8cpp.html#a52">EMode</a> + <td class="md" nowrap valign="top"> <a class="el" href="modules_8cpp.html#a51">ExtModeList</a> <a class="el" href="modules_8cpp.html#a53">EMode</a> </table> </td> </tr> @@ -1166,9 +1194,9 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00092">92</a> o <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00218">218</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#l00219">219</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#l00284">DoAddExtendedMode()</a>, <a class="el" href="modules_8cpp-source.html#l00221">ModeDefined()</a>, <a class="el" href="modules_8cpp-source.html#l00271">ModeDefinedOff()</a>, <a class="el" href="modules_8cpp-source.html#l00258">ModeDefinedOn()</a>, <a class="el" href="modules_8cpp-source.html#l00245">ModeDefinedOper()</a>, <a class="el" href="modules_8cpp-source.html#l00233">ModeIsListMode()</a>, and <a class="el" href="modules_8cpp-source.html#l00294">ModeMakeList()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00285">DoAddExtendedMode()</a>, <a class="el" href="modules_8cpp-source.html#l00222">ModeDefined()</a>, <a class="el" href="modules_8cpp-source.html#l00272">ModeDefinedOff()</a>, <a class="el" href="modules_8cpp-source.html#l00259">ModeDefinedOn()</a>, <a class="el" href="modules_8cpp-source.html#l00246">ModeDefinedOper()</a>, <a class="el" href="modules_8cpp-source.html#l00234">ModeIsListMode()</a>, and <a class="el" href="modules_8cpp-source.html#l00295">ModeMakeList()</a>. </td> </tr> </table> <a name="a3" doxytag="modules.cpp::factory"></a><p> @@ -1242,16 +1270,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00103">103</a> <p> Definition at line <a class="el" href="modules_8cpp-source.html#l00119">119</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00601">Server::FindDescriptor()</a>, and <a class="el" href="modules_8cpp-source.html#l00699">Server::PseudoToUser()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00602">Server::FindDescriptor()</a>, and <a class="el" href="modules_8cpp-source.html#l00700">Server::PseudoToUser()</a>. </td> </tr> </table> -<a name="a49" doxytag="modules.cpp::IP"></a><p> +<a name="a50" doxytag="modules.cpp::IP"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> <a class="el" href="modules_8cpp.html#a41">address_cache</a> <a class="el" href="modules_8cpp.html#a49">IP</a> + <td class="md" nowrap valign="top"> <a class="el" href="modules_8cpp.html#a41">address_cache</a> <a class="el" href="modules_8cpp.html#a50">IP</a> </table> </td> </tr> @@ -1266,7 +1294,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00601">Server::FindD <p> <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>. </td> +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>. </td> </tr> </table> <a name="a16" doxytag="modules.cpp::list"></a><p> @@ -1410,7 +1438,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00115">115</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l01066">1066</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#l01067">1067</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> <a name="a28" doxytag="modules.cpp::module_names"></a><p> @@ -1461,13 +1489,13 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00104">104</a> Definition at line <a class="el" href="modules_8cpp-source.html#l00074">74</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a47" doxytag="modules.cpp::MOTD"></a><p> +<a name="a48" doxytag="modules.cpp::MOTD"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> <a class="el" href="modules_8h.html#a31">file_cache</a> <a class="el" href="modules_8cpp.html#a47">MOTD</a> + <td class="md" nowrap valign="top"> <a class="el" href="modules_8h.html#a31">file_cache</a> <a class="el" href="modules_8cpp.html#a48">MOTD</a> </table> </td> </tr> @@ -1482,7 +1510,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00074">74</a> o <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00195">195</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00196">196</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> <a name="a14" doxytag="modules.cpp::motd"></a><p> @@ -1677,13 +1705,13 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00091">91</a> o Definition at line <a class="el" href="modules_8cpp-source.html#l00087">87</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a48" doxytag="modules.cpp::RULES"></a><p> +<a name="a49" doxytag="modules.cpp::RULES"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> <a class="el" href="modules_8h.html#a31">file_cache</a> <a class="el" href="modules_8cpp.html#a48">RULES</a> + <td class="md" nowrap valign="top"> <a class="el" href="modules_8h.html#a31">file_cache</a> <a class="el" href="modules_8cpp.html#a49">RULES</a> </table> </td> </tr> @@ -1698,7 +1726,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00087">87</a> o <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00196">196</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#l00197">197</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> <a name="a15" doxytag="modules.cpp::rules"></a><p> @@ -1845,13 +1873,13 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00098">98</a> o Definition at line <a class="el" href="modules_8cpp-source.html#l00077">77</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a45" doxytag="modules.cpp::whowas"></a><p> +<a name="a46" doxytag="modules.cpp::whowas"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> <a class="el" href="modules_8cpp.html#a39">user_hash</a> <a class="el" href="modules_8cpp.html#a45">whowas</a> + <td class="md" nowrap valign="top"> <a class="el" href="modules_8cpp.html#a42">whowas_hash</a> <a class="el" href="modules_8cpp.html#a46">whowas</a> </table> </td> </tr> @@ -1866,7 +1894,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00077">77</a> o <p> <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>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00194">194</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> <a name="a21" doxytag="modules.cpp::WHOWAS_MAX"></a><p> @@ -1917,7 +1945,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00096">96</a> o Definition at line <a class="el" href="modules_8cpp-source.html#l00095">95</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:16 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:00 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/modules_8h-source.html b/docs/module-doc/modules_8h-source.html index f8dd7dff6..d649f6438 100644 --- a/docs/module-doc/modules_8h-source.html +++ b/docs/module-doc/modules_8h-source.html @@ -449,7 +449,7 @@ <a name="l01304"></a><a class="code" href="modules_8h.html#a34">01304</a> <span class="keyword">typedef</span> DLLFactory<ModuleFactory> <a class="code" href="modules_8h.html#a34">ircd_module</a>; 01305 01306 <span class="preprocessor">#endif</span> -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:13 2005 for InspIRCd by +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:58:59 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/modules_8h.html b/docs/module-doc/modules_8h.html index d7e50acde..180f6aa2a 100644 --- a/docs/module-doc/modules_8h.html +++ b/docs/module-doc/modules_8h.html @@ -390,7 +390,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00039">39</a> of <p> Definition at line <a class="el" href="modules_8h-source.html#l00037">37</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00391">Module::OnAccessCheck()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00392">Module::OnAccessCheck()</a>. </td> </tr> </table> <a name="a9" doxytag="modules.h::ACR_DENY"></a><p> @@ -440,7 +440,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00038">38</a> of <p> Definition at line <a class="el" href="modules_8h-source.html#l01138">1138</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#l00869">ConfigReader::ConfigReader()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00870">ConfigReader::ConfigReader()</a>. </td> </tr> </table> <a name="a27" doxytag="modules.h::CONF_NOT_A_NUMBER"></a><p> @@ -466,7 +466,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00869">ConfigReader: <p> Definition at line <a class="el" href="modules_8h-source.html#l01135">1135</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#l00930">ConfigReader::ReadInteger()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00931">ConfigReader::ReadInteger()</a>. </td> </tr> </table> <a name="a28" doxytag="modules.h::CONF_NOT_UNSIGNED"></a><p> @@ -492,7 +492,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00930">ConfigReader: <p> Definition at line <a class="el" href="modules_8h-source.html#l01136">1136</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#l00930">ConfigReader::ReadInteger()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00931">ConfigReader::ReadInteger()</a>. </td> </tr> </table> <a name="a29" doxytag="modules.h::CONF_VALUE_NOT_FOUND"></a><p> @@ -518,7 +518,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00930">ConfigReader: <p> Definition at line <a class="el" href="modules_8h-source.html#l01137">1137</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#l00913">ConfigReader::ReadFlag()</a>, <a class="el" href="modules_8cpp-source.html#l00930">ConfigReader::ReadInteger()</a>, and <a class="el" href="modules_8cpp-source.html#l00897">ConfigReader::ReadValue()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00914">ConfigReader::ReadFlag()</a>, <a class="el" href="modules_8cpp-source.html#l00931">ConfigReader::ReadInteger()</a>, and <a class="el" href="modules_8cpp-source.html#l00898">ConfigReader::ReadValue()</a>. </td> </tr> </table> <a name="a0" doxytag="modules.h::DEBUG"></a><p> @@ -544,7 +544,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00913">ConfigReader: <p> Definition at line <a class="el" href="modules_8h-source.html#l00023">23</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00638">Server::AddExtendedMode()</a>, <a class="el" href="channels_8cpp-source.html#l00215">chanrec::AddUser()</a>, <a class="el" href="channels_8cpp-source.html#l00221">chanrec::DelUser()</a>, <a class="el" href="users_8cpp-source.html#l00118">userrec::HasPermission()</a>, <a class="el" href="channels_8cpp-source.html#l00181">chanrec::IsCustomModeSet()</a>, <a class="el" href="users_8cpp-source.html#l00096">userrec::RemoveInvite()</a>, <a class="el" href="channels_8cpp-source.html#l00125">chanrec::SetCustomMode()</a>, <a class="el" href="channels_8cpp-source.html#l00150">chanrec::SetCustomModeParam()</a>, <a class="el" href="users_8cpp-source.html#l00264">userrec::SetWriteError()</a>, and <a class="el" href="modules_8cpp-source.html#l00680">Server::UserToPseudo()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00639">Server::AddExtendedMode()</a>, <a class="el" href="channels_8cpp-source.html#l00207">chanrec::AddUser()</a>, <a class="el" href="channels_8cpp-source.html#l00213">chanrec::DelUser()</a>, <a class="el" href="users_8cpp-source.html#l00117">userrec::HasPermission()</a>, <a class="el" href="channels_8cpp-source.html#l00181">chanrec::IsCustomModeSet()</a>, <a class="el" href="users_8cpp-source.html#l00095">userrec::RemoveInvite()</a>, <a class="el" href="channels_8cpp-source.html#l00125">chanrec::SetCustomMode()</a>, <a class="el" href="channels_8cpp-source.html#l00150">chanrec::SetCustomModeParam()</a>, <a class="el" href="users_8cpp-source.html#l00263">userrec::SetWriteError()</a>, and <a class="el" href="modules_8cpp-source.html#l00681">Server::UserToPseudo()</a>. </td> </tr> </table> <a name="a2" doxytag="modules.h::DEFAULT"></a><p> @@ -594,7 +594,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00025">25</a> of <p> Definition at line <a class="el" href="modules_8h-source.html#l00099">99</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#l00699">Server::PseudoToUser()</a>, and <a class="el" href="modules_8cpp-source.html#l00680">Server::UserToPseudo()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00700">Server::PseudoToUser()</a>, and <a class="el" href="modules_8cpp-source.html#l00681">Server::UserToPseudo()</a>. </td> </tr> </table> <a name="a24" doxytag="modules.h::FOREACH_MOD"></a><p> @@ -620,7 +620,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00699">Server::Pseud <p> Definition at line <a class="el" href="modules_8h-source.html#l00079">79</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#l00356">Event::Send()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00357">Event::Send()</a>. </td> </tr> </table> <a name="a25" doxytag="modules.h::FOREACH_RESULT"></a><p> @@ -684,7 +684,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00087">87</a> of <p> Definition at line <a class="el" href="modules_8h-source.html#l00031">31</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00666">Server::AddExtendedListMode()</a>, and <a class="el" href="modules_8cpp-source.html#l00294">ModeMakeList()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00667">Server::AddExtendedListMode()</a>, and <a class="el" href="modules_8cpp-source.html#l00295">ModeMakeList()</a>. </td> </tr> </table> <a name="a6" doxytag="modules.h::MT_CLIENT"></a><p> @@ -710,7 +710,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00666">Server::AddEx <p> Definition at line <a class="el" href="modules_8h-source.html#l00032">32</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00638">Server::AddExtendedMode()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00639">Server::AddExtendedMode()</a>. </td> </tr> </table> <a name="a7" doxytag="modules.h::MT_SERVER"></a><p> @@ -736,7 +736,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00638">Server::AddEx <p> Definition at line <a class="el" href="modules_8h-source.html#l00033">33</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00638">Server::AddExtendedMode()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00639">Server::AddExtendedMode()</a>. </td> </tr> </table> <a name="a4" doxytag="modules.h::NONE"></a><p> @@ -906,7 +906,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00053">53</a> of <p> Definition at line <a class="el" href="modules_8h-source.html#l00054">54</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#l00382">Module::GetVersion()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00383">Module::GetVersion()</a>. </td> </tr> </table> <hr><h2>Typedef Documentation</h2> @@ -935,7 +935,7 @@ Holds a list of users in a channel. <p> Definition at line <a class="el" href="modules_8h-source.html#l00072">72</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00466">Server::GetUsers()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00467">Server::GetUsers()</a>. </td> </tr> </table> <a name="a31" doxytag="modules.h::file_cache"></a><p> @@ -963,7 +963,7 @@ Low level definition of a <a class="el" href="classFileReader.html">FileReader</ <p> Definition at line <a class="el" href="modules_8h-source.html#l00067">67</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#l01015">FileReader::FileReader()</a>, and <a class="el" href="modules_8cpp-source.html#l01026">FileReader::LoadFile()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l01016">FileReader::FileReader()</a>, and <a class="el" href="modules_8cpp-source.html#l01027">FileReader::LoadFile()</a>. </td> </tr> </table> <a name="a34" doxytag="modules.h::ircd_module"></a><p> @@ -1013,7 +1013,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l01304">1304</a> o <p> Definition at line <a class="el" href="modules_8h-source.html#l00068">68</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#l00393">Module::OnChannelSync()</a>, and <a class="el" href="modules_8cpp-source.html#l00392">Module::OnUserSync()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00394">Module::OnChannelSync()</a>, and <a class="el" href="modules_8cpp-source.html#l00393">Module::OnUserSync()</a>. </td> </tr> </table> <hr><h2>Function Documentation</h2> @@ -1072,7 +1072,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00393">Module::OnCha <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00503">Server::AddCommand()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00504">Server::AddCommand()</a>. </td> </tr> </table> <a name="a36" doxytag="modules.h::server_mode"></a><p> @@ -1118,10 +1118,10 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00503">Server::AddCo <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00508">Server::SendMode()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00509">Server::SendMode()</a>. </td> </tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:16 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:00 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/namespacenspace.html b/docs/module-doc/namespacenspace.html index 1e560dd80..7aed6f4ab 100644 --- a/docs/module-doc/namespacenspace.html +++ b/docs/module-doc/namespacenspace.html @@ -15,7 +15,7 @@ <tr><td class="memItemLeft" nowrap align=right valign=top>struct </td><td class="memItemRight" valign=bottom><a class="el" href="structnspace_1_1nspace_1_1hash_3_01string_01_4.html">nspace.hash< string ></a></td></tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:29 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:07 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/namespaces.html b/docs/module-doc/namespaces.html index ced11e9ed..1e080619e 100644 --- a/docs/module-doc/namespaces.html +++ b/docs/module-doc/namespaces.html @@ -9,7 +9,7 @@ <tr><td class="indexkey"><a class="el" href="namespacenspace.html">nspace</a></td><td class="indexvalue"></td></tr> <tr><td class="indexkey"><a class="el" href="namespacestd.html">std</a></td><td class="indexvalue"></td></tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:29 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:07 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/namespacestd.html b/docs/module-doc/namespacestd.html index 8dac21507..60f0c9bb9 100644 --- a/docs/module-doc/namespacestd.html +++ b/docs/module-doc/namespacestd.html @@ -10,7 +10,7 @@ <table border=0 cellpadding=0 cellspacing=0> <tr><td></td></tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:29 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:07 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/servers_8cpp-source.html b/docs/module-doc/servers_8cpp-source.html index bbcf5c632..3b6e56fa4 100644 --- a/docs/module-doc/servers_8cpp-source.html +++ b/docs/module-doc/servers_8cpp-source.html @@ -34,10 +34,10 @@ 00027 { 00028 strlcpy(<a class="code" href="classserverrec.html#o0">name</a>,<span class="stringliteral">""</span>,256); 00029 <a class="code" href="classserverrec.html#o1">pingtime</a> = 0; -00030 <a class="code" href="classconnection.html#o12">lastping</a> = <a class="code" href="channels_8cpp.html#a37">TIME</a>; +00030 <a class="code" href="classconnection.html#o10">lastping</a> = <a class="code" href="channels_8cpp.html#a37">TIME</a>; 00031 <a class="code" href="classserverrec.html#o2">usercount_i</a> = <a class="code" href="classserverrec.html#o3">usercount</a> = <a class="code" href="classserverrec.html#o4">opercount</a> = <a class="code" href="classserverrec.html#o6">version</a> = 0; 00032 <a class="code" href="classserverrec.html#o5">hops_away</a> = 1; -00033 <a class="code" href="classconnection.html#o13">signon</a> = <a class="code" href="channels_8cpp.html#a37">TIME</a>; +00033 <a class="code" href="classconnection.html#o11">signon</a> = <a class="code" href="channels_8cpp.html#a37">TIME</a>; 00034 <a class="code" href="classserverrec.html#o7">jupiter</a> = <span class="keyword">false</span>; 00035 <a class="code" href="classconnection.html#o0">fd</a> = 0; 00036 <a class="code" href="classserverrec.html#o10">sync_soon</a> = <span class="keyword">false</span>; @@ -52,18 +52,18 @@ <a name="l00045"></a><a class="code" href="classserverrec.html#a1">00045</a> <a class="code" href="classserverrec.html#a0">serverrec::serverrec</a>(<span class="keywordtype">char</span>* n, <span class="keywordtype">long</span> ver, <span class="keywordtype">bool</span> jupe) 00046 { 00047 strlcpy(<a class="code" href="classserverrec.html#o0">name</a>,n,256); -00048 <a class="code" href="classconnection.html#o12">lastping</a> = <a class="code" href="channels_8cpp.html#a37">TIME</a>; +00048 <a class="code" href="classconnection.html#o10">lastping</a> = <a class="code" href="channels_8cpp.html#a37">TIME</a>; 00049 <a class="code" href="classserverrec.html#o2">usercount_i</a> = <a class="code" href="classserverrec.html#o3">usercount</a> = <a class="code" href="classserverrec.html#o4">opercount</a> = 0; 00050 <a class="code" href="classserverrec.html#o6">version</a> = ver; 00051 <a class="code" href="classserverrec.html#o5">hops_away</a> = 1; -00052 <a class="code" href="classconnection.html#o13">signon</a> = <a class="code" href="channels_8cpp.html#a37">TIME</a>; +00052 <a class="code" href="classconnection.html#o11">signon</a> = <a class="code" href="channels_8cpp.html#a37">TIME</a>; 00053 <a class="code" href="classserverrec.html#o7">jupiter</a> = jupe; 00054 <a class="code" href="classconnection.html#o0">fd</a> = 0; 00055 <a class="code" href="classserverrec.html#o10">sync_soon</a> = <span class="keyword">false</span>; 00056 strlcpy(<a class="code" href="classserverrec.html#o9">nickserv</a>,<span class="stringliteral">""</span>,NICKMAX); 00057 } 00058 -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:13 2005 for InspIRCd by +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:58:59 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/servers_8cpp.html b/docs/module-doc/servers_8cpp.html index 776c4f9e8..ec18f8fda 100644 --- a/docs/module-doc/servers_8cpp.html +++ b/docs/module-doc/servers_8cpp.html @@ -44,7 +44,7 @@ Definition at line <a class="el" href="servers_8cpp-source.html#l00024">24</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>. </td> </tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:16 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:00 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/servers_8h-source.html b/docs/module-doc/servers_8h-source.html index 3c443abc6..bf748c04b 100644 --- a/docs/module-doc/servers_8h-source.html +++ b/docs/module-doc/servers_8h-source.html @@ -61,7 +61,7 @@ 00082 00083 <span class="preprocessor">#endif</span> 00084 <span class="preprocessor"></span> -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:13 2005 for InspIRCd by +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:58:59 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/servers_8h.html b/docs/module-doc/servers_8h.html index 0b760db97..d26e898db 100644 --- a/docs/module-doc/servers_8h.html +++ b/docs/module-doc/servers_8h.html @@ -72,7 +72,7 @@ Definition at line <a class="el" href="servers_8h-source.html#l00025">25</a> of Definition at line <a class="el" href="servers_8h-source.html#l00026">26</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>. </td> </tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:16 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:00 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/structInAddr__HashComp-members.html b/docs/module-doc/structInAddr__HashComp-members.html index 951c05837..11adac43d 100644 --- a/docs/module-doc/structInAddr__HashComp-members.html +++ b/docs/module-doc/structInAddr__HashComp-members.html @@ -7,7 +7,7 @@ <div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">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></div> <h1>InAddr_HashComp Member List</h1>This is the complete list of members for <a class="el" href="structInAddr__HashComp.html">InAddr_HashComp</a>, including all inherited members.<table> <tr class="memlist"><td><a class="el" href="structInAddr__HashComp.html#a0">operator()</a>(const in_addr &s1, const in_addr &s2) const</td><td><a class="el" href="structInAddr__HashComp.html">InAddr_HashComp</a></td><td><code> [inline]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:21 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:03 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/structInAddr__HashComp.html b/docs/module-doc/structInAddr__HashComp.html index 88b933b91..6f795ce6e 100644 --- a/docs/module-doc/structInAddr__HashComp.html +++ b/docs/module-doc/structInAddr__HashComp.html @@ -65,7 +65,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00171">171</a> </table> <hr>The documentation for this struct was generated from the following file:<ul> <li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:21 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:03 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/structStrHashComp-members.html b/docs/module-doc/structStrHashComp-members.html index ab85bd8d7..d79e1ed66 100644 --- a/docs/module-doc/structStrHashComp-members.html +++ b/docs/module-doc/structStrHashComp-members.html @@ -7,7 +7,7 @@ <div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">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></div> <h1>StrHashComp Member List</h1>This is the complete list of members for <a class="el" href="structStrHashComp.html">StrHashComp</a>, including all inherited members.<table> <tr class="memlist"><td><a class="el" href="structStrHashComp.html#a0">operator()</a>(const string &s1, const string &s2) const</td><td><a class="el" href="structStrHashComp.html">StrHashComp</a></td><td><code> [inline]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:28 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:06 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/structStrHashComp.html b/docs/module-doc/structStrHashComp.html index fa19cfc59..8f6db6891 100644 --- a/docs/module-doc/structStrHashComp.html +++ b/docs/module-doc/structStrHashComp.html @@ -64,7 +64,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00156">156</a> </table> <hr>The documentation for this struct was generated from the following file:<ul> <li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:28 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:06 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/structdns__ip4list-members.html b/docs/module-doc/structdns__ip4list-members.html index fce7a30d8..5ebfc16f9 100644 --- a/docs/module-doc/structdns__ip4list-members.html +++ b/docs/module-doc/structdns__ip4list-members.html @@ -8,7 +8,7 @@ <h1>dns_ip4list Member List</h1>This is the complete list of members for <a class="el" href="structdns__ip4list.html">dns_ip4list</a>, including all inherited members.<table> <tr class="memlist"><td><a class="el" href="structdns__ip4list.html#o0">ip</a></td><td><a class="el" href="structdns__ip4list.html">dns_ip4list</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="structdns__ip4list.html#o1">next</a></td><td><a class="el" href="structdns__ip4list.html">dns_ip4list</a></td><td></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:20 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:02 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/structdns__ip4list.html b/docs/module-doc/structdns__ip4list.html index 9076908a6..be470a76a 100644 --- a/docs/module-doc/structdns__ip4list.html +++ b/docs/module-doc/structdns__ip4list.html @@ -66,7 +66,7 @@ Definition at line <a class="el" href="dns_8h-source.html#l00028">28</a> of file </table> <hr>The documentation for this struct was generated from the following file:<ul> <li><a class="el" href="dns_8h-source.html">dns.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:20 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:02 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01in__addr_01_4-members.html b/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01in__addr_01_4-members.html index e85ac6e89..bd2a66c39 100644 --- a/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01in__addr_01_4-members.html +++ b/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01in__addr_01_4-members.html @@ -7,7 +7,7 @@ <div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">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></div> <h1>nspace::hash< in_addr > Member List</h1>This is the complete list of members for <a class="el" href="structnspace_1_1nspace_1_1hash_3_01in__addr_01_4.html">nspace::hash< in_addr ></a>, including all inherited members.<table> <tr class="memlist"><td><a class="el" href="structnspace_1_1nspace_1_1hash_3_01in__addr_01_4.html#a0">operator()</a>(const struct in_addr &a) const</td><td><a class="el" href="structnspace_1_1nspace_1_1hash_3_01in__addr_01_4.html">nspace::hash< in_addr ></a></td><td><code> [inline]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:29 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:07 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01in__addr_01_4.html b/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01in__addr_01_4.html index e23d5d983..d3a171cc8 100644 --- a/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01in__addr_01_4.html +++ b/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01in__addr_01_4.html @@ -55,7 +55,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00129">129</a> </table> <hr>The documentation for this struct was generated from the following file:<ul> <li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:29 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:07 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01string_01_4-members.html b/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01string_01_4-members.html index 1a59a61ea..5b8b255f4 100644 --- a/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01string_01_4-members.html +++ b/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01string_01_4-members.html @@ -7,7 +7,7 @@ <div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">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></div> <h1>nspace::hash< string > Member List</h1>This is the complete list of members for <a class="el" href="structnspace_1_1nspace_1_1hash_3_01string_01_4.html">nspace::hash< string ></a>, including all inherited members.<table> <tr class="memlist"><td><a class="el" href="structnspace_1_1nspace_1_1hash_3_01string_01_4.html#a0">operator()</a>(const string &s) const</td><td><a class="el" href="structnspace_1_1nspace_1_1hash_3_01string_01_4.html">nspace::hash< string ></a></td><td><code> [inline]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:29 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:07 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01string_01_4.html b/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01string_01_4.html index a35172501..3c48404b4 100644 --- a/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01string_01_4.html +++ b/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01string_01_4.html @@ -57,7 +57,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00142">142</a> </table> <hr>The documentation for this struct was generated from the following file:<ul> <li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:29 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:07 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/tree.html b/docs/module-doc/tree.html index e5b64e514..19fa64caa 100644 --- a/docs/module-doc/tree.html +++ b/docs/module-doc/tree.html @@ -169,6 +169,7 @@ <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classucrec.html" target="basefrm">ucrec</a></p> <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classuserrec.html" target="basefrm">userrec</a></p> <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classVersion.html" target="basefrm">Version</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classWhoWasUser.html" target="basefrm">WhoWasUser</a></p> <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classXLine.html" target="basefrm">XLine</a></p> <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2lastnode.png" alt="\" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classZLine.html" target="basefrm">ZLine</a></p> </div> @@ -224,7 +225,8 @@ <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="structInAddr__HashComp.html" target="basefrm">InAddr_HashComp</a></p> <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="structnspace_1_1nspace_1_1hash_3_01in__addr_01_4.html" target="basefrm">nspace::hash< in_addr ></a></p> <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="structnspace_1_1nspace_1_1hash_3_01string_01_4.html" target="basefrm">nspace::hash< string ></a></p> - <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2lastnode.png" alt="\" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="structStrHashComp.html" target="basefrm">StrHashComp</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="structStrHashComp.html" target="basefrm">StrHashComp</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2lastnode.png" alt="\" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classWhoWasUser.html" target="basefrm">WhoWasUser</a></p> </div> <p><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="functions.html" target="basefrm">Compound Members</a></p> <p><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder10', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder10', this)"/><a class="el" href="namespaces.html" target="basefrm">Namespace List</a></p> diff --git a/docs/module-doc/users_8cpp-source.html b/docs/module-doc/users_8cpp-source.html index 5a5d09547..b17e945a7 100644 --- a/docs/module-doc/users_8cpp-source.html +++ b/docs/module-doc/users_8cpp-source.html @@ -43,244 +43,243 @@ 00036 strcpy(<a class="code" href="classuserrec.html#o2">dhost</a>,<span class="stringliteral">""</span>); 00037 strcpy(<a class="code" href="classuserrec.html#o3">fullname</a>,<span class="stringliteral">""</span>); 00038 strcpy(<a class="code" href="classuserrec.html#o4">modes</a>,<span class="stringliteral">""</span>); -00039 strcpy(<a class="code" href="classconnection.html#o3">inbuf</a>,<span class="stringliteral">""</span>); -00040 strcpy(<a class="code" href="classuserrec.html#o6">server</a>,<span class="stringliteral">""</span>); -00041 strcpy(<a class="code" href="classuserrec.html#o7">awaymsg</a>,<span class="stringliteral">""</span>); -00042 strcpy(<a class="code" href="classuserrec.html#o11">oper</a>,<span class="stringliteral">""</span>); -00043 <a class="code" href="classuserrec.html#o18">reset_due</a> = <a class="code" href="channels_8cpp.html#a37">TIME</a>; -00044 <a class="code" href="classuserrec.html#o17">lines_in</a> = 0; -00045 <a class="code" href="classconnection.html#o0">fd</a> = <a class="code" href="classconnection.html#o12">lastping</a> = <a class="code" href="classconnection.html#o13">signon</a> = <a class="code" href="classconnection.html#o14">idle_lastmsg</a> = <a class="code" href="classconnection.html#o15">nping</a> = <a class="code" href="classconnection.html#o10">registered</a> = 0; -00046 <a class="code" href="classuserrec.html#o9">flood</a> = <a class="code" href="classconnection.html#o9">port</a> = <a class="code" href="classconnection.html#o4">bytes_in</a> = <a class="code" href="classconnection.html#o5">bytes_out</a> = <a class="code" href="classconnection.html#o6">cmds_in</a> = <a class="code" href="classconnection.html#o7">cmds_out</a> = 0; -00047 <a class="code" href="classconnection.html#o8">haspassed</a> = <span class="keyword">false</span>; -00048 <a class="code" href="classuserrec.html#o12">dns_done</a> = <span class="keyword">false</span>; -00049 <a class="code" href="classuserrec.html#o15">recvq</a> = <span class="stringliteral">""</span>; -00050 <a class="code" href="classuserrec.html#o16">sendq</a> = <span class="stringliteral">""</span>; -00051 strcpy(<a class="code" href="classuserrec.html#o8">result</a>,<span class="stringliteral">""</span>); -00052 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < MAXCHANS; i++) -00053 { -00054 this-><a class="code" href="classuserrec.html#o5">chans</a>[i].<a class="code" href="classucrec.html#o1">channel</a> = NULL; -00055 this-><a class="code" href="classuserrec.html#o5">chans</a>[i].<a class="code" href="classucrec.html#o0">uc_modes</a> = 0; -00056 } -00057 <a class="code" href="classuserrec.html#r0">invites</a>.clear(); -00058 } +00039 strcpy(<a class="code" href="classuserrec.html#o6">server</a>,<span class="stringliteral">""</span>); +00040 strcpy(<a class="code" href="classuserrec.html#o7">awaymsg</a>,<span class="stringliteral">""</span>); +00041 strcpy(<a class="code" href="classuserrec.html#o11">oper</a>,<span class="stringliteral">""</span>); +00042 <a class="code" href="classuserrec.html#o18">reset_due</a> = <a class="code" href="channels_8cpp.html#a37">TIME</a>; +00043 <a class="code" href="classuserrec.html#o17">lines_in</a> = 0; +00044 <a class="code" href="classconnection.html#o0">fd</a> = <a class="code" href="classconnection.html#o10">lastping</a> = <a class="code" href="classconnection.html#o11">signon</a> = <a class="code" href="classconnection.html#o12">idle_lastmsg</a> = <a class="code" href="classconnection.html#o13">nping</a> = <a class="code" href="classconnection.html#o9">registered</a> = 0; +00045 <a class="code" href="classuserrec.html#o9">flood</a> = <a class="code" href="classconnection.html#o8">port</a> = <a class="code" href="classconnection.html#o3">bytes_in</a> = <a class="code" href="classconnection.html#o4">bytes_out</a> = <a class="code" href="classconnection.html#o5">cmds_in</a> = <a class="code" href="classconnection.html#o6">cmds_out</a> = 0; +00046 <a class="code" href="classconnection.html#o7">haspassed</a> = <span class="keyword">false</span>; +00047 <a class="code" href="classuserrec.html#o12">dns_done</a> = <span class="keyword">false</span>; +00048 <a class="code" href="classuserrec.html#o15">recvq</a> = <span class="stringliteral">""</span>; +00049 <a class="code" href="classuserrec.html#o16">sendq</a> = <span class="stringliteral">""</span>; +00050 strcpy(<a class="code" href="classuserrec.html#o8">result</a>,<span class="stringliteral">""</span>); +00051 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < MAXCHANS; i++) +00052 { +00053 this-><a class="code" href="classuserrec.html#o5">chans</a>[i].<a class="code" href="classucrec.html#o1">channel</a> = NULL; +00054 this-><a class="code" href="classuserrec.html#o5">chans</a>[i].<a class="code" href="classucrec.html#o0">uc_modes</a> = 0; +00055 } +00056 <a class="code" href="classuserrec.html#r0">invites</a>.clear(); +00057 } +00058 00059 -00060 -00061 -<a name="l00062"></a><a class="code" href="classuserrec.html#a2">00062</a> <span class="keywordtype">char</span>* <a class="code" href="classuserrec.html#a2">userrec::GetFullHost</a>() -00063 { -00064 snprintf(<a class="code" href="classuserrec.html#o8">result</a>,MAXBUF,<span class="stringliteral">"%s!%s@%s"</span>,<a class="code" href="classuserrec.html#o0">nick</a>,<a class="code" href="classuserrec.html#o1">ident</a>,<a class="code" href="classuserrec.html#o2">dhost</a>); -00065 <span class="keywordflow">return</span> <a class="code" href="classuserrec.html#o8">result</a>; -00066 } +00060 +<a name="l00061"></a><a class="code" href="classuserrec.html#a2">00061</a> <span class="keywordtype">char</span>* <a class="code" href="classuserrec.html#a2">userrec::GetFullHost</a>() +00062 { +00063 snprintf(<a class="code" href="classuserrec.html#o8">result</a>,MAXBUF,<span class="stringliteral">"%s!%s@%s"</span>,<a class="code" href="classuserrec.html#o0">nick</a>,<a class="code" href="classuserrec.html#o1">ident</a>,<a class="code" href="classuserrec.html#o2">dhost</a>); +00064 <span class="keywordflow">return</span> <a class="code" href="classuserrec.html#o8">result</a>; +00065 } +00066 00067 -00068 -<a name="l00069"></a><a class="code" href="classuserrec.html#a3">00069</a> <span class="keywordtype">char</span>* <a class="code" href="classuserrec.html#a3">userrec::GetFullRealHost</a>() -00070 { -00071 snprintf(<a class="code" href="classuserrec.html#o8">result</a>,MAXBUF,<span class="stringliteral">"%s!%s@%s"</span>,<a class="code" href="classuserrec.html#o0">nick</a>,<a class="code" href="classuserrec.html#o1">ident</a>,<a class="code" href="classconnection.html#o1">host</a>); -00072 <span class="keywordflow">return</span> <a class="code" href="classuserrec.html#o8">result</a>; -00073 } -00074 -<a name="l00075"></a><a class="code" href="classuserrec.html#a4">00075</a> <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#a4">userrec::IsInvited</a>(<span class="keywordtype">char</span>* channel) -00076 { -00077 <span class="keywordflow">for</span> (InvitedList::iterator i = <a class="code" href="classuserrec.html#r0">invites</a>.begin(); i != <a class="code" href="classuserrec.html#r0">invites</a>.end(); i++) -00078 { -00079 <span class="keywordflow">if</span> (i->channel) { -00080 <span class="keywordflow">if</span> (!strcasecmp(i->channel,channel)) -00081 { -00082 <span class="keywordflow">return</span> <span class="keyword">true</span>; -00083 } -00084 } -00085 } -00086 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00087 } -00088 -<a name="l00089"></a><a class="code" href="classuserrec.html#a5">00089</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a5">userrec::InviteTo</a>(<span class="keywordtype">char</span>* channel) -00090 { -00091 <a class="code" href="classInvited.html">Invited</a> i; -00092 strlcpy(i.<a class="code" href="classInvited.html#o0">channel</a>,channel,CHANMAX); -00093 <a class="code" href="classuserrec.html#r0">invites</a>.push_back(i); -00094 } -00095 -<a name="l00096"></a><a class="code" href="classuserrec.html#a6">00096</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a6">userrec::RemoveInvite</a>(<span class="keywordtype">char</span>* channel) -00097 { -00098 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Removing invites"</span>); -00099 <span class="keywordflow">if</span> (channel) -00100 { -00101 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#r0">invites</a>.size()) -00102 { -00103 <span class="keywordflow">for</span> (InvitedList::iterator i = <a class="code" href="classuserrec.html#r0">invites</a>.begin(); i != <a class="code" href="classuserrec.html#r0">invites</a>.end(); i++) -00104 { -00105 <span class="keywordflow">if</span> (i->channel) -00106 { -00107 <span class="keywordflow">if</span> (!strcasecmp(i->channel,channel)) -00108 { -00109 <a class="code" href="classuserrec.html#r0">invites</a>.erase(i); -00110 <span class="keywordflow">return</span>; -00111 } -00112 } -00113 } -00114 } -00115 } -00116 } -00117 -<a name="l00118"></a><a class="code" href="classuserrec.html#a7">00118</a> <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#a7">userrec::HasPermission</a>(<span class="keywordtype">char</span>* command) -00119 { -00120 <span class="keywordtype">char</span> TypeName[MAXBUF],Classes[MAXBUF],ClassName[MAXBUF],CommandList[MAXBUF]; -00121 <span class="keywordtype">char</span>* mycmd; -00122 <span class="keywordtype">char</span>* savept; -00123 <span class="keywordtype">char</span>* savept2; -00124 -00125 <span class="comment">// are they even an oper at all?</span> -00126 <span class="keywordflow">if</span> (strchr(this->modes,<span class="charliteral">'o'</span>)) -00127 { -00128 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"*** HasPermission: %s is an oper"</span>,this->nick); -00129 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> j =0; j < ConfValueEnum(<span class="stringliteral">"type"</span>,&<a class="code" href="channels_8cpp.html#a34">config_f</a>); j++) -00130 { -00131 ConfValue(<span class="stringliteral">"type"</span>,<span class="stringliteral">"name"</span>,j,TypeName,&<a class="code" href="channels_8cpp.html#a34">config_f</a>); -00132 <span class="keywordflow">if</span> (!strcmp(TypeName,this->oper)) -00133 { -00134 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"*** HasPermission: %s is an oper of type '%s'"</span>,this->nick,this->oper); -00135 ConfValue(<span class="stringliteral">"type"</span>,<span class="stringliteral">"classes"</span>,j,Classes,&<a class="code" href="channels_8cpp.html#a34">config_f</a>); -00136 <span class="keywordtype">char</span>* myclass = strtok_r(Classes,<span class="stringliteral">" "</span>,&savept); -00137 <span class="keywordflow">while</span> (myclass) -00138 { -00139 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"*** HasPermission: checking classtype '%s'"</span>,myclass); -00140 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> k =0; k < ConfValueEnum(<span class="stringliteral">"class"</span>,&<a class="code" href="channels_8cpp.html#a34">config_f</a>); k++) -00141 { -00142 ConfValue(<span class="stringliteral">"class"</span>,<span class="stringliteral">"name"</span>,k,ClassName,&<a class="code" href="channels_8cpp.html#a34">config_f</a>); -00143 <span class="keywordflow">if</span> (!strcmp(ClassName,myclass)) -00144 { -00145 ConfValue(<span class="stringliteral">"class"</span>,<span class="stringliteral">"commands"</span>,k,CommandList,&<a class="code" href="channels_8cpp.html#a34">config_f</a>); -00146 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"*** HasPermission: found class named %s with commands: '%s'"</span>,ClassName,CommandList); +<a name="l00068"></a><a class="code" href="classuserrec.html#a3">00068</a> <span class="keywordtype">char</span>* <a class="code" href="classuserrec.html#a3">userrec::GetFullRealHost</a>() +00069 { +00070 snprintf(<a class="code" href="classuserrec.html#o8">result</a>,MAXBUF,<span class="stringliteral">"%s!%s@%s"</span>,<a class="code" href="classuserrec.html#o0">nick</a>,<a class="code" href="classuserrec.html#o1">ident</a>,<a class="code" href="classconnection.html#o1">host</a>); +00071 <span class="keywordflow">return</span> <a class="code" href="classuserrec.html#o8">result</a>; +00072 } +00073 +<a name="l00074"></a><a class="code" href="classuserrec.html#a4">00074</a> <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#a4">userrec::IsInvited</a>(<span class="keywordtype">char</span>* channel) +00075 { +00076 <span class="keywordflow">for</span> (InvitedList::iterator i = <a class="code" href="classuserrec.html#r0">invites</a>.begin(); i != <a class="code" href="classuserrec.html#r0">invites</a>.end(); i++) +00077 { +00078 <span class="keywordflow">if</span> (i->channel) { +00079 <span class="keywordflow">if</span> (!strcasecmp(i->channel,channel)) +00080 { +00081 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00082 } +00083 } +00084 } +00085 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00086 } +00087 +<a name="l00088"></a><a class="code" href="classuserrec.html#a5">00088</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a5">userrec::InviteTo</a>(<span class="keywordtype">char</span>* channel) +00089 { +00090 <a class="code" href="classInvited.html">Invited</a> i; +00091 strlcpy(i.<a class="code" href="classInvited.html#o0">channel</a>,channel,CHANMAX); +00092 <a class="code" href="classuserrec.html#r0">invites</a>.push_back(i); +00093 } +00094 +<a name="l00095"></a><a class="code" href="classuserrec.html#a6">00095</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a6">userrec::RemoveInvite</a>(<span class="keywordtype">char</span>* channel) +00096 { +00097 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Removing invites"</span>); +00098 <span class="keywordflow">if</span> (channel) +00099 { +00100 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#r0">invites</a>.size()) +00101 { +00102 <span class="keywordflow">for</span> (InvitedList::iterator i = <a class="code" href="classuserrec.html#r0">invites</a>.begin(); i != <a class="code" href="classuserrec.html#r0">invites</a>.end(); i++) +00103 { +00104 <span class="keywordflow">if</span> (i->channel) +00105 { +00106 <span class="keywordflow">if</span> (!strcasecmp(i->channel,channel)) +00107 { +00108 <a class="code" href="classuserrec.html#r0">invites</a>.erase(i); +00109 <span class="keywordflow">return</span>; +00110 } +00111 } +00112 } +00113 } +00114 } +00115 } +00116 +<a name="l00117"></a><a class="code" href="classuserrec.html#a7">00117</a> <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#a7">userrec::HasPermission</a>(<span class="keywordtype">char</span>* command) +00118 { +00119 <span class="keywordtype">char</span> TypeName[MAXBUF],Classes[MAXBUF],ClassName[MAXBUF],CommandList[MAXBUF]; +00120 <span class="keywordtype">char</span>* mycmd; +00121 <span class="keywordtype">char</span>* savept; +00122 <span class="keywordtype">char</span>* savept2; +00123 +00124 <span class="comment">// are they even an oper at all?</span> +00125 <span class="keywordflow">if</span> (strchr(this->modes,<span class="charliteral">'o'</span>)) +00126 { +00127 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"*** HasPermission: %s is an oper"</span>,this->nick); +00128 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> j =0; j < ConfValueEnum(<span class="stringliteral">"type"</span>,&<a class="code" href="channels_8cpp.html#a34">config_f</a>); j++) +00129 { +00130 ConfValue(<span class="stringliteral">"type"</span>,<span class="stringliteral">"name"</span>,j,TypeName,&<a class="code" href="channels_8cpp.html#a34">config_f</a>); +00131 <span class="keywordflow">if</span> (!strcmp(TypeName,this->oper)) +00132 { +00133 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"*** HasPermission: %s is an oper of type '%s'"</span>,this->nick,this->oper); +00134 ConfValue(<span class="stringliteral">"type"</span>,<span class="stringliteral">"classes"</span>,j,Classes,&<a class="code" href="channels_8cpp.html#a34">config_f</a>); +00135 <span class="keywordtype">char</span>* myclass = strtok_r(Classes,<span class="stringliteral">" "</span>,&savept); +00136 <span class="keywordflow">while</span> (myclass) +00137 { +00138 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"*** HasPermission: checking classtype '%s'"</span>,myclass); +00139 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> k =0; k < ConfValueEnum(<span class="stringliteral">"class"</span>,&<a class="code" href="channels_8cpp.html#a34">config_f</a>); k++) +00140 { +00141 ConfValue(<span class="stringliteral">"class"</span>,<span class="stringliteral">"name"</span>,k,ClassName,&<a class="code" href="channels_8cpp.html#a34">config_f</a>); +00142 <span class="keywordflow">if</span> (!strcmp(ClassName,myclass)) +00143 { +00144 ConfValue(<span class="stringliteral">"class"</span>,<span class="stringliteral">"commands"</span>,k,CommandList,&<a class="code" href="channels_8cpp.html#a34">config_f</a>); +00145 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"*** HasPermission: found class named %s with commands: '%s'"</span>,ClassName,CommandList); +00146 00147 -00148 -00149 mycmd = strtok_r(CommandList,<span class="stringliteral">" "</span>,&savept2); -00150 <span class="keywordflow">while</span> (mycmd) -00151 { -00152 <span class="keywordflow">if</span> (!strcasecmp(mycmd,command)) -00153 { -00154 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"*** Command %s found, returning true"</span>,command); -00155 <span class="keywordflow">return</span> <span class="keyword">true</span>; -00156 } -00157 mycmd = strtok_r(NULL,<span class="stringliteral">" "</span>,&savept2); -00158 } -00159 } -00160 } -00161 myclass = strtok_r(NULL,<span class="stringliteral">" "</span>,&savept); -00162 } -00163 } -00164 } -00165 } -00166 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00167 } +00148 mycmd = strtok_r(CommandList,<span class="stringliteral">" "</span>,&savept2); +00149 <span class="keywordflow">while</span> (mycmd) +00150 { +00151 <span class="keywordflow">if</span> (!strcasecmp(mycmd,command)) +00152 { +00153 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"*** Command %s found, returning true"</span>,command); +00154 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00155 } +00156 mycmd = strtok_r(NULL,<span class="stringliteral">" "</span>,&savept2); +00157 } +00158 } +00159 } +00160 myclass = strtok_r(NULL,<span class="stringliteral">" "</span>,&savept); +00161 } +00162 } +00163 } +00164 } +00165 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00166 } +00167 00168 -00169 -<a name="l00170"></a><a class="code" href="classuserrec.html#a8">00170</a> <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#a8">userrec::AddBuffer</a>(std::string a) -00171 { -00172 std::string b = <span class="stringliteral">""</span>; -00173 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < a.length(); i++) -00174 <span class="keywordflow">if</span> ((a[i] != <span class="charliteral">'\r'</span>) && (a[i] != <span class="charliteral">'\0'</span>) && (a[i] != 7)) -00175 b = b + a[i]; -00176 std::stringstream stream(<a class="code" href="classuserrec.html#o15">recvq</a>); -00177 stream << b; -00178 <a class="code" href="classuserrec.html#o15">recvq</a> = stream.str(); -00179 <span class="keywordtype">int</span> i = 0; -00180 <span class="comment">// count the size of the first line in the buffer.</span> -00181 <span class="keywordflow">while</span> (i < <a class="code" href="classuserrec.html#o15">recvq</a>.length()) -00182 { -00183 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o15">recvq</a>[i++] == <span class="charliteral">'\n'</span>) -00184 <span class="keywordflow">break</span>; -00185 } -00186 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o15">recvq</a>.length() > this-><a class="code" href="classuserrec.html#o22">recvqmax</a>) -00187 { -00188 this-><a class="code" href="classuserrec.html#a12">SetWriteError</a>(<span class="stringliteral">"RecvQ exceeded"</span>); -00189 WriteOpers(<span class="stringliteral">"*** User %s RecvQ of %d exceeds connect class maximum of %d"</span>,this->nick,<a class="code" href="classuserrec.html#o15">recvq</a>.length(),this-><a class="code" href="classuserrec.html#o22">recvqmax</a>); -00190 } -00191 <span class="comment">// return false if we've had more than 600 characters WITHOUT</span> -00192 <span class="comment">// a carriage return (this is BAD, drop the socket)</span> -00193 <span class="keywordflow">return</span> (i < 600); -00194 } -00195 -<a name="l00196"></a><a class="code" href="classuserrec.html#a9">00196</a> <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#a9">userrec::BufferIsReady</a>() -00197 { -00198 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < <a class="code" href="classuserrec.html#o15">recvq</a>.length(); i++) -00199 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o15">recvq</a>[i] == <span class="charliteral">'\n'</span>) -00200 <span class="keywordflow">return</span> <span class="keyword">true</span>; -00201 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00202 } -00203 -<a name="l00204"></a><a class="code" href="classuserrec.html#a10">00204</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a10">userrec::ClearBuffer</a>() -00205 { -00206 <a class="code" href="classuserrec.html#o15">recvq</a> = <span class="stringliteral">""</span>; -00207 } -00208 -<a name="l00209"></a><a class="code" href="classuserrec.html#a11">00209</a> std::string <a class="code" href="classuserrec.html#a11">userrec::GetBuffer</a>() -00210 { -00211 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o15">recvq</a> == <span class="stringliteral">""</span>) -00212 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; -00213 <span class="keywordtype">char</span>* line = (<span class="keywordtype">char</span>*)<a class="code" href="classuserrec.html#o15">recvq</a>.c_str(); -00214 std::string ret = <span class="stringliteral">""</span>; -00215 <span class="keywordflow">while</span> ((*line != <span class="charliteral">'\n'</span>) && (strlen(line))) -00216 { -00217 ret = ret + *line; -00218 line++; -00219 } -00220 <span class="keywordflow">if</span> ((*line == <span class="charliteral">'\n'</span>) || (*line == <span class="charliteral">'\r'</span>)) -00221 line++; -00222 <a class="code" href="classuserrec.html#o15">recvq</a> = line; -00223 <span class="keywordflow">return</span> ret; -00224 } -00225 -<a name="l00226"></a><a class="code" href="classuserrec.html#a14">00226</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a14">userrec::AddWriteBuf</a>(std::string data) -00227 { -00228 <span class="keywordflow">if</span> (this-><a class="code" href="classuserrec.html#a13">GetWriteError</a>() != <span class="stringliteral">""</span>) -00229 <span class="keywordflow">return</span>; -00230 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o16">sendq</a>.length() + data.length() > this-><a class="code" href="classuserrec.html#o21">sendqmax</a>) -00231 { -00232 WriteOpers(<span class="stringliteral">"*** User %s SendQ of %d exceeds connect class maximum of %d"</span>,this->nick,<a class="code" href="classuserrec.html#o16">sendq</a>.length() + data.length(),this-><a class="code" href="classuserrec.html#o21">sendqmax</a>); -00233 this-><a class="code" href="classuserrec.html#a12">SetWriteError</a>(<span class="stringliteral">"SendQ exceeded"</span>); -00234 <span class="keywordflow">return</span>; -00235 } -00236 std::stringstream stream; -00237 stream << <a class="code" href="classuserrec.html#o16">sendq</a> << data; -00238 <a class="code" href="classuserrec.html#o16">sendq</a> = stream.str(); -00239 } -00240 -00241 <span class="comment">// send AS MUCH OF THE USERS SENDQ as we are able to (might not be all of it)</span> -<a name="l00242"></a><a class="code" href="classuserrec.html#a15">00242</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a15">userrec::FlushWriteBuf</a>() -00243 { -00244 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o16">sendq</a>.length()) -00245 { -00246 <span class="keywordtype">char</span>* tb = (<span class="keywordtype">char</span>*)this-><a class="code" href="classuserrec.html#o16">sendq</a>.c_str(); -00247 <span class="keywordtype">int</span> n_sent = write(this->fd,tb,this->sendq.length()); -00248 <span class="keywordflow">if</span> (n_sent == -1) -00249 { -00250 this-><a class="code" href="classuserrec.html#a12">SetWriteError</a>(strerror(errno)); -00251 } -00252 <span class="keywordflow">else</span> -00253 { -00254 <span class="comment">// advance the queue</span> -00255 tb += n_sent; -00256 this-><a class="code" href="classuserrec.html#o16">sendq</a> = tb; -00257 <span class="comment">// update the user's stats counters</span> -00258 this-><a class="code" href="classconnection.html#o5">bytes_out</a> += n_sent; -00259 this-><a class="code" href="classconnection.html#o7">cmds_out</a>++; -00260 } -00261 } -00262 } -00263 -<a name="l00264"></a><a class="code" href="classuserrec.html#a12">00264</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a12">userrec::SetWriteError</a>(std::string error) -00265 { -00266 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Setting error string for %s to '%s'"</span>,this->nick,error.c_str()); -00267 <span class="comment">// don't try to set the error twice, its already set take the first string.</span> -00268 <span class="keywordflow">if</span> (this-><a class="code" href="classuserrec.html#o20">WriteError</a> == <span class="stringliteral">""</span>) -00269 this-><a class="code" href="classuserrec.html#o20">WriteError</a> = error; -00270 } -00271 -<a name="l00272"></a><a class="code" href="classuserrec.html#a13">00272</a> std::string <a class="code" href="classuserrec.html#a13">userrec::GetWriteError</a>() -00273 { -00274 <span class="keywordflow">return</span> this-><a class="code" href="classuserrec.html#o20">WriteError</a>; -00275 } -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:13 2005 for InspIRCd by +<a name="l00169"></a><a class="code" href="classuserrec.html#a8">00169</a> <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#a8">userrec::AddBuffer</a>(std::string a) +00170 { +00171 std::string b = <span class="stringliteral">""</span>; +00172 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < a.length(); i++) +00173 <span class="keywordflow">if</span> ((a[i] != <span class="charliteral">'\r'</span>) && (a[i] != <span class="charliteral">'\0'</span>) && (a[i] != 7)) +00174 b = b + a[i]; +00175 std::stringstream stream(<a class="code" href="classuserrec.html#o15">recvq</a>); +00176 stream << b; +00177 <a class="code" href="classuserrec.html#o15">recvq</a> = stream.str(); +00178 <span class="keywordtype">int</span> i = 0; +00179 <span class="comment">// count the size of the first line in the buffer.</span> +00180 <span class="keywordflow">while</span> (i < <a class="code" href="classuserrec.html#o15">recvq</a>.length()) +00181 { +00182 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o15">recvq</a>[i++] == <span class="charliteral">'\n'</span>) +00183 <span class="keywordflow">break</span>; +00184 } +00185 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o15">recvq</a>.length() > this-><a class="code" href="classuserrec.html#o22">recvqmax</a>) +00186 { +00187 this-><a class="code" href="classuserrec.html#a12">SetWriteError</a>(<span class="stringliteral">"RecvQ exceeded"</span>); +00188 WriteOpers(<span class="stringliteral">"*** User %s RecvQ of %d exceeds connect class maximum of %d"</span>,this->nick,<a class="code" href="classuserrec.html#o15">recvq</a>.length(),this-><a class="code" href="classuserrec.html#o22">recvqmax</a>); +00189 } +00190 <span class="comment">// return false if we've had more than 600 characters WITHOUT</span> +00191 <span class="comment">// a carriage return (this is BAD, drop the socket)</span> +00192 <span class="keywordflow">return</span> (i < 600); +00193 } +00194 +<a name="l00195"></a><a class="code" href="classuserrec.html#a9">00195</a> <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#a9">userrec::BufferIsReady</a>() +00196 { +00197 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < <a class="code" href="classuserrec.html#o15">recvq</a>.length(); i++) +00198 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o15">recvq</a>[i] == <span class="charliteral">'\n'</span>) +00199 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00200 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00201 } +00202 +<a name="l00203"></a><a class="code" href="classuserrec.html#a10">00203</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a10">userrec::ClearBuffer</a>() +00204 { +00205 <a class="code" href="classuserrec.html#o15">recvq</a> = <span class="stringliteral">""</span>; +00206 } +00207 +<a name="l00208"></a><a class="code" href="classuserrec.html#a11">00208</a> std::string <a class="code" href="classuserrec.html#a11">userrec::GetBuffer</a>() +00209 { +00210 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o15">recvq</a> == <span class="stringliteral">""</span>) +00211 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; +00212 <span class="keywordtype">char</span>* line = (<span class="keywordtype">char</span>*)<a class="code" href="classuserrec.html#o15">recvq</a>.c_str(); +00213 std::string ret = <span class="stringliteral">""</span>; +00214 <span class="keywordflow">while</span> ((*line != <span class="charliteral">'\n'</span>) && (strlen(line))) +00215 { +00216 ret = ret + *line; +00217 line++; +00218 } +00219 <span class="keywordflow">if</span> ((*line == <span class="charliteral">'\n'</span>) || (*line == <span class="charliteral">'\r'</span>)) +00220 line++; +00221 <a class="code" href="classuserrec.html#o15">recvq</a> = line; +00222 <span class="keywordflow">return</span> ret; +00223 } +00224 +<a name="l00225"></a><a class="code" href="classuserrec.html#a14">00225</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a14">userrec::AddWriteBuf</a>(std::string data) +00226 { +00227 <span class="keywordflow">if</span> (this-><a class="code" href="classuserrec.html#a13">GetWriteError</a>() != <span class="stringliteral">""</span>) +00228 <span class="keywordflow">return</span>; +00229 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o16">sendq</a>.length() + data.length() > this-><a class="code" href="classuserrec.html#o21">sendqmax</a>) +00230 { +00231 WriteOpers(<span class="stringliteral">"*** User %s SendQ of %d exceeds connect class maximum of %d"</span>,this->nick,<a class="code" href="classuserrec.html#o16">sendq</a>.length() + data.length(),this-><a class="code" href="classuserrec.html#o21">sendqmax</a>); +00232 this-><a class="code" href="classuserrec.html#a12">SetWriteError</a>(<span class="stringliteral">"SendQ exceeded"</span>); +00233 <span class="keywordflow">return</span>; +00234 } +00235 std::stringstream stream; +00236 stream << <a class="code" href="classuserrec.html#o16">sendq</a> << data; +00237 <a class="code" href="classuserrec.html#o16">sendq</a> = stream.str(); +00238 } +00239 +00240 <span class="comment">// send AS MUCH OF THE USERS SENDQ as we are able to (might not be all of it)</span> +<a name="l00241"></a><a class="code" href="classuserrec.html#a15">00241</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a15">userrec::FlushWriteBuf</a>() +00242 { +00243 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o16">sendq</a>.length()) +00244 { +00245 <span class="keywordtype">char</span>* tb = (<span class="keywordtype">char</span>*)this-><a class="code" href="classuserrec.html#o16">sendq</a>.c_str(); +00246 <span class="keywordtype">int</span> n_sent = write(this->fd,tb,this->sendq.length()); +00247 <span class="keywordflow">if</span> (n_sent == -1) +00248 { +00249 this-><a class="code" href="classuserrec.html#a12">SetWriteError</a>(strerror(errno)); +00250 } +00251 <span class="keywordflow">else</span> +00252 { +00253 <span class="comment">// advance the queue</span> +00254 tb += n_sent; +00255 this-><a class="code" href="classuserrec.html#o16">sendq</a> = tb; +00256 <span class="comment">// update the user's stats counters</span> +00257 this-><a class="code" href="classconnection.html#o4">bytes_out</a> += n_sent; +00258 this-><a class="code" href="classconnection.html#o6">cmds_out</a>++; +00259 } +00260 } +00261 } +00262 +<a name="l00263"></a><a class="code" href="classuserrec.html#a12">00263</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a12">userrec::SetWriteError</a>(std::string error) +00264 { +00265 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Setting error string for %s to '%s'"</span>,this->nick,error.c_str()); +00266 <span class="comment">// don't try to set the error twice, its already set take the first string.</span> +00267 <span class="keywordflow">if</span> (this-><a class="code" href="classuserrec.html#o20">WriteError</a> == <span class="stringliteral">""</span>) +00268 this-><a class="code" href="classuserrec.html#o20">WriteError</a> = error; +00269 } +00270 +<a name="l00271"></a><a class="code" href="classuserrec.html#a13">00271</a> std::string <a class="code" href="classuserrec.html#a13">userrec::GetWriteError</a>() +00272 { +00273 <span class="keywordflow">return</span> this-><a class="code" href="classuserrec.html#o20">WriteError</a>; +00274 } +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:58:59 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/users_8cpp.html b/docs/module-doc/users_8cpp.html index 8a29677a3..ff8d3676e 100644 --- a/docs/module-doc/users_8cpp.html +++ b/docs/module-doc/users_8cpp.html @@ -70,7 +70,7 @@ Definition at line <a class="el" href="users_8cpp-source.html#l00024">24</a> of Definition at line <a class="el" href="users_8cpp-source.html#l00026">26</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. </td> </tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:16 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:00 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/users_8h-source.html b/docs/module-doc/users_8h-source.html index 8a6aee69e..92a802dc1 100644 --- a/docs/module-doc/users_8h-source.html +++ b/docs/module-doc/users_8h-source.html @@ -48,14 +48,14 @@ <a name="l00045"></a><a class="code" href="classConnectClass.html">00045</a> <span class="keyword">class </span><a class="code" href="classConnectClass.html">ConnectClass</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> 00046 { 00047 <span class="keyword">public</span>: -<a name="l00050"></a><a class="code" href="classConnectClass.html#o0">00050</a> <span class="keywordtype">int</span> <a class="code" href="classConnectClass.html#o0">type</a>; +<a name="l00050"></a><a class="code" href="classConnectClass.html#o0">00050</a> <span class="keywordtype">char</span> <a class="code" href="classConnectClass.html#o0">type</a>; <a name="l00053"></a><a class="code" href="classConnectClass.html#o1">00053</a> <span class="keywordtype">int</span> <a class="code" href="classConnectClass.html#o1">registration_timeout</a>; <a name="l00056"></a><a class="code" href="classConnectClass.html#o2">00056</a> <span class="keywordtype">int</span> <a class="code" href="classConnectClass.html#o2">flood</a>; <a name="l00059"></a><a class="code" href="classConnectClass.html#o3">00059</a> <span class="keywordtype">char</span> <a class="code" href="classConnectClass.html#o3">host</a>[MAXBUF]; <a name="l00062"></a><a class="code" href="classConnectClass.html#o4">00062</a> <span class="keywordtype">int</span> <a class="code" href="classConnectClass.html#o4">pingtime</a>; <a name="l00065"></a><a class="code" href="classConnectClass.html#o5">00065</a> <span class="keywordtype">char</span> <a class="code" href="classConnectClass.html#o5">pass</a>[MAXBUF]; 00066 -<a name="l00069"></a><a class="code" href="classConnectClass.html#o6">00069</a> <span class="keywordtype">long</span> <a class="code" href="classConnectClass.html#o6">threshold</a>; +<a name="l00069"></a><a class="code" href="classConnectClass.html#o6">00069</a> <span class="keywordtype">int</span> <a class="code" href="classConnectClass.html#o6">threshold</a>; 00070 <a name="l00073"></a><a class="code" href="classConnectClass.html#o7">00073</a> <span class="keywordtype">long</span> <a class="code" href="classConnectClass.html#o7">sendqmax</a>; 00074 @@ -89,9 +89,9 @@ 00116 <a name="l00121"></a><a class="code" href="classuserrec.html#o0">00121</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#o0">nick</a>[NICKMAX]; 00122 -<a name="l00125"></a><a class="code" href="classuserrec.html#o1">00125</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#o1">ident</a>[64]; +<a name="l00125"></a><a class="code" href="classuserrec.html#o1">00125</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#o1">ident</a>[16]; 00126 -<a name="l00130"></a><a class="code" href="classuserrec.html#o2">00130</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#o2">dhost</a>[256]; +<a name="l00130"></a><a class="code" href="classuserrec.html#o2">00130</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#o2">dhost</a>[160]; 00131 <a name="l00134"></a><a class="code" href="classuserrec.html#o3">00134</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#o3">fullname</a>[128]; 00135 @@ -107,13 +107,13 @@ 00157 <a name="l00162"></a><a class="code" href="classuserrec.html#o9">00162</a> <span class="keywordtype">int</span> <a class="code" href="classuserrec.html#o9">flood</a>; 00163 -<a name="l00168"></a><a class="code" href="classuserrec.html#o10">00168</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code" href="classuserrec.html#o10">timeout</a>; +<a name="l00168"></a><a class="code" href="classuserrec.html#o10">00168</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="classuserrec.html#o10">timeout</a>; 00169 <a name="l00175"></a><a class="code" href="classuserrec.html#o11">00175</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#o11">oper</a>[NICKMAX]; 00176 <a name="l00179"></a><a class="code" href="classuserrec.html#o12">00179</a> <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#o12">dns_done</a>; 00180 -<a name="l00183"></a><a class="code" href="classuserrec.html#o13">00183</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code" href="classuserrec.html#o13">pingmax</a>; +<a name="l00183"></a><a class="code" href="classuserrec.html#o13">00183</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="classuserrec.html#o13">pingmax</a>; 00184 <a name="l00189"></a><a class="code" href="classuserrec.html#o14">00189</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#o14">password</a>[MAXBUF]; 00190 @@ -121,7 +121,7 @@ 00196 <a name="l00200"></a><a class="code" href="classuserrec.html#o16">00200</a> std::string <a class="code" href="classuserrec.html#o16">sendq</a>; 00201 -<a name="l00204"></a><a class="code" href="classuserrec.html#o17">00204</a> <span class="keywordtype">long</span> <a class="code" href="classuserrec.html#o17">lines_in</a>; +<a name="l00204"></a><a class="code" href="classuserrec.html#o17">00204</a> <span class="keywordtype">int</span> <a class="code" href="classuserrec.html#o17">lines_in</a>; <a name="l00205"></a><a class="code" href="classuserrec.html#o18">00205</a> time_t <a class="code" href="classuserrec.html#o18">reset_due</a>; <a name="l00206"></a><a class="code" href="classuserrec.html#o19">00206</a> <span class="keywordtype">long</span> <a class="code" href="classuserrec.html#o19">threshold</a>; 00207 @@ -167,9 +167,20 @@ 00310 00311 }; 00312 -00313 -00314 <span class="preprocessor">#endif</span> -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:14 2005 for InspIRCd by +<a name="l00315"></a><a class="code" href="classWhoWasUser.html">00315</a> <span class="keyword">class </span><a class="code" href="classWhoWasUser.html">WhoWasUser</a> +00316 { +00317 <span class="keyword">public</span>: +<a name="l00318"></a><a class="code" href="classWhoWasUser.html#o0">00318</a> <span class="keywordtype">char</span> <a class="code" href="classWhoWasUser.html#o0">nick</a>[NICKMAX]; +<a name="l00319"></a><a class="code" href="classWhoWasUser.html#o1">00319</a> <span class="keywordtype">char</span> <a class="code" href="classWhoWasUser.html#o1">ident</a>[16]; +<a name="l00320"></a><a class="code" href="classWhoWasUser.html#o2">00320</a> <span class="keywordtype">char</span> <a class="code" href="classWhoWasUser.html#o2">dhost</a>[160]; +<a name="l00321"></a><a class="code" href="classWhoWasUser.html#o3">00321</a> <span class="keywordtype">char</span> <a class="code" href="classWhoWasUser.html#o3">host</a>[160]; +<a name="l00322"></a><a class="code" href="classWhoWasUser.html#o4">00322</a> <span class="keywordtype">char</span> <a class="code" href="classWhoWasUser.html#o4">fullname</a>[128]; +<a name="l00323"></a><a class="code" href="classWhoWasUser.html#o5">00323</a> <span class="keywordtype">char</span> <a class="code" href="classWhoWasUser.html#o5">server</a>[256]; +<a name="l00324"></a><a class="code" href="classWhoWasUser.html#o6">00324</a> time_t <a class="code" href="classWhoWasUser.html#o6">signon</a>; +00325 }; +00326 +00327 <span class="preprocessor">#endif</span> +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:58:59 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/users_8h.html b/docs/module-doc/users_8h.html index 4b542a778..85bf324e9 100644 --- a/docs/module-doc/users_8h.html +++ b/docs/module-doc/users_8h.html @@ -24,6 +24,9 @@ <tr><td class="memItemLeft" nowrap align=right valign=top>class </td><td class="memItemRight" valign=bottom><a class="el" href="classuserrec.html">userrec</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Holds all information about a user This class stores all information about a user connected to the irc server. </em> <a href="classuserrec.html#_details">More...</a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>class </td><td class="memItemRight" valign=bottom><a class="el" href="classWhoWasUser.html">WhoWasUser</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">A lightweight userrec used by WHOWAS. </em> <a href="classWhoWasUser.html#_details">More...</a><em><br><br></td></tr> <tr><td colspan=2><br><h2>Defines</h2></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="users_8h.html#a0">STATUS_OP</a> 4</td></tr> @@ -243,7 +246,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#l00094">94</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td> </tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:17 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:00 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/xline_8h-source.html b/docs/module-doc/xline_8h-source.html index 33ad97901..e2a4242b8 100644 --- a/docs/module-doc/xline_8h-source.html +++ b/docs/module-doc/xline_8h-source.html @@ -44,7 +44,7 @@ 00041 <a name="l00044"></a><a class="code" href="classXLine.html#o1">00044</a> <span class="keywordtype">long</span> <a class="code" href="classXLine.html#o1">duration</a>; 00045 -<a name="l00048"></a><a class="code" href="classXLine.html#o2">00048</a> <span class="keywordtype">char</span> <a class="code" href="classXLine.html#o2">source</a>[MAXBUF]; +<a name="l00048"></a><a class="code" href="classXLine.html#o2">00048</a> <span class="keywordtype">char</span> <a class="code" href="classXLine.html#o2">source</a>[256]; 00049 <a name="l00052"></a><a class="code" href="classXLine.html#o3">00052</a> <span class="keywordtype">char</span> <a class="code" href="classXLine.html#o3">reason</a>[MAXBUF]; 00053 @@ -55,32 +55,32 @@ <a name="l00062"></a><a class="code" href="classKLine.html">00062</a> <span class="keyword">class </span><a class="code" href="classKLine.html">KLine</a> : <span class="keyword">public</span> <a class="code" href="classXLine.html">XLine</a> 00063 { 00064 <span class="keyword">public</span>: -<a name="l00068"></a><a class="code" href="classKLine.html#o0">00068</a> <span class="keywordtype">char</span> <a class="code" href="classKLine.html#o0">hostmask</a>[MAXBUF]; +<a name="l00068"></a><a class="code" href="classKLine.html#o0">00068</a> <span class="keywordtype">char</span> <a class="code" href="classKLine.html#o0">hostmask</a>[200]; 00069 }; 00070 <a name="l00073"></a><a class="code" href="classGLine.html">00073</a> <span class="keyword">class </span><a class="code" href="classGLine.html">GLine</a> : <span class="keyword">public</span> <a class="code" href="classXLine.html">XLine</a> 00074 { 00075 <span class="keyword">public</span>: -<a name="l00079"></a><a class="code" href="classGLine.html#o0">00079</a> <span class="keywordtype">char</span> <a class="code" href="classGLine.html#o0">hostmask</a>[MAXBUF]; +<a name="l00079"></a><a class="code" href="classGLine.html#o0">00079</a> <span class="keywordtype">char</span> <a class="code" href="classGLine.html#o0">hostmask</a>[200]; 00080 }; 00081 <a name="l00082"></a><a class="code" href="classELine.html">00082</a> <span class="keyword">class </span><a class="code" href="classELine.html">ELine</a> : <span class="keyword">public</span> <a class="code" href="classXLine.html">XLine</a> 00083 { 00084 <span class="keyword">public</span>: -<a name="l00088"></a><a class="code" href="classELine.html#o0">00088</a> <span class="keywordtype">char</span> <a class="code" href="classELine.html#o0">hostmask</a>[MAXBUF]; +<a name="l00088"></a><a class="code" href="classELine.html#o0">00088</a> <span class="keywordtype">char</span> <a class="code" href="classELine.html#o0">hostmask</a>[200]; 00089 }; 00090 <a name="l00093"></a><a class="code" href="classZLine.html">00093</a> <span class="keyword">class </span><a class="code" href="classZLine.html">ZLine</a> : <span class="keyword">public</span> <a class="code" href="classXLine.html">XLine</a> 00094 { 00095 <span class="keyword">public</span>: -<a name="l00099"></a><a class="code" href="classZLine.html#o0">00099</a> <span class="keywordtype">char</span> <a class="code" href="classZLine.html#o0">ipaddr</a>[MAXBUF]; +<a name="l00099"></a><a class="code" href="classZLine.html#o0">00099</a> <span class="keywordtype">char</span> <a class="code" href="classZLine.html#o0">ipaddr</a>[40]; <a name="l00103"></a><a class="code" href="classZLine.html#o1">00103</a> <span class="keywordtype">bool</span> <a class="code" href="classZLine.html#o1">is_global</a>; 00104 }; 00105 <a name="l00108"></a><a class="code" href="classQLine.html">00108</a> <span class="keyword">class </span><a class="code" href="classQLine.html">QLine</a> : <span class="keyword">public</span> <a class="code" href="classXLine.html">XLine</a> 00109 { 00110 <span class="keyword">public</span>: -<a name="l00114"></a><a class="code" href="classQLine.html#o0">00114</a> <span class="keywordtype">char</span> <a class="code" href="classQLine.html#o0">nick</a>[MAXBUF]; +<a name="l00114"></a><a class="code" href="classQLine.html#o0">00114</a> <span class="keywordtype">char</span> <a class="code" href="classQLine.html#o0">nick</a>[64]; <a name="l00118"></a><a class="code" href="classQLine.html#o1">00118</a> <span class="keywordtype">bool</span> <a class="code" href="classQLine.html#o1">is_global</a>; 00119 }; 00120 @@ -123,7 +123,7 @@ 00157 <span class="keywordtype">void</span> <a class="code" href="xline_8h.html#a28">sync_xlines</a>(<a class="code" href="classserverrec.html">serverrec</a>* serv, <span class="keywordtype">char</span>* tcp_host); 00158 00159 <span class="preprocessor">#endif</span> -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:14 2005 for InspIRCd by +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:58:59 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/xline_8h.html b/docs/module-doc/xline_8h.html index bfbbe3225..440779a91 100644 --- a/docs/module-doc/xline_8h.html +++ b/docs/module-doc/xline_8h.html @@ -145,7 +145,7 @@ <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00749">Server::AddELine()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00750">Server::AddELine()</a>. </td> </tr> </table> <a name="a1" doxytag="xline.h::add_gline"></a><p> @@ -197,7 +197,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00749">Server::AddEL <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00729">Server::AddGLine()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00730">Server::AddGLine()</a>. </td> </tr> </table> <a name="a4" doxytag="xline.h::add_kline"></a><p> @@ -249,7 +249,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00729">Server::AddGL <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00744">Server::AddKLine()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00745">Server::AddKLine()</a>. </td> </tr> </table> <a name="a2" doxytag="xline.h::add_qline"></a><p> @@ -301,7 +301,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00744">Server::AddKL <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00734">Server::AddQLine()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00735">Server::AddQLine()</a>. </td> </tr> </table> <a name="a3" doxytag="xline.h::add_zline"></a><p> @@ -353,7 +353,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00734">Server::AddQL <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00739">Server::AddZLine()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00740">Server::AddZLine()</a>. </td> </tr> </table> <a name="a17" doxytag="xline.h::apply_lines"></a><p> @@ -412,7 +412,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00739">Server::AddZL <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00774">Server::DelELine()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00775">Server::DelELine()</a>. </td> </tr> </table> <a name="a6" doxytag="xline.h::del_gline"></a><p> @@ -443,7 +443,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00774">Server::DelEL <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00754">Server::DelGLine()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00755">Server::DelGLine()</a>. </td> </tr> </table> <a name="a9" doxytag="xline.h::del_kline"></a><p> @@ -474,7 +474,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00754">Server::DelGL <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00769">Server::DelKLine()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00770">Server::DelKLine()</a>. </td> </tr> </table> <a name="a7" doxytag="xline.h::del_qline"></a><p> @@ -505,7 +505,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00769">Server::DelKL <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00759">Server::DelQLine()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00760">Server::DelQLine()</a>. </td> </tr> </table> <a name="a8" doxytag="xline.h::del_zline"></a><p> @@ -536,7 +536,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00759">Server::DelQL <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00764">Server::DelZLine()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00765">Server::DelZLine()</a>. </td> </tr> </table> <a name="a16" doxytag="xline.h::expire_lines"></a><p> @@ -1095,7 +1095,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00764">Server::DelZL </td> </tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 02:25:17 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu May 12 22:59:00 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> |