diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-04-07 20:15:05 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-04-07 20:15:05 +0000 |
commit | 755d67224f033aaa9b4ef3d2dd00f46bb8c19dc2 (patch) | |
tree | a1e26279c8df6310c611bb2ddd3ea87cec95b9e8 /docs/module-doc | |
parent | 4efba4dad4b21f8ae2357a473b335e147b83a7c7 (diff) |
New docs to match extra module Version class stuff, etc
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1008 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'docs/module-doc')
122 files changed, 3300 insertions, 2881 deletions
diff --git a/docs/module-doc/annotated.html b/docs/module-doc/annotated.html index 4cd59f25a..1438f3cb2 100644 --- a/docs/module-doc/annotated.html +++ b/docs/module-doc/annotated.html @@ -44,7 +44,7 @@ <tr><td class="indexkey"><a class="el" href="classXLine.html">XLine</a></td><td class="indexvalue">XLine is the base class for ban lines such as G lines and K lines </td></tr> <tr><td class="indexkey"><a class="el" href="classZLine.html">ZLine</a></td><td class="indexvalue">ZLine class </td></tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Mon Apr 4 18:12:50 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:23 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 48cb44eb5..af71f42fa 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 Mon Apr 4 18:12:47 2005 for InspIRCd by +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:20 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 b59c1eabb..b063e805d 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 Mon Apr 4 18:12:48 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:21 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 cf89697dc..d95edbda6 100644 --- a/docs/module-doc/channels_8cpp-source.html +++ b/docs/module-doc/channels_8cpp-source.html @@ -111,99 +111,100 @@ 00104 <a name="l00105"></a><a class="code" href="channels_8cpp.html#a36">00105</a> <span class="keyword">extern</span> FILE *<a class="code" href="channels_8cpp.html#a36">log_file</a>; 00106 -00107 -00108 <span class="keyword">using</span> <span class="keyword">namespace </span>std; -00109 -<a name="l00110"></a><a class="code" href="channels_8cpp.html#a37">00110</a> std::vector<ModeParameter> <a class="code" href="channels_8cpp.html#a37">custom_mode_params</a>; -00111 -<a name="l00112"></a><a class="code" href="classchanrec.html#a4">00112</a> <a class="code" href="classchanrec.html#a4">chanrec::chanrec</a>() -00113 { -00114 strcpy(<a class="code" href="classchanrec.html#o0">name</a>,<span class="stringliteral">""</span>); -00115 strcpy(<a class="code" href="classchanrec.html#o1">custom_modes</a>,<span class="stringliteral">""</span>); -00116 strcpy(<a class="code" href="classchanrec.html#o2">topic</a>,<span class="stringliteral">""</span>); -00117 strcpy(<a class="code" href="classchanrec.html#o5">setby</a>,<span class="stringliteral">""</span>); -00118 strcpy(<a class="code" href="classchanrec.html#o7">key</a>,<span class="stringliteral">""</span>); -00119 <a class="code" href="classchanrec.html#o3">created</a> = <a class="code" href="classchanrec.html#o4">topicset</a> = <a class="code" href="classchanrec.html#o6">limit</a> = 0; -00120 <a class="code" href="classchanrec.html#o8">topiclock</a> = <a class="code" href="classchanrec.html#o9">noexternal</a> = <a class="code" href="classchanrec.html#o10">inviteonly</a> = <a class="code" href="classchanrec.html#o11">moderated</a> = <a class="code" href="classchanrec.html#o12">secret</a> = <a class="code" href="classchanrec.html#o13">c_private</a> = <span class="keyword">false</span>; -00121 } -00122 -<a name="l00123"></a><a class="code" href="classchanrec.html#a0">00123</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) -00124 { -00125 <span class="keywordflow">if</span> (mode_on) { -00126 <span class="keywordtype">char</span> m[3]; -00127 m[0] = mode; -00128 m[1] = <span class="charliteral">'\0'</span>; -00129 <span class="keywordflow">if</span> (!strchr(this->custom_modes,mode)) -00130 { -00131 strlcat(<a class="code" href="classchanrec.html#o1">custom_modes</a>,m,MAXMODES); -00132 } -00133 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Custom mode %c set"</span>,mode); -00134 } -00135 <span class="keywordflow">else</span> { -00136 -00137 std::string a = this-><a class="code" href="classchanrec.html#o1">custom_modes</a>; -00138 <span class="keywordtype">int</span> pos = a.find(mode); -00139 a.erase(pos,1); -00140 strncpy(this->custom_modes,a.c_str(),MAXMODES); -00141 -00142 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Custom mode %c removed: modelist='%s'"</span>,mode,this->custom_modes); -00143 this-><a class="code" href="classchanrec.html#a1">SetCustomModeParam</a>(mode,<span class="stringliteral">""</span>,<span class="keyword">false</span>); -00144 } -00145 } -00146 +<a name="l00107"></a><a class="code" href="channels_8cpp.html#a37">00107</a> <span class="keyword">extern</span> time_t <a class="code" href="channels_8cpp.html#a37">TIME</a>; +00108 +00109 <span class="keyword">using</span> <span class="keyword">namespace </span>std; +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#a4">00113</a> <a class="code" href="classchanrec.html#a4">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#o2">topic</a>,<span class="stringliteral">""</span>); +00118 strcpy(<a class="code" href="classchanrec.html#o5">setby</a>,<span class="stringliteral">""</span>); +00119 strcpy(<a class="code" href="classchanrec.html#o7">key</a>,<span class="stringliteral">""</span>); +00120 <a class="code" href="classchanrec.html#o3">created</a> = <a class="code" href="classchanrec.html#o4">topicset</a> = <a class="code" href="classchanrec.html#o6">limit</a> = 0; +00121 <a class="code" href="classchanrec.html#o8">topiclock</a> = <a class="code" href="classchanrec.html#o9">noexternal</a> = <a class="code" href="classchanrec.html#o10">inviteonly</a> = <a class="code" href="classchanrec.html#o11">moderated</a> = <a class="code" href="classchanrec.html#o12">secret</a> = <a class="code" href="classchanrec.html#o13">c_private</a> = <span class="keyword">false</span>; +00122 } +00123 +<a name="l00124"></a><a class="code" href="classchanrec.html#a0">00124</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) +00125 { +00126 <span class="keywordflow">if</span> (mode_on) { +00127 <span class="keywordtype">char</span> m[3]; +00128 m[0] = mode; +00129 m[1] = <span class="charliteral">'\0'</span>; +00130 <span class="keywordflow">if</span> (!strchr(this->custom_modes,mode)) +00131 { +00132 strlcat(<a class="code" href="classchanrec.html#o1">custom_modes</a>,m,MAXMODES); +00133 } +00134 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Custom mode %c set"</span>,mode); +00135 } +00136 <span class="keywordflow">else</span> { +00137 +00138 std::string a = this-><a class="code" href="classchanrec.html#o1">custom_modes</a>; +00139 <span class="keywordtype">int</span> pos = a.find(mode); +00140 a.erase(pos,1); +00141 strncpy(this->custom_modes,a.c_str(),MAXMODES); +00142 +00143 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Custom mode %c removed: modelist='%s'"</span>,mode,this->custom_modes); +00144 this-><a class="code" href="classchanrec.html#a1">SetCustomModeParam</a>(mode,<span class="stringliteral">""</span>,<span class="keyword">false</span>); +00145 } +00146 } 00147 -<a name="l00148"></a><a class="code" href="classchanrec.html#a1">00148</a> <span class="keywordtype">void</span> <a class="code" href="classchanrec.html#a1">chanrec::SetCustomModeParam</a>(<span class="keywordtype">char</span> mode,<span class="keywordtype">char</span>* parameter,<span class="keywordtype">bool</span> mode_on) -00149 { -00150 -00151 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"SetCustomModeParam called"</span>); -00152 <a class="code" href="classModeParameter.html">ModeParameter</a> M; -00153 M.<a class="code" href="classModeParameter.html#o0">mode</a> = mode; -00154 strlcpy(M.<a class="code" href="classModeParameter.html#o2">channel</a>,this->name,CHANMAX); -00155 strlcpy(M.<a class="code" href="classModeParameter.html#o1">parameter</a>,parameter,MAXBUF); -00156 <span class="keywordflow">if</span> (mode_on) -00157 { -00158 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Custom mode parameter %c %s added"</span>,mode,parameter); -00159 <a class="code" href="channels_8cpp.html#a37">custom_mode_params</a>.push_back(M); -00160 } -00161 <span class="keywordflow">else</span> -00162 { -00163 <span class="keywordflow">if</span> (<a class="code" href="channels_8cpp.html#a37">custom_mode_params</a>.size()) -00164 { -00165 <span class="keywordflow">for</span> (vector<ModeParameter>::iterator i = <a class="code" href="channels_8cpp.html#a37">custom_mode_params</a>.begin(); i < <a class="code" href="channels_8cpp.html#a37">custom_mode_params</a>.end(); i++) -00166 { -00167 <span class="keywordflow">if</span> ((i->mode == mode) && (!strcasecmp(this->name,i->channel))) -00168 { -00169 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Custom mode parameter %c %s removed"</span>,mode,parameter); -00170 <a class="code" href="channels_8cpp.html#a37">custom_mode_params</a>.erase(i); -00171 <span class="keywordflow">return</span>; -00172 } -00173 } -00174 } -00175 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"*** BUG *** Attempt to remove non-existent mode parameter!"</span>); -00176 } -00177 } -00178 -<a name="l00179"></a><a class="code" href="classchanrec.html#a2">00179</a> <span class="keywordtype">bool</span> <a class="code" href="classchanrec.html#a2">chanrec::IsCustomModeSet</a>(<span class="keywordtype">char</span> mode) -00180 { -00181 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Checking ISCustomModeSet: %c %s"</span>,mode,this->custom_modes); -00182 <span class="keywordflow">return</span> (strchr(this->custom_modes,mode) != 0); -00183 } -00184 -<a name="l00185"></a><a class="code" href="classchanrec.html#a3">00185</a> std::string <a class="code" href="classchanrec.html#a3">chanrec::GetModeParameter</a>(<span class="keywordtype">char</span> mode) -00186 { -00187 <span class="keywordflow">if</span> (<a class="code" href="channels_8cpp.html#a37">custom_mode_params</a>.size()) -00188 { -00189 <span class="keywordflow">for</span> (vector<ModeParameter>::iterator i = <a class="code" href="channels_8cpp.html#a37">custom_mode_params</a>.begin(); i < <a class="code" href="channels_8cpp.html#a37">custom_mode_params</a>.end(); i++) -00190 { -00191 <span class="keywordflow">if</span> ((i->mode == mode) && (!strcasecmp(this->name,i->channel))) -00192 { -00193 <span class="keywordflow">return</span> std::string(i->parameter); -00194 } -00195 } -00196 } -00197 <span class="keywordflow">return</span> std::string(<span class="stringliteral">""</span>); -00198 } -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Apr 4 18:12:47 2005 for InspIRCd by +00148 +<a name="l00149"></a><a class="code" href="classchanrec.html#a1">00149</a> <span class="keywordtype">void</span> <a class="code" href="classchanrec.html#a1">chanrec::SetCustomModeParam</a>(<span class="keywordtype">char</span> mode,<span class="keywordtype">char</span>* parameter,<span class="keywordtype">bool</span> mode_on) +00150 { +00151 +00152 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"SetCustomModeParam called"</span>); +00153 <a class="code" href="classModeParameter.html">ModeParameter</a> M; +00154 M.<a class="code" href="classModeParameter.html#o0">mode</a> = mode; +00155 strlcpy(M.<a class="code" href="classModeParameter.html#o2">channel</a>,this->name,CHANMAX); +00156 strlcpy(M.<a class="code" href="classModeParameter.html#o1">parameter</a>,parameter,MAXBUF); +00157 <span class="keywordflow">if</span> (mode_on) +00158 { +00159 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Custom mode parameter %c %s added"</span>,mode,parameter); +00160 <a class="code" href="channels_8cpp.html#a38">custom_mode_params</a>.push_back(M); +00161 } +00162 <span class="keywordflow">else</span> +00163 { +00164 <span class="keywordflow">if</span> (<a class="code" href="channels_8cpp.html#a38">custom_mode_params</a>.size()) +00165 { +00166 <span class="keywordflow">for</span> (vector<ModeParameter>::iterator i = <a class="code" href="channels_8cpp.html#a38">custom_mode_params</a>.begin(); i < <a class="code" href="channels_8cpp.html#a38">custom_mode_params</a>.end(); i++) +00167 { +00168 <span class="keywordflow">if</span> ((i->mode == mode) && (!strcasecmp(this->name,i->channel))) +00169 { +00170 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Custom mode parameter %c %s removed"</span>,mode,parameter); +00171 <a class="code" href="channels_8cpp.html#a38">custom_mode_params</a>.erase(i); +00172 <span class="keywordflow">return</span>; +00173 } +00174 } +00175 } +00176 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"*** BUG *** Attempt to remove non-existent mode parameter!"</span>); +00177 } +00178 } +00179 +<a name="l00180"></a><a class="code" href="classchanrec.html#a2">00180</a> <span class="keywordtype">bool</span> <a class="code" href="classchanrec.html#a2">chanrec::IsCustomModeSet</a>(<span class="keywordtype">char</span> mode) +00181 { +00182 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Checking ISCustomModeSet: %c %s"</span>,mode,this->custom_modes); +00183 <span class="keywordflow">return</span> (strchr(this->custom_modes,mode) != 0); +00184 } +00185 +<a name="l00186"></a><a class="code" href="classchanrec.html#a3">00186</a> std::string <a class="code" href="classchanrec.html#a3">chanrec::GetModeParameter</a>(<span class="keywordtype">char</span> mode) +00187 { +00188 <span class="keywordflow">if</span> (<a class="code" href="channels_8cpp.html#a38">custom_mode_params</a>.size()) +00189 { +00190 <span class="keywordflow">for</span> (vector<ModeParameter>::iterator i = <a class="code" href="channels_8cpp.html#a38">custom_mode_params</a>.begin(); i < <a class="code" href="channels_8cpp.html#a38">custom_mode_params</a>.end(); i++) +00191 { +00192 <span class="keywordflow">if</span> ((i->mode == mode) && (!strcasecmp(this->name,i->channel))) +00193 { +00194 <span class="keywordflow">return</span> std::string(i->parameter); +00195 } +00196 } +00197 } +00198 <span class="keywordflow">return</span> std::string(<span class="stringliteral">""</span>); +00199 } +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:20 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 f83023011..2fac5b2e9 100644 --- a/docs/module-doc/channels_8cpp.html +++ b/docs/module-doc/channels_8cpp.html @@ -51,7 +51,7 @@ <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="channels_8cpp.html#a2">modules</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< <a class="el" href="modules_8h.html#a29">ircd_module</a> * > </td><td class="memItemRight" valign=bottom><a class="el" href="channels_8cpp.html#a3">factory</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< <a class="el" href="modules_8h.html#a33">ircd_module</a> * > </td><td class="memItemRight" valign=bottom><a class="el" href="channels_8cpp.html#a3">factory</a></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="channels_8cpp.html#a4">LogLevel</a></td></tr> @@ -119,7 +119,9 @@ <tr><td class="memItemLeft" nowrap align=right valign=top>FILE * </td><td class="memItemRight" valign=bottom><a class="el" href="channels_8cpp.html#a36">log_file</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< <a class="el" href="classModeParameter.html">ModeParameter</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="channels_8cpp.html#a37">custom_mode_params</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>time_t </td><td class="memItemRight" valign=bottom><a class="el" href="channels_8cpp.html#a37">TIME</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< <a class="el" href="classModeParameter.html">ModeParameter</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="channels_8cpp.html#a38">custom_mode_params</a></td></tr> </table> <hr><h2>Define Documentation</h2> @@ -154,7 +156,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00058">58</a> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a9">AdminEmail</a>[MAXBUF] + <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a10">AdminEmail</a>[MAXBUF] </table> </td> </tr> @@ -178,7 +180,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00072">72</a> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a8">AdminName</a>[MAXBUF] + <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a9">AdminName</a>[MAXBUF] </table> </td> </tr> @@ -202,7 +204,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00071">71</a> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a10">AdminNick</a>[MAXBUF] + <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a11">AdminNick</a>[MAXBUF] </table> </td> </tr> @@ -226,7 +228,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00073">73</a> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> std::vector<long> <a class="el" href="modules_8cpp.html#a33">auth_cookies</a> + <td class="md" nowrap valign="top"> std::vector<long> <a class="el" href="modules_8cpp.html#a34">auth_cookies</a> </table> </td> </tr> @@ -250,7 +252,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00100">100</a> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a28">boundPortCount</a> + <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a29">boundPortCount</a> </table> </td> </tr> @@ -291,16 +293,16 @@ 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#l00112">userrec::HasPermission()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00114">userrec::HasPermission()</a>. </td> </tr> </table> -<a name="a37" doxytag="channels.cpp::custom_mode_params"></a><p> +<a name="a38" doxytag="channels.cpp::custom_mode_params"></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="classModeParameter.html">ModeParameter</a>> <a class="el" href="channels_8cpp.html#a37">custom_mode_params</a> + <td class="md" nowrap valign="top"> std::vector<<a class="el" href="classModeParameter.html">ModeParameter</a>> <a class="el" href="channels_8cpp.html#a38">custom_mode_params</a> </table> </td> </tr> @@ -315,9 +317,9 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00112">userrec::HasPer <p> <p> -Definition at line <a class="el" href="channels_8cpp-source.html#l00110">110</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#l00111">111</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. <p> -Referenced by <a class="el" href="channels_8cpp-source.html#l00185">chanrec::GetModeParameter()</a>, and <a class="el" href="channels_8cpp-source.html#l00148">chanrec::SetCustomModeParam()</a>. </td> +Referenced by <a class="el" href="channels_8cpp-source.html#l00186">chanrec::GetModeParameter()</a>, and <a class="el" href="channels_8cpp-source.html#l00149">chanrec::SetCustomModeParam()</a>. </td> </tr> </table> <a name="a18" doxytag="channels.cpp::debugging"></a><p> @@ -326,7 +328,7 @@ Referenced by <a class="el" href="channels_8cpp-source.html#l00185">chanrec::Get <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a18">debugging</a> + <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a19">debugging</a> </table> </td> </tr> @@ -350,7 +352,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00082">82</a> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a32">defaultRoute</a> + <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a33">defaultRoute</a> </table> </td> </tr> @@ -374,7 +376,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00098">98</a> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a21">DieDelay</a> + <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a22">DieDelay</a> </table> </td> </tr> @@ -398,7 +400,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00085">85</a> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a11">diepass</a>[MAXBUF] + <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a12">diepass</a>[MAXBUF] </table> </td> </tr> @@ -422,7 +424,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00074">74</a> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a17">DieValue</a>[MAXBUF] + <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a18">DieValue</a>[MAXBUF] </table> </td> </tr> @@ -446,7 +448,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00080">80</a> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> std::vector<<a class="el" href="modules_8h.html#a29">ircd_module</a>*> factory + <td class="md" nowrap valign="top"> std::vector<<a class="el" href="modules_8h.html#a33">ircd_module</a>*> factory </table> </td> </tr> @@ -470,7 +472,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00065">65</a> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> std::vector<int> <a class="el" href="modules_8cpp.html#a26">fd_reap</a> + <td class="md" nowrap valign="top"> std::vector<int> <a class="el" href="modules_8cpp.html#a27">fd_reap</a> </table> </td> </tr> @@ -494,7 +496,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00091">91</a> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a15">list</a>[MAXBUF] + <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a16">list</a>[MAXBUF] </table> </td> </tr> @@ -518,7 +520,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00078">78</a> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> FILE* <a class="el" href="modules_8cpp.html#a36">log_file</a> + <td class="md" nowrap valign="top"> FILE* <a class="el" href="modules_8cpp.html#a37">log_file</a> </table> </td> </tr> @@ -542,7 +544,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00105">105</a> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a4">LogLevel</a> + <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a5">LogLevel</a> </table> </td> </tr> @@ -566,7 +568,7 @@ Definition at line <a class="el" href="channels_8cpp-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="modules_8cpp.html#a24">MaxWhoResults</a> + <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a25">MaxWhoResults</a> </table> </td> </tr> @@ -590,7 +592,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00088">88</a> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> <a class="el" href="classserverrec.html">serverrec</a>* <a class="el" href="modules_8cpp.html#a35">me</a>[32] + <td class="md" nowrap valign="top"> <a class="el" href="classserverrec.html">serverrec</a>* <a class="el" href="modules_8cpp.html#a36">me</a>[32] </table> </td> </tr> @@ -629,7 +631,7 @@ 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#l00774">774</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#l00776">776</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> <a name="a27" doxytag="channels.cpp::module_names"></a><p> @@ -638,7 +640,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00774">774</a> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> std::vector<std::string> <a class="el" href="modules_8cpp.html#a27">module_names</a> + <td class="md" nowrap valign="top"> std::vector<std::string> <a class="el" href="modules_8cpp.html#a28">module_names</a> </table> </td> </tr> @@ -686,7 +688,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00064">64</a> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a13">motd</a>[MAXBUF] + <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a14">motd</a>[MAXBUF] </table> </td> </tr> @@ -710,7 +712,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00076">76</a> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> time_t <a class="el" href="modules_8cpp.html#a25">nb_start</a> + <td class="md" nowrap valign="top"> time_t <a class="el" href="modules_8cpp.html#a26">nb_start</a> </table> </td> </tr> @@ -734,7 +736,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00089">89</a> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a23">NetBufferSize</a> + <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a24">NetBufferSize</a> </table> </td> </tr> @@ -758,7 +760,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00087">87</a> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a6">Network</a>[MAXBUF] + <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a7">Network</a>[MAXBUF] </table> </td> </tr> @@ -782,7 +784,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00069">69</a> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a29">portCount</a> + <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a30">portCount</a> </table> </td> </tr> @@ -806,7 +808,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00095">95</a> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a31">ports</a>[MAXSOCKS] + <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a32">ports</a>[MAXSOCKS] </table> </td> </tr> @@ -830,7 +832,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00097">97</a> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a16">PrefixQuit</a>[MAXBUF] + <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a17">PrefixQuit</a>[MAXBUF] </table> </td> </tr> @@ -854,7 +856,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00079">79</a> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a12">restartpass</a>[MAXBUF] + <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a13">restartpass</a>[MAXBUF] </table> </td> </tr> @@ -878,7 +880,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00075">75</a> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a14">rules</a>[MAXBUF] + <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a15">rules</a>[MAXBUF] </table> </td> </tr> @@ -902,7 +904,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00077">77</a> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a7">ServerDesc</a>[MAXBUF] + <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a8">ServerDesc</a>[MAXBUF] </table> </td> </tr> @@ -926,7 +928,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00070">70</a> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a5">ServerName</a>[MAXBUF] + <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a6">ServerName</a>[MAXBUF] </table> </td> </tr> @@ -950,7 +952,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00068">68</a> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> time_t <a class="el" href="modules_8cpp.html#a22">startup_time</a> + <td class="md" nowrap valign="top"> time_t <a class="el" href="modules_8cpp.html#a23">startup_time</a> </table> </td> </tr> @@ -968,13 +970,39 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00068">68</a> Definition at line <a class="el" href="channels_8cpp-source.html#l00086">86</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td> </tr> </table> +<a name="a37" doxytag="channels.cpp::TIME"></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="users_8cpp.html#a1">TIME</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="channels_8cpp-source.html#l00107">107</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. +<p> +Referenced by <a class="el" href="servers_8cpp-source.html#l00026">serverrec::serverrec()</a>. </td> + </tr> +</table> <a name="a30" doxytag="channels.cpp::UDPportCount"></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="modules_8cpp.html#a30">UDPportCount</a> + <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a31">UDPportCount</a> </table> </td> </tr> @@ -998,7 +1026,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00096">96</a> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a20">WHOWAS_MAX</a> + <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a21">WHOWAS_MAX</a> </table> </td> </tr> @@ -1022,7 +1050,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00084">84</a> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a19">WHOWAS_STALE</a> + <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a20">WHOWAS_STALE</a> </table> </td> </tr> @@ -1040,7 +1068,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 Mon Apr 4 18:12:48 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:21 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 4f24f617b..66c796da2 100644 --- a/docs/module-doc/channels_8h-source.html +++ b/docs/module-doc/channels_8h-source.html @@ -139,7 +139,7 @@ 00218 00219 <span class="preprocessor">#endif</span> 00220 <span class="preprocessor"></span> -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Apr 4 18:12:47 2005 for InspIRCd by +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:20 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 42434f60e..b168d6565 100644 --- a/docs/module-doc/channels_8h.html +++ b/docs/module-doc/channels_8h.html @@ -258,7 +258,7 @@ Holds a complete invite list. 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> </tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Mon Apr 4 18:12:48 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:21 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 82d9ab2bb..66fbe5327 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 Mon Apr 4 18:12:50 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:23 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 6fa6ccd7d..a86dcdd4d 100644 --- a/docs/module-doc/classAdmin.html +++ b/docs/module-doc/classAdmin.html @@ -32,7 +32,7 @@ It is constructed by class <a class="el" href="classServer.html">Server</a>, and <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00114">114</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> +Definition at line <a class="el" href="modules_8h-source.html#l00121">121</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> <a name="a0" doxytag="Admin::Admin"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> @@ -76,9 +76,9 @@ Definition at line <a class="el" href="modules_8h-source.html#l00114">114</a> of <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00302">302</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00304">304</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00302 : <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>00304 : <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> @@ -104,7 +104,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00302">302</a> <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00117">117</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td> +Definition at line <a class="el" href="modules_8h-source.html#l00124">124</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td> </tr> </table> <a name="o0" doxytag="Admin::Name"></a><p> @@ -128,7 +128,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00117">117</a> of <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00117">117</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td> +Definition at line <a class="el" href="modules_8h-source.html#l00124">124</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td> </tr> </table> <a name="o2" doxytag="Admin::Nick"></a><p> @@ -152,12 +152,12 @@ Definition at line <a class="el" href="modules_8h-source.html#l00117">117</a> of <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00117">117</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td> +Definition at line <a class="el" href="modules_8h-source.html#l00124">124</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td> </tr> </table> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="modules_8h-source.html">modules.h</a><li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Mon Apr 4 18:12:50 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:23 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 6e5a2d10b..855c7f10b 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 Mon Apr 4 18:12:50 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:23 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 59ad4e0d0..772b1277b 100644 --- a/docs/module-doc/classBanItem.html +++ b/docs/module-doc/classBanItem.html @@ -22,7 +22,7 @@ A subclass of <a class="el" href="classHostItem.html">HostItem</a> designed to h <p> Definition at line <a class="el" href="channels_8h-source.html#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> <li><a class="el" href="channels_8h-source.html">channels.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Mon Apr 4 18:12:50 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:23 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 fd9766ec8..525b690ae 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 Mon Apr 4 18:12:51 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:24 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 f5785a066..7ece1927f 100644 --- a/docs/module-doc/classConfigReader.html +++ b/docs/module-doc/classConfigReader.html @@ -67,7 +67,7 @@ It may either be instantiated with one parameter or none. Constructing the class <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00675">675</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> +Definition at line <a class="el" href="modules_8h-source.html#l00685">685</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> <a name="a0" doxytag="ConfigReader::ConfigReader"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> @@ -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#l00577">577</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00579">579</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l00683">cache</a>, <a class="el" href="modules_8h-source.html#l00667">CONF_FILE_NOT_FOUND</a>, <a class="el" href="modules_8h-source.html#l00688">error</a>, <a class="el" href="modules_8h-source.html#l00684">errorlog</a>, and <a class="el" href="modules_8h-source.html#l00687">readerror</a>. +References <a class="el" href="modules_8h-source.html#l00693">cache</a>, <a class="el" href="modules_8h-source.html#l00677">CONF_FILE_NOT_FOUND</a>, <a class="el" href="modules_8h-source.html#l00698">error</a>, <a class="el" href="modules_8h-source.html#l00694">errorlog</a>, and <a class="el" href="modules_8h-source.html#l00697">readerror</a>. <p> -<div class="fragment"><pre>00578 { -00579 this-><a class="code" href="classConfigReader.html#p0">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); -00580 this-><a class="code" href="classConfigReader.html#p1">errorlog</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); -00581 this-><a class="code" href="classConfigReader.html#p2">readerror</a> = LoadConf(CONFIG_FILE,this->cache,this->errorlog); -00582 <span class="keywordflow">if</span> (!this-><a class="code" href="classConfigReader.html#p2">readerror</a>) -00583 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a25">CONF_FILE_NOT_FOUND</a>; -00584 } +<div class="fragment"><pre>00580 { +00581 this-><a class="code" href="classConfigReader.html#p0">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); +00582 this-><a class="code" href="classConfigReader.html#p1">errorlog</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); +00583 this-><a class="code" href="classConfigReader.html#p2">readerror</a> = LoadConf(CONFIG_FILE,this->cache,this->errorlog); +00584 <span class="keywordflow">if</span> (!this-><a class="code" href="classConfigReader.html#p2">readerror</a>) +00585 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a29">CONF_FILE_NOT_FOUND</a>; +00586 } </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#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#l00598">598</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l00683">cache</a>, <a class="el" href="modules_8h-source.html#l00667">CONF_FILE_NOT_FOUND</a>, <a class="el" href="modules_8h-source.html#l00688">error</a>, <a class="el" href="modules_8h-source.html#l00684">errorlog</a>, and <a class="el" href="modules_8h-source.html#l00687">readerror</a>. +References <a class="el" href="modules_8h-source.html#l00693">cache</a>, <a class="el" href="modules_8h-source.html#l00677">CONF_FILE_NOT_FOUND</a>, <a class="el" href="modules_8h-source.html#l00698">error</a>, <a class="el" href="modules_8h-source.html#l00694">errorlog</a>, and <a class="el" href="modules_8h-source.html#l00697">readerror</a>. <p> -<div class="fragment"><pre>00597 { -00598 this-><a class="code" href="classConfigReader.html#p0">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); -00599 this-><a class="code" href="classConfigReader.html#p1">errorlog</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); -00600 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>); -00601 <span class="keywordflow">if</span> (!this-><a class="code" href="classConfigReader.html#p2">readerror</a>) -00602 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a25">CONF_FILE_NOT_FOUND</a>; -00603 }; +<div class="fragment"><pre>00599 { +00600 this-><a class="code" href="classConfigReader.html#p0">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); +00601 this-><a class="code" href="classConfigReader.html#p1">errorlog</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); +00602 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>); +00603 <span class="keywordflow">if</span> (!this-><a class="code" href="classConfigReader.html#p2">readerror</a>) +00604 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a29">CONF_FILE_NOT_FOUND</a>; +00605 }; </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#l00587">587</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00589">589</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l00683">cache</a>, and <a class="el" href="modules_8h-source.html#l00684">errorlog</a>. +References <a class="el" href="modules_8h-source.html#l00693">cache</a>, and <a class="el" href="modules_8h-source.html#l00694">errorlog</a>. <p> -<div class="fragment"><pre>00588 { -00589 <span class="keywordflow">if</span> (this-><a class="code" href="classConfigReader.html#p0">cache</a>) -00590 <span class="keyword">delete</span> this-><a class="code" href="classConfigReader.html#p0">cache</a>; -00591 <span class="keywordflow">if</span> (this-><a class="code" href="classConfigReader.html#p1">errorlog</a>) -00592 <span class="keyword">delete</span> this-><a class="code" href="classConfigReader.html#p1">errorlog</a>; -00593 } +<div class="fragment"><pre>00590 { +00591 <span class="keywordflow">if</span> (this-><a class="code" href="classConfigReader.html#p0">cache</a>) +00592 <span class="keyword">delete</span> this-><a class="code" href="classConfigReader.html#p0">cache</a>; +00593 <span class="keywordflow">if</span> (this-><a class="code" href="classConfigReader.html#p1">errorlog</a>) +00594 <span class="keyword">delete</span> this-><a class="code" href="classConfigReader.html#p1">errorlog</a>; +00595 } </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#l00674">674</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. -<p> -References <a class="el" href="modules_8h-source.html#l00684">errorlog</a>, <a class="el" href="connection_8h-source.html#l00178">connection::fd</a>, and <a class="el" href="users_8h-source.html#l00102">userrec::nick</a>. -<p> -<div class="fragment"><pre>00675 { -00676 <span class="keywordflow">if</span> (bail) -00677 { -00678 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()); -00679 exit(0); -00680 } -00681 <span class="keywordflow">else</span> -00682 { -00683 <span class="keywordtype">char</span> dataline[1024]; -00684 <span class="keywordflow">if</span> (user) -00685 { -00686 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>); -00687 <span class="keywordflow">while</span> (!<a class="code" href="classConfigReader.html#p1">errorlog</a>->eof()) -00688 { -00689 <a class="code" href="classConfigReader.html#p1">errorlog</a>->getline(dataline,1024); -00690 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); -00691 } -00692 } -00693 <span class="keywordflow">else</span> -00694 { -00695 WriteOpers(<span class="stringliteral">"There were errors in the configuration file:"</span>,user-><a class="code" href="classuserrec.html#o0">nick</a>); -00696 <span class="keywordflow">while</span> (!<a class="code" href="classConfigReader.html#p1">errorlog</a>->eof()) -00697 { -00698 <a class="code" href="classConfigReader.html#p1">errorlog</a>->getline(dataline,1024); -00699 WriteOpers(dataline); -00700 } -00701 } -00702 <span class="keywordflow">return</span>; -00703 } -00704 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00676">676</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="modules_8h-source.html#l00694">errorlog</a>, <a class="el" href="connection_8h-source.html#l00178">connection::fd</a>, and <a class="el" href="users_8h-source.html#l00102">userrec::nick</a>. +<p> +<div class="fragment"><pre>00677 { +00678 <span class="keywordflow">if</span> (bail) +00679 { +00680 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()); +00681 exit(0); +00682 } +00683 <span class="keywordflow">else</span> +00684 { +00685 <span class="keywordtype">char</span> dataline[1024]; +00686 <span class="keywordflow">if</span> (user) +00687 { +00688 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>); +00689 <span class="keywordflow">while</span> (!<a class="code" href="classConfigReader.html#p1">errorlog</a>->eof()) +00690 { +00691 <a class="code" href="classConfigReader.html#p1">errorlog</a>->getline(dataline,1024); +00692 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); +00693 } +00694 } +00695 <span class="keywordflow">else</span> +00696 { +00697 WriteOpers(<span class="stringliteral">"There were errors in the configuration file:"</span>,user-><a class="code" href="classuserrec.html#o0">nick</a>); +00698 <span class="keywordflow">while</span> (!<a class="code" href="classConfigReader.html#p1">errorlog</a>->eof()) +00699 { +00700 <a class="code" href="classConfigReader.html#p1">errorlog</a>->getline(dataline,1024); +00701 WriteOpers(dataline); +00702 } +00703 } +00704 <span class="keywordflow">return</span>; +00705 } +00706 } </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#l00707">707</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00709">709</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l00683">cache</a>. +References <a class="el" href="modules_8h-source.html#l00693">cache</a>. <p> -<div class="fragment"><pre>00708 { -00709 <span class="keywordflow">return</span> EnumConf(cache,tag.c_str()); -00710 } +<div class="fragment"><pre>00710 { +00711 <span class="keywordflow">return</span> EnumConf(cache,tag.c_str()); +00712 } </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#l00712">712</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00714">714</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l00683">cache</a>. +References <a class="el" href="modules_8h-source.html#l00693">cache</a>. <p> -<div class="fragment"><pre>00713 { -00714 <span class="keywordflow">return</span> EnumValues(cache, tag.c_str(), index); -00715 } +<div class="fragment"><pre>00715 { +00716 <span class="keywordflow">return</span> EnumValues(cache, tag.c_str(), index); +00717 } </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#l00667">667</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00669">669</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l00688">error</a>. +References <a class="el" href="modules_8h-source.html#l00698">error</a>. <p> -<div class="fragment"><pre>00668 { -00669 <span class="keywordtype">long</span> olderr = this-><a class="code" href="classConfigReader.html#p3">error</a>; -00670 this->error = 0; -00671 <span class="keywordflow">return</span> olderr; -00672 } +<div class="fragment"><pre>00670 { +00671 <span class="keywordtype">long</span> olderr = this-><a class="code" href="classConfigReader.html#p3">error</a>; +00672 this->error = 0; +00673 <span class="keywordflow">return</span> olderr; +00674 } </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#l00621">621</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. -<p> -References <a class="el" href="modules_8h-source.html#l00683">cache</a>, <a class="el" href="modules_8h-source.html#l00666">CONF_VALUE_NOT_FOUND</a>, and <a class="el" href="modules_8h-source.html#l00688">error</a>. -<p> -<div class="fragment"><pre>00622 { -00623 <span class="keywordtype">char</span> val[MAXBUF]; -00624 <span class="keywordtype">char</span> t[MAXBUF]; -00625 <span class="keywordtype">char</span> n[MAXBUF]; -00626 strlcpy(t,tag.c_str(),MAXBUF); -00627 strlcpy(n,name.c_str(),MAXBUF); -00628 <span class="keywordtype">int</span> res = ReadConf(cache,t,n,index,val); -00629 <span class="keywordflow">if</span> (!res) -00630 { -00631 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a24">CONF_VALUE_NOT_FOUND</a>; -00632 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00633 } -00634 std::string s = val; -00635 <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>)); -00636 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00623">623</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="modules_8h-source.html#l00693">cache</a>, <a class="el" href="modules_8h-source.html#l00676">CONF_VALUE_NOT_FOUND</a>, and <a class="el" href="modules_8h-source.html#l00698">error</a>. +<p> +<div class="fragment"><pre>00624 { +00625 <span class="keywordtype">char</span> val[MAXBUF]; +00626 <span class="keywordtype">char</span> t[MAXBUF]; +00627 <span class="keywordtype">char</span> n[MAXBUF]; +00628 strlcpy(t,tag.c_str(),MAXBUF); +00629 strlcpy(n,name.c_str(),MAXBUF); +00630 <span class="keywordtype">int</span> res = ReadConf(cache,t,n,index,val); +00631 <span class="keywordflow">if</span> (!res) +00632 { +00633 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a28">CONF_VALUE_NOT_FOUND</a>; +00634 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00635 } +00636 std::string s = val; +00637 <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>)); +00638 } </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#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#l00683">cache</a>, <a class="el" href="modules_8h-source.html#l00664">CONF_NOT_A_NUMBER</a>, <a class="el" href="modules_8h-source.html#l00665">CONF_NOT_UNSIGNED</a>, <a class="el" href="modules_8h-source.html#l00666">CONF_VALUE_NOT_FOUND</a>, and <a class="el" href="modules_8h-source.html#l00688">error</a>. -<p> -<div class="fragment"><pre>00639 { -00640 <span class="keywordtype">char</span> val[MAXBUF]; -00641 <span class="keywordtype">char</span> t[MAXBUF]; -00642 <span class="keywordtype">char</span> n[MAXBUF]; -00643 strlcpy(t,tag.c_str(),MAXBUF); -00644 strlcpy(n,name.c_str(),MAXBUF); -00645 <span class="keywordtype">int</span> res = ReadConf(cache,t,n,index,val); -00646 <span class="keywordflow">if</span> (!res) -00647 { -00648 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a24">CONF_VALUE_NOT_FOUND</a>; -00649 <span class="keywordflow">return</span> 0; -00650 } -00651 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < strlen(val); i++) -00652 { -00653 <span class="keywordflow">if</span> (!isdigit(val[i])) -00654 { -00655 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a22">CONF_NOT_A_NUMBER</a>; -00656 <span class="keywordflow">return</span> 0; -00657 } -00658 } -00659 <span class="keywordflow">if</span> ((needs_unsigned) && (atoi(val)<0)) -00660 { -00661 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a23">CONF_NOT_UNSIGNED</a>; -00662 <span class="keywordflow">return</span> 0; -00663 } -00664 <span class="keywordflow">return</span> atoi(val); -00665 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00640">640</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="modules_8h-source.html#l00693">cache</a>, <a class="el" href="modules_8h-source.html#l00674">CONF_NOT_A_NUMBER</a>, <a class="el" href="modules_8h-source.html#l00675">CONF_NOT_UNSIGNED</a>, <a class="el" href="modules_8h-source.html#l00676">CONF_VALUE_NOT_FOUND</a>, and <a class="el" href="modules_8h-source.html#l00698">error</a>. +<p> +<div class="fragment"><pre>00641 { +00642 <span class="keywordtype">char</span> val[MAXBUF]; +00643 <span class="keywordtype">char</span> t[MAXBUF]; +00644 <span class="keywordtype">char</span> n[MAXBUF]; +00645 strlcpy(t,tag.c_str(),MAXBUF); +00646 strlcpy(n,name.c_str(),MAXBUF); +00647 <span class="keywordtype">int</span> res = ReadConf(cache,t,n,index,val); +00648 <span class="keywordflow">if</span> (!res) +00649 { +00650 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a28">CONF_VALUE_NOT_FOUND</a>; +00651 <span class="keywordflow">return</span> 0; +00652 } +00653 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < strlen(val); i++) +00654 { +00655 <span class="keywordflow">if</span> (!isdigit(val[i])) +00656 { +00657 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a26">CONF_NOT_A_NUMBER</a>; +00658 <span class="keywordflow">return</span> 0; +00659 } +00660 } +00661 <span class="keywordflow">if</span> ((needs_unsigned) && (atoi(val)<0)) +00662 { +00663 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a27">CONF_NOT_UNSIGNED</a>; +00664 <span class="keywordflow">return</span> 0; +00665 } +00666 <span class="keywordflow">return</span> atoi(val); +00667 } </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#l00605">605</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. -<p> -References <a class="el" href="modules_8h-source.html#l00683">cache</a>, <a class="el" href="modules_8h-source.html#l00666">CONF_VALUE_NOT_FOUND</a>, and <a class="el" href="modules_8h-source.html#l00688">error</a>. -<p> -<div class="fragment"><pre>00606 { -00607 <span class="keywordtype">char</span> val[MAXBUF]; -00608 <span class="keywordtype">char</span> t[MAXBUF]; -00609 <span class="keywordtype">char</span> n[MAXBUF]; -00610 strlcpy(t,tag.c_str(),MAXBUF); -00611 strlcpy(n,name.c_str(),MAXBUF); -00612 <span class="keywordtype">int</span> res = ReadConf(cache,t,n,index,val); -00613 <span class="keywordflow">if</span> (!res) -00614 { -00615 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a24">CONF_VALUE_NOT_FOUND</a>; -00616 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; -00617 } -00618 <span class="keywordflow">return</span> std::string(val); -00619 } +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> +References <a class="el" href="modules_8h-source.html#l00693">cache</a>, <a class="el" href="modules_8h-source.html#l00676">CONF_VALUE_NOT_FOUND</a>, and <a class="el" href="modules_8h-source.html#l00698">error</a>. +<p> +<div class="fragment"><pre>00608 { +00609 <span class="keywordtype">char</span> val[MAXBUF]; +00610 <span class="keywordtype">char</span> t[MAXBUF]; +00611 <span class="keywordtype">char</span> n[MAXBUF]; +00612 strlcpy(t,tag.c_str(),MAXBUF); +00613 strlcpy(n,name.c_str(),MAXBUF); +00614 <span class="keywordtype">int</span> res = ReadConf(cache,t,n,index,val); +00615 <span class="keywordflow">if</span> (!res) +00616 { +00617 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a28">CONF_VALUE_NOT_FOUND</a>; +00618 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; +00619 } +00620 <span class="keywordflow">return</span> std::string(val); +00621 } </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#l00717">717</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00719">719</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l00687">readerror</a>. +References <a class="el" href="modules_8h-source.html#l00697">readerror</a>. <p> -<div class="fragment"><pre>00718 { -00719 <span class="keywordflow">return</span> this-><a class="code" href="classConfigReader.html#p2">readerror</a>; -00720 } +<div class="fragment"><pre>00720 { +00721 <span class="keywordflow">return</span> this-><a class="code" href="classConfigReader.html#p2">readerror</a>; +00722 } </pre></div> </td> </tr> </table> @@ -685,9 +685,9 @@ The contents of the configuration file This protected member should never be acc <p> It will contain a pointer to the configuration file data with unneeded data (such as comments) stripped from it. <p> -Definition at line <a class="el" href="modules_8h-source.html#l00683">683</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. +Definition at line <a class="el" href="modules_8h-source.html#l00693">693</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#l00577">ConfigReader()</a>, <a class="el" href="modules_8cpp-source.html#l00707">Enumerate()</a>, <a class="el" href="modules_8cpp-source.html#l00712">EnumerateValues()</a>, <a class="el" href="modules_8cpp-source.html#l00621">ReadFlag()</a>, <a class="el" href="modules_8cpp-source.html#l00638">ReadInteger()</a>, <a class="el" href="modules_8cpp-source.html#l00605">ReadValue()</a>, and <a class="el" href="modules_8cpp-source.html#l00587">~ConfigReader()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00579">ConfigReader()</a>, <a class="el" href="modules_8cpp-source.html#l00709">Enumerate()</a>, <a class="el" href="modules_8cpp-source.html#l00714">EnumerateValues()</a>, <a class="el" href="modules_8cpp-source.html#l00623">ReadFlag()</a>, <a class="el" href="modules_8cpp-source.html#l00640">ReadInteger()</a>, <a class="el" href="modules_8cpp-source.html#l00607">ReadValue()</a>, and <a class="el" href="modules_8cpp-source.html#l00589">~ConfigReader()</a>. </td> </tr> </table> <a name="p3" doxytag="ConfigReader::error"></a><p> @@ -711,9 +711,9 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00577">ConfigReader( <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00688">688</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. +Definition at line <a class="el" href="modules_8h-source.html#l00698">698</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#l00577">ConfigReader()</a>, <a class="el" href="modules_8cpp-source.html#l00667">GetError()</a>, <a class="el" href="modules_8cpp-source.html#l00621">ReadFlag()</a>, <a class="el" href="modules_8cpp-source.html#l00638">ReadInteger()</a>, and <a class="el" href="modules_8cpp-source.html#l00605">ReadValue()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00579">ConfigReader()</a>, <a class="el" href="modules_8cpp-source.html#l00669">GetError()</a>, <a class="el" href="modules_8cpp-source.html#l00623">ReadFlag()</a>, <a class="el" href="modules_8cpp-source.html#l00640">ReadInteger()</a>, and <a class="el" href="modules_8cpp-source.html#l00607">ReadValue()</a>. </td> </tr> </table> <a name="p1" doxytag="ConfigReader::errorlog"></a><p> @@ -737,9 +737,9 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00577">ConfigReader( <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00684">684</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. +Definition at line <a class="el" href="modules_8h-source.html#l00694">694</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#l00577">ConfigReader()</a>, <a class="el" href="modules_8cpp-source.html#l00674">DumpErrors()</a>, and <a class="el" href="modules_8cpp-source.html#l00587">~ConfigReader()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00579">ConfigReader()</a>, <a class="el" href="modules_8cpp-source.html#l00676">DumpErrors()</a>, and <a class="el" href="modules_8cpp-source.html#l00589">~ConfigReader()</a>. </td> </tr> </table> <a name="p2" doxytag="ConfigReader::readerror"></a><p> @@ -765,14 +765,14 @@ Used to store errors. <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00687">687</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. +Definition at line <a class="el" href="modules_8h-source.html#l00697">697</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#l00577">ConfigReader()</a>, and <a class="el" href="modules_8cpp-source.html#l00717">Verify()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00579">ConfigReader()</a>, and <a class="el" href="modules_8cpp-source.html#l00719">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 Mon Apr 4 18:12:51 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:24 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 2bc578f18..cc3585988 100644 --- a/docs/module-doc/classConnectClass-members.html +++ b/docs/module-doc/classConnectClass-members.html @@ -15,7 +15,7 @@ <tr class="memlist"><td><a class="el" href="classConnectClass.html#o1">registration_timeout</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 Mon Apr 4 18:12:51 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:24 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 f0cb52875..67b9187fe 100644 --- a/docs/module-doc/classConnectClass.html +++ b/docs/module-doc/classConnectClass.html @@ -221,7 +221,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 Mon Apr 4 18:12:51 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:24 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 0cffc538a..87a31deb7 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#a3">ReverseLookup</a>(std::string ip)</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 Mon Apr 4 18:12:51 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:24 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 13e92c334..4ae31e5bf 100644 --- a/docs/module-doc/classDNS.html +++ b/docs/module-doc/classDNS.html @@ -885,7 +885,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 Mon Apr 4 18:12:51 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:24 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 61d32e586..1fc38092c 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 Mon Apr 4 18:12:51 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:24 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 115ba2bc8..155546871 100644 --- a/docs/module-doc/classELine.html +++ b/docs/module-doc/classELine.html @@ -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 Mon Apr 4 18:12:51 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:24 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 4724c1315..f8347d9ea 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 Mon Apr 4 18:12:51 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:24 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 f1a540a50..d1860b10d 100644 --- a/docs/module-doc/classExemptItem.html +++ b/docs/module-doc/classExemptItem.html @@ -22,7 +22,7 @@ A subclass of <a class="el" href="classHostItem.html">HostItem</a> designed to h <p> Definition at line <a class="el" href="channels_8h-source.html#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> <li><a class="el" href="channels_8h-source.html">channels.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Mon Apr 4 18:12:51 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:24 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 de190c242..4ada07153 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 Mon Apr 4 18:12:51 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:24 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 b10a04490..f89b5e606 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#l00197">197</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00199">199</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8cpp-source.html#l00191">modechar</a>, <a class="el" href="modules_8cpp-source.html#l00195">needsoper</a>, <a class="el" href="modules_8cpp-source.html#l00194">params_when_off</a>, <a class="el" href="modules_8cpp-source.html#l00193">params_when_on</a>, and <a class="el" href="modules_8cpp-source.html#l00192">type</a>. +References <a class="el" href="modules_8cpp-source.html#l00193">modechar</a>, <a class="el" href="modules_8cpp-source.html#l00197">needsoper</a>, <a class="el" href="modules_8cpp-source.html#l00196">params_when_off</a>, <a class="el" href="modules_8cpp-source.html#l00195">params_when_on</a>, and <a class="el" href="modules_8cpp-source.html#l00194">type</a>. <p> -<div class="fragment"><pre>00197 : <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>00199 : <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#l00191">modechar</a>, <a <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#l00198">198</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#l00196">196</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>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00193">193</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00197">ExtMode()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00199">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#l00197">ExtMode()</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00195">195</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00197">197</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#l00197">ExtMode()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00199">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#l00197">ExtMode()</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>. +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>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00197">ExtMode()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00199">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#l00197">ExtMode()</a> <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>. +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>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00197">ExtMode()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00199">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#l00197">ExtMode()</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>. +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>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00197">ExtMode()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00199">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 Mon Apr 4 18:12:51 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:24 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 32368b3f8..adf9debc0 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 Mon Apr 4 18:12:51 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:24 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 60c2132c3..15857b812 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 Mon Apr 4 18:12:51 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:24 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 7e2ada15e..42da61751 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 Mon Apr 4 18:12:52 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:24 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 3055133a9..486a4d4ab 100644 --- a/docs/module-doc/classFileReader.html +++ b/docs/module-doc/classFileReader.html @@ -37,7 +37,7 @@ Inherits <a class="el" href="classclassbase.html">classbase</a>. <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the size of the file in lines. </em> <a href="#a6"></a><em><br><br></td></tr> <tr><td colspan=2><br><h2>Private Attributes</h2></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="modules_8h.html#a26">file_cache</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classFileReader.html#r0">fc</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="modules_8h.html#a30">file_cache</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classFileReader.html#r0">fc</a></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> @@ -47,7 +47,7 @@ This class contains methods for read-only manipulation of a text file in memory. <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00764">764</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> +Definition at line <a class="el" href="modules_8h-source.html#l00774">774</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> <a name="a0" doxytag="FileReader::FileReader"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> @@ -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#l00730">730</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00732">732</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00731 { -00732 } +<div class="fragment"><pre>00733 { +00734 } </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#l00723">723</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00725">725</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l00766">fc</a>, and <a class="el" href="modules_8h-source.html#l00060">file_cache</a>. +References <a class="el" href="modules_8h-source.html#l00776">fc</a>, and <a class="el" href="modules_8h-source.html#l00067">file_cache</a>. <p> -<div class="fragment"><pre>00724 { -00725 <a class="code" href="modules_8h.html#a26">file_cache</a> c; -00726 readfile(c,filename.c_str()); -00727 this-><a class="code" href="classFileReader.html#r0">fc</a> = c; -00728 } +<div class="fragment"><pre>00726 { +00727 <a class="code" href="modules_8h.html#a30">file_cache</a> c; +00728 readfile(c,filename.c_str()); +00729 this-><a class="code" href="classFileReader.html#r0">fc</a> = c; +00730 } </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#l00742">742</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +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>. <p> -<div class="fragment"><pre>00743 { -00744 } +<div class="fragment"><pre>00745 { +00746 } </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#l00746">746</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00748">748</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l00766">fc</a>. +References <a class="el" href="modules_8h-source.html#l00776">fc</a>. <p> -<div class="fragment"><pre>00747 { -00748 <span class="keywordflow">if</span> (<a class="code" href="classFileReader.html#r0">fc</a>.size() == 0) -00749 { -00750 <span class="keywordflow">return</span>(<span class="keyword">false</span>); -00751 } -00752 <span class="keywordflow">else</span> -00753 { -00754 <span class="keywordflow">return</span>(<span class="keyword">true</span>); -00755 } -00756 } +<div class="fragment"><pre>00749 { +00750 <span class="keywordflow">if</span> (<a class="code" href="classFileReader.html#r0">fc</a>.size() == 0) +00751 { +00752 <span class="keywordflow">return</span>(<span class="keyword">false</span>); +00753 } +00754 <span class="keywordflow">else</span> +00755 { +00756 <span class="keywordflow">return</span>(<span class="keyword">true</span>); +00757 } +00758 } </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#l00765">765</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00767">767</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l00766">fc</a>. +References <a class="el" href="modules_8h-source.html#l00776">fc</a>. <p> -<div class="fragment"><pre>00766 { -00767 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#r0">fc</a>.size(); -00768 } +<div class="fragment"><pre>00768 { +00769 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#r0">fc</a>.size(); +00770 } </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#l00758">758</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00760">760</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l00766">fc</a>. +References <a class="el" href="modules_8h-source.html#l00776">fc</a>. <p> -<div class="fragment"><pre>00759 { -00760 <span class="keywordflow">if</span> ((x<0) || (x><a class="code" href="classFileReader.html#r0">fc</a>.size())) -00761 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; -00762 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#r0">fc</a>[x]; -00763 } +<div class="fragment"><pre>00761 { +00762 <span class="keywordflow">if</span> ((x<0) || (x><a class="code" href="classFileReader.html#r0">fc</a>.size())) +00763 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; +00764 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#r0">fc</a>[x]; +00765 } </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#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#l00736">736</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l00766">fc</a>, and <a class="el" href="modules_8h-source.html#l00060">file_cache</a>. +References <a class="el" href="modules_8h-source.html#l00776">fc</a>, and <a class="el" href="modules_8h-source.html#l00067">file_cache</a>. <p> -<div class="fragment"><pre>00735 { -00736 <a class="code" href="modules_8h.html#a26">file_cache</a> c; -00737 readfile(c,filename.c_str()); -00738 this-><a class="code" href="classFileReader.html#r0">fc</a> = c; -00739 } +<div class="fragment"><pre>00737 { +00738 <a class="code" href="modules_8h.html#a30">file_cache</a> c; +00739 readfile(c,filename.c_str()); +00740 this-><a class="code" href="classFileReader.html#r0">fc</a> = c; +00741 } </pre></div> </td> </tr> </table> @@ -339,7 +339,7 @@ References <a class="el" href="modules_8h-source.html#l00766">fc</a>, and <a cla <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> <a class="el" href="modules_8h.html#a26">file_cache</a> <a class="el" href="classFileReader.html#r0">FileReader::fc</a><code> [private]</code> + <td class="md" nowrap valign="top"> <a class="el" href="modules_8h.html#a30">file_cache</a> <a class="el" href="classFileReader.html#r0">FileReader::fc</a><code> [private]</code> </table> </td> </tr> @@ -354,14 +354,14 @@ References <a class="el" href="modules_8h-source.html#l00766">fc</a>, and <a cla <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00766">766</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. +Definition at line <a class="el" href="modules_8h-source.html#l00776">776</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#l00746">Exists()</a>, <a class="el" href="modules_8cpp-source.html#l00723">FileReader()</a>, <a class="el" href="modules_8cpp-source.html#l00765">FileSize()</a>, <a class="el" href="modules_8cpp-source.html#l00758">GetLine()</a>, and <a class="el" href="modules_8cpp-source.html#l00734">LoadFile()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00748">Exists()</a>, <a class="el" href="modules_8cpp-source.html#l00725">FileReader()</a>, <a class="el" href="modules_8cpp-source.html#l00767">FileSize()</a>, <a class="el" href="modules_8cpp-source.html#l00760">GetLine()</a>, and <a class="el" href="modules_8cpp-source.html#l00736">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 Mon Apr 4 18:12:52 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:24 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 447761d46..bc630fbca 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 Mon Apr 4 18:12:52 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:24 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 c7c328e9c..ad6d0ac46 100644 --- a/docs/module-doc/classGLine.html +++ b/docs/module-doc/classGLine.html @@ -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 Mon Apr 4 18:12:52 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:24 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 776db944b..119eeacf6 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 Mon Apr 4 18:12:52 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:25 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 b5d48a2db..a0698360b 100644 --- a/docs/module-doc/classHostItem.html +++ b/docs/module-doc/classHostItem.html @@ -178,7 +178,7 @@ Definition at line <a class="el" href="channels_8h-source.html#l00032">32</a> of </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="channels_8h-source.html">channels.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Mon Apr 4 18:12:52 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:25 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 252e99679..7275e3124 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 Mon Apr 4 18:12:52 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:25 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 2ebef6183..8ca096712 100644 --- a/docs/module-doc/classInviteItem.html +++ b/docs/module-doc/classInviteItem.html @@ -22,7 +22,7 @@ A subclass of <a class="el" href="classHostItem.html">HostItem</a> designed to h <p> Definition at line <a class="el" href="channels_8h-source.html#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> <li><a class="el" href="channels_8h-source.html">channels.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Mon Apr 4 18:12:52 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:25 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 6dbff63da..a6f7712f8 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 Mon Apr 4 18:12:52 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:25 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 c90c28b66..06d1b61a6 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#l00083">userrec::InviteTo()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00085">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 Mon Apr 4 18:12:52 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:25 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 8ff604d55..0810cb873 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 Mon Apr 4 18:12:52 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:25 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 89989fb0e..93f667d2a 100644 --- a/docs/module-doc/classKLine.html +++ b/docs/module-doc/classKLine.html @@ -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 Mon Apr 4 18:12:52 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:25 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 819e4cf6b..ecbde9365 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 Mon Apr 4 18:12:52 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:25 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 0cc47c796..079eab0cd 100644 --- a/docs/module-doc/classModeParameter.html +++ b/docs/module-doc/classModeParameter.html @@ -53,7 +53,7 @@ Definition at line <a class="el" href="channels_8h-source.html#l00070">70</a> of <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>. <p> -Referenced by <a class="el" href="channels_8cpp-source.html#l00148">chanrec::SetCustomModeParam()</a>. </td> +Referenced by <a class="el" href="channels_8cpp-source.html#l00149">chanrec::SetCustomModeParam()</a>. </td> </tr> </table> <a name="o0" doxytag="ModeParameter::mode"></a><p> @@ -79,7 +79,7 @@ Referenced by <a class="el" href="channels_8cpp-source.html#l00148">chanrec::Set <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>. <p> -Referenced by <a class="el" href="channels_8cpp-source.html#l00148">chanrec::SetCustomModeParam()</a>. </td> +Referenced by <a class="el" href="channels_8cpp-source.html#l00149">chanrec::SetCustomModeParam()</a>. </td> </tr> </table> <a name="o1" doxytag="ModeParameter::parameter"></a><p> @@ -105,12 +105,12 @@ Referenced by <a class="el" href="channels_8cpp-source.html#l00148">chanrec::Set <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>. <p> -Referenced by <a class="el" href="channels_8cpp-source.html#l00148">chanrec::SetCustomModeParam()</a>. </td> +Referenced by <a class="el" href="channels_8cpp-source.html#l00149">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 Mon Apr 4 18:12:52 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:25 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 2f3a78996..ed580f75a 100644 --- a/docs/module-doc/classModule-members.html +++ b/docs/module-doc/classModule-members.html @@ -36,7 +36,7 @@ <tr class="memlist"><td><a class="el" href="classModule.html#a15">OnWhois</a>(userrec *source, userrec *dest)</td><td><a class="el" href="classModule.html">Module</a></td><td><code> [virtual]</code></td></tr> <tr 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 Mon Apr 4 18:12:53 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:25 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 527a07eb2..1d3fc1699 100644 --- a/docs/module-doc/classModule.html +++ b/docs/module-doc/classModule.html @@ -48,7 +48,7 @@ Inherits <a class="el" href="classclassbase.html">classbase</a>. <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classModule.html#a10">OnServerRaw</a> (std::string &raw, bool inbound, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Called when a raw command is transmitted or received. </em> <a href="#a10"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>virtual int </td><td class="memItemRight" valign=bottom><a class="el" href="classModule.html#a11">OnExtendedMode</a> (<a class="el" href="classuserrec.html">userrec</a> *user, void *target, char modechar, int type, bool mode_on, <a class="el" href="modules_8h.html#a27">string_list</a> &params)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual int </td><td class="memItemRight" valign=bottom><a class="el" href="classModule.html#a11">OnExtendedMode</a> (<a class="el" href="classuserrec.html">userrec</a> *user, void *target, char modechar, int type, bool mode_on, <a class="el" href="modules_8h.html#a31">string_list</a> &params)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Called whenever an extended mode is to be processed. </em> <a href="#a11"></a><em><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>virtual int </td><td class="memItemRight" valign=bottom><a class="el" href="classModule.html#a12">OnUserPreJoin</a> (<a class="el" href="classuserrec.html">userrec</a> *user, <a class="el" href="classchanrec.html">chanrec</a> *chan, const char *cname)</td></tr> @@ -81,10 +81,10 @@ Inherits <a class="el" href="classclassbase.html">classbase</a>. <tr><td class="memItemLeft" nowrap align=right valign=top>virtual int </td><td class="memItemRight" valign=bottom><a class="el" href="classModule.html#a21">OnAccessCheck</a> (<a class="el" href="classuserrec.html">userrec</a> *source, <a class="el" href="classuserrec.html">userrec</a> *dest, <a class="el" href="classchanrec.html">chanrec</a> *channel, int access_type)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Called before an action which requires a channel privilage check. </em> <a href="#a21"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="modules_8h.html#a27">string_list</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classModule.html#a22">OnUserSync</a> (<a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="modules_8h.html#a31">string_list</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classModule.html#a22">OnUserSync</a> (<a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Called during a netburst to sync user data. </em> <a href="#a22"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="modules_8h.html#a27">string_list</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classModule.html#a23">OnChannelSync</a> (<a class="el" href="classchanrec.html">chanrec</a> *chan)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="modules_8h.html#a31">string_list</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classModule.html#a23">OnChannelSync</a> (<a class="el" href="classchanrec.html">chanrec</a> *chan)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Called during a netburst to sync channel data. </em> <a href="#a23"></a><em><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classModule.html#a24">On005Numeric</a> (std::string &output)</td></tr> @@ -104,7 +104,7 @@ All modules must inherit from this class, its methods will be called when irc se <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00126">126</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> +Definition at line <a class="el" href="modules_8h-source.html#l00133">133</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> <a name="a0" doxytag="Module::Module"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> @@ -134,9 +134,9 @@ Default constructor creates a module class. <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00304">304</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00306">306</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00304 { } +<div class="fragment"><pre>00306 { } </pre></div> </td> </tr> </table> @@ -169,9 +169,9 @@ Default destructor destroys a module class. <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00305">305</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00307">307</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00305 { } +<div class="fragment"><pre>00307 { } </pre></div> </td> </tr> </table> @@ -205,9 +205,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#l00316">316</a> 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#l00054">VF_VENDOR</a>. <p> -<div class="fragment"><pre>00316 { <span class="keywordflow">return</span> <a class="code" href="classVersion.html">Version</a>(1,0,0,0); } +<div class="fragment"><pre>00318 { <span class="keywordflow">return</span> <a class="code" href="classVersion.html">Version</a>(1,0,0,0,VF_VENDOR); } </pre></div> </td> </tr> </table> @@ -241,9 +243,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#l00328">328</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00330">330</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00328 { }; +<div class="fragment"><pre>00330 { }; </pre></div> </td> </tr> </table> @@ -310,11 +312,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#l00325">325</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +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>. <p> References <a class="el" href="modules_8h-source.html#l00037">ACR_DEFAULT</a>. <p> -<div class="fragment"><pre>00325 { <span class="keywordflow">return</span> <a class="code" href="modules_8h.html#a8">ACR_DEFAULT</a>; }; +<div class="fragment"><pre>00327 { <span class="keywordflow">return</span> <a class="code" href="modules_8h.html#a8">ACR_DEFAULT</a>; }; </pre></div> </td> </tr> </table> @@ -324,7 +326,7 @@ References <a class="el" href="modules_8h-source.html#l00037">ACR_DEFAULT</a>. <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> <a class="el" href="modules_8h.html#a27">string_list</a> Module::OnChannelSync </td> + <td class="md" nowrap valign="top"> <a class="el" href="modules_8h.html#a31">string_list</a> Module::OnChannelSync </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classchanrec.html">chanrec</a> * </td> <td class="mdname1" valign="top" nowrap> <em>chan</em> </td> @@ -348,11 +350,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#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#l00329">329</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l00061">string_list</a>. +References <a class="el" href="modules_8h-source.html#l00068">string_list</a>. <p> -<div class="fragment"><pre>00327 { <a class="code" href="modules_8h.html#a27">string_list</a> empty; <span class="keywordflow">return</span> empty; } +<div class="fragment"><pre>00329 { <a class="code" href="modules_8h.html#a31">string_list</a> empty; <span class="keywordflow">return</span> empty; } </pre></div> </td> </tr> </table> @@ -394,7 +396,7 @@ References <a class="el" href="modules_8h-source.html#l00061">string_list</a>. <tr> <td></td> <td></td> - <td class="md" nowrap><a class="el" href="modules_8h.html#a27">string_list</a> & </td> + <td class="md" nowrap><a class="el" href="modules_8h.html#a31">string_list</a> & </td> <td class="mdname" nowrap> <em>params</em></td> </tr> <tr> @@ -419,9 +421,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#a21">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#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#l00317">317</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00315 { <span class="keywordflow">return</span> <span class="keyword">false</span>; } +<div class="fragment"><pre>00317 { <span class="keywordflow">return</span> <span class="keyword">false</span>; } </pre></div> </td> </tr> </table> @@ -456,9 +458,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#l00318">318</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00320">320</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00318 { }; +<div class="fragment"><pre>00320 { }; </pre></div> </td> </tr> </table> @@ -507,9 +509,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#l00329">329</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00331">331</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00329 { <span class="keywordflow">return</span> 0; }; +<div class="fragment"><pre>00331 { <span class="keywordflow">return</span> 0; }; </pre></div> </td> </tr> </table> @@ -552,9 +554,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#l00330">330</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00332">332</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00330 { }; +<div class="fragment"><pre>00332 { }; </pre></div> </td> </tr> </table> @@ -588,9 +590,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#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#l00319">319</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00317 { }; +<div class="fragment"><pre>00319 { }; </pre></div> </td> </tr> </table> @@ -624,9 +626,9 @@ Called after a packet is received from another irc server. <p> The packet is represented as a char*, as it should be regarded as a buffer, and not a string. This allows you to easily represent it in the correct ways to implement encryption, compression, digital signatures and anything else you may want to add. This should be regarded as a pre-processor and will be called 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#l00311">311</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00313">313</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00311 { } +<div class="fragment"><pre>00313 { } </pre></div> </td> </tr> </table> @@ -660,9 +662,9 @@ Called before a packet is transmitted across the irc network between two irc ser <p> The packet is represented as a char*, as it should be regarded as a buffer, and not a string. This allows you to easily represent it in the correct ways to implement encryption, compression, digital signatures and anything else you may want to add. This should be regarded as a pre-processor and will be called before ANY other operations within the ircd core program. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00310">310</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00312">312</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00310 { } +<div class="fragment"><pre>00312 { } </pre></div> </td> </tr> </table> @@ -695,9 +697,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#l00312">312</a> 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>00312 { } +<div class="fragment"><pre>00314 { } </pre></div> </td> </tr> </table> @@ -746,9 +748,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#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#l00315">315</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00313 { } +<div class="fragment"><pre>00315 { } </pre></div> </td> </tr> </table> @@ -782,9 +784,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#l00306">306</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00308">308</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00306 { } +<div class="fragment"><pre>00308 { } </pre></div> </td> </tr> </table> @@ -827,9 +829,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#l00308">308</a> 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>00308 { } +<div class="fragment"><pre>00310 { } </pre></div> </td> </tr> </table> @@ -872,9 +874,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#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#l00311">311</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00309 { } +<div class="fragment"><pre>00311 { } </pre></div> </td> </tr> </table> @@ -917,9 +919,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#l00324">324</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00326">326</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00324 { }; +<div class="fragment"><pre>00326 { }; </pre></div> </td> </tr> </table> @@ -968,9 +970,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#l00320">320</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00322">322</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00320 { <span class="keywordflow">return</span> 0; }; +<div class="fragment"><pre>00322 { <span class="keywordflow">return</span> 0; }; </pre></div> </td> </tr> </table> @@ -1021,9 +1023,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#l00314">314</a> 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>00314 { <span class="keywordflow">return</span> 0; } +<div class="fragment"><pre>00316 { <span class="keywordflow">return</span> 0; } </pre></div> </td> </tr> </table> @@ -1078,9 +1080,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#l00321">321</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00323">323</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00321 { <span class="keywordflow">return</span> 0; }; +<div class="fragment"><pre>00323 { <span class="keywordflow">return</span> 0; }; </pre></div> </td> </tr> </table> @@ -1123,9 +1125,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#l00323">323</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00325">325</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00323 { <span class="keywordflow">return</span> 0; }; +<div class="fragment"><pre>00325 { <span class="keywordflow">return</span> 0; }; </pre></div> </td> </tr> </table> @@ -1180,9 +1182,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#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#l00324">324</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00322 { <span class="keywordflow">return</span> 0; }; +<div class="fragment"><pre>00324 { <span class="keywordflow">return</span> 0; }; </pre></div> </td> </tr> </table> @@ -1216,9 +1218,9 @@ Called when a user quits. <p> The details of the exiting user are available to you in the parameter userrec *user <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00307">307</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +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>. <p> -<div class="fragment"><pre>00307 { } +<div class="fragment"><pre>00309 { } </pre></div> </td> </tr> </table> @@ -1228,7 +1230,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00307">307</a> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> <a class="el" href="modules_8h.html#a27">string_list</a> Module::OnUserSync </td> + <td class="md" nowrap valign="top"> <a class="el" href="modules_8h.html#a31">string_list</a> Module::OnUserSync </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td> <td class="mdname1" valign="top" nowrap> <em>user</em> </td> @@ -1252,11 +1254,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#l00326">326</a> 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#l00061">string_list</a>. +References <a class="el" href="modules_8h-source.html#l00068">string_list</a>. <p> -<div class="fragment"><pre>00326 { <a class="code" href="modules_8h.html#a27">string_list</a> empty; <span class="keywordflow">return</span> empty; } +<div class="fragment"><pre>00328 { <a class="code" href="modules_8h.html#a31">string_list</a> empty; <span class="keywordflow">return</span> empty; } </pre></div> </td> </tr> </table> @@ -1299,15 +1301,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#l00319">319</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00321">321</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00319 { }; +<div class="fragment"><pre>00321 { }; </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 Mon Apr 4 18:12:53 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:25 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 7f64a72c2..d22e64210 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 Mon Apr 4 18:12:53 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:25 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 2146d55b5..f7abc4b3f 100644 --- a/docs/module-doc/classModuleFactory.html +++ b/docs/module-doc/classModuleFactory.html @@ -30,7 +30,7 @@ This is to allow for modules to create many different variants of <a class="el" <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00819">819</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> +Definition at line <a class="el" href="modules_8h-source.html#l00829">829</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> <a name="a0" doxytag="ModuleFactory::ModuleFactory"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> @@ -58,9 +58,9 @@ Definition at line <a class="el" href="modules_8h-source.html#l00819">819</a> of <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00822">822</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. +Definition at line <a class="el" href="modules_8h-source.html#l00832">832</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. <p> -<div class="fragment"><pre>00822 { } +<div class="fragment"><pre>00832 { } </pre></div> </td> </tr> </table> @@ -91,9 +91,9 @@ Definition at line <a class="el" href="modules_8h-source.html#l00822">822</a> of <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00823">823</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. +Definition at line <a class="el" href="modules_8h-source.html#l00833">833</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. <p> -<div class="fragment"><pre>00823 { } +<div class="fragment"><pre>00833 { } </pre></div> </td> </tr> </table> @@ -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 Mon Apr 4 18:12:53 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:25 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 65fabcd6d..a9e407220 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 Mon Apr 4 18:12:53 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:25 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 dfe01a725..9a5de4ee5 100644 --- a/docs/module-doc/classQLine.html +++ b/docs/module-doc/classQLine.html @@ -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 Mon Apr 4 18:12:53 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:25 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 75226da12..b96842b07 100644 --- a/docs/module-doc/classServer-members.html +++ b/docs/module-doc/classServer-members.html @@ -6,7 +6,7 @@ <!-- 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>Server Member List</h1>This is the complete list of members for <a class="el" href="classServer.html">Server</a>, including all inherited members.<table> - <tr class="memlist"><td><a class="el" href="classServer.html#a23">AddCommand</a>(char *cmd, handlerfunc f, char flags, int minparams)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classServer.html#a23">AddCommand</a>(char *cmd, handlerfunc f, char flags, int minparams, char *source)</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="classServer.html#a22">AddExtendedListMode</a>(char modechar)</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="classServer.html#a21">AddExtendedMode</a>(char modechar, int type, bool requires_oper, int params_when_on, int params_when_off)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> <tr 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> @@ -45,7 +45,7 @@ <tr class="memlist"><td><a class="el" href="classServer.html#a0">Server</a>()</td><td><a class="el" href="classServer.html">Server</a></td><td></td></tr> <tr 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 Mon Apr 4 18:12:54 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:26 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 23971e233..c126dc81a 100644 --- a/docs/module-doc/classServer.html +++ b/docs/module-doc/classServer.html @@ -84,7 +84,7 @@ Inherits <a class="el" href="classclassbase.html">classbase</a>. <tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a22">AddExtendedListMode</a> (char modechar)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Adds an extended mode letter which is parsed by a module and handled in a list fashion. </em> <a href="#a22"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a23">AddCommand</a> (char *cmd, handlerfunc f, char flags, int minparams)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a23">AddCommand</a> (char *cmd, handlerfunc f, char flags, int minparams, char *source)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Adds a command to the command table. </em> <a href="#a23"></a><em><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a24">SendMode</a> (char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> @@ -120,7 +120,7 @@ Inherits <a class="el" href="classclassbase.html">classbase</a>. <tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a34">IsUlined</a> (std::string server)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns true if the servername you give is ulined. </em> <a href="#a34"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="modules_8h.html#a28">chanuserlist</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a35">GetUsers</a> (<a class="el" href="classchanrec.html">chanrec</a> *chan)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="modules_8h.html#a32">chanuserlist</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a35">GetUsers</a> (<a class="el" href="classchanrec.html">chanrec</a> *chan)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Fetches the userlist of a channel. </em> <a href="#a35"></a><em><br><br></td></tr> </table> @@ -131,7 +131,7 @@ All modules should instantiate at least one copy of this class, and use its memb <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00371">371</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> +Definition at line <a class="el" href="modules_8h-source.html#l00378">378</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> <a name="a0" doxytag="Server::Server"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> @@ -161,10 +161,10 @@ Default constructor. <p> Creates a Server object. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00337">337</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00339">339</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00338 { -00339 } +<div class="fragment"><pre>00340 { +00341 } </pre></div> </td> </tr> </table> @@ -197,10 +197,10 @@ Default destructor. <p> Destroys a Server object. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00341">341</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00343">343</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00342 { -00343 } +<div class="fragment"><pre>00344 { +00345 } </pre></div> </td> </tr> </table> @@ -232,7 +232,13 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00341">341</a> <td></td> <td></td> <td class="md" nowrap>int </td> - <td class="mdname" nowrap> <em>minparams</em></td> + <td class="mdname" nowrap> <em>minparams</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>source</em></td> </tr> <tr> <td></td> @@ -256,15 +262,15 @@ Adds a command to the command table. <p> This allows modules to add extra commands into the command table. You must place a function within your module which is is of type handlerfunc:<p> typedef void (handlerfunc) (char**, int, userrec*); ... void <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'. +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#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#l00420">420</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h.html#a30">createcommand()</a>. +References <a class="el" href="modules_8h.html#a34">createcommand()</a>. <p> -<div class="fragment"><pre>00419 { -00420 <a class="code" href="modules_8h.html#a30">createcommand</a>(cmd,f,flags,minparams); -00421 } +<div class="fragment"><pre>00421 { +00422 <a class="code" href="modules_8h.html#a34">createcommand</a>(cmd,f,flags,minparams,source); +00423 } </pre></div> </td> </tr> </table> @@ -303,16 +309,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#l00563">563</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00565">565</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8cpp-source.html#l00273">DoAddExtendedMode()</a>, <a class="el" href="modules_8cpp-source.html#l00283">ModeMakeList()</a>, and <a class="el" href="modules_8h-source.html#l00031">MT_CHANNEL</a>. +References <a class="el" href="modules_8cpp-source.html#l00275">DoAddExtendedMode()</a>, <a class="el" href="modules_8cpp-source.html#l00285">ModeMakeList()</a>, and <a class="el" href="modules_8h-source.html#l00031">MT_CHANNEL</a>. <p> -<div class="fragment"><pre>00564 { -00565 <span class="keywordtype">bool</span> res = <a class="code" href="modules_8cpp.html#a56">DoAddExtendedMode</a>(modechar,MT_CHANNEL,<span class="keyword">false</span>,1,1); -00566 <span class="keywordflow">if</span> (res) -00567 <a class="code" href="modules_8cpp.html#a57">ModeMakeList</a>(modechar); -00568 <span class="keywordflow">return</span> res; -00569 } +<div class="fragment"><pre>00566 { +00567 <span class="keywordtype">bool</span> res = <a class="code" href="modules_8cpp.html#a57">DoAddExtendedMode</a>(modechar,MT_CHANNEL,<span class="keyword">false</span>,1,1); +00568 <span class="keywordflow">if</span> (res) +00569 <a class="code" href="modules_8cpp.html#a58">ModeMakeList</a>(modechar); +00570 <span class="keywordflow">return</span> res; +00571 } </pre></div> </td> </tr> </table> @@ -373,28 +379,28 @@ 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#l00543">543</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#l00273">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>00544 { -00545 <span class="keywordflow">if</span> (type == <a class="code" href="modules_8h.html#a7">MT_SERVER</a>) -00546 { -00547 log(DEBUG,<span class="stringliteral">"*** API ERROR *** Modes of type MT_SERVER are reserved for future expansion"</span>); -00548 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00549 } -00550 <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>)) -00551 { -00552 log(DEBUG,<span class="stringliteral">"*** API ERROR *** Parameters on MT_CLIENT modes are not supported"</span>); -00553 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00554 } -00555 <span class="keywordflow">if</span> ((params_when_on>1) || (params_when_off>1)) -00556 { -00557 log(DEBUG,<span class="stringliteral">"*** API ERROR *** More than one parameter for an MT_CHANNEL mode is not yet supported"</span>); -00558 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00559 } -00560 <span class="keywordflow">return</span> <a class="code" href="modules_8cpp.html#a56">DoAddExtendedMode</a>(modechar,type,requires_oper,params_when_on,params_when_off); -00561 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00545">545</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#l00275">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>00546 { +00547 <span class="keywordflow">if</span> (type == <a class="code" href="modules_8h.html#a7">MT_SERVER</a>) +00548 { +00549 log(DEBUG,<span class="stringliteral">"*** API ERROR *** Modes of type MT_SERVER are reserved for future expansion"</span>); +00550 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00551 } +00552 <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>)) +00553 { +00554 log(DEBUG,<span class="stringliteral">"*** API ERROR *** Parameters on MT_CLIENT modes are not supported"</span>); +00555 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00556 } +00557 <span class="keywordflow">if</span> ((params_when_on>1) || (params_when_off>1)) +00558 { +00559 log(DEBUG,<span class="stringliteral">"*** API ERROR *** More than one parameter for an MT_CHANNEL mode is not yet supported"</span>); +00560 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00561 } +00562 <span class="keywordflow">return</span> <a class="code" href="modules_8cpp.html#a57">DoAddExtendedMode</a>(modechar,type,requires_oper,params_when_on,params_when_off); +00563 } </pre></div> </td> </tr> </table> @@ -450,11 +456,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#a23">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#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#l00410">410</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00409 { -00410 call_handler(commandname.c_str(),parameters,pcnt,user); -00411 } +<div class="fragment"><pre>00411 { +00412 call_handler(commandname.c_str(),parameters,pcnt,user); +00413 } </pre></div> </td> </tr> </table> @@ -497,13 +503,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#l00496">496</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +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>. <p> References <a class="el" href="message_8h.html#a10">ChangeName()</a>. <p> -<div class="fragment"><pre>00497 { -00498 <a class="code" href="message_8h.html#a10">ChangeName</a>(user,gecos.c_str()); -00499 } +<div class="fragment"><pre>00499 { +00500 <a class="code" href="message_8h.html#a10">ChangeName</a>(user,gecos.c_str()); +00501 } </pre></div> </td> </tr> </table> @@ -546,13 +552,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#l00491">491</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +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>. <p> References <a class="el" href="message_8h.html#a11">ChangeDisplayedHost()</a>. <p> -<div class="fragment"><pre>00492 { -00493 <a class="code" href="message_8h.html#a11">ChangeDisplayedHost</a>(user,host.c_str()); -00494 } +<div class="fragment"><pre>00494 { +00495 <a class="code" href="message_8h.html#a11">ChangeDisplayedHost</a>(user,host.c_str()); +00496 } </pre></div> </td> </tr> </table> @@ -595,11 +601,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#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#l00394">394</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00393 { -00394 force_nickchange(user,nickname.c_str()); -00395 } +<div class="fragment"><pre>00395 { +00396 force_nickchange(user,nickname.c_str()); +00397 } </pre></div> </td> </tr> </table> @@ -642,13 +648,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#l00516">516</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +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>. <p> References <a class="el" href="message_8h.html#a14">cmode()</a>. <p> -<div class="fragment"><pre>00517 { -00518 <span class="keywordflow">return</span> <a class="code" href="message_8h.html#a14">cmode</a>(User,Chan); -00519 } +<div class="fragment"><pre>00519 { +00520 <span class="keywordflow">return</span> <a class="code" href="message_8h.html#a14">cmode</a>(User,Chan); +00521 } </pre></div> </td> </tr> </table> @@ -691,13 +697,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#a10">Server::SendCommon</a> method. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00469">469</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00471">471</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>00470 { -00471 <span class="keywordflow">return</span> (<a class="code" href="message_8h.html#a0">common_channels</a>(u1,u2) != 0); -00472 } +<div class="fragment"><pre>00472 { +00473 <span class="keywordflow">return</span> (<a class="code" href="message_8h.html#a0">common_channels</a>(u1,u2) != 0); +00474 } </pre></div> </td> </tr> </table> @@ -731,11 +737,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#l00571">571</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00573">573</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00572 { -00573 <span class="keywordflow">return</span> usercount(c); -00574 } +<div class="fragment"><pre>00574 { +00575 <span class="keywordflow">return</span> usercount(c); +00576 } </pre></div> </td> </tr> </table> @@ -769,11 +775,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#l00511">511</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +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>. <p> -<div class="fragment"><pre>00512 { -00513 <span class="keywordflow">return</span> FindChan(channel.c_str()); -00514 } +<div class="fragment"><pre>00514 { +00515 <span class="keywordflow">return</span> FindChan(channel.c_str()); +00516 } </pre></div> </td> </tr> </table> @@ -807,11 +813,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#l00506">506</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +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>. <p> -<div class="fragment"><pre>00507 { -00508 <span class="keywordflow">return</span> Find(nick); -00509 } +<div class="fragment"><pre>00509 { +00510 <span class="keywordflow">return</span> Find(nick); +00511 } </pre></div> </td> </tr> </table> @@ -844,11 +850,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#l00536">536</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00538">538</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00537 { -00538 <span class="keywordflow">return</span> <a class="code" href="classAdmin.html">Admin</a>(getadminname(),getadminemail(),getadminnick()); -00539 } +<div class="fragment"><pre>00539 { +00540 <span class="keywordflow">return</span> <a class="code" href="classAdmin.html">Admin</a>(getadminname(),getadminemail(),getadminnick()); +00541 } </pre></div> </td> </tr> </table> @@ -881,11 +887,11 @@ Returns the network name, global to all linked servers. <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00531">531</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00533">533</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00532 { -00533 <span class="keywordflow">return</span> getnetworkname(); -00534 } +<div class="fragment"><pre>00534 { +00535 <span class="keywordflow">return</span> getnetworkname(); +00536 } </pre></div> </td> </tr> </table> @@ -918,11 +924,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#l00526">526</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +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>. <p> -<div class="fragment"><pre>00527 { -00528 <span class="keywordflow">return</span> getservername(); -00529 } +<div class="fragment"><pre>00529 { +00530 <span class="keywordflow">return</span> getservername(); +00531 } </pre></div> </td> </tr> </table> @@ -932,7 +938,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00526">526</a> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> <a class="el" href="modules_8h.html#a28">chanuserlist</a> Server::GetUsers </td> + <td class="md" nowrap valign="top"> <a class="el" href="modules_8h.html#a32">chanuserlist</a> Server::GetUsers </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classchanrec.html">chanrec</a> * </td> <td class="mdname1" valign="top" nowrap> <em>chan</em> </td> @@ -956,28 +962,28 @@ 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#l00373">373</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. -<p> -References <a class="el" href="modules_8h-source.html#l00065">chanuserlist</a>, <a class="el" href="modules_8cpp-source.html#l00177">clientlist</a>, <a class="el" href="message_8h.html#a16">has_channel()</a>, and <a class="el" href="message_8h.html#a13">isnick()</a>. -<p> -<div class="fragment"><pre>00374 { -00375 <a class="code" href="modules_8h.html#a28">chanuserlist</a> userl; -00376 userl.clear(); -00377 <span class="keywordflow">for</span> (user_hash::const_iterator i = <a class="code" href="modules_8cpp.html#a41">clientlist</a>.begin(); i != <a class="code" href="modules_8cpp.html#a41">clientlist</a>.end(); i++) -00378 { -00379 <span class="keywordflow">if</span> (i->second) -00380 { -00381 <span class="keywordflow">if</span> (<a class="code" href="message_8h.html#a16">has_channel</a>(i->second,chan)) -00382 { -00383 <span class="keywordflow">if</span> (<a class="code" href="message_8h.html#a13">isnick</a>(i->second->nick)) -00384 { -00385 userl.push_back(i->second); -00386 } -00387 } -00388 } -00389 } -00390 <span class="keywordflow">return</span> userl; -00391 } +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> +References <a class="el" href="modules_8h-source.html#l00072">chanuserlist</a>, <a class="el" href="modules_8cpp-source.html#l00179">clientlist</a>, <a class="el" href="message_8h.html#a16">has_channel()</a>, and <a class="el" href="message_8h.html#a13">isnick()</a>. +<p> +<div class="fragment"><pre>00376 { +00377 <a class="code" href="modules_8h.html#a32">chanuserlist</a> userl; +00378 userl.clear(); +00379 <span class="keywordflow">for</span> (user_hash::const_iterator i = <a class="code" href="modules_8cpp.html#a42">clientlist</a>.begin(); i != <a class="code" href="modules_8cpp.html#a42">clientlist</a>.end(); i++) +00380 { +00381 <span class="keywordflow">if</span> (i->second) +00382 { +00383 <span class="keywordflow">if</span> (<a class="code" href="message_8h.html#a16">has_channel</a>(i->second,chan)) +00384 { +00385 <span class="keywordflow">if</span> (<a class="code" href="message_8h.html#a13">isnick</a>(i->second->nick)) +00386 { +00387 userl.push_back(i->second); +00388 } +00389 } +00390 } +00391 } +00392 <span class="keywordflow">return</span> userl; +00393 } </pre></div> </td> </tr> </table> @@ -1011,13 +1017,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#l00501">501</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +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>. <p> References <a class="el" href="message_8h.html#a13">isnick()</a>. <p> -<div class="fragment"><pre>00502 { -00503 <span class="keywordflow">return</span> (<a class="code" href="message_8h.html#a13">isnick</a>(nick.c_str()) != 0); -00504 } +<div class="fragment"><pre>00504 { +00505 <span class="keywordflow">return</span> (<a class="code" href="message_8h.html#a13">isnick</a>(nick.c_str()) != 0); +00506 } </pre></div> </td> </tr> </table> @@ -1060,13 +1066,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#l00521">521</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +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>. <p> References <a class="el" href="message_8h.html#a16">has_channel()</a>. <p> -<div class="fragment"><pre>00522 { -00523 <span class="keywordflow">return</span> <a class="code" href="message_8h.html#a16">has_channel</a>(User,Chan); -00524 } +<div class="fragment"><pre>00524 { +00525 <span class="keywordflow">return</span> <a class="code" href="message_8h.html#a16">has_channel</a>(User,Chan); +00526 } </pre></div> </td> </tr> </table> @@ -1100,13 +1106,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#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#l00405">405</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="commands_8h.html#a72">is_uline()</a>. +References <a class="el" href="commands_8h.html#a74">is_uline()</a>. <p> -<div class="fragment"><pre>00404 { -00405 <span class="keywordflow">return</span> <a class="code" href="commands_8h.html#a72">is_uline</a>(server.c_str()); -00406 } +<div class="fragment"><pre>00406 { +00407 <span class="keywordflow">return</span> <a class="code" href="commands_8h.html#a74">is_uline</a>(server.c_str()); +00408 } </pre></div> </td> </tr> </table> @@ -1155,11 +1161,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#l00363">363</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00365">365</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00364 { -00365 <span class="keywordflow">return</span> add_channel(user,cname.c_str(),key.c_str(),<span class="keyword">true</span>); -00366 } +<div class="fragment"><pre>00366 { +00367 <span class="keywordflow">return</span> add_channel(user,cname.c_str(),key.c_str(),<span class="keyword">true</span>); +00368 } </pre></div> </td> </tr> </table> @@ -1202,11 +1208,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#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#l00415">415</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00414 { -00415 log(level,<span class="stringliteral">"%s"</span>,s.c_str()); -00416 } +<div class="fragment"><pre>00416 { +00417 log(level,<span class="stringliteral">"%s"</span>,s.c_str()); +00418 } </pre></div> </td> </tr> </table> @@ -1249,14 +1255,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#l00350">350</a> 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> -<div class="fragment"><pre>00351 { -00352 <span class="keywordtype">char</span> literal[MAXBUF],pattern[MAXBUF]; -00353 strlcpy(literal,sliteral.c_str(),MAXBUF); -00354 strlcpy(pattern,spattern.c_str(),MAXBUF); -00355 <span class="keywordflow">return</span> match(literal,pattern); -00356 } +<div class="fragment"><pre>00353 { +00354 <span class="keywordtype">char</span> literal[MAXBUF],pattern[MAXBUF]; +00355 strlcpy(literal,sliteral.c_str(),MAXBUF); +00356 strlcpy(pattern,spattern.c_str(),MAXBUF); +00357 <span class="keywordflow">return</span> match(literal,pattern); +00358 } </pre></div> </td> </tr> </table> @@ -1305,11 +1311,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#l00368">368</a> 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 { -00370 <span class="keywordflow">return</span> del_channel(user,cname.c_str(),reason.c_str(),<span class="keyword">false</span>); -00371 } +<div class="fragment"><pre>00371 { +00372 <span class="keywordflow">return</span> del_channel(user,cname.c_str(),reason.c_str(),<span class="keyword">false</span>); +00373 } </pre></div> </td> </tr> </table> @@ -1354,14 +1360,14 @@ 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#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#l00399">399</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="users_8h-source.html#l00102">userrec::nick</a>, and <a class="el" href="message_8h.html#a19">send_network_quit()</a>. <p> -<div class="fragment"><pre>00398 { -00399 <a class="code" href="message_8h.html#a19">send_network_quit</a>(user-><a class="code" href="classuserrec.html#o0">nick</a>,reason.c_str()); -00400 kill_link(user,reason.c_str()); -00401 } +<div class="fragment"><pre>00400 { +00401 <a class="code" href="message_8h.html#a19">send_network_quit</a>(user-><a class="code" href="classuserrec.html#o0">nick</a>,reason.c_str()); +00402 kill_link(user,reason.c_str()); +00403 } </pre></div> </td> </tr> </table> @@ -1404,11 +1410,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#l00428">428</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +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>. <p> -<div class="fragment"><pre>00429 { -00430 Write(Socket,<span class="stringliteral">"%s"</span>,s.c_str()); -00431 } +<div class="fragment"><pre>00431 { +00432 Write(Socket,<span class="stringliteral">"%s"</span>,s.c_str()); +00433 } </pre></div> </td> </tr> </table> @@ -1463,18 +1469,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#l00457">457</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. -<p> -<div class="fragment"><pre>00458 { -00459 <span class="keywordflow">if</span> (IncludeSender) -00460 { -00461 WriteChannel(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str()); -00462 } -00463 <span class="keywordflow">else</span> -00464 { -00465 ChanExceptSender(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str()); -00466 } -00467 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00459">459</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +<div class="fragment"><pre>00460 { +00461 <span class="keywordflow">if</span> (IncludeSender) +00462 { +00463 WriteChannel(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str()); +00464 } +00465 <span class="keywordflow">else</span> +00466 { +00467 ChanExceptSender(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str()); +00468 } +00469 } </pre></div> </td> </tr> </table> @@ -1523,18 +1529,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#l00474">474</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. -<p> -<div class="fragment"><pre>00475 { -00476 <span class="keywordflow">if</span> (IncludeSender) -00477 { -00478 WriteCommon(User,<span class="stringliteral">"%s"</span>,text.c_str()); -00479 } -00480 <span class="keywordflow">else</span> -00481 { -00482 WriteCommonExcept(User,<span class="stringliteral">"%s"</span>,text.c_str()); -00483 } -00484 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00476">476</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +<div class="fragment"><pre>00477 { +00478 <span class="keywordflow">if</span> (IncludeSender) +00479 { +00480 WriteCommon(User,<span class="stringliteral">"%s"</span>,text.c_str()); +00481 } +00482 <span class="keywordflow">else</span> +00483 { +00484 WriteCommonExcept(User,<span class="stringliteral">"%s"</span>,text.c_str()); +00485 } +00486 } </pre></div> </td> </tr> </table> @@ -1583,11 +1589,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#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#l00440">440</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00439 { -00440 WriteFrom(Socket,User,<span class="stringliteral">"%s"</span>,s.c_str()); -00441 } +<div class="fragment"><pre>00441 { +00442 WriteFrom(Socket,User,<span class="stringliteral">"%s"</span>,s.c_str()); +00443 } </pre></div> </td> </tr> </table> @@ -1643,13 +1649,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#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#l00425">425</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h.html#a31">server_mode()</a>. +References <a class="el" href="modules_8h.html#a35">server_mode()</a>. <p> -<div class="fragment"><pre>00424 { -00425 <a class="code" href="modules_8h.html#a31">server_mode</a>(parameters,pcnt,user); -00426 } +<div class="fragment"><pre>00426 { +00427 <a class="code" href="modules_8h.html#a35">server_mode</a>(parameters,pcnt,user); +00428 } </pre></div> </td> </tr> </table> @@ -1683,11 +1689,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#l00345">345</a> 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> -<div class="fragment"><pre>00346 { -00347 WriteOpers(<span class="stringliteral">"%s"</span>,s.c_str()); -00348 } +<div class="fragment"><pre>00348 { +00349 WriteOpers(<span class="stringliteral">"%s"</span>,s.c_str()); +00350 } </pre></div> </td> </tr> </table> @@ -1730,11 +1736,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#l00433">433</a> 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>00434 { -00435 WriteServ(Socket,<span class="stringliteral">"%s"</span>,s.c_str()); -00436 } +<div class="fragment"><pre>00436 { +00437 WriteServ(Socket,<span class="stringliteral">"%s"</span>,s.c_str()); +00438 } </pre></div> </td> </tr> </table> @@ -1787,22 +1793,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#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#l00445">445</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="connection_8h-source.html#l00178">connection::fd</a>. <p> -<div class="fragment"><pre>00444 { -00445 <span class="keywordflow">if</span> (!Source) -00446 { -00447 <span class="comment">// if source is NULL, then the message originates from the local server</span> -00448 Write(Dest-><a class="code" href="classconnection.html#o0">fd</a>,<span class="stringliteral">":%s %s"</span>,this->GetServerName().c_str(),s.c_str()); -00449 } -00450 <span class="keywordflow">else</span> -00451 { -00452 <span class="comment">// otherwise it comes from the user specified</span> -00453 WriteTo(Source,Dest,<span class="stringliteral">"%s"</span>,s.c_str()); -00454 } -00455 } +<div class="fragment"><pre>00446 { +00447 <span class="keywordflow">if</span> (!Source) +00448 { +00449 <span class="comment">// if source is NULL, then the message originates from the local server</span> +00450 Write(Dest-><a class="code" href="classconnection.html#o0">fd</a>,<span class="stringliteral">":%s %s"</span>,this->GetServerName().c_str(),s.c_str()); +00451 } +00452 <span class="keywordflow">else</span> +00453 { +00454 <span class="comment">// otherwise it comes from the user specified</span> +00455 WriteTo(Source,Dest,<span class="stringliteral">"%s"</span>,s.c_str()); +00456 } +00457 } </pre></div> </td> </tr> </table> @@ -1853,11 +1859,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#l00358">358</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00360">360</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00359 { -00360 WriteMode(modes.c_str(),flags,<span class="stringliteral">"%s"</span>,text.c_str()); -00361 } +<div class="fragment"><pre>00361 { +00362 WriteMode(modes.c_str(),flags,<span class="stringliteral">"%s"</span>,text.c_str()); +00363 } </pre></div> </td> </tr> </table> @@ -1900,17 +1906,17 @@ Sends a WALLOPS message. <p> This method writes a WALLOPS message to all users with the +w flag, originating from the specified user. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00486">486</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +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>. <p> -<div class="fragment"><pre>00487 { -00488 WriteWallOps(User,<span class="keyword">false</span>,<span class="stringliteral">"%s"</span>,text.c_str()); -00489 } +<div class="fragment"><pre>00489 { +00490 WriteWallOps(User,<span class="keyword">false</span>,<span class="stringliteral">"%s"</span>,text.c_str()); +00491 } </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 Mon Apr 4 18:12:54 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:26 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 9b517dc80..7d5e8ee8f 100644 --- a/docs/module-doc/classVersion-members.html +++ b/docs/module-doc/classVersion-members.html @@ -9,12 +9,13 @@ <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="classVersion.html#o3">Build</a></td><td><a class="el" href="classVersion.html">Version</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="classVersion.html#o4">Flags</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#o0">Major</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#o1">Minor</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#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)</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 Mon Apr 4 18:12:54 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:27 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 165a74c82..46528e46a 100644 --- a/docs/module-doc/classVersion.html +++ b/docs/module-doc/classVersion.html @@ -15,7 +15,7 @@ Inherits <a class="el" href="classclassbase.html">classbase</a>. <a href="classVersion-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> <tr><td></td></tr> <tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="classVersion.html#a0">Version</a> (int major, int minor, int revision, int build)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="classVersion.html#a0">Version</a> (int major, int minor, int revision, int build, int flags)</td></tr> <tr><td colspan=2><br><h2>Public Attributes</h2></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>const int </td><td class="memItemRight" valign=bottom><a class="el" href="classVersion.html#o0">Major</a></td></tr> @@ -26,6 +26,8 @@ Inherits <a class="el" href="classclassbase.html">classbase</a>. <tr><td class="memItemLeft" nowrap align=right valign=top>const int </td><td class="memItemRight" valign=bottom><a class="el" href="classVersion.html#o3">Build</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>const int </td><td class="memItemRight" valign=bottom><a class="el" href="classVersion.html#o4">Flags</a></td></tr> + </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Holds a module's Version information The four members (set by the constructor only) indicate details as to the version number of a module. @@ -34,7 +36,7 @@ A class of type Version is returned by the GetVersion method of the <a class="el <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00102">102</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> +Definition at line <a class="el" href="modules_8h-source.html#l00109">109</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> <a name="a0" doxytag="Version::Version"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> @@ -62,7 +64,13 @@ Definition at line <a class="el" href="modules_8h-source.html#l00102">102</a> of <td></td> <td></td> <td class="md" nowrap>int </td> - <td class="mdname" nowrap> <em>build</em></td> + <td class="mdname" nowrap> <em>build</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>flags</em></td> </tr> <tr> <td></td> @@ -84,9 +92,9 @@ Definition at line <a class="el" href="modules_8h-source.html#l00102">102</a> of <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00298">298</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00300">300</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00298 : <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) { }; +<div class="fragment"><pre>00300 : <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> @@ -112,7 +120,31 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00298">298</a> <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00105">105</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td> +Definition at line <a class="el" href="modules_8h-source.html#l00112">112</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td> + </tr> +</table> +<a name="o4" doxytag="Version::Flags"></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"> const int <a class="el" href="classVersion.html#o4">Version::Flags</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_8h-source.html#l00112">112</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td> </tr> </table> <a name="o0" doxytag="Version::Major"></a><p> @@ -136,7 +168,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00105">105</a> of <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00105">105</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td> +Definition at line <a class="el" href="modules_8h-source.html#l00112">112</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td> </tr> </table> <a name="o1" doxytag="Version::Minor"></a><p> @@ -160,7 +192,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00105">105</a> of <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00105">105</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td> +Definition at line <a class="el" href="modules_8h-source.html#l00112">112</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td> </tr> </table> <a name="o2" doxytag="Version::Revision"></a><p> @@ -184,12 +216,12 @@ Definition at line <a class="el" href="modules_8h-source.html#l00105">105</a> of <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00105">105</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td> +Definition at line <a class="el" href="modules_8h-source.html#l00112">112</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td> </tr> </table> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="modules_8h-source.html">modules.h</a><li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Mon Apr 4 18:12:54 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:27 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-members.html b/docs/module-doc/classXLine-members.html index 6adda8c2a..4f68e11f3 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 Mon Apr 4 18:12:54 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:27 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 29339e3bc..da64d6a00 100644 --- a/docs/module-doc/classXLine.html +++ b/docs/module-doc/classXLine.html @@ -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 Mon Apr 4 18:12:54 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:27 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 e255f32c5..9637edfe7 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 Mon Apr 4 18:12:54 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:27 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 310335b58..7400fcd87 100644 --- a/docs/module-doc/classZLine.html +++ b/docs/module-doc/classZLine.html @@ -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 Mon Apr 4 18:12:54 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:27 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 e7a73c026..c114639dc 100644 --- a/docs/module-doc/classchanrec-members.html +++ b/docs/module-doc/classchanrec-members.html @@ -33,7 +33,7 @@ <tr class="memlist"><td><a class="el" href="classchanrec.html#o4">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#a5">~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 Mon Apr 4 18:12:50 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:23 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 500221ee4..f3090de19 100644 --- a/docs/module-doc/classchanrec.html +++ b/docs/module-doc/classchanrec.html @@ -116,19 +116,19 @@ Creates a channel record and initialises it with default values. <p> <p> -Definition at line <a class="el" href="channels_8cpp-source.html#l00112">112</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#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#l00155">c_private</a>, <a class="el" href="channels_8h-source.html#l00111">created</a>, <a class="el" href="channels_8h-source.html#l00103">custom_modes</a>, <a class="el" href="channels_8h-source.html#l00141">inviteonly</a>, <a class="el" href="channels_8h-source.html#l00129">key</a>, <a class="el" href="channels_8h-source.html#l00124">limit</a>, <a class="el" href="channels_8h-source.html#l00145">moderated</a>, <a class="el" href="channels_8h-source.html#l00099">name</a>, <a class="el" href="channels_8h-source.html#l00137">noexternal</a>, <a class="el" href="channels_8h-source.html#l00150">secret</a>, <a class="el" href="channels_8h-source.html#l00119">setby</a>, <a class="el" href="channels_8h-source.html#l00108">topic</a>, <a class="el" href="channels_8h-source.html#l00133">topiclock</a>, and <a class="el" href="channels_8h-source.html#l00115">topicset</a>. <p> -<div class="fragment"><pre>00113 { -00114 strcpy(name,<span class="stringliteral">""</span>); -00115 strcpy(custom_modes,<span class="stringliteral">""</span>); -00116 strcpy(topic,<span class="stringliteral">""</span>); -00117 strcpy(setby,<span class="stringliteral">""</span>); -00118 strcpy(key,<span class="stringliteral">""</span>); -00119 <a class="code" href="classchanrec.html#o3">created</a> = <a class="code" href="classchanrec.html#o4">topicset</a> = <a class="code" href="classchanrec.html#o6">limit</a> = 0; -00120 <a class="code" href="classchanrec.html#o8">topiclock</a> = <a class="code" href="classchanrec.html#o9">noexternal</a> = <a class="code" href="classchanrec.html#o10">inviteonly</a> = <a class="code" href="classchanrec.html#o11">moderated</a> = <a class="code" href="classchanrec.html#o12">secret</a> = <a class="code" href="classchanrec.html#o13">c_private</a> = <span class="keyword">false</span>; -00121 } +<div class="fragment"><pre>00114 { +00115 strcpy(name,<span class="stringliteral">""</span>); +00116 strcpy(custom_modes,<span class="stringliteral">""</span>); +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#o3">created</a> = <a class="code" href="classchanrec.html#o4">topicset</a> = <a class="code" href="classchanrec.html#o6">limit</a> = 0; +00121 <a class="code" href="classchanrec.html#o8">topiclock</a> = <a class="code" href="classchanrec.html#o9">noexternal</a> = <a class="code" href="classchanrec.html#o10">inviteonly</a> = <a class="code" href="classchanrec.html#o11">moderated</a> = <a class="code" href="classchanrec.html#o12">secret</a> = <a class="code" href="classchanrec.html#o13">c_private</a> = <span class="keyword">false</span>; +00122 } </pre></div> </td> </tr> </table> @@ -196,23 +196,23 @@ Returns the parameter for a custom mode on a channel. <p> For example if "+L #foo" is set, and you pass this method 'L', it will return '#foo'. If the mode is not set on the channel, or the mode has no parameters associated with it, it will return an empty string. <p> -Definition at line <a class="el" href="channels_8cpp-source.html#l00185">185</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. -<p> -References <a class="el" href="channels_8cpp-source.html#l00110">custom_mode_params</a>. -<p> -<div class="fragment"><pre>00186 { -00187 <span class="keywordflow">if</span> (<a class="code" href="channels_8cpp.html#a37">custom_mode_params</a>.size()) -00188 { -00189 <span class="keywordflow">for</span> (vector<ModeParameter>::iterator i = <a class="code" href="channels_8cpp.html#a37">custom_mode_params</a>.begin(); i < <a class="code" href="channels_8cpp.html#a37">custom_mode_params</a>.end(); i++) -00190 { -00191 <span class="keywordflow">if</span> ((i->mode == mode) && (!strcasecmp(this->name,i->channel))) -00192 { -00193 <span class="keywordflow">return</span> std::string(i->parameter); -00194 } -00195 } -00196 } -00197 <span class="keywordflow">return</span> std::string(<span class="stringliteral">""</span>); -00198 } +Definition at line <a class="el" href="channels_8cpp-source.html#l00186">186</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. +<p> +References <a class="el" href="channels_8cpp-source.html#l00111">custom_mode_params</a>. +<p> +<div class="fragment"><pre>00187 { +00188 <span class="keywordflow">if</span> (<a class="code" href="channels_8cpp.html#a38">custom_mode_params</a>.size()) +00189 { +00190 <span class="keywordflow">for</span> (vector<ModeParameter>::iterator i = <a class="code" href="channels_8cpp.html#a38">custom_mode_params</a>.begin(); i < <a class="code" href="channels_8cpp.html#a38">custom_mode_params</a>.end(); i++) +00191 { +00192 <span class="keywordflow">if</span> ((i->mode == mode) && (!strcasecmp(this->name,i->channel))) +00193 { +00194 <span class="keywordflow">return</span> std::string(i->parameter); +00195 } +00196 } +00197 } +00198 <span class="keywordflow">return</span> std::string(<span class="stringliteral">""</span>); +00199 } </pre></div> </td> </tr> </table> @@ -246,14 +246,14 @@ Returns true if a custom mode is set on a channel. <p> <p> -Definition at line <a class="el" href="channels_8cpp-source.html#l00179">179</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#l00180">180</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>. <p> -<div class="fragment"><pre>00180 { -00181 log(DEBUG,<span class="stringliteral">"Checking ISCustomModeSet: %c %s"</span>,mode,this->custom_modes); -00182 <span class="keywordflow">return</span> (strchr(this->custom_modes,mode) != 0); -00183 } +<div class="fragment"><pre>00181 { +00182 log(DEBUG,<span class="stringliteral">"Checking ISCustomModeSet: %c %s"</span>,mode,this->custom_modes); +00183 <span class="keywordflow">return</span> (strchr(this->custom_modes,mode) != 0); +00184 } </pre></div> </td> </tr> </table> @@ -296,32 +296,32 @@ Sets or unsets a custom mode in the channels info. <p> <p> -Definition at line <a class="el" href="channels_8cpp-source.html#l00123">123</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#l00148">SetCustomModeParam()</a>. -<p> -<div class="fragment"><pre>00124 { -00125 <span class="keywordflow">if</span> (mode_on) { -00126 <span class="keywordtype">char</span> m[3]; -00127 m[0] = mode; -00128 m[1] = <span class="charliteral">'\0'</span>; -00129 <span class="keywordflow">if</span> (!strchr(this->custom_modes,mode)) -00130 { -00131 strlcat(custom_modes,m,MAXMODES); -00132 } -00133 log(DEBUG,<span class="stringliteral">"Custom mode %c set"</span>,mode); -00134 } -00135 <span class="keywordflow">else</span> { -00136 -00137 std::string a = this-><a class="code" href="classchanrec.html#o1">custom_modes</a>; -00138 <span class="keywordtype">int</span> pos = a.find(mode); -00139 a.erase(pos,1); -00140 strncpy(this->custom_modes,a.c_str(),MAXMODES); -00141 -00142 log(DEBUG,<span class="stringliteral">"Custom mode %c removed: modelist='%s'"</span>,mode,this->custom_modes); -00143 this-><a class="code" href="classchanrec.html#a1">SetCustomModeParam</a>(mode,<span class="stringliteral">""</span>,<span class="keyword">false</span>); -00144 } -00145 } +Definition at line <a class="el" href="channels_8cpp-source.html#l00124">124</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#l00149">SetCustomModeParam()</a>. +<p> +<div class="fragment"><pre>00125 { +00126 <span class="keywordflow">if</span> (mode_on) { +00127 <span class="keywordtype">char</span> m[3]; +00128 m[0] = mode; +00129 m[1] = <span class="charliteral">'\0'</span>; +00130 <span class="keywordflow">if</span> (!strchr(this->custom_modes,mode)) +00131 { +00132 strlcat(custom_modes,m,MAXMODES); +00133 } +00134 log(DEBUG,<span class="stringliteral">"Custom mode %c set"</span>,mode); +00135 } +00136 <span class="keywordflow">else</span> { +00137 +00138 std::string a = this-><a class="code" href="classchanrec.html#o1">custom_modes</a>; +00139 <span class="keywordtype">int</span> pos = a.find(mode); +00140 a.erase(pos,1); +00141 strncpy(this->custom_modes,a.c_str(),MAXMODES); +00142 +00143 log(DEBUG,<span class="stringliteral">"Custom mode %c removed: modelist='%s'"</span>,mode,this->custom_modes); +00144 this-><a class="code" href="classchanrec.html#a1">SetCustomModeParam</a>(mode,<span class="stringliteral">""</span>,<span class="keyword">false</span>); +00145 } +00146 } </pre></div> </td> </tr> </table> @@ -370,41 +370,41 @@ Sets or unsets the parameters for a custom mode in a channels info. <p> <p> -Definition at line <a class="el" href="channels_8cpp-source.html#l00148">148</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#l00110">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>. -<p> -Referenced by <a class="el" href="channels_8cpp-source.html#l00123">SetCustomMode()</a>. -<p> -<div class="fragment"><pre>00149 { -00150 -00151 log(DEBUG,<span class="stringliteral">"SetCustomModeParam called"</span>); -00152 <a class="code" href="classModeParameter.html">ModeParameter</a> M; -00153 M.<a class="code" href="classModeParameter.html#o0">mode</a> = mode; -00154 strlcpy(M.<a class="code" href="classModeParameter.html#o2">channel</a>,this->name,CHANMAX); -00155 strlcpy(M.<a class="code" href="classModeParameter.html#o1">parameter</a>,parameter,MAXBUF); -00156 <span class="keywordflow">if</span> (mode_on) -00157 { -00158 log(DEBUG,<span class="stringliteral">"Custom mode parameter %c %s added"</span>,mode,parameter); -00159 <a class="code" href="channels_8cpp.html#a37">custom_mode_params</a>.push_back(M); -00160 } -00161 <span class="keywordflow">else</span> -00162 { -00163 <span class="keywordflow">if</span> (<a class="code" href="channels_8cpp.html#a37">custom_mode_params</a>.size()) -00164 { -00165 <span class="keywordflow">for</span> (vector<ModeParameter>::iterator i = <a class="code" href="channels_8cpp.html#a37">custom_mode_params</a>.begin(); i < <a class="code" href="channels_8cpp.html#a37">custom_mode_params</a>.end(); i++) -00166 { -00167 <span class="keywordflow">if</span> ((i->mode == mode) && (!strcasecmp(this->name,i->channel))) -00168 { -00169 log(DEBUG,<span class="stringliteral">"Custom mode parameter %c %s removed"</span>,mode,parameter); -00170 <a class="code" href="channels_8cpp.html#a37">custom_mode_params</a>.erase(i); -00171 <span class="keywordflow">return</span>; -00172 } -00173 } -00174 } -00175 log(DEBUG,<span class="stringliteral">"*** BUG *** Attempt to remove non-existent mode parameter!"</span>); -00176 } -00177 } +Definition at line <a class="el" href="channels_8cpp-source.html#l00149">149</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>. +<p> +Referenced by <a class="el" href="channels_8cpp-source.html#l00124">SetCustomMode()</a>. +<p> +<div class="fragment"><pre>00150 { +00151 +00152 log(DEBUG,<span class="stringliteral">"SetCustomModeParam called"</span>); +00153 <a class="code" href="classModeParameter.html">ModeParameter</a> M; +00154 M.<a class="code" href="classModeParameter.html#o0">mode</a> = mode; +00155 strlcpy(M.<a class="code" href="classModeParameter.html#o2">channel</a>,this->name,CHANMAX); +00156 strlcpy(M.<a class="code" href="classModeParameter.html#o1">parameter</a>,parameter,MAXBUF); +00157 <span class="keywordflow">if</span> (mode_on) +00158 { +00159 log(DEBUG,<span class="stringliteral">"Custom mode parameter %c %s added"</span>,mode,parameter); +00160 <a class="code" href="channels_8cpp.html#a38">custom_mode_params</a>.push_back(M); +00161 } +00162 <span class="keywordflow">else</span> +00163 { +00164 <span class="keywordflow">if</span> (<a class="code" href="channels_8cpp.html#a38">custom_mode_params</a>.size()) +00165 { +00166 <span class="keywordflow">for</span> (vector<ModeParameter>::iterator i = <a class="code" href="channels_8cpp.html#a38">custom_mode_params</a>.begin(); i < <a class="code" href="channels_8cpp.html#a38">custom_mode_params</a>.end(); i++) +00167 { +00168 <span class="keywordflow">if</span> ((i->mode == mode) && (!strcasecmp(this->name,i->channel))) +00169 { +00170 log(DEBUG,<span class="stringliteral">"Custom mode parameter %c %s removed"</span>,mode,parameter); +00171 <a class="code" href="channels_8cpp.html#a38">custom_mode_params</a>.erase(i); +00172 <span class="keywordflow">return</span>; +00173 } +00174 } +00175 } +00176 log(DEBUG,<span class="stringliteral">"*** BUG *** Attempt to remove non-existent mode parameter!"</span>); +00177 } +00178 } </pre></div> </td> </tr> </table> @@ -460,7 +460,7 @@ This value cannot be set at the same time as <a class="el" href="classchanrec.ht <p> Definition at line <a class="el" href="channels_8h-source.html#l00155">155</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. <p> -Referenced by <a class="el" href="channels_8cpp-source.html#l00112">chanrec()</a>. </td> +Referenced by <a class="el" href="channels_8cpp-source.html#l00113">chanrec()</a>. </td> </tr> </table> <a name="o3" doxytag="chanrec::created"></a><p> @@ -488,7 +488,7 @@ Creation time. <p> Definition at line <a class="el" href="channels_8h-source.html#l00111">111</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#l00112">chanrec()</a>. </td> +Referenced by <a class="el" href="channels_8cpp-source.html#l00113">chanrec()</a>. </td> </tr> </table> <a name="o1" doxytag="chanrec::custom_modes"></a><p> @@ -516,7 +516,7 @@ 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>. <p> -Referenced by <a class="el" href="channels_8cpp-source.html#l00112">chanrec()</a>, and <a class="el" href="channels_8cpp-source.html#l00123">SetCustomMode()</a>. </td> +Referenced by <a class="el" href="channels_8cpp-source.html#l00113">chanrec()</a>, and <a class="el" href="channels_8cpp-source.html#l00124">SetCustomMode()</a>. </td> </tr> </table> <a name="o10" doxytag="chanrec::inviteonly"></a><p> @@ -544,7 +544,7 @@ Nonzero if the mode +i is set. <p> 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#l00112">chanrec()</a>. </td> +Referenced by <a class="el" href="channels_8cpp-source.html#l00113">chanrec()</a>. </td> </tr> </table> <a name="o7" doxytag="chanrec::key"></a><p> @@ -572,7 +572,7 @@ 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#l00129">129</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#l00112">chanrec()</a>. </td> +Referenced by <a class="el" href="channels_8cpp-source.html#l00113">chanrec()</a>. </td> </tr> </table> <a name="o6" doxytag="chanrec::limit"></a><p> @@ -600,7 +600,7 @@ If this value is zero, there is no limit in place. <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>. <p> -Referenced by <a class="el" href="channels_8cpp-source.html#l00112">chanrec()</a>. </td> +Referenced by <a class="el" href="channels_8cpp-source.html#l00113">chanrec()</a>. </td> </tr> </table> <a name="o11" doxytag="chanrec::moderated"></a><p> @@ -628,7 +628,7 @@ Nonzero if the mode +m is set. <p> 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#l00112">chanrec()</a>. </td> +Referenced by <a class="el" href="channels_8cpp-source.html#l00113">chanrec()</a>. </td> </tr> </table> <a name="o0" doxytag="chanrec::name"></a><p> @@ -656,7 +656,7 @@ The channels name. <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#l00112">chanrec()</a>. </td> +Referenced by <a class="el" href="channels_8cpp-source.html#l00113">chanrec()</a>. </td> </tr> </table> <a name="o9" doxytag="chanrec::noexternal"></a><p> @@ -684,7 +684,7 @@ Nonzero if the mode +n is set. <p> Definition at line <a class="el" href="channels_8h-source.html#l00137">137</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#l00112">chanrec()</a>. </td> +Referenced by <a class="el" href="channels_8cpp-source.html#l00113">chanrec()</a>. </td> </tr> </table> <a name="o12" doxytag="chanrec::secret"></a><p> @@ -712,7 +712,7 @@ This value cannot be set at the same time as <a class="el" href="classchanrec.ht <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>. <p> -Referenced by <a class="el" href="channels_8cpp-source.html#l00112">chanrec()</a>. </td> +Referenced by <a class="el" href="channels_8cpp-source.html#l00113">chanrec()</a>. </td> </tr> </table> <a name="o5" doxytag="chanrec::setby"></a><p> @@ -740,7 +740,7 @@ If this member is an empty string, no topic was ever set. <p> Definition at line <a class="el" href="channels_8h-source.html#l00119">119</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#l00112">chanrec()</a>. </td> +Referenced by <a class="el" href="channels_8cpp-source.html#l00113">chanrec()</a>. </td> </tr> </table> <a name="o2" doxytag="chanrec::topic"></a><p> @@ -768,7 +768,7 @@ If this is an empty string, no channel topic is set. <p> Definition at line <a class="el" href="channels_8h-source.html#l00108">108</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. <p> -Referenced by <a class="el" href="channels_8cpp-source.html#l00112">chanrec()</a>. </td> +Referenced by <a class="el" href="channels_8cpp-source.html#l00113">chanrec()</a>. </td> </tr> </table> <a name="o8" doxytag="chanrec::topiclock"></a><p> @@ -796,7 +796,7 @@ Nonzero if the mode +t is set. <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#l00112">chanrec()</a>. </td> +Referenced by <a class="el" href="channels_8cpp-source.html#l00113">chanrec()</a>. </td> </tr> </table> <a name="o4" doxytag="chanrec::topicset"></a><p> @@ -824,12 +824,12 @@ If no topic was ever set, this will be equal to <a class="el" href="classchanrec <p> Definition at line <a class="el" href="channels_8h-source.html#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#l00112">chanrec()</a>. </td> +Referenced by <a class="el" href="channels_8cpp-source.html#l00113">chanrec()</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 Mon Apr 4 18:12:50 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:23 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 b592d0499..f9dae7a73 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 Mon Apr 4 18:12:50 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:23 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 00af10405..37ec77e2a 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 Mon Apr 4 18:12:50 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:23 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 03013e5f6..6671f8a76 100644 --- a/docs/module-doc/classcommand__t-members.html +++ b/docs/module-doc/classcommand__t-members.html @@ -15,10 +15,11 @@ <tr class="memlist"><td><a class="el" href="classcommand__t.html#o1">handler_function</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#o3">min_params</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="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="classcommand__t.html#o6">source</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#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 Mon Apr 4 18:12:50 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:23 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 8f88460a4..4a8d75d74 100644 --- a/docs/module-doc/classcommand__t.html +++ b/docs/module-doc/classcommand__t.html @@ -33,6 +33,9 @@ Inherits <a class="el" href="classExtensible.html">Extensible</a>. <tr><td class="memItemLeft" nowrap align=right valign=top>long </td><td class="memItemRight" valign=bottom><a class="el" href="classcommand__t.html#o5">total_bytes</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">used by /stats m </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="classcommand__t.html#o6">source</a> [MAXBUF]</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">used for resource tracking between modules </em> <a href="#o6"></a><em><br><br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> A structure that defines a command. @@ -144,6 +147,32 @@ Minimum number of parameters command takes. Definition at line <a class="el" href="ctables_8h-source.html#l00040">40</a> of file <a class="el" href="ctables_8h-source.html">ctables.h</a>. </td> </tr> </table> +<a name="o6" doxytag="command_t::source"></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="classcommand__t.html#o6">command_t::source</a>[MAXBUF] + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +used for resource tracking between modules +<p> + +<p> +Definition at line <a class="el" href="ctables_8h-source.html#l00049">49</a> of file <a class="el" href="ctables_8h-source.html">ctables.h</a>. </td> + </tr> +</table> <a name="o5" doxytag="command_t::total_bytes"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> @@ -198,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 Mon Apr 4 18:12:50 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:23 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 2159fac9b..f986d3f59 100644 --- a/docs/module-doc/classconnection-members.html +++ b/docs/module-doc/classconnection-members.html @@ -41,7 +41,7 @@ <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#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 Mon Apr 4 18:12:51 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:24 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 2350d6f2c..ae9342e55 100644 --- a/docs/module-doc/classconnection.html +++ b/docs/module-doc/classconnection.html @@ -537,7 +537,7 @@ Stats counter for bytes inbound. <p> Definition at line <a class="el" href="connection_8h-source.html#l00194">194</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#l00026">userrec::userrec()</a>. </td> +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> @@ -565,7 +565,7 @@ Stats counter for bytes outbound. <p> Definition at line <a class="el" href="connection_8h-source.html#l00198">198</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#l00026">userrec::userrec()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00028">userrec::userrec()</a>. </td> </tr> </table> <a name="o6" doxytag="connection::cmds_in"></a><p> @@ -593,7 +593,7 @@ Stats counter for commands inbound. <p> Definition at line <a class="el" href="connection_8h-source.html#l00202">202</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#l00026">userrec::userrec()</a>. </td> +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> @@ -621,7 +621,7 @@ Stats counter for commands outbound. <p> Definition at line <a class="el" href="connection_8h-source.html#l00206">206</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#l00026">userrec::userrec()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00028">userrec::userrec()</a>. </td> </tr> </table> <a name="o18" doxytag="connection::connectors"></a><p> @@ -675,7 +675,7 @@ File descriptor of the connection. <p> Definition at line <a class="el" href="connection_8h-source.html#l00178">178</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#l00674">ConfigReader::DumpErrors()</a>, <a class="el" href="modules_8cpp-source.html#l00443">Server::SendTo()</a>, <a class="el" href="servers_8cpp-source.html#l00024">serverrec::serverrec()</a>, and <a class="el" href="users_8cpp-source.html#l00026">userrec::userrec()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00676">ConfigReader::DumpErrors()</a>, <a class="el" href="modules_8cpp-source.html#l00445">Server::SendTo()</a>, <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="o8" doxytag="connection::haspassed"></a><p> @@ -703,7 +703,7 @@ True if server/user has authenticated, false if otherwise. <p> Definition at line <a class="el" href="connection_8h-source.html#l00210">210</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#l00026">userrec::userrec()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00028">userrec::userrec()</a>. </td> </tr> </table> <a name="o1" doxytag="connection::host"></a><p> @@ -731,7 +731,7 @@ Not used if this is a serverrec <p> Definition at line <a class="el" href="connection_8h-source.html#l00182">182</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#l00063">userrec::GetFullRealHost()</a>, and <a class="el" href="users_8cpp-source.html#l00026">userrec::userrec()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00065">userrec::GetFullRealHost()</a>, and <a class="el" href="users_8cpp-source.html#l00028">userrec::userrec()</a>. </td> </tr> </table> <a name="o14" doxytag="connection::idle_lastmsg"></a><p> @@ -759,7 +759,7 @@ Time that the connection last sent data, used to calculate idle time. <p> Definition at line <a class="el" href="connection_8h-source.html#l00236">236</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#l00026">userrec::userrec()</a>. </td> +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> @@ -787,7 +787,7 @@ Only used for userrec <p> Definition at line <a class="el" href="connection_8h-source.html#l00190">190</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#l00026">userrec::userrec()</a>. </td> +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> @@ -867,7 +867,7 @@ Reserved for future use. <p> Definition at line <a class="el" href="connection_8h-source.html#l00186">186</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#l00026">userrec::userrec()</a>. </td> +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> @@ -895,7 +895,7 @@ Time the connection was last pinged. <p> Definition at line <a class="el" href="connection_8h-source.html#l00228">228</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#l00024">serverrec::serverrec()</a>, and <a class="el" href="users_8cpp-source.html#l00026">userrec::userrec()</a>. </td> +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> @@ -923,7 +923,7 @@ Used by PING checks with clients. <p> Definition at line <a class="el" href="connection_8h-source.html#l00240">240</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#l00026">userrec::userrec()</a>. </td> +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> @@ -951,7 +951,7 @@ 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#l00216">216</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#l00026">userrec::userrec()</a>. </td> +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> @@ -979,7 +979,7 @@ Used by userrec to indicate the registration status of the connection. <p> Definition at line <a class="el" href="connection_8h-source.html#l00220">220</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#l00026">userrec::userrec()</a>. </td> +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> @@ -1007,7 +1007,7 @@ Time the connection was created, set in the constructor. <p> Definition at line <a class="el" href="connection_8h-source.html#l00232">232</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#l00024">serverrec::serverrec()</a>, and <a class="el" href="users_8cpp-source.html#l00026">userrec::userrec()</a>. </td> +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> @@ -1038,7 +1038,7 @@ Definition at line <a class="el" href="connection_8h-source.html#l00224">224</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 Mon Apr 4 18:12:51 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:24 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 5d1bdb706..915179245 100644 --- a/docs/module-doc/classes.html +++ b/docs/module-doc/classes.html @@ -25,7 +25,7 @@ </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><a class="el" href="classGLine.html">GLine</a> </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></tr></table><hr size="1"><address style="align: right;"><small>Generated on Mon Apr 4 18:12:50 2005 for InspIRCd by +</td></tr></table><hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:23 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 0728e3b21..ae2656666 100644 --- a/docs/module-doc/classircd__connector-members.html +++ b/docs/module-doc/classircd__connector-members.html @@ -35,7 +35,7 @@ <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="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="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 Mon Apr 4 18:12:52 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:25 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 db1d38877..9a8a2802d 100644 --- a/docs/module-doc/classircd__connector.html +++ b/docs/module-doc/classircd__connector.html @@ -792,7 +792,7 @@ Definition at line <a class="el" href="connection_8h-source.html#l00075">75</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 Mon Apr 4 18:12:52 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:25 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/classpacket-members.html b/docs/module-doc/classpacket-members.html index 2039fe3ce..2076fad17 100644 --- a/docs/module-doc/classpacket-members.html +++ b/docs/module-doc/classpacket-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 Mon Apr 4 18:12:53 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:25 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/classpacket.html b/docs/module-doc/classpacket.html index 7586d3523..bf2cde3d4 100644 --- a/docs/module-doc/classpacket.html +++ b/docs/module-doc/classpacket.html @@ -24,7 +24,7 @@ This declaration is preserved here to maintain documentation only. <p> Definition at line <a class="el" href="connection_8h-source.html#l00167">167</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.<hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="connection_8h-source.html">connection.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Mon Apr 4 18:12:53 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:25 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 355406ed8..7ceec4d8d 100644 --- a/docs/module-doc/classserverrec-members.html +++ b/docs/module-doc/classserverrec-members.html @@ -55,7 +55,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 Mon Apr 4 18:12:54 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:26 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 a2a10308f..d3deb179c 100644 --- a/docs/module-doc/classserverrec.html +++ b/docs/module-doc/classserverrec.html @@ -93,22 +93,22 @@ Constructor. <p> <p> -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>. -<p> -References <a class="el" href="connection_8h-source.html#l00178">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#l00228">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#l00232">connection::signon</a>, <a class="el" href="servers_8h-source.html#l00067">sync_soon</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>00025 { -00026 strlcpy(name,<span class="stringliteral">""</span>,256); -00027 <a class="code" href="classserverrec.html#o1">pingtime</a> = 0; -00028 <a class="code" href="classconnection.html#o12">lastping</a> = time(NULL); -00029 <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; -00030 <a class="code" href="classserverrec.html#o5">hops_away</a> = 1; -00031 <a class="code" href="classconnection.html#o13">signon</a> = time(NULL); -00032 <a class="code" href="classserverrec.html#o7">jupiter</a> = <span class="keyword">false</span>; -00033 <a class="code" href="classconnection.html#o0">fd</a> = 0; -00034 <a class="code" href="classserverrec.html#o10">sync_soon</a> = <span class="keyword">false</span>; -00035 strlcpy(nickserv,<span class="stringliteral">""</span>,NICKMAX); -00036 } +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#l00178">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#l00228">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#l00232">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>; +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>; +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>; +00037 strlcpy(nickserv,<span class="stringliteral">""</span>,NICKMAX); +00038 } </pre></div> </td> </tr> </table> @@ -157,22 +157,22 @@ Constructor which initialises some of the main variables. <p> <p> -Definition at line <a class="el" href="servers_8cpp-source.html#l00043">43</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>. +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#l00178">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#l00228">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#l00232">connection::signon</a>, <a class="el" href="servers_8h-source.html#l00067">sync_soon</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#l00178">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#l00228">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#l00232">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>00044 { -00045 strlcpy(name,n,256); -00046 <a class="code" href="classconnection.html#o12">lastping</a> = time(NULL); -00047 <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; -00048 <a class="code" href="classserverrec.html#o6">version</a> = ver; -00049 <a class="code" href="classserverrec.html#o5">hops_away</a> = 1; -00050 <a class="code" href="classconnection.html#o13">signon</a> = time(NULL); -00051 <a class="code" href="classserverrec.html#o7">jupiter</a> = jupe; -00052 <a class="code" href="classconnection.html#o0">fd</a> = 0; -00053 <a class="code" href="classserverrec.html#o10">sync_soon</a> = <span class="keyword">false</span>; -00054 strlcpy(nickserv,<span class="stringliteral">""</span>,NICKMAX); -00055 } +<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>; +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>; +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(nickserv,<span class="stringliteral">""</span>,NICKMAX); +00057 } </pre></div> </td> </tr> </table> @@ -205,10 +205,10 @@ Destructor. <p> <p> -Definition at line <a class="el" href="servers_8cpp-source.html#l00039">39</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>. +Definition at line <a class="el" href="servers_8cpp-source.html#l00041">41</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>. <p> -<div class="fragment"><pre>00040 { -00041 } +<div class="fragment"><pre>00042 { +00043 } </pre></div> </td> </tr> </table> @@ -264,7 +264,7 @@ number of hops away (for quick access) <p> Definition at line <a class="el" href="servers_8h-source.html#l00051">51</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>. <p> -Referenced by <a class="el" href="servers_8cpp-source.html#l00024">serverrec()</a>. </td> +Referenced by <a class="el" href="servers_8cpp-source.html#l00026">serverrec()</a>. </td> </tr> </table> <a name="o7" doxytag="serverrec::jupiter"></a><p> @@ -292,7 +292,7 @@ is a JUPE server (faked to enforce a server ban) <p> Definition at line <a class="el" href="servers_8h-source.html#l00057">57</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>. <p> -Referenced by <a class="el" href="servers_8cpp-source.html#l00024">serverrec()</a>. </td> +Referenced by <a class="el" href="servers_8cpp-source.html#l00026">serverrec()</a>. </td> </tr> </table> <a name="o0" doxytag="serverrec::name"></a><p> @@ -320,7 +320,7 @@ server name <p> Definition at line <a class="el" href="servers_8h-source.html#l00036">36</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>. <p> -Referenced by <a class="el" href="servers_8cpp-source.html#l00024">serverrec()</a>. </td> +Referenced by <a class="el" href="servers_8cpp-source.html#l00026">serverrec()</a>. </td> </tr> </table> <a name="o9" doxytag="serverrec::nickserv"></a><p> @@ -348,7 +348,7 @@ Holds nickserv's name on U:lined (services) servers (this is a kludge for ircser <p> Definition at line <a class="el" href="servers_8h-source.html#l00065">65</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>. <p> -Referenced by <a class="el" href="servers_8cpp-source.html#l00024">serverrec()</a>. </td> +Referenced by <a class="el" href="servers_8cpp-source.html#l00026">serverrec()</a>. </td> </tr> </table> <a name="o4" doxytag="serverrec::opercount"></a><p> @@ -376,7 +376,7 @@ opers on server <p> Definition at line <a class="el" href="servers_8h-source.html#l00048">48</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>. <p> -Referenced by <a class="el" href="servers_8cpp-source.html#l00024">serverrec()</a>. </td> +Referenced by <a class="el" href="servers_8cpp-source.html#l00026">serverrec()</a>. </td> </tr> </table> <a name="o1" doxytag="serverrec::pingtime"></a><p> @@ -404,7 +404,7 @@ last ping response (ms) <p> Definition at line <a class="el" href="servers_8h-source.html#l00039">39</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>. <p> -Referenced by <a class="el" href="servers_8cpp-source.html#l00024">serverrec()</a>. </td> +Referenced by <a class="el" href="servers_8cpp-source.html#l00026">serverrec()</a>. </td> </tr> </table> <a name="o10" doxytag="serverrec::sync_soon"></a><p> @@ -430,7 +430,7 @@ Referenced by <a class="el" href="servers_8cpp-source.html#l00024">serverrec()</ <p> Definition at line <a class="el" href="servers_8h-source.html#l00067">67</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>. <p> -Referenced by <a class="el" href="servers_8cpp-source.html#l00024">serverrec()</a>. </td> +Referenced by <a class="el" href="servers_8cpp-source.html#l00026">serverrec()</a>. </td> </tr> </table> <a name="o3" doxytag="serverrec::usercount"></a><p> @@ -458,7 +458,7 @@ non-invisible users on server <p> Definition at line <a class="el" href="servers_8h-source.html#l00045">45</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>. <p> -Referenced by <a class="el" href="servers_8cpp-source.html#l00024">serverrec()</a>. </td> +Referenced by <a class="el" href="servers_8cpp-source.html#l00026">serverrec()</a>. </td> </tr> </table> <a name="o2" doxytag="serverrec::usercount_i"></a><p> @@ -486,7 +486,7 @@ invisible users on server <p> Definition at line <a class="el" href="servers_8h-source.html#l00042">42</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>. <p> -Referenced by <a class="el" href="servers_8cpp-source.html#l00024">serverrec()</a>. </td> +Referenced by <a class="el" href="servers_8cpp-source.html#l00026">serverrec()</a>. </td> </tr> </table> <a name="o6" doxytag="serverrec::version"></a><p> @@ -514,12 +514,12 @@ ircd version <p> Definition at line <a class="el" href="servers_8h-source.html#l00054">54</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>. <p> -Referenced by <a class="el" href="servers_8cpp-source.html#l00024">serverrec()</a>. </td> +Referenced by <a class="el" href="servers_8cpp-source.html#l00026">serverrec()</a>. </td> </tr> </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 Mon Apr 4 18:12:54 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:26 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 ded768059..9cb025c22 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 Mon Apr 4 18:12:54 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:26 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 65046d31e..0981ed714 100644 --- a/docs/module-doc/classucrec.html +++ b/docs/module-doc/classucrec.html @@ -127,7 +127,7 @@ If the record is not in use, this value will be NULL. <p> Definition at line <a class="el" href="channels_8h-source.html#l00213">213</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#l00026">userrec::userrec()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00028">userrec::userrec()</a>. </td> </tr> </table> <a name="o0" doxytag="ucrec::uc_modes"></a><p> @@ -155,12 +155,12 @@ UCMODE_FOUNDER values. If this value is zero, the user has no privilages upon th <p> Definition at line <a class="el" href="channels_8h-source.html#l00208">208</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#l00026">userrec::userrec()</a>. </td> +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 Mon Apr 4 18:12:54 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:26 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 61528cf42..f30c93eea 100644 --- a/docs/module-doc/classuserrec-members.html +++ b/docs/module-doc/classuserrec-members.html @@ -63,7 +63,7 @@ <tr class="memlist"><td><a class="el" href="classuserrec.html#a0">userrec</a>()</td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr> <tr 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 Mon Apr 4 18:12:54 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:27 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 e37a6dc18..849d914eb 100644 --- a/docs/module-doc/classuserrec.html +++ b/docs/module-doc/classuserrec.html @@ -116,36 +116,36 @@ Definition at line <a class="el" href="users_8h-source.html#l00089">89</a> of fi <p> <p> -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>. +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#l00132">awaymsg</a>, <a class="el" href="connection_8h-source.html#l00194">connection::bytes_in</a>, <a class="el" href="connection_8h-source.html#l00198">connection::bytes_out</a>, <a class="el" href="channels_8h-source.html#l00213">ucrec::channel</a>, <a class="el" href="users_8h-source.html#l00123">chans</a>, <a class="el" href="connection_8h-source.html#l00202">connection::cmds_in</a>, <a class="el" href="connection_8h-source.html#l00206">connection::cmds_out</a>, <a class="el" href="users_8h-source.html#l00111">dhost</a>, <a class="el" href="users_8h-source.html#l00160">dns_done</a>, <a class="el" href="connection_8h-source.html#l00178">connection::fd</a>, <a class="el" href="users_8h-source.html#l00143">flood</a>, <a class="el" href="users_8h-source.html#l00115">fullname</a>, <a class="el" href="connection_8h-source.html#l00210">connection::haspassed</a>, <a class="el" href="connection_8h-source.html#l00182">connection::host</a>, <a class="el" href="users_8h-source.html#l00106">ident</a>, <a class="el" href="connection_8h-source.html#l00236">connection::idle_lastmsg</a>, <a class="el" href="connection_8h-source.html#l00190">connection::inbuf</a>, <a class="el" href="users_8h-source.html#l00095">invites</a>, <a class="el" href="connection_8h-source.html#l00186">connection::ip</a>, <a class="el" href="connection_8h-source.html#l00228">connection::lastping</a>, <a class="el" href="users_8h-source.html#l00121">modes</a>, <a class="el" href="users_8h-source.html#l00102">nick</a>, <a class="el" href="connection_8h-source.html#l00240">connection::nping</a>, <a class="el" href="users_8h-source.html#l00156">oper</a>, <a class="el" href="connection_8h-source.html#l00216">connection::port</a>, <a class="el" href="connection_8h-source.html#l00220">connection::registered</a>, <a class="el" href="users_8h-source.html#l00137">result</a>, <a class="el" href="users_8h-source.html#l00127">server</a>, <a class="el" href="connection_8h-source.html#l00232">connection::signon</a>, <a class="el" href="users_8h-source.html#l00149">timeout</a>, and <a class="el" href="channels_8h-source.html#l00208">ucrec::uc_modes</a>. <p> -<div class="fragment"><pre>00027 { -00028 <span class="comment">// the PROPER way to do it, AVOID bzero at *ALL* costs</span> -00029 strcpy(nick,<span class="stringliteral">""</span>); -00030 strcpy(ip,<span class="stringliteral">"127.0.0.1"</span>); -00031 <a class="code" href="classuserrec.html#o10">timeout</a> = 0; -00032 strcpy(ident,<span class="stringliteral">""</span>); -00033 strcpy(host,<span class="stringliteral">""</span>); -00034 strcpy(dhost,<span class="stringliteral">""</span>); -00035 strcpy(fullname,<span class="stringliteral">""</span>); -00036 strcpy(modes,<span class="stringliteral">""</span>); -00037 strcpy(inbuf,<span class="stringliteral">""</span>); -00038 strcpy(server,<span class="stringliteral">""</span>); -00039 strcpy(awaymsg,<span class="stringliteral">""</span>); -00040 strcpy(oper,<span class="stringliteral">""</span>); -00041 <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; -00042 <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; -00043 <a class="code" href="classconnection.html#o8">haspassed</a> = <span class="keyword">false</span>; -00044 <a class="code" href="classuserrec.html#o12">dns_done</a> = <span class="keyword">false</span>; -00045 strcpy(result,<span class="stringliteral">""</span>); -00046 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < MAXCHANS; i++) -00047 { -00048 this-><a class="code" href="classuserrec.html#o5">chans</a>[i].<a class="code" href="classucrec.html#o1">channel</a> = NULL; -00049 this-><a class="code" href="classuserrec.html#o5">chans</a>[i].<a class="code" href="classucrec.html#o0">uc_modes</a> = 0; -00050 } -00051 <a class="code" href="classuserrec.html#r0">invites</a>.clear(); -00052 } +<div class="fragment"><pre>00029 { +00030 <span class="comment">// the PROPER way to do it, AVOID bzero at *ALL* costs</span> +00031 strcpy(nick,<span class="stringliteral">""</span>); +00032 strcpy(ip,<span class="stringliteral">"127.0.0.1"</span>); +00033 <a class="code" href="classuserrec.html#o10">timeout</a> = 0; +00034 strcpy(ident,<span class="stringliteral">""</span>); +00035 strcpy(host,<span class="stringliteral">""</span>); +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="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; +00044 <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; +00045 <a class="code" href="classconnection.html#o8">haspassed</a> = <span class="keyword">false</span>; +00046 <a class="code" href="classuserrec.html#o12">dns_done</a> = <span class="keyword">false</span>; +00047 strcpy(result,<span class="stringliteral">""</span>); +00048 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < MAXCHANS; i++) +00049 { +00050 this-><a class="code" href="classuserrec.html#o5">chans</a>[i].<a class="code" href="classucrec.html#o1">channel</a> = NULL; +00051 this-><a class="code" href="classuserrec.html#o5">chans</a>[i].<a class="code" href="classucrec.html#o0">uc_modes</a> = 0; +00052 } +00053 <a class="code" href="classuserrec.html#r0">invites</a>.clear(); +00054 } </pre></div> </td> </tr> </table> @@ -212,14 +212,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#l00056">56</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#l00058">58</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. <p> References <a class="el" href="users_8h-source.html#l00111">dhost</a>, <a class="el" href="users_8h-source.html#l00106">ident</a>, <a class="el" href="users_8h-source.html#l00102">nick</a>, and <a class="el" href="users_8h-source.html#l00137">result</a>. <p> -<div class="fragment"><pre>00057 { -00058 snprintf(result,MAXBUF,<span class="stringliteral">"%s!%s@%s"</span>,nick,ident,dhost); -00059 <span class="keywordflow">return</span> <a class="code" href="classuserrec.html#o8">result</a>; -00060 } +<div class="fragment"><pre>00059 { +00060 snprintf(result,MAXBUF,<span class="stringliteral">"%s!%s@%s"</span>,nick,ident,dhost); +00061 <span class="keywordflow">return</span> <a class="code" href="classuserrec.html#o8">result</a>; +00062 } </pre></div> </td> </tr> </table> @@ -252,14 +252,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#l00063">63</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#l00065">65</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. <p> References <a class="el" href="connection_8h-source.html#l00182">connection::host</a>, <a class="el" href="users_8h-source.html#l00106">ident</a>, <a class="el" href="users_8h-source.html#l00102">nick</a>, and <a class="el" href="users_8h-source.html#l00137">result</a>. <p> -<div class="fragment"><pre>00064 { -00065 snprintf(result,MAXBUF,<span class="stringliteral">"%s!%s@%s"</span>,nick,ident,host); -00066 <span class="keywordflow">return</span> <a class="code" href="classuserrec.html#o8">result</a>; -00067 } +<div class="fragment"><pre>00066 { +00067 snprintf(result,MAXBUF,<span class="stringliteral">"%s!%s@%s"</span>,nick,ident,host); +00068 <span class="keywordflow">return</span> <a class="code" href="classuserrec.html#o8">result</a>; +00069 } </pre></div> </td> </tr> </table> @@ -293,60 +293,60 @@ 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#l00112">112</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#l00114">114</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>00113 { -00114 <span class="keywordtype">char</span> TypeName[MAXBUF],Classes[MAXBUF],ClassName[MAXBUF],CommandList[MAXBUF]; -00115 <span class="keywordtype">char</span>* myclass; -00116 <span class="keywordtype">char</span>* mycmd; -00117 <span class="keywordtype">char</span>* savept; -00118 <span class="keywordtype">char</span>* savept2; -00119 -00120 <span class="comment">// are they even an oper at all?</span> -00121 <span class="keywordflow">if</span> (strchr(this->modes,<span class="charliteral">'o'</span>)) -00122 { -00123 log(DEBUG,<span class="stringliteral">"*** HasPermission: %s is an oper"</span>,this->nick); -00124 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> j =0; j < ConfValueEnum(<span class="stringliteral">"type"</span>,&config_f); j++) -00125 { -00126 ConfValue(<span class="stringliteral">"type"</span>,<span class="stringliteral">"name"</span>,j,TypeName,&config_f); -00127 <span class="keywordflow">if</span> (!strcmp(TypeName,this->oper)) -00128 { -00129 log(DEBUG,<span class="stringliteral">"*** HasPermission: %s is an oper of type '%s'"</span>,this->nick,this->oper); -00130 ConfValue(<span class="stringliteral">"type"</span>,<span class="stringliteral">"classes"</span>,j,Classes,&config_f); -00131 <span class="keywordtype">char</span>* myclass = strtok_r(Classes,<span class="stringliteral">" "</span>,&savept); -00132 <span class="keywordflow">while</span> (myclass) -00133 { -00134 log(DEBUG,<span class="stringliteral">"*** HasPermission: checking classtype '%s'"</span>,myclass); -00135 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> k =0; k < ConfValueEnum(<span class="stringliteral">"class"</span>,&config_f); k++) -00136 { -00137 ConfValue(<span class="stringliteral">"class"</span>,<span class="stringliteral">"name"</span>,k,ClassName,&config_f); -00138 <span class="keywordflow">if</span> (!strcmp(ClassName,myclass)) -00139 { -00140 ConfValue(<span class="stringliteral">"class"</span>,<span class="stringliteral">"commands"</span>,k,CommandList,&config_f); -00141 log(DEBUG,<span class="stringliteral">"*** HasPermission: found class named %s with commands: '%s'"</span>,ClassName,CommandList); -00142 -00143 -00144 mycmd = strtok_r(CommandList,<span class="stringliteral">" "</span>,&savept2); -00145 <span class="keywordflow">while</span> (mycmd) -00146 { -00147 <span class="keywordflow">if</span> (!strcasecmp(mycmd,command)) -00148 { -00149 log(DEBUG,<span class="stringliteral">"*** Command %s found, returning true"</span>,command); -00150 <span class="keywordflow">return</span> <span class="keyword">true</span>; -00151 } -00152 mycmd = strtok_r(NULL,<span class="stringliteral">" "</span>,&savept2); -00153 } -00154 } -00155 } -00156 myclass = strtok_r(NULL,<span class="stringliteral">" "</span>,&savept); -00157 } -00158 } -00159 } -00160 } -00161 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00162 } +<div class="fragment"><pre>00115 { +00116 <span class="keywordtype">char</span> TypeName[MAXBUF],Classes[MAXBUF],ClassName[MAXBUF],CommandList[MAXBUF]; +00117 <span class="keywordtype">char</span>* myclass; +00118 <span class="keywordtype">char</span>* mycmd; +00119 <span class="keywordtype">char</span>* savept; +00120 <span class="keywordtype">char</span>* savept2; +00121 +00122 <span class="comment">// are they even an oper at all?</span> +00123 <span class="keywordflow">if</span> (strchr(this->modes,<span class="charliteral">'o'</span>)) +00124 { +00125 log(DEBUG,<span class="stringliteral">"*** HasPermission: %s is an oper"</span>,this->nick); +00126 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> j =0; j < ConfValueEnum(<span class="stringliteral">"type"</span>,&config_f); j++) +00127 { +00128 ConfValue(<span class="stringliteral">"type"</span>,<span class="stringliteral">"name"</span>,j,TypeName,&config_f); +00129 <span class="keywordflow">if</span> (!strcmp(TypeName,this->oper)) +00130 { +00131 log(DEBUG,<span class="stringliteral">"*** HasPermission: %s is an oper of type '%s'"</span>,this->nick,this->oper); +00132 ConfValue(<span class="stringliteral">"type"</span>,<span class="stringliteral">"classes"</span>,j,Classes,&config_f); +00133 <span class="keywordtype">char</span>* myclass = strtok_r(Classes,<span class="stringliteral">" "</span>,&savept); +00134 <span class="keywordflow">while</span> (myclass) +00135 { +00136 log(DEBUG,<span class="stringliteral">"*** HasPermission: checking classtype '%s'"</span>,myclass); +00137 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> k =0; k < ConfValueEnum(<span class="stringliteral">"class"</span>,&config_f); k++) +00138 { +00139 ConfValue(<span class="stringliteral">"class"</span>,<span class="stringliteral">"name"</span>,k,ClassName,&config_f); +00140 <span class="keywordflow">if</span> (!strcmp(ClassName,myclass)) +00141 { +00142 ConfValue(<span class="stringliteral">"class"</span>,<span class="stringliteral">"commands"</span>,k,CommandList,&config_f); +00143 log(DEBUG,<span class="stringliteral">"*** HasPermission: found class named %s with commands: '%s'"</span>,ClassName,CommandList); +00144 +00145 +00146 mycmd = strtok_r(CommandList,<span class="stringliteral">" "</span>,&savept2); +00147 <span class="keywordflow">while</span> (mycmd) +00148 { +00149 <span class="keywordflow">if</span> (!strcasecmp(mycmd,command)) +00150 { +00151 log(DEBUG,<span class="stringliteral">"*** Command %s found, returning true"</span>,command); +00152 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00153 } +00154 mycmd = strtok_r(NULL,<span class="stringliteral">" "</span>,&savept2); +00155 } +00156 } +00157 } +00158 myclass = strtok_r(NULL,<span class="stringliteral">" "</span>,&savept); +00159 } +00160 } +00161 } +00162 } +00163 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00164 } </pre></div> </td> </tr> </table> @@ -380,15 +380,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#l00083">83</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#l00085">85</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#l00095">invites</a>. <p> -<div class="fragment"><pre>00084 { -00085 <a class="code" href="classInvited.html">Invited</a> i; -00086 strlcpy(i.<a class="code" href="classInvited.html#o0">channel</a>,channel,CHANMAX); -00087 <a class="code" href="classuserrec.html#r0">invites</a>.push_back(i); -00088 } +<div class="fragment"><pre>00086 { +00087 <a class="code" href="classInvited.html">Invited</a> i; +00088 strlcpy(i.<a class="code" href="classInvited.html#o0">channel</a>,channel,CHANMAX); +00089 <a class="code" href="classuserrec.html#r0">invites</a>.push_back(i); +00090 } </pre></div> </td> </tr> </table> @@ -422,22 +422,22 @@ Returns true if a user is invited to a channel. <p> <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#l00071">71</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. <p> References <a class="el" href="users_8h-source.html#l00095">invites</a>. <p> -<div class="fragment"><pre>00070 { -00071 <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++) -00072 { -00073 <span class="keywordflow">if</span> (i->channel) { -00074 <span class="keywordflow">if</span> (!strcasecmp(i->channel,channel)) -00075 { -00076 <span class="keywordflow">return</span> <span class="keyword">true</span>; -00077 } -00078 } -00079 } -00080 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00081 } +<div class="fragment"><pre>00072 { +00073 <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++) +00074 { +00075 <span class="keywordflow">if</span> (i->channel) { +00076 <span class="keywordflow">if</span> (!strcasecmp(i->channel,channel)) +00077 { +00078 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00079 } +00080 } +00081 } +00082 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00083 } </pre></div> </td> </tr> </table> @@ -471,30 +471,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#l00090">90</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#l00092">92</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#l00095">invites</a>. <p> -<div class="fragment"><pre>00091 { -00092 log(DEBUG,<span class="stringliteral">"Removing invites"</span>); -00093 <span class="keywordflow">if</span> (channel) -00094 { -00095 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#r0">invites</a>.size()) -00096 { -00097 <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++) -00098 { -00099 <span class="keywordflow">if</span> (i->channel) -00100 { -00101 <span class="keywordflow">if</span> (!strcasecmp(i->channel,channel)) -00102 { -00103 <a class="code" href="classuserrec.html#r0">invites</a>.erase(i); -00104 <span class="keywordflow">return</span>; -00105 } -00106 } -00107 } -00108 } -00109 } -00110 } +<div class="fragment"><pre>00093 { +00094 log(DEBUG,<span class="stringliteral">"Removing invites"</span>); +00095 <span class="keywordflow">if</span> (channel) +00096 { +00097 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#r0">invites</a>.size()) +00098 { +00099 <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++) +00100 { +00101 <span class="keywordflow">if</span> (i->channel) +00102 { +00103 <span class="keywordflow">if</span> (!strcasecmp(i->channel,channel)) +00104 { +00105 <a class="code" href="classuserrec.html#r0">invites</a>.erase(i); +00106 <span class="keywordflow">return</span>; +00107 } +00108 } +00109 } +00110 } +00111 } +00112 } </pre></div> </td> </tr> </table> @@ -524,7 +524,7 @@ If this string is empty, the user is not marked as away. <p> Definition at line <a class="el" href="users_8h-source.html#l00132">132</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#l00026">userrec()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00028">userrec()</a>. </td> </tr> </table> <a name="o5" doxytag="userrec::chans"></a><p> @@ -550,7 +550,7 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00026">userrec()</a>. <p> Definition at line <a class="el" href="users_8h-source.html#l00123">123</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#l00026">userrec()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00028">userrec()</a>. </td> </tr> </table> <a name="o2" doxytag="userrec::dhost"></a><p> @@ -578,7 +578,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#l00111">111</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#l00056">GetFullHost()</a>, and <a class="el" href="users_8cpp-source.html#l00026">userrec()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00058">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> @@ -606,7 +606,7 @@ True when <a class="el" href="classDNS.html">DNS</a> lookups are completed. <p> Definition at line <a class="el" href="users_8h-source.html#l00160">160</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#l00026">userrec()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00028">userrec()</a>. </td> </tr> </table> <a name="o9" doxytag="userrec::flood"></a><p> @@ -634,7 +634,7 @@ Number of lines the user can place into the buffer (up to the global NetBufferSi <p> Definition at line <a class="el" href="users_8h-source.html#l00143">143</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#l00026">userrec()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00028">userrec()</a>. </td> </tr> </table> <a name="o3" doxytag="userrec::fullname"></a><p> @@ -662,7 +662,7 @@ The users full name. <p> Definition at line <a class="el" href="users_8h-source.html#l00115">115</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#l00026">userrec()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00028">userrec()</a>. </td> </tr> </table> <a name="o1" doxytag="userrec::ident"></a><p> @@ -690,7 +690,7 @@ The users ident reply. <p> Definition at line <a class="el" href="users_8h-source.html#l00106">106</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#l00056">GetFullHost()</a>, <a class="el" href="users_8cpp-source.html#l00063">GetFullRealHost()</a>, and <a class="el" href="users_8cpp-source.html#l00026">userrec()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00058">GetFullHost()</a>, <a class="el" href="users_8cpp-source.html#l00065">GetFullRealHost()</a>, and <a class="el" href="users_8cpp-source.html#l00028">userrec()</a>. </td> </tr> </table> <a name="r0" doxytag="userrec::invites"></a><p> @@ -718,7 +718,7 @@ A list of channels the user has a pending invite to. <p> Definition at line <a class="el" href="users_8h-source.html#l00095">95</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#l00083">InviteTo()</a>, <a class="el" href="users_8cpp-source.html#l00069">IsInvited()</a>, <a class="el" href="users_8cpp-source.html#l00090">RemoveInvite()</a>, and <a class="el" href="users_8cpp-source.html#l00026">userrec()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00085">InviteTo()</a>, <a class="el" href="users_8cpp-source.html#l00071">IsInvited()</a>, <a class="el" href="users_8cpp-source.html#l00092">RemoveInvite()</a>, and <a class="el" href="users_8cpp-source.html#l00028">userrec()</a>. </td> </tr> </table> <a name="o4" doxytag="userrec::modes"></a><p> @@ -746,7 +746,7 @@ This may contain any of the following RFC characters: o, w, s, i Your module may <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="users_8cpp-source.html#l00026">userrec()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00028">userrec()</a>. </td> </tr> </table> <a name="o0" doxytag="userrec::nick"></a><p> @@ -774,7 +774,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#l00102">102</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#l00674">ConfigReader::DumpErrors()</a>, <a class="el" href="users_8cpp-source.html#l00056">GetFullHost()</a>, <a class="el" href="users_8cpp-source.html#l00063">GetFullRealHost()</a>, <a class="el" href="modules_8cpp-source.html#l00397">Server::QuitUser()</a>, and <a class="el" href="users_8cpp-source.html#l00026">userrec()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00676">ConfigReader::DumpErrors()</a>, <a class="el" href="users_8cpp-source.html#l00058">GetFullHost()</a>, <a class="el" href="users_8cpp-source.html#l00065">GetFullRealHost()</a>, <a class="el" href="modules_8cpp-source.html#l00399">Server::QuitUser()</a>, and <a class="el" href="users_8cpp-source.html#l00028">userrec()</a>. </td> </tr> </table> <a name="o11" doxytag="userrec::oper"></a><p> @@ -802,7 +802,7 @@ This is used to check permissions in operclasses, so that we can say 'yay' or 'n <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#l00026">userrec()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00028">userrec()</a>. </td> </tr> </table> <a name="o8" doxytag="userrec::result"></a><p> @@ -830,7 +830,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#l00137">137</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#l00056">GetFullHost()</a>, <a class="el" href="users_8cpp-source.html#l00063">GetFullRealHost()</a>, and <a class="el" href="users_8cpp-source.html#l00026">userrec()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00058">GetFullHost()</a>, <a class="el" href="users_8cpp-source.html#l00065">GetFullRealHost()</a>, and <a class="el" href="users_8cpp-source.html#l00028">userrec()</a>. </td> </tr> </table> <a name="o6" doxytag="userrec::server"></a><p> @@ -858,7 +858,7 @@ The server the user is connected to. <p> Definition at line <a class="el" href="users_8h-source.html#l00127">127</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#l00026">userrec()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00028">userrec()</a>. </td> </tr> </table> <a name="o10" doxytag="userrec::timeout"></a><p> @@ -886,12 +886,12 @@ Number of seconds this user is given to send USER/NICK If they do not send their <p> Definition at line <a class="el" href="users_8h-source.html#l00149">149</a> of file <a class="el" href="users_8h-source.html">users.h</a>. <p> -Referenced by <a class="el" href="users_8cpp-source.html#l00026">userrec()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00028">userrec()</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 Mon Apr 4 18:12:54 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:27 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 c7d69f256..2796b60d8 100644 --- a/docs/module-doc/commands_8h-source.html +++ b/docs/module-doc/commands_8h-source.html @@ -84,37 +84,39 @@ 00079 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a45">handle_qline</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); 00080 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a46">handle_eline</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); 00081 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a47">handle_server</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); -00082 -00085 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a48">handle_link_packet</a>(<span class="keywordtype">char</span>* udp_msg, <span class="keywordtype">char</span>* tcp_host, <a class="code" href="classserverrec.html">serverrec</a> *serv); -00086 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a49">process_restricted_commands</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host,<span class="keywordtype">char</span>* ipaddr,<span class="keywordtype">int</span> port); -00087 -00090 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a50">handle_amp</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); -00091 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a51">handle_dollar</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); -00092 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a52">handle_J</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); -00093 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a53">handle_R</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); -00094 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a54">handle_plus</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); -00095 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a55">handle_b</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); -00096 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a56">handle_a</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); -00097 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a57">handle_F</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); -00098 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a58">handle_N</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); -00099 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a59">handle_AT</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); -00100 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a60">handle_k</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); -00101 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a61">handle_n</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); -00102 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a62">handle_Q</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); -00103 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a63">handle_K</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); -00104 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a64">handle_L</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); -00105 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a65">handle_m</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); -00106 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a66">handle_M</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); -00107 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a67">handle_T</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); -00108 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a68">handle_t</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); -00109 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a69">handle_i</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); -00110 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a70">handle_P</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); -00111 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a71">handle_V</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); -00112 -00115 <span class="keywordtype">bool</span> <a class="code" href="commands_8h.html#a72">is_uline</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* server); -00116 -00117 <span class="preprocessor">#endif</span> -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Apr 4 18:12:47 2005 for InspIRCd by +00082 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a48">handle_loadmodule</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00083 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a49">handle_unloadmodule</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00084 +00087 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a50">handle_link_packet</a>(<span class="keywordtype">char</span>* udp_msg, <span class="keywordtype">char</span>* tcp_host, <a class="code" href="classserverrec.html">serverrec</a> *serv); +00088 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a51">process_restricted_commands</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host,<span class="keywordtype">char</span>* ipaddr,<span class="keywordtype">int</span> port); +00089 +00092 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a52">handle_amp</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); +00093 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a53">handle_dollar</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); +00094 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a54">handle_J</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); +00095 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a55">handle_R</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); +00096 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a56">handle_plus</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); +00097 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a57">handle_b</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); +00098 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a58">handle_a</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); +00099 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a59">handle_F</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); +00100 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a60">handle_N</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); +00101 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a61">handle_AT</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); +00102 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a62">handle_k</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); +00103 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a63">handle_n</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); +00104 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a64">handle_Q</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); +00105 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a65">handle_K</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); +00106 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a66">handle_L</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); +00107 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a67">handle_m</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); +00108 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a68">handle_M</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); +00109 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a69">handle_T</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); +00110 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a70">handle_t</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); +00111 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a71">handle_i</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); +00112 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a72">handle_P</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); +00113 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a73">handle_V</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); +00114 +00117 <span class="keywordtype">bool</span> <a class="code" href="commands_8h.html#a74">is_uline</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* server); +00118 +00119 <span class="preprocessor">#endif</span> +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:20 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 dbf9eb9f7..09e7aca04 100644 --- a/docs/module-doc/commands_8h.html +++ b/docs/module-doc/commands_8h.html @@ -115,62 +115,66 @@ <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a47">handle_server</a> (char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a48">handle_link_packet</a> (char *udp_msg, char *tcp_host, <a class="el" href="classserverrec.html">serverrec</a> *serv)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a48">handle_loadmodule</a> (char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Special functions for processing server to server traffic. </em> <a href="#a48"></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="commands_8h.html#a49">process_restricted_commands</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host, char *ipaddr, int port)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a49">handle_unloadmodule</a> (char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a50">handle_amp</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a50">handle_link_packet</a> (char *udp_msg, char *tcp_host, <a class="el" href="classserverrec.html">serverrec</a> *serv)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">These are the handlers for server commands (tokens). </em> <a href="#a50"></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="commands_8h.html#a51">handle_dollar</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Special functions for processing server to server traffic. </em> <a href="#a50"></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="commands_8h.html#a51">process_restricted_commands</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host, char *ipaddr, int port)</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a52">handle_J</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a52">handle_amp</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a53">handle_R</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">These are the handlers for server commands (tokens). </em> <a href="#a52"></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="commands_8h.html#a53">handle_dollar</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a54">handle_plus</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a54">handle_J</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a55">handle_b</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a55">handle_R</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a56">handle_a</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a56">handle_plus</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a57">handle_F</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a57">handle_b</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a58">handle_N</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a58">handle_a</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a59">handle_AT</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a59">handle_F</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a60">handle_k</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a60">handle_N</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a61">handle_n</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a61">handle_AT</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a62">handle_Q</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a62">handle_k</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a63">handle_K</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a63">handle_n</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a64">handle_L</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a64">handle_Q</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a65">handle_m</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a65">handle_K</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a66">handle_M</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a66">handle_L</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a67">handle_T</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a67">handle_m</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a68">handle_t</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a68">handle_M</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a69">handle_i</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a69">handle_T</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a70">handle_P</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a70">handle_t</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a71">handle_V</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a71">handle_i</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a72">is_uline</a> (const char *server)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a72">handle_P</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Functions for u:lined servers. </em> <a href="#a72"></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="commands_8h.html#a73">handle_V</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a74">is_uline</a> (const char *server)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Functions for u:lined servers. </em> <a href="#a74"></a><em><br><br></td></tr> </table> <hr><h2>Function Documentation</h2> -<a name="a56" doxytag="commands.h::handle_a"></a><p> +<a name="a58" doxytag="commands.h::handle_a"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -270,7 +274,7 @@ </td> </tr> </table> -<a name="a50" doxytag="commands.h::handle_amp"></a><p> +<a name="a52" doxytag="commands.h::handle_amp"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -328,7 +332,7 @@ These are the handlers for server commands (tokens). </td> </tr> </table> -<a name="a59" doxytag="commands.h::handle_AT"></a><p> +<a name="a61" doxytag="commands.h::handle_AT"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -428,7 +432,7 @@ These are the handlers for server commands (tokens). </td> </tr> </table> -<a name="a55" doxytag="commands.h::handle_b"></a><p> +<a name="a57" doxytag="commands.h::handle_b"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -572,7 +576,7 @@ These are the handlers for server commands (tokens). </td> </tr> </table> -<a name="a51" doxytag="commands.h::handle_dollar"></a><p> +<a name="a53" doxytag="commands.h::handle_dollar"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -672,7 +676,7 @@ These are the handlers for server commands (tokens). </td> </tr> </table> -<a name="a57" doxytag="commands.h::handle_F"></a><p> +<a name="a59" doxytag="commands.h::handle_F"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -772,7 +776,7 @@ These are the handlers for server commands (tokens). </td> </tr> </table> -<a name="a69" doxytag="commands.h::handle_i"></a><p> +<a name="a71" doxytag="commands.h::handle_i"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -960,7 +964,7 @@ These are the handlers for server commands (tokens). </td> </tr> </table> -<a name="a52" doxytag="commands.h::handle_J"></a><p> +<a name="a54" doxytag="commands.h::handle_J"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -1062,7 +1066,7 @@ These are the handlers for user commands. </td> </tr> </table> -<a name="a63" doxytag="commands.h::handle_K"></a><p> +<a name="a65" doxytag="commands.h::handle_K"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -1118,7 +1122,7 @@ These are the handlers for user commands. </td> </tr> </table> -<a name="a60" doxytag="commands.h::handle_k"></a><p> +<a name="a62" doxytag="commands.h::handle_k"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -1306,7 +1310,7 @@ These are the handlers for user commands. </td> </tr> </table> -<a name="a64" doxytag="commands.h::handle_L"></a><p> +<a name="a66" doxytag="commands.h::handle_L"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -1362,7 +1366,7 @@ These are the handlers for user commands. </td> </tr> </table> -<a name="a48" doxytag="commands.h::handle_link_packet"></a><p> +<a name="a50" doxytag="commands.h::handle_link_packet"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -1496,6 +1500,50 @@ Special functions for processing server to server traffic. </td> </tr> </table> +<a name="a48" doxytag="commands.h::handle_loadmodule"></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 handle_loadmodule </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char ** </td> + <td class="mdname" nowrap> <em>parameters</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>pcnt</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> <a name="a22" doxytag="commands.h::handle_lusers"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> @@ -1540,7 +1588,7 @@ Special functions for processing server to server traffic. </td> </tr> </table> -<a name="a66" doxytag="commands.h::handle_M"></a><p> +<a name="a68" doxytag="commands.h::handle_M"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -1596,7 +1644,7 @@ Special functions for processing server to server traffic. </td> </tr> </table> -<a name="a65" doxytag="commands.h::handle_m"></a><p> +<a name="a67" doxytag="commands.h::handle_m"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -1784,7 +1832,7 @@ Special functions for processing server to server traffic. </td> </tr> </table> -<a name="a61" doxytag="commands.h::handle_n"></a><p> +<a name="a63" doxytag="commands.h::handle_n"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -1840,7 +1888,7 @@ Special functions for processing server to server traffic. </td> </tr> </table> -<a name="a58" doxytag="commands.h::handle_N"></a><p> +<a name="a60" doxytag="commands.h::handle_N"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -2072,7 +2120,7 @@ Special functions for processing server to server traffic. </td> </tr> </table> -<a name="a70" doxytag="commands.h::handle_P"></a><p> +<a name="a72" doxytag="commands.h::handle_P"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -2260,7 +2308,7 @@ Special functions for processing server to server traffic. </td> </tr> </table> -<a name="a54" doxytag="commands.h::handle_plus"></a><p> +<a name="a56" doxytag="commands.h::handle_plus"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -2404,7 +2452,7 @@ Special functions for processing server to server traffic. </td> </tr> </table> -<a name="a62" doxytag="commands.h::handle_Q"></a><p> +<a name="a64" doxytag="commands.h::handle_Q"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -2548,7 +2596,7 @@ Special functions for processing server to server traffic. </td> </tr> </table> -<a name="a53" doxytag="commands.h::handle_R"></a><p> +<a name="a55" doxytag="commands.h::handle_R"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -2912,7 +2960,7 @@ Special functions for processing server to server traffic. </td> </tr> </table> -<a name="a68" doxytag="commands.h::handle_t"></a><p> +<a name="a70" doxytag="commands.h::handle_t"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -2968,7 +3016,7 @@ Special functions for processing server to server traffic. </td> </tr> </table> -<a name="a67" doxytag="commands.h::handle_T"></a><p> +<a name="a69" doxytag="commands.h::handle_T"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -3156,6 +3204,50 @@ Special functions for processing server to server traffic. </td> </tr> </table> +<a name="a49" doxytag="commands.h::handle_unloadmodule"></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 handle_unloadmodule </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char ** </td> + <td class="mdname" nowrap> <em>parameters</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>pcnt</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> <a name="a28" doxytag="commands.h::handle_user"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> @@ -3288,7 +3380,7 @@ Special functions for processing server to server traffic. </td> </tr> </table> -<a name="a71" doxytag="commands.h::handle_V"></a><p> +<a name="a73" doxytag="commands.h::handle_V"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -3564,7 +3656,7 @@ Special functions for processing server to server traffic. </td> </tr> </table> -<a name="a72" doxytag="commands.h::is_uline"></a><p> +<a name="a74" doxytag="commands.h::is_uline"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -3594,10 +3686,10 @@ Functions for u:lined servers. <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00403">Server::IsUlined()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00405">Server::IsUlined()</a>. </td> </tr> </table> -<a name="a49" doxytag="commands.h::process_restricted_commands"></a><p> +<a name="a51" doxytag="commands.h::process_restricted_commands"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -3665,7 +3757,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00403">Server::IsUli </td> </tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Mon Apr 4 18:12:49 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:22 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 db4a23d38..529253b4d 100644 --- a/docs/module-doc/connection_8h-source.html +++ b/docs/module-doc/connection_8h-source.html @@ -168,7 +168,7 @@ 00300 00301 <span class="preprocessor">#endif</span> 00302 <span class="preprocessor"></span> -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Apr 4 18:12:47 2005 for InspIRCd by +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:20 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 45445700a..5c0e7c65c 100644 --- a/docs/module-doc/connection_8h.html +++ b/docs/module-doc/connection_8h.html @@ -191,7 +191,7 @@ Definition at line <a class="el" href="connection_8h-source.html#l00039">39</a> Definition at line <a class="el" href="connection_8h-source.html#l00036">36</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 Mon Apr 4 18:12:49 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:22 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 cb44a9bb7..5a494dec2 100644 --- a/docs/module-doc/ctables_8h-source.html +++ b/docs/module-doc/ctables_8h-source.html @@ -37,11 +37,12 @@ <a name="l00040"></a><a class="code" href="classcommand__t.html#o3">00040</a> <span class="keywordtype">int</span> <a class="code" href="classcommand__t.html#o3">min_params</a>; <a name="l00043"></a><a class="code" href="classcommand__t.html#o4">00043</a> <span class="keywordtype">long</span> <a class="code" href="classcommand__t.html#o4">use_count</a>; <a name="l00046"></a><a class="code" href="classcommand__t.html#o5">00046</a> <span class="keywordtype">long</span> <a class="code" href="classcommand__t.html#o5">total_bytes</a>; -00047 }; -00048 -00049 <span class="preprocessor">#endif</span> -00050 <span class="preprocessor"></span> -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Apr 4 18:12:47 2005 for InspIRCd by +<a name="l00049"></a><a class="code" href="classcommand__t.html#o6">00049</a> <span class="keywordtype">char</span> <a class="code" href="classcommand__t.html#o6">source</a>[MAXBUF]; +00050 }; +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 Apr 7 20:14:20 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 f5b54eb9b..dd6873135 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 Mon Apr 4 18:12:49 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:22 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 1f86c06cd..bdb67706e 100644 --- a/docs/module-doc/dns_8h-source.html +++ b/docs/module-doc/dns_8h-source.html @@ -69,7 +69,7 @@ 00092 }; 00093 00094 <span class="preprocessor">#endif</span> -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Apr 4 18:12:47 2005 for InspIRCd by +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:20 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 601b39633..6ef986b05 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 Mon Apr 4 18:12:49 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:22 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 199cc96e4..7787eb326 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 Mon Apr 4 18:12:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:20 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 1bd992f14..b65c317a9 100644 --- a/docs/module-doc/functions.html +++ b/docs/module-doc/functions.html @@ -104,7 +104,8 @@ Here is a list of all class members with links to the classes they belong to:<h3 : <a class="el" href="classFileReader.html#a6">FileReader</a><li>FindChannel() : <a class="el" href="classServer.html#a15">Server</a><li>FindHost() : <a class="el" href="classconnection.html#a7">connection</a><li>FindNick() -: <a class="el" href="classServer.html#a14">Server</a><li>flags_needed +: <a class="el" href="classServer.html#a14">Server</a><li>Flags +: <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>ForwardLookup() : <a class="el" href="classDNS.html#a4">DNS</a><li>fullname @@ -281,9 +282,9 @@ Here is a list of all class members with links to the classes they belong to:<h3 : <a class="el" href="classServer.html#a5">Server</a><li>SendTo() : <a class="el" href="classServer.html#a7">Server</a><li>SendToModeMask() : <a class="el" href="classServer.html#a25">Server</a><li>SendWallops() -: <a class="el" href="classServer.html#a11">Server</a><li>Server() -: <a class="el" href="classServer.html#a0">Server</a><li>server -: <a class="el" href="classuserrec.html#o6">userrec</a><li>servername +: <a class="el" href="classServer.html#a11">Server</a><li>server +: <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 @@ -300,7 +301,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#a6">ircd_connector</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="classXLine.html#o2">XLine</a><li>state +: <a class="el" href="classXLine.html#o2">XLine</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="classserverrec.html#o10">serverrec</a></ul> <h3><a name="index_t">- t -</a> @@ -344,7 +345,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 Mon Apr 4 18:12:50 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:23 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 5fd0af4b8..4aa12e5c3 100644 --- a/docs/module-doc/functions_func.html +++ b/docs/module-doc/functions_func.html @@ -231,7 +231,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 Mon Apr 4 18:12:50 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:23 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 5f0209a6b..cb0115aac 100644 --- a/docs/module-doc/functions_vars.html +++ b/docs/module-doc/functions_vars.html @@ -57,7 +57,8 @@ </h3><ul> <li>fc : <a class="el" href="classFileReader.html#r0">FileReader</a><li>fd -: <a class="el" href="classDNS.html#r4">DNS</a>, <a class="el" href="classconnection.html#o0">connection</a>, <a class="el" href="classircd__connector.html#r1">ircd_connector</a><li>flags_needed +: <a class="el" href="classDNS.html#r4">DNS</a>, <a class="el" href="classconnection.html#o0">connection</a>, <a class="el" href="classircd__connector.html#r1">ircd_connector</a><li>Flags +: <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> @@ -154,7 +155,7 @@ : <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#o5">chanrec</a><li>signon : <a class="el" href="classconnection.html#o13">connection</a><li>source -: <a class="el" href="classXLine.html#o2">XLine</a><li>state +: <a class="el" href="classXLine.html#o2">XLine</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="classserverrec.html#o10">serverrec</a></ul> <h3><a name="index_t">- t -</a> @@ -178,7 +179,7 @@ </h3><ul> <li>version : <a class="el" href="classserverrec.html#o6">serverrec</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Mon Apr 4 18:12:50 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:23 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 341598a04..d5af87be0 100644 --- a/docs/module-doc/globals.html +++ b/docs/module-doc/globals.html @@ -32,79 +32,79 @@ 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#a4">xline.h</a><li>add_qline() : <a class="el" href="xline_8h.html#a2">xline.h</a><li>add_zline() : <a class="el" href="xline_8h.html#a3">xline.h</a><li>address_cache -: <a class="el" href="modules_8cpp.html#a39">modules.cpp</a><li>AdminEmail -: <a class="el" href="modules_8cpp.html#a9">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a9">channels.cpp</a><li>AdminName -: <a class="el" href="modules_8cpp.html#a8">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a8">channels.cpp</a><li>AdminNick -: <a class="el" href="modules_8cpp.html#a10">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a10">channels.cpp</a><li>allowed_umode() +: <a class="el" href="modules_8cpp.html#a40">modules.cpp</a><li>AdminEmail +: <a class="el" href="modules_8cpp.html#a10">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a9">channels.cpp</a><li>AdminName +: <a class="el" href="modules_8cpp.html#a9">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a8">channels.cpp</a><li>AdminNick +: <a class="el" href="modules_8cpp.html#a11">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a10">channels.cpp</a><li>allowed_umode() : <a class="el" href="mode_8h.html#a9">mode.h</a><li>apply_lines() : <a class="el" href="xline_8h.html#a17">xline.h</a><li>auth_cookies -: <a class="el" href="modules_8cpp.html#a33">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a33">channels.cpp</a></ul> +: <a class="el" href="modules_8cpp.html#a34">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a33">channels.cpp</a></ul> <h3><a name="index_b">- b -</a> </h3><ul> <li>BanList : <a class="el" href="channels_8h.html#a5">channels.h</a><li>Blocking() : <a class="el" href="message_8h.html#a5">message.h</a><li>boundPortCount -: <a class="el" href="modules_8cpp.html#a28">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a28">channels.cpp</a></ul> +: <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> </h3><ul> <li>c_count() : <a class="el" href="message_8h.html#a8">message.h</a><li>CC_ALLOW : <a class="el" href="users_8h.html#a4">users.h</a><li>CC_DENY : <a class="el" href="users_8h.html#a5">users.h</a><li>chan_hash -: <a class="el" href="modules_8cpp.html#a38">modules.cpp</a><li>ChangeDisplayedHost() +: <a class="el" href="modules_8cpp.html#a39">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#a42">modules.cpp</a><li>chanuserlist -: <a class="el" href="modules_8h.html#a28">modules.h</a><li>chlist() +: <a class="el" href="modules_8cpp.html#a43">modules.cpp</a><li>chanuserlist +: <a class="el" href="modules_8h.html#a32">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#a41">modules.cpp</a><li>cmdlist -: <a class="el" href="modules_8cpp.html#a44">modules.cpp</a><li>cmode() +: <a class="el" href="modules_8cpp.html#a42">modules.cpp</a><li>cmdlist +: <a class="el" href="modules_8cpp.html#a45">modules.cpp</a><li>cmode() : <a class="el" href="message_8h.html#a14">message.h</a><li>command_table -: <a class="el" href="modules_8cpp.html#a40">modules.cpp</a><li>common_channels() +: <a class="el" href="modules_8cpp.html#a41">modules.cpp</a><li>common_channels() : <a class="el" href="message_8h.html#a0">message.h</a><li>CONF_FILE_NOT_FOUND -: <a class="el" href="modules_8h.html#a25">modules.h</a><li>CONF_NOT_A_NUMBER -: <a class="el" href="modules_8h.html#a22">modules.h</a><li>CONF_NOT_UNSIGNED -: <a class="el" href="modules_8h.html#a23">modules.h</a><li>CONF_VALUE_NOT_FOUND -: <a class="el" href="modules_8h.html#a24">modules.h</a><li>config_f -: <a class="el" href="users_8cpp.html#a0">users.cpp</a>, <a class="el" href="modules_8cpp.html#a34">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a34">channels.cpp</a><li>createcommand() -: <a class="el" href="modules_8h.html#a30">modules.h</a><li>cstatus() +: <a class="el" href="modules_8h.html#a29">modules.h</a><li>CONF_NOT_A_NUMBER +: <a class="el" href="modules_8h.html#a26">modules.h</a><li>CONF_NOT_UNSIGNED +: <a class="el" href="modules_8h.html#a27">modules.h</a><li>CONF_VALUE_NOT_FOUND +: <a class="el" href="modules_8h.html#a28">modules.h</a><li>config_f +: <a class="el" href="users_8cpp.html#a0">users.cpp</a>, <a class="el" href="modules_8cpp.html#a35">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a34">channels.cpp</a><li>createcommand() +: <a class="el" href="modules_8h.html#a34">modules.h</a><li>cstatus() : <a class="el" href="message_8h.html#a15">message.h</a><li>custom_mode_params -: <a class="el" href="channels_8cpp.html#a37">channels.cpp</a></ul> +: <a class="el" href="channels_8cpp.html#a38">channels.cpp</a></ul> <h3><a name="index_d">- d -</a> </h3><ul> <li>DEBUG : <a class="el" href="modules_8h.html#a0">modules.h</a><li>debugging -: <a class="el" href="modules_8cpp.html#a18">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a18">channels.cpp</a><li>DEFAULT +: <a class="el" href="modules_8cpp.html#a19">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a18">channels.cpp</a><li>DEFAULT : <a class="el" href="modules_8h.html#a2">modules.h</a><li>defaultRoute -: <a class="el" href="modules_8cpp.html#a32">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a32">channels.cpp</a><li>del_eline() +: <a class="el" href="modules_8cpp.html#a33">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a32">channels.cpp</a><li>del_eline() : <a class="el" href="xline_8h.html#a10">xline.h</a><li>del_gline() : <a class="el" href="xline_8h.html#a6">xline.h</a><li>del_kline() : <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>DieDelay -: <a class="el" href="modules_8cpp.html#a21">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a21">channels.cpp</a><li>diepass -: <a class="el" href="modules_8cpp.html#a11">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a11">channels.cpp</a><li>DieValue -: <a class="el" href="modules_8cpp.html#a17">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a17">channels.cpp</a><li>DoAddExtendedMode() -: <a class="el" href="modules_8cpp.html#a56">modules.cpp</a></ul> +: <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#a57">modules.cpp</a></ul> <h3><a name="index_e">- e -</a> </h3><ul> <li>EMode -: <a class="el" href="modules_8cpp.html#a50">modules.cpp</a><li>ExemptList +: <a class="el" href="modules_8cpp.html#a51">modules.cpp</a><li>ExemptList : <a class="el" href="channels_8h.html#a6">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#a48">modules.cpp</a><li>ExtModeListIter -: <a class="el" href="modules_8cpp.html#a49">modules.cpp</a></ul> +: <a class="el" href="modules_8cpp.html#a49">modules.cpp</a><li>ExtModeListIter +: <a class="el" href="modules_8cpp.html#a50">modules.cpp</a></ul> <h3><a name="index_f">- f -</a> </h3><ul> <li>factory -: <a class="el" href="modules_8cpp.html#a59">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a3">channels.cpp</a><li>fd_reap -: <a class="el" href="modules_8cpp.html#a26">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a26">channels.cpp</a><li>file_cache -: <a class="el" href="modules_8h.html#a26">modules.h</a><li>FOREACH_MOD -: <a class="el" href="modules_8h.html#a20">modules.h</a><li>FOREACH_RESULT -: <a class="el" href="modules_8h.html#a21">modules.h</a></ul> +: <a class="el" href="modules_8cpp.html#a60">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a3">channels.cpp</a><li>fd_reap +: <a class="el" href="modules_8cpp.html#a27">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a26">channels.cpp</a><li>file_cache +: <a class="el" href="modules_8h.html#a30">modules.h</a><li>FOREACH_MOD +: <a class="el" href="modules_8h.html#a24">modules.h</a><li>FOREACH_RESULT +: <a class="el" href="modules_8h.html#a25">modules.h</a></ul> <h3><a name="index_g">- g -</a> </h3><ul> <li>give_hops() @@ -115,73 +115,75 @@ Here is a list of all file members with links to the files they belong to:<h3><a <h3><a name="index_h">- h -</a> </h3><ul> <li>handle_a() -: <a class="el" href="commands_8h.html#a56">commands.h</a><li>handle_admin() +: <a class="el" href="commands_8h.html#a58">commands.h</a><li>handle_admin() : <a class="el" href="commands_8h.html#a23">commands.h</a><li>handle_amp() -: <a class="el" href="commands_8h.html#a50">commands.h</a><li>handle_AT() -: <a class="el" href="commands_8h.html#a59">commands.h</a><li>handle_away() +: <a class="el" href="commands_8h.html#a52">commands.h</a><li>handle_AT() +: <a class="el" href="commands_8h.html#a61">commands.h</a><li>handle_away() : <a class="el" href="commands_8h.html#a31">commands.h</a><li>handle_b() -: <a class="el" href="commands_8h.html#a55">commands.h</a><li>handle_connect() +: <a class="el" href="commands_8h.html#a57">commands.h</a><li>handle_connect() : <a class="el" href="commands_8h.html#a36">commands.h</a><li>handle_die() : <a class="el" href="commands_8h.html#a3">commands.h</a><li>handle_dollar() -: <a class="el" href="commands_8h.html#a51">commands.h</a><li>handle_eline() +: <a class="el" href="commands_8h.html#a53">commands.h</a><li>handle_eline() : <a class="el" href="commands_8h.html#a46">commands.h</a><li>handle_F() -: <a class="el" href="commands_8h.html#a57">commands.h</a><li>handle_gline() +: <a class="el" href="commands_8h.html#a59">commands.h</a><li>handle_gline() : <a class="el" href="commands_8h.html#a43">commands.h</a><li>handle_i() -: <a class="el" href="commands_8h.html#a69">commands.h</a><li>handle_info() +: <a class="el" href="commands_8h.html#a71">commands.h</a><li>handle_info() : <a class="el" href="commands_8h.html#a14">commands.h</a><li>handle_invite() : <a class="el" href="commands_8h.html#a9">commands.h</a><li>handle_ison() : <a class="el" href="commands_8h.html#a30">commands.h</a><li>handle_J() -: <a class="el" href="commands_8h.html#a52">commands.h</a><li>handle_join() +: <a class="el" href="commands_8h.html#a54">commands.h</a><li>handle_join() : <a class="el" href="commands_8h.html#a0">commands.h</a><li>handle_k() -: <a class="el" href="commands_8h.html#a60">commands.h</a><li>handle_K() -: <a class="el" href="commands_8h.html#a63">commands.h</a><li>handle_kick() +: <a class="el" href="commands_8h.html#a62">commands.h</a><li>handle_K() +: <a class="el" href="commands_8h.html#a65">commands.h</a><li>handle_kick() : <a class="el" href="commands_8h.html#a2">commands.h</a><li>handle_kill() : <a class="el" href="commands_8h.html#a5">commands.h</a><li>handle_kline() : <a class="el" href="commands_8h.html#a42">commands.h</a><li>handle_L() -: <a class="el" href="commands_8h.html#a64">commands.h</a><li>handle_link_packet() -: <a class="el" href="commands_8h.html#a48">commands.h</a><li>handle_links() +: <a class="el" href="commands_8h.html#a66">commands.h</a><li>handle_link_packet() +: <a class="el" href="commands_8h.html#a50">commands.h</a><li>handle_links() : <a class="el" href="commands_8h.html#a38">commands.h</a><li>handle_list() -: <a class="el" href="commands_8h.html#a20">commands.h</a><li>handle_lusers() +: <a class="el" href="commands_8h.html#a20">commands.h</a><li>handle_loadmodule() +: <a class="el" href="commands_8h.html#a48">commands.h</a><li>handle_lusers() : <a class="el" href="commands_8h.html#a22">commands.h</a><li>handle_m() -: <a class="el" href="commands_8h.html#a65">commands.h</a><li>handle_M() -: <a class="el" href="commands_8h.html#a66">commands.h</a><li>handle_map() +: <a class="el" href="commands_8h.html#a67">commands.h</a><li>handle_M() +: <a class="el" href="commands_8h.html#a68">commands.h</a><li>handle_map() : <a class="el" href="commands_8h.html#a39">commands.h</a><li>handle_mode() : <a class="el" href="mode_8h.html#a11">mode.h</a><li>handle_modules() : <a class="el" href="commands_8h.html#a34">commands.h</a><li>handle_motd() : <a class="el" href="commands_8h.html#a26">commands.h</a><li>handle_N() -: <a class="el" href="commands_8h.html#a58">commands.h</a><li>handle_n() -: <a class="el" href="commands_8h.html#a61">commands.h</a><li>handle_names() +: <a class="el" href="commands_8h.html#a60">commands.h</a><li>handle_n() +: <a class="el" href="commands_8h.html#a63">commands.h</a><li>handle_names() : <a class="el" href="commands_8h.html#a11">commands.h</a><li>handle_nick() : <a class="el" href="commands_8h.html#a41">commands.h</a><li>handle_notice() : <a class="el" href="commands_8h.html#a13">commands.h</a><li>handle_oper() : <a class="el" href="commands_8h.html#a40">commands.h</a><li>handle_P() -: <a class="el" href="commands_8h.html#a70">commands.h</a><li>handle_part() +: <a class="el" href="commands_8h.html#a72">commands.h</a><li>handle_part() : <a class="el" href="commands_8h.html#a1">commands.h</a><li>handle_pass() : <a class="el" href="commands_8h.html#a8">commands.h</a><li>handle_ping() : <a class="el" href="commands_8h.html#a24">commands.h</a><li>handle_plus() -: <a class="el" href="commands_8h.html#a54">commands.h</a><li>handle_pong() +: <a class="el" href="commands_8h.html#a56">commands.h</a><li>handle_pong() : <a class="el" href="commands_8h.html#a25">commands.h</a><li>handle_privmsg() : <a class="el" href="commands_8h.html#a12">commands.h</a><li>handle_Q() -: <a class="el" href="commands_8h.html#a62">commands.h</a><li>handle_qline() +: <a class="el" href="commands_8h.html#a64">commands.h</a><li>handle_qline() : <a class="el" href="commands_8h.html#a45">commands.h</a><li>handle_quit() : <a class="el" href="commands_8h.html#a17">commands.h</a><li>handle_R() -: <a class="el" href="commands_8h.html#a53">commands.h</a><li>handle_rehash() +: <a class="el" href="commands_8h.html#a55">commands.h</a><li>handle_rehash() : <a class="el" href="commands_8h.html#a21">commands.h</a><li>handle_restart() : <a class="el" href="commands_8h.html#a4">commands.h</a><li>handle_rules() : <a class="el" href="commands_8h.html#a27">commands.h</a><li>handle_server() : <a class="el" href="commands_8h.html#a47">commands.h</a><li>handle_squit() : <a class="el" href="commands_8h.html#a37">commands.h</a><li>handle_stats() : <a class="el" href="commands_8h.html#a35">commands.h</a><li>handle_summon() -: <a class="el" href="commands_8h.html#a6">commands.h</a><li>handle_t() -: <a class="el" href="commands_8h.html#a68">commands.h</a><li>handle_T() -: <a class="el" href="commands_8h.html#a67">commands.h</a><li>handle_time() +: <a class="el" href="commands_8h.html#a6">commands.h</a><li>handle_T() +: <a class="el" href="commands_8h.html#a69">commands.h</a><li>handle_t() +: <a class="el" href="commands_8h.html#a70">commands.h</a><li>handle_time() : <a class="el" href="commands_8h.html#a15">commands.h</a><li>handle_topic() : <a class="el" href="commands_8h.html#a10">commands.h</a><li>handle_trace() -: <a class="el" href="commands_8h.html#a33">commands.h</a><li>handle_user() +: <a class="el" href="commands_8h.html#a33">commands.h</a><li>handle_unloadmodule() +: <a class="el" href="commands_8h.html#a49">commands.h</a><li>handle_user() : <a class="el" href="commands_8h.html#a28">commands.h</a><li>handle_userhost() : <a class="el" href="commands_8h.html#a29">commands.h</a><li>handle_users() : <a class="el" href="commands_8h.html#a7">commands.h</a><li>handle_V() -: <a class="el" href="commands_8h.html#a71">commands.h</a><li>handle_wallops() +: <a class="el" href="commands_8h.html#a73">commands.h</a><li>handle_wallops() : <a class="el" href="commands_8h.html#a19">commands.h</a><li>handle_who() : <a class="el" href="commands_8h.html#a18">commands.h</a><li>handle_whois() : <a class="el" href="commands_8h.html#a16">commands.h</a><li>handle_whowas() @@ -194,9 +196,9 @@ Here is a list of all file members with links to the files they belong to:<h3><a <li>InvitedList : <a class="el" href="users_8h.html#a6">users.h</a><li>InviteList : <a class="el" href="channels_8h.html#a7">channels.h</a><li>IP -: <a class="el" href="modules_8cpp.html#a47">modules.cpp</a><li>ircd_module -: <a class="el" href="modules_8h.html#a29">modules.h</a><li>is_uline() -: <a class="el" href="commands_8h.html#a72">commands.h</a><li>isident() +: <a class="el" href="modules_8cpp.html#a48">modules.cpp</a><li>ircd_module +: <a class="el" href="modules_8h.html#a33">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() : <a class="el" href="message_8h.html#a13">message.h</a></ul> <h3><a name="index_l">- l -</a> @@ -204,9 +206,9 @@ Here is a list of all file members with links to the files they belong to:<h3><a <li>LINK_ACTIVE : <a class="el" href="servers_8h.html#a0">servers.h</a><li>LINK_INACTIVE : <a class="el" href="servers_8h.html#a1">servers.h</a><li>list -: <a class="el" href="modules_8cpp.html#a15">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a15">channels.cpp</a><li>log_file -: <a class="el" href="modules_8cpp.html#a36">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a36">channels.cpp</a><li>LogLevel -: <a class="el" href="modules_8cpp.html#a4">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a4">channels.cpp</a></ul> +: <a class="el" href="modules_8cpp.html#a16">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a15">channels.cpp</a><li>log_file +: <a class="el" href="modules_8cpp.html#a37">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a36">channels.cpp</a><li>LogLevel +: <a class="el" href="modules_8cpp.html#a5">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a4">channels.cpp</a></ul> <h3><a name="index_m">- m -</a> </h3><ul> <li>matches_exception() @@ -215,42 +217,42 @@ 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#a14">xline.h</a><li>matches_qline() : <a class="el" href="xline_8h.html#a11">xline.h</a><li>matches_zline() : <a class="el" href="xline_8h.html#a13">xline.h</a><li>MaxWhoResults -: <a class="el" href="modules_8cpp.html#a24">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a24">channels.cpp</a><li>me -: <a class="el" href="modules_8cpp.html#a35">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a35">channels.cpp</a><li>merge_mode() +: <a class="el" href="modules_8cpp.html#a25">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a24">channels.cpp</a><li>me +: <a class="el" href="modules_8cpp.html#a36">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a35">channels.cpp</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>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#a51">modules.cpp</a><li>ModeDefinedOff() -: <a class="el" href="modules_8cpp.html#a55">modules.cpp</a><li>ModeDefinedOn() -: <a class="el" href="modules_8cpp.html#a54">modules.cpp</a><li>ModeDefinedOper() -: <a class="el" href="modules_8cpp.html#a53">modules.cpp</a><li>ModeIsListMode() -: <a class="el" href="modules_8cpp.html#a52">modules.cpp</a><li>ModeMakeList() -: <a class="el" href="modules_8cpp.html#a57">modules.cpp</a><li>module_names -: <a class="el" href="modules_8cpp.html#a27">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a27">channels.cpp</a><li>modules -: <a class="el" href="modules_8cpp.html#a58">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a2">channels.cpp</a><li>motd -: <a class="el" href="modules_8cpp.html#a13">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a13">channels.cpp</a><li>MOTD -: <a class="el" href="modules_8cpp.html#a45">modules.cpp</a><li>MT_CHANNEL +: <a class="el" href="modules_8cpp.html#a52">modules.cpp</a><li>ModeDefinedOff() +: <a class="el" href="modules_8cpp.html#a56">modules.cpp</a><li>ModeDefinedOn() +: <a class="el" href="modules_8cpp.html#a55">modules.cpp</a><li>ModeDefinedOper() +: <a class="el" href="modules_8cpp.html#a54">modules.cpp</a><li>ModeIsListMode() +: <a class="el" href="modules_8cpp.html#a53">modules.cpp</a><li>ModeMakeList() +: <a class="el" href="modules_8cpp.html#a58">modules.cpp</a><li>module_names +: <a class="el" href="modules_8cpp.html#a28">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a27">channels.cpp</a><li>modules +: <a class="el" href="modules_8cpp.html#a59">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a2">channels.cpp</a><li>MOTD +: <a class="el" href="modules_8cpp.html#a46">modules.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>MT_CHANNEL : <a class="el" href="modules_8h.html#a5">modules.h</a><li>MT_CLIENT : <a class="el" href="modules_8h.html#a6">modules.h</a><li>MT_SERVER : <a class="el" href="modules_8h.html#a7">modules.h</a></ul> <h3><a name="index_n">- n -</a> </h3><ul> <li>nb_start -: <a class="el" href="modules_8cpp.html#a25">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a25">channels.cpp</a><li>NetBufferSize -: <a class="el" href="modules_8cpp.html#a23">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a23">channels.cpp</a><li>Network -: <a class="el" href="modules_8cpp.html#a6">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a6">channels.cpp</a><li>NonBlocking() +: <a class="el" href="modules_8cpp.html#a26">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a25">channels.cpp</a><li>NetBufferSize +: <a class="el" href="modules_8cpp.html#a24">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a23">channels.cpp</a><li>Network +: <a class="el" href="modules_8cpp.html#a7">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a6">channels.cpp</a><li>NonBlocking() : <a class="el" href="message_8h.html#a6">message.h</a><li>NONE : <a class="el" href="modules_8h.html#a4">modules.h</a><li>nspace : <a class="el" href="modules_8cpp.html#a0">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a0">channels.cpp</a></ul> <h3><a name="index_p">- p -</a> </h3><ul> <li>portCount -: <a class="el" href="modules_8cpp.html#a29">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a29">channels.cpp</a><li>ports -: <a class="el" href="modules_8cpp.html#a31">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a31">channels.cpp</a><li>PrefixQuit -: <a class="el" href="modules_8cpp.html#a16">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a16">channels.cpp</a><li>process_modes() +: <a class="el" href="modules_8cpp.html#a30">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a29">channels.cpp</a><li>ports +: <a class="el" href="modules_8cpp.html#a32">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a31">channels.cpp</a><li>PrefixQuit +: <a class="el" href="modules_8cpp.html#a17">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a16">channels.cpp</a><li>process_modes() : <a class="el" href="mode_8h.html#a8">mode.h</a><li>process_module_umode() : <a class="el" href="mode_8h.html#a10">mode.h</a><li>process_restricted_commands() -: <a class="el" href="commands_8h.html#a49">commands.h</a></ul> +: <a class="el" href="commands_8h.html#a51">commands.h</a></ul> <h3><a name="index_q">- q -</a> </h3><ul> <li>qline_make_global() @@ -260,19 +262,19 @@ Here is a list of all file members with links to the files they belong to:<h3><a </h3><ul> <li>read_xline_defaults() : <a class="el" href="xline_8h.html#a0">xline.h</a><li>restartpass -: <a class="el" href="modules_8cpp.html#a12">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a12">channels.cpp</a><li>RULES -: <a class="el" href="modules_8cpp.html#a46">modules.cpp</a><li>rules -: <a class="el" href="modules_8cpp.html#a14">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a14">channels.cpp</a></ul> +: <a class="el" href="modules_8cpp.html#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#a47">modules.cpp</a></ul> <h3><a name="index_s">- s -</a> </h3><ul> <li>safedelete() : <a class="el" href="message_8h.html#a4">message.h</a><li>send_network_quit() : <a class="el" href="message_8h.html#a19">message.h</a><li>server_mode() -: <a class="el" href="modules_8h.html#a31">modules.h</a>, <a class="el" href="mode_8h.html#a12">mode.h</a><li>ServerDesc -: <a class="el" href="modules_8cpp.html#a7">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a7">channels.cpp</a><li>ServerName -: <a class="el" href="modules_8cpp.html#a5">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a5">channels.cpp</a><li>SPARSE +: <a class="el" href="modules_8h.html#a35">modules.h</a>, <a class="el" href="mode_8h.html#a12">mode.h</a><li>ServerDesc +: <a class="el" href="modules_8cpp.html#a8">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a7">channels.cpp</a><li>ServerName +: <a class="el" href="modules_8cpp.html#a6">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a5">channels.cpp</a><li>SPARSE : <a class="el" href="modules_8h.html#a3">modules.h</a><li>startup_time -: <a class="el" href="modules_8cpp.html#a22">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a22">channels.cpp</a><li>STATE_CONNECTED +: <a class="el" href="modules_8cpp.html#a23">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a22">channels.cpp</a><li>STATE_CONNECTED : <a class="el" href="connection_8h.html#a1">connection.h</a><li>STATE_DISCONNECTED : <a class="el" href="connection_8h.html#a0">connection.h</a><li>STATE_NOAUTH_INBOUND : <a class="el" href="connection_8h.html#a3">connection.h</a><li>STATE_NOAUTH_OUTBOUND @@ -288,7 +290,7 @@ Here is a list of all file members with links to the files they belong to:<h3><a : <a class="el" href="users_8h.html#a3">users.h</a><li>STATUS_OP : <a class="el" href="users_8h.html#a0">users.h</a><li>STATUS_VOICE : <a class="el" href="users_8h.html#a2">users.h</a><li>string_list -: <a class="el" href="modules_8h.html#a27">modules.h</a><li>sync_xlines() +: <a class="el" href="modules_8h.html#a31">modules.h</a><li>sync_xlines() : <a class="el" href="xline_8h.html#a28">xline.h</a></ul> <h3><a name="index_t">- t -</a> </h3><ul> @@ -298,7 +300,8 @@ 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#a3">mode.h</a><li>take_voice() : <a class="el" href="mode_8h.html#a5">mode.h</a><li>TidyBan() : <a class="el" href="message_8h.html#a17">message.h</a><li>tidystring() -: <a class="el" href="message_8h.html#a2">message.h</a></ul> +: <a class="el" href="message_8h.html#a2">message.h</a><li>TIME +: <a class="el" href="users_8cpp.html#a1">users.cpp</a>, <a class="el" href="servers_8cpp.html#a0">servers.cpp</a>, <a class="el" href="modules_8cpp.html#a4">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a37">channels.cpp</a></ul> <h3><a name="index_u">- u -</a> </h3><ul> <li>UCMODE_FOUNDER @@ -307,25 +310,29 @@ Here is a list of all file members with links to the files they belong to:<h3><a : <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>UDPportCount -: <a class="el" href="modules_8cpp.html#a30">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a30">channels.cpp</a><li>user_hash -: <a class="el" href="modules_8cpp.html#a37">modules.cpp</a></ul> +: <a class="el" href="modules_8cpp.html#a31">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a30">channels.cpp</a><li>user_hash +: <a class="el" href="modules_8cpp.html#a38">modules.cpp</a></ul> <h3><a name="index_v">- v -</a> </h3><ul> <li>VERBOSE -: <a class="el" href="modules_8h.html#a1">modules.h</a><li>VoidPointer +: <a class="el" href="modules_8h.html#a1">modules.h</a><li>VF_COMMON +: <a class="el" href="modules_8h.html#a23">modules.h</a><li>VF_SERVICEPROVIDER +: <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><li>VoidPointer : <a class="el" href="base_8h.html#a0">base.h</a></ul> <h3><a name="index_w">- w -</a> </h3><ul> <li>whowas -: <a class="el" href="modules_8cpp.html#a43">modules.cpp</a><li>WHOWAS_MAX -: <a class="el" href="modules_8cpp.html#a20">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a20">channels.cpp</a><li>WHOWAS_STALE -: <a class="el" href="modules_8cpp.html#a19">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a19">channels.cpp</a></ul> +: <a class="el" href="modules_8cpp.html#a44">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> </h3><ul> <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 Mon Apr 4 18:12:54 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:27 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 6e861d151..9622ea633 100644 --- a/docs/module-doc/globals_defs.html +++ b/docs/module-doc/globals_defs.html @@ -31,10 +31,10 @@ <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="modules_8h.html#a25">modules.h</a><li>CONF_NOT_A_NUMBER -: <a class="el" href="modules_8h.html#a22">modules.h</a><li>CONF_NOT_UNSIGNED -: <a class="el" href="modules_8h.html#a23">modules.h</a><li>CONF_VALUE_NOT_FOUND -: <a class="el" href="modules_8h.html#a24">modules.h</a></ul> +: <a class="el" href="modules_8h.html#a29">modules.h</a><li>CONF_NOT_A_NUMBER +: <a class="el" href="modules_8h.html#a26">modules.h</a><li>CONF_NOT_UNSIGNED +: <a class="el" href="modules_8h.html#a27">modules.h</a><li>CONF_VALUE_NOT_FOUND +: <a class="el" href="modules_8h.html#a28">modules.h</a></ul> <h3><a name="index_d">- d -</a> </h3><ul> <li>DEBUG @@ -43,8 +43,8 @@ <h3><a name="index_f">- f -</a> </h3><ul> <li>FOREACH_MOD -: <a class="el" href="modules_8h.html#a20">modules.h</a><li>FOREACH_RESULT -: <a class="el" href="modules_8h.html#a21">modules.h</a></ul> +: <a class="el" href="modules_8h.html#a24">modules.h</a><li>FOREACH_RESULT +: <a class="el" href="modules_8h.html#a25">modules.h</a></ul> <h3><a name="index_l">- l -</a> </h3><ul> <li>LINK_ACTIVE @@ -86,8 +86,12 @@ <h3><a name="index_v">- v -</a> </h3><ul> <li>VERBOSE -: <a class="el" href="modules_8h.html#a1">modules.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Mon Apr 4 18:12:55 2005 for InspIRCd by +: <a class="el" href="modules_8h.html#a1">modules.h</a><li>VF_COMMON +: <a class="el" href="modules_8h.html#a23">modules.h</a><li>VF_SERVICEPROVIDER +: <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 Apr 7 20:14:27 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 77d980b66..5bbe5eeab 100644 --- a/docs/module-doc/globals_func.html +++ b/docs/module-doc/globals_func.html @@ -37,7 +37,7 @@ : <a class="el" href="message_8h.html#a7">message.h</a><li>cmode() : <a class="el" href="message_8h.html#a14">message.h</a><li>common_channels() : <a class="el" href="message_8h.html#a0">message.h</a><li>createcommand() -: <a class="el" href="modules_8h.html#a30">modules.h</a><li>cstatus() +: <a class="el" href="modules_8h.html#a34">modules.h</a><li>cstatus() : <a class="el" href="message_8h.html#a15">message.h</a></ul> <h3><a name="index_d">- d -</a> </h3><ul> @@ -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#a56">modules.cpp</a></ul> +: <a class="el" href="modules_8cpp.html#a57">modules.cpp</a></ul> <h3><a name="index_e">- e -</a> </h3><ul> <li>expire_lines() @@ -55,7 +55,7 @@ <h3><a name="index_f">- f -</a> </h3><ul> <li>factory() -: <a class="el" href="modules_8cpp.html#a59">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a3">channels.cpp</a></ul> +: <a class="el" href="modules_8cpp.html#a60">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() @@ -66,73 +66,75 @@ <h3><a name="index_h">- h -</a> </h3><ul> <li>handle_a() -: <a class="el" href="commands_8h.html#a56">commands.h</a><li>handle_admin() +: <a class="el" href="commands_8h.html#a58">commands.h</a><li>handle_admin() : <a class="el" href="commands_8h.html#a23">commands.h</a><li>handle_amp() -: <a class="el" href="commands_8h.html#a50">commands.h</a><li>handle_AT() -: <a class="el" href="commands_8h.html#a59">commands.h</a><li>handle_away() +: <a class="el" href="commands_8h.html#a52">commands.h</a><li>handle_AT() +: <a class="el" href="commands_8h.html#a61">commands.h</a><li>handle_away() : <a class="el" href="commands_8h.html#a31">commands.h</a><li>handle_b() -: <a class="el" href="commands_8h.html#a55">commands.h</a><li>handle_connect() +: <a class="el" href="commands_8h.html#a57">commands.h</a><li>handle_connect() : <a class="el" href="commands_8h.html#a36">commands.h</a><li>handle_die() : <a class="el" href="commands_8h.html#a3">commands.h</a><li>handle_dollar() -: <a class="el" href="commands_8h.html#a51">commands.h</a><li>handle_eline() +: <a class="el" href="commands_8h.html#a53">commands.h</a><li>handle_eline() : <a class="el" href="commands_8h.html#a46">commands.h</a><li>handle_F() -: <a class="el" href="commands_8h.html#a57">commands.h</a><li>handle_gline() +: <a class="el" href="commands_8h.html#a59">commands.h</a><li>handle_gline() : <a class="el" href="commands_8h.html#a43">commands.h</a><li>handle_i() -: <a class="el" href="commands_8h.html#a69">commands.h</a><li>handle_info() +: <a class="el" href="commands_8h.html#a71">commands.h</a><li>handle_info() : <a class="el" href="commands_8h.html#a14">commands.h</a><li>handle_invite() : <a class="el" href="commands_8h.html#a9">commands.h</a><li>handle_ison() : <a class="el" href="commands_8h.html#a30">commands.h</a><li>handle_J() -: <a class="el" href="commands_8h.html#a52">commands.h</a><li>handle_join() +: <a class="el" href="commands_8h.html#a54">commands.h</a><li>handle_join() : <a class="el" href="commands_8h.html#a0">commands.h</a><li>handle_k() -: <a class="el" href="commands_8h.html#a60">commands.h</a><li>handle_K() -: <a class="el" href="commands_8h.html#a63">commands.h</a><li>handle_kick() +: <a class="el" href="commands_8h.html#a62">commands.h</a><li>handle_K() +: <a class="el" href="commands_8h.html#a65">commands.h</a><li>handle_kick() : <a class="el" href="commands_8h.html#a2">commands.h</a><li>handle_kill() : <a class="el" href="commands_8h.html#a5">commands.h</a><li>handle_kline() : <a class="el" href="commands_8h.html#a42">commands.h</a><li>handle_L() -: <a class="el" href="commands_8h.html#a64">commands.h</a><li>handle_link_packet() -: <a class="el" href="commands_8h.html#a48">commands.h</a><li>handle_links() +: <a class="el" href="commands_8h.html#a66">commands.h</a><li>handle_link_packet() +: <a class="el" href="commands_8h.html#a50">commands.h</a><li>handle_links() : <a class="el" href="commands_8h.html#a38">commands.h</a><li>handle_list() -: <a class="el" href="commands_8h.html#a20">commands.h</a><li>handle_lusers() +: <a class="el" href="commands_8h.html#a20">commands.h</a><li>handle_loadmodule() +: <a class="el" href="commands_8h.html#a48">commands.h</a><li>handle_lusers() : <a class="el" href="commands_8h.html#a22">commands.h</a><li>handle_m() -: <a class="el" href="commands_8h.html#a65">commands.h</a><li>handle_M() -: <a class="el" href="commands_8h.html#a66">commands.h</a><li>handle_map() +: <a class="el" href="commands_8h.html#a67">commands.h</a><li>handle_M() +: <a class="el" href="commands_8h.html#a68">commands.h</a><li>handle_map() : <a class="el" href="commands_8h.html#a39">commands.h</a><li>handle_mode() : <a class="el" href="mode_8h.html#a11">mode.h</a><li>handle_modules() : <a class="el" href="commands_8h.html#a34">commands.h</a><li>handle_motd() : <a class="el" href="commands_8h.html#a26">commands.h</a><li>handle_N() -: <a class="el" href="commands_8h.html#a58">commands.h</a><li>handle_n() -: <a class="el" href="commands_8h.html#a61">commands.h</a><li>handle_names() +: <a class="el" href="commands_8h.html#a60">commands.h</a><li>handle_n() +: <a class="el" href="commands_8h.html#a63">commands.h</a><li>handle_names() : <a class="el" href="commands_8h.html#a11">commands.h</a><li>handle_nick() : <a class="el" href="commands_8h.html#a41">commands.h</a><li>handle_notice() : <a class="el" href="commands_8h.html#a13">commands.h</a><li>handle_oper() : <a class="el" href="commands_8h.html#a40">commands.h</a><li>handle_P() -: <a class="el" href="commands_8h.html#a70">commands.h</a><li>handle_part() +: <a class="el" href="commands_8h.html#a72">commands.h</a><li>handle_part() : <a class="el" href="commands_8h.html#a1">commands.h</a><li>handle_pass() : <a class="el" href="commands_8h.html#a8">commands.h</a><li>handle_ping() : <a class="el" href="commands_8h.html#a24">commands.h</a><li>handle_plus() -: <a class="el" href="commands_8h.html#a54">commands.h</a><li>handle_pong() +: <a class="el" href="commands_8h.html#a56">commands.h</a><li>handle_pong() : <a class="el" href="commands_8h.html#a25">commands.h</a><li>handle_privmsg() : <a class="el" href="commands_8h.html#a12">commands.h</a><li>handle_Q() -: <a class="el" href="commands_8h.html#a62">commands.h</a><li>handle_qline() +: <a class="el" href="commands_8h.html#a64">commands.h</a><li>handle_qline() : <a class="el" href="commands_8h.html#a45">commands.h</a><li>handle_quit() : <a class="el" href="commands_8h.html#a17">commands.h</a><li>handle_R() -: <a class="el" href="commands_8h.html#a53">commands.h</a><li>handle_rehash() +: <a class="el" href="commands_8h.html#a55">commands.h</a><li>handle_rehash() : <a class="el" href="commands_8h.html#a21">commands.h</a><li>handle_restart() : <a class="el" href="commands_8h.html#a4">commands.h</a><li>handle_rules() : <a class="el" href="commands_8h.html#a27">commands.h</a><li>handle_server() : <a class="el" href="commands_8h.html#a47">commands.h</a><li>handle_squit() : <a class="el" href="commands_8h.html#a37">commands.h</a><li>handle_stats() : <a class="el" href="commands_8h.html#a35">commands.h</a><li>handle_summon() -: <a class="el" href="commands_8h.html#a6">commands.h</a><li>handle_t() -: <a class="el" href="commands_8h.html#a68">commands.h</a><li>handle_T() -: <a class="el" href="commands_8h.html#a67">commands.h</a><li>handle_time() +: <a class="el" href="commands_8h.html#a6">commands.h</a><li>handle_T() +: <a class="el" href="commands_8h.html#a69">commands.h</a><li>handle_t() +: <a class="el" href="commands_8h.html#a70">commands.h</a><li>handle_time() : <a class="el" href="commands_8h.html#a15">commands.h</a><li>handle_topic() : <a class="el" href="commands_8h.html#a10">commands.h</a><li>handle_trace() -: <a class="el" href="commands_8h.html#a33">commands.h</a><li>handle_user() +: <a class="el" href="commands_8h.html#a33">commands.h</a><li>handle_unloadmodule() +: <a class="el" href="commands_8h.html#a49">commands.h</a><li>handle_user() : <a class="el" href="commands_8h.html#a28">commands.h</a><li>handle_userhost() : <a class="el" href="commands_8h.html#a29">commands.h</a><li>handle_users() : <a class="el" href="commands_8h.html#a7">commands.h</a><li>handle_V() -: <a class="el" href="commands_8h.html#a71">commands.h</a><li>handle_wallops() +: <a class="el" href="commands_8h.html#a73">commands.h</a><li>handle_wallops() : <a class="el" href="commands_8h.html#a19">commands.h</a><li>handle_who() : <a class="el" href="commands_8h.html#a18">commands.h</a><li>handle_whois() : <a class="el" href="commands_8h.html#a16">commands.h</a><li>handle_whowas() @@ -143,7 +145,7 @@ <h3><a name="index_i">- i -</a> </h3><ul> <li>is_uline() -: <a class="el" href="commands_8h.html#a72">commands.h</a><li>isident() +: <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() : <a class="el" href="message_8h.html#a13">message.h</a></ul> <h3><a name="index_m">- m -</a> @@ -156,13 +158,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#a51">modules.cpp</a><li>ModeDefinedOff() -: <a class="el" href="modules_8cpp.html#a55">modules.cpp</a><li>ModeDefinedOn() -: <a class="el" href="modules_8cpp.html#a54">modules.cpp</a><li>ModeDefinedOper() -: <a class="el" href="modules_8cpp.html#a53">modules.cpp</a><li>ModeIsListMode() -: <a class="el" href="modules_8cpp.html#a52">modules.cpp</a><li>ModeMakeList() -: <a class="el" href="modules_8cpp.html#a57">modules.cpp</a><li>modules() -: <a class="el" href="modules_8cpp.html#a58">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a2">channels.cpp</a></ul> +: <a class="el" href="modules_8cpp.html#a52">modules.cpp</a><li>ModeDefinedOff() +: <a class="el" href="modules_8cpp.html#a56">modules.cpp</a><li>ModeDefinedOn() +: <a class="el" href="modules_8cpp.html#a55">modules.cpp</a><li>ModeDefinedOper() +: <a class="el" href="modules_8cpp.html#a54">modules.cpp</a><li>ModeIsListMode() +: <a class="el" href="modules_8cpp.html#a53">modules.cpp</a><li>ModeMakeList() +: <a class="el" href="modules_8cpp.html#a58">modules.cpp</a><li>modules() +: <a class="el" href="modules_8cpp.html#a59">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() @@ -172,7 +174,7 @@ <li>process_modes() : <a class="el" href="mode_8h.html#a8">mode.h</a><li>process_module_umode() : <a class="el" href="mode_8h.html#a10">mode.h</a><li>process_restricted_commands() -: <a class="el" href="commands_8h.html#a49">commands.h</a></ul> +: <a class="el" href="commands_8h.html#a51">commands.h</a></ul> <h3><a name="index_q">- q -</a> </h3><ul> <li>qline_make_global() @@ -187,7 +189,7 @@ <li>safedelete() : <a class="el" href="message_8h.html#a4">message.h</a><li>send_network_quit() : <a class="el" href="message_8h.html#a19">message.h</a><li>server_mode() -: <a class="el" href="modules_8h.html#a31">modules.h</a>, <a class="el" href="mode_8h.html#a12">mode.h</a><li>stats_e() +: <a class="el" href="modules_8h.html#a35">modules.h</a>, <a class="el" href="mode_8h.html#a12">mode.h</a><li>stats_e() : <a class="el" href="xline_8h.html#a22">xline.h</a><li>stats_g() : <a class="el" href="xline_8h.html#a19">xline.h</a><li>stats_k() : <a class="el" href="xline_8h.html#a18">xline.h</a><li>stats_q() @@ -208,7 +210,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 Mon Apr 4 18:12:54 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:27 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 4f8651a3a..7d5f2a301 100644 --- a/docs/module-doc/globals_type.html +++ b/docs/module-doc/globals_type.html @@ -10,23 +10,23 @@ <p> <ul> <li>address_cache -: <a class="el" href="modules_8cpp.html#a39">modules.cpp</a><li>BanList +: <a class="el" href="modules_8cpp.html#a40">modules.cpp</a><li>BanList : <a class="el" href="channels_8h.html#a5">channels.h</a><li>chan_hash -: <a class="el" href="modules_8cpp.html#a38">modules.cpp</a><li>chanuserlist -: <a class="el" href="modules_8h.html#a28">modules.h</a><li>ClassVector +: <a class="el" href="modules_8cpp.html#a39">modules.cpp</a><li>chanuserlist +: <a class="el" href="modules_8h.html#a32">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#a40">modules.cpp</a><li>ExemptList +: <a class="el" href="modules_8cpp.html#a41">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#a48">modules.cpp</a><li>ExtModeListIter -: <a class="el" href="modules_8cpp.html#a49">modules.cpp</a><li>file_cache -: <a class="el" href="modules_8h.html#a26">modules.h</a><li>InvitedList +: <a class="el" href="modules_8cpp.html#a49">modules.cpp</a><li>ExtModeListIter +: <a class="el" href="modules_8cpp.html#a50">modules.cpp</a><li>file_cache +: <a class="el" href="modules_8h.html#a30">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="modules_8h.html#a29">modules.h</a><li>string_list -: <a class="el" href="modules_8h.html#a27">modules.h</a><li>user_hash -: <a class="el" href="modules_8cpp.html#a37">modules.cpp</a><li>VoidPointer +: <a class="el" href="modules_8h.html#a33">modules.h</a><li>string_list +: <a class="el" href="modules_8h.html#a31">modules.h</a><li>user_hash +: <a class="el" href="modules_8cpp.html#a38">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 Mon Apr 4 18:12:55 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:27 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 a4764fd01..f3ed933dd 100644 --- a/docs/module-doc/globals_vars.html +++ b/docs/module-doc/globals_vars.html @@ -6,7 +6,7 @@ <!-- 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="qindexHL" href="globals.html">File Members</a></div> <div class="qindex"><a class="qindex" href="globals.html">All</a> | <a class="qindex" href="globals_func.html">Functions</a> | <a class="qindexHL" href="globals_vars.html">Variables</a> | <a class="qindex" href="globals_type.html">Typedefs</a> | <a class="qindex" href="globals_defs.html">Defines</a></div> -<div class="qindex"><a class="qindex" href="#index_a">a</a> | <a class="qindex" href="#index_b">b</a> | <a class="qindex" href="#index_c">c</a> | <a class="qindex" href="#index_d">d</a> | <a class="qindex" href="#index_e">e</a> | <a class="qindex" href="#index_f">f</a> | <a class="qindex" href="#index_i">i</a> | <a class="qindex" href="#index_l">l</a> | <a class="qindex" href="#index_m">m</a> | <a class="qindex" href="#index_n">n</a> | <a class="qindex" href="#index_p">p</a> | <a class="qindex" href="#index_r">r</a> | <a class="qindex" href="#index_s">s</a> | <a class="qindex" href="#index_u">u</a> | <a class="qindex" href="#index_w">w</a></div> +<div class="qindex"><a class="qindex" href="#index_a">a</a> | <a class="qindex" href="#index_b">b</a> | <a class="qindex" href="#index_c">c</a> | <a class="qindex" href="#index_d">d</a> | <a class="qindex" href="#index_e">e</a> | <a class="qindex" href="#index_f">f</a> | <a class="qindex" href="#index_i">i</a> | <a class="qindex" href="#index_l">l</a> | <a class="qindex" href="#index_m">m</a> | <a class="qindex" href="#index_n">n</a> | <a class="qindex" href="#index_p">p</a> | <a class="qindex" href="#index_r">r</a> | <a class="qindex" href="#index_s">s</a> | <a class="qindex" href="#index_t">t</a> | <a class="qindex" href="#index_u">u</a> | <a class="qindex" href="#index_w">w</a></div> <p> @@ -14,94 +14,98 @@ <h3><a name="index_a">- a -</a> </h3><ul> <li>AdminEmail -: <a class="el" href="modules_8cpp.html#a9">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a9">channels.cpp</a><li>AdminName -: <a class="el" href="modules_8cpp.html#a8">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a8">channels.cpp</a><li>AdminNick -: <a class="el" href="modules_8cpp.html#a10">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a10">channels.cpp</a><li>auth_cookies -: <a class="el" href="modules_8cpp.html#a33">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a33">channels.cpp</a></ul> +: <a class="el" href="modules_8cpp.html#a10">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a9">channels.cpp</a><li>AdminName +: <a class="el" href="modules_8cpp.html#a9">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a8">channels.cpp</a><li>AdminNick +: <a class="el" href="modules_8cpp.html#a11">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a10">channels.cpp</a><li>auth_cookies +: <a class="el" href="modules_8cpp.html#a34">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a33">channels.cpp</a></ul> <h3><a name="index_b">- b -</a> </h3><ul> <li>boundPortCount -: <a class="el" href="modules_8cpp.html#a28">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a28">channels.cpp</a></ul> +: <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> </h3><ul> <li>chanlist -: <a class="el" href="modules_8cpp.html#a42">modules.cpp</a><li>clientlist -: <a class="el" href="modules_8cpp.html#a41">modules.cpp</a><li>cmdlist -: <a class="el" href="modules_8cpp.html#a44">modules.cpp</a><li>config_f -: <a class="el" href="users_8cpp.html#a0">users.cpp</a>, <a class="el" href="modules_8cpp.html#a34">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#a37">channels.cpp</a></ul> +: <a class="el" href="modules_8cpp.html#a43">modules.cpp</a><li>clientlist +: <a class="el" href="modules_8cpp.html#a42">modules.cpp</a><li>cmdlist +: <a class="el" href="modules_8cpp.html#a45">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> </h3><ul> <li>debugging -: <a class="el" href="modules_8cpp.html#a18">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a18">channels.cpp</a><li>defaultRoute -: <a class="el" href="modules_8cpp.html#a32">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a32">channels.cpp</a><li>DieDelay -: <a class="el" href="modules_8cpp.html#a21">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a21">channels.cpp</a><li>diepass -: <a class="el" href="modules_8cpp.html#a11">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a11">channels.cpp</a><li>DieValue -: <a class="el" href="modules_8cpp.html#a17">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a17">channels.cpp</a></ul> +: <a class="el" href="modules_8cpp.html#a19">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a18">channels.cpp</a><li>defaultRoute +: <a class="el" href="modules_8cpp.html#a33">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a32">channels.cpp</a><li>DieDelay +: <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></ul> <h3><a name="index_e">- e -</a> </h3><ul> <li>EMode -: <a class="el" href="modules_8cpp.html#a50">modules.cpp</a></ul> +: <a class="el" href="modules_8cpp.html#a51">modules.cpp</a></ul> <h3><a name="index_f">- f -</a> </h3><ul> <li>factory -: <a class="el" href="modules_8cpp.html#a59">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a3">channels.cpp</a><li>fd_reap -: <a class="el" href="modules_8cpp.html#a26">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a26">channels.cpp</a></ul> +: <a class="el" href="modules_8cpp.html#a60">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a3">channels.cpp</a><li>fd_reap +: <a class="el" href="modules_8cpp.html#a27">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a26">channels.cpp</a></ul> <h3><a name="index_i">- i -</a> </h3><ul> <li>IP -: <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_l">- l -</a> </h3><ul> <li>list -: <a class="el" href="modules_8cpp.html#a15">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a15">channels.cpp</a><li>log_file -: <a class="el" href="modules_8cpp.html#a36">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a36">channels.cpp</a><li>LogLevel -: <a class="el" href="modules_8cpp.html#a4">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a4">channels.cpp</a></ul> +: <a class="el" href="modules_8cpp.html#a16">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a15">channels.cpp</a><li>log_file +: <a class="el" href="modules_8cpp.html#a37">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a36">channels.cpp</a><li>LogLevel +: <a class="el" href="modules_8cpp.html#a5">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a4">channels.cpp</a></ul> <h3><a name="index_m">- m -</a> </h3><ul> <li>MaxWhoResults -: <a class="el" href="modules_8cpp.html#a24">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a24">channels.cpp</a><li>me -: <a class="el" href="modules_8cpp.html#a35">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a35">channels.cpp</a><li>MODCOUNT +: <a class="el" href="modules_8cpp.html#a25">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a24">channels.cpp</a><li>me +: <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#a27">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a27">channels.cpp</a><li>modules -: <a class="el" href="modules_8cpp.html#a58">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a2">channels.cpp</a><li>motd -: <a class="el" href="modules_8cpp.html#a13">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a13">channels.cpp</a><li>MOTD -: <a class="el" href="modules_8cpp.html#a45">modules.cpp</a></ul> +: <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#a59">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a2">channels.cpp</a><li>MOTD +: <a class="el" href="modules_8cpp.html#a46">modules.cpp</a><li>motd +: <a class="el" href="modules_8cpp.html#a14">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a13">channels.cpp</a></ul> <h3><a name="index_n">- n -</a> </h3><ul> <li>nb_start -: <a class="el" href="modules_8cpp.html#a25">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a25">channels.cpp</a><li>NetBufferSize -: <a class="el" href="modules_8cpp.html#a23">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a23">channels.cpp</a><li>Network -: <a class="el" href="modules_8cpp.html#a6">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a6">channels.cpp</a></ul> +: <a class="el" href="modules_8cpp.html#a26">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a25">channels.cpp</a><li>NetBufferSize +: <a class="el" href="modules_8cpp.html#a24">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a23">channels.cpp</a><li>Network +: <a class="el" href="modules_8cpp.html#a7">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a6">channels.cpp</a></ul> <h3><a name="index_p">- p -</a> </h3><ul> <li>portCount -: <a class="el" href="modules_8cpp.html#a29">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a29">channels.cpp</a><li>ports -: <a class="el" href="modules_8cpp.html#a31">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a31">channels.cpp</a><li>PrefixQuit -: <a class="el" href="modules_8cpp.html#a16">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a16">channels.cpp</a></ul> +: <a class="el" href="modules_8cpp.html#a30">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a29">channels.cpp</a><li>ports +: <a class="el" href="modules_8cpp.html#a32">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a31">channels.cpp</a><li>PrefixQuit +: <a class="el" href="modules_8cpp.html#a17">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a16">channels.cpp</a></ul> <h3><a name="index_r">- r -</a> </h3><ul> <li>restartpass -: <a class="el" href="modules_8cpp.html#a12">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a12">channels.cpp</a><li>RULES -: <a class="el" href="modules_8cpp.html#a46">modules.cpp</a><li>rules -: <a class="el" href="modules_8cpp.html#a14">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a14">channels.cpp</a></ul> +: <a class="el" href="modules_8cpp.html#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#a47">modules.cpp</a></ul> <h3><a name="index_s">- s -</a> </h3><ul> <li>ServerDesc -: <a class="el" href="modules_8cpp.html#a7">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a7">channels.cpp</a><li>ServerName -: <a class="el" href="modules_8cpp.html#a5">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a5">channels.cpp</a><li>startup_time -: <a class="el" href="modules_8cpp.html#a22">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a22">channels.cpp</a></ul> +: <a class="el" href="modules_8cpp.html#a8">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a7">channels.cpp</a><li>ServerName +: <a class="el" href="modules_8cpp.html#a6">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a5">channels.cpp</a><li>startup_time +: <a class="el" href="modules_8cpp.html#a23">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a22">channels.cpp</a></ul> +<h3><a name="index_t">- t -</a> +</h3><ul> +<li>TIME +: <a class="el" href="users_8cpp.html#a1">users.cpp</a>, <a class="el" href="servers_8cpp.html#a0">servers.cpp</a>, <a class="el" href="modules_8cpp.html#a4">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a37">channels.cpp</a></ul> <h3><a name="index_u">- u -</a> </h3><ul> <li>UDPportCount -: <a class="el" href="modules_8cpp.html#a30">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a30">channels.cpp</a></ul> +: <a class="el" href="modules_8cpp.html#a31">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a30">channels.cpp</a></ul> <h3><a name="index_w">- w -</a> </h3><ul> <li>whowas -: <a class="el" href="modules_8cpp.html#a43">modules.cpp</a><li>WHOWAS_MAX -: <a class="el" href="modules_8cpp.html#a20">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a20">channels.cpp</a><li>WHOWAS_STALE -: <a class="el" href="modules_8cpp.html#a19">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 Mon Apr 4 18:12:54 2005 for InspIRCd by +: <a class="el" href="modules_8cpp.html#a44">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 Apr 7 20:14:27 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 442453cb0..d0e0061f7 100644 --- a/docs/module-doc/hierarchy.html +++ b/docs/module-doc/hierarchy.html @@ -54,7 +54,7 @@ <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> </ul> -<hr size="1"><address style="align: right;"><small>Generated on Mon Apr 4 18:12:50 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:23 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 c94c45c29..384976574 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 Mon Apr 4 18:12:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:20 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 abbd2bd81..9a90fcde4 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 Mon Apr 4 18:12:47 2005 for InspIRCd by +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:20 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 d07ea2c5d..09077536a 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#l00491">Server::ChangeHost()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00493">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#l00491">Server::Chang <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00496">Server::ChangeGECOS()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00498">Server::ChangeGECOS()</a>. </td> </tr> </table> <a name="a18" doxytag="message.h::chlist"></a><p> @@ -331,7 +331,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00496">Server::Chang <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00516">Server::ChanMode()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00518">Server::ChanMode()</a>. </td> </tr> </table> <a name="a0" doxytag="message.h::common_channels"></a><p> @@ -371,7 +371,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00516">Server::ChanM <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00469">Server::CommonChannels()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00471">Server::CommonChannels()</a>. </td> </tr> </table> <a name="a15" doxytag="message.h::cstatus"></a><p> @@ -449,7 +449,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00469">Server::Commo <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00373">Server::GetUsers()</a>, and <a class="el" href="modules_8cpp-source.html#l00521">Server::IsOnChannel()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00375">Server::GetUsers()</a>, and <a class="el" href="modules_8cpp-source.html#l00523">Server::IsOnChannel()</a>. </td> </tr> </table> <a name="a9" doxytag="message.h::hasumode"></a><p> @@ -547,7 +547,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00373">Server::GetUs <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00373">Server::GetUsers()</a>, and <a class="el" href="modules_8cpp-source.html#l00501">Server::IsNick()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00375">Server::GetUsers()</a>, and <a class="el" href="modules_8cpp-source.html#l00503">Server::IsNick()</a>. </td> </tr> </table> <a name="a6" doxytag="message.h::NonBlocking"></a><p> @@ -674,7 +674,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00373">Server::GetUs <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00397">Server::QuitUser()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00399">Server::QuitUser()</a>. </td> </tr> </table> <a name="a17" doxytag="message.h::TidyBan"></a><p> @@ -735,7 +735,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00397">Server::QuitU </td> </tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Mon Apr 4 18:12:49 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:22 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 3a8bbcd18..3752ef460 100644 --- a/docs/module-doc/mode_8h-source.html +++ b/docs/module-doc/mode_8h-source.html @@ -47,13 +47,13 @@ 00040 <span class="keywordtype">bool</span> <a class="code" href="mode_8h.html#a9">allowed_umode</a>(<span class="keywordtype">char</span> umode, <span class="keywordtype">char</span>* sourcemodes,<span class="keywordtype">bool</span> adding); 00041 <span class="keywordtype">bool</span> <a class="code" href="mode_8h.html#a10">process_module_umode</a>(<span class="keywordtype">char</span> umode, <a class="code" href="classuserrec.html">userrec</a>* source, <span class="keywordtype">void</span>* dest, <span class="keywordtype">bool</span> adding); 00042 <span class="keywordtype">void</span> <a class="code" href="mode_8h.html#a11">handle_mode</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); -00043 <span class="keywordtype">void</span> <a class="code" href="modules_8h.html#a31">server_mode</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00043 <span class="keywordtype">void</span> <a class="code" href="modules_8h.html#a35">server_mode</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); 00044 <span class="keywordtype">void</span> <a class="code" href="mode_8h.html#a13">merge_mode</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt); 00045 <span class="keywordtype">void</span> <a class="code" href="mode_8h.html#a14">merge_mode2</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a>* user); 00046 00047 00048 <span class="preprocessor">#endif</span> -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Apr 4 18:12:47 2005 for InspIRCd by +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:20 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 9b8672283..42b01b489 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 Mon Apr 4 18:12:49 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:22 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 8b4297c73..5079fa4a4 100644 --- a/docs/module-doc/modules_8cpp-source.html +++ b/docs/module-doc/modules_8cpp-source.html @@ -72,716 +72,718 @@ <a name="l00065"></a><a class="code" href="modules_8cpp.html#a2">00065</a> <span class="keyword">extern</span> std::vector<Module*> <a class="code" href="channels_8cpp.html#a2">modules</a>; <a name="l00066"></a><a class="code" href="modules_8cpp.html#a3">00066</a> <span class="keyword">extern</span> std::vector<ircd_module*> <a class="code" href="channels_8cpp.html#a3">factory</a>; 00067 -<a name="l00068"></a><a class="code" href="modules_8cpp.html#a4">00068</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a4">LogLevel</a>; -<a name="l00069"></a><a class="code" href="modules_8cpp.html#a5">00069</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a5">ServerName</a>[MAXBUF]; -<a name="l00070"></a><a class="code" href="modules_8cpp.html#a6">00070</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a6">Network</a>[MAXBUF]; -<a name="l00071"></a><a class="code" href="modules_8cpp.html#a7">00071</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a7">ServerDesc</a>[MAXBUF]; -<a name="l00072"></a><a class="code" href="modules_8cpp.html#a8">00072</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a8">AdminName</a>[MAXBUF]; -<a name="l00073"></a><a class="code" href="modules_8cpp.html#a9">00073</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a9">AdminEmail</a>[MAXBUF]; -<a name="l00074"></a><a class="code" href="modules_8cpp.html#a10">00074</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a10">AdminNick</a>[MAXBUF]; -<a name="l00075"></a><a class="code" href="modules_8cpp.html#a11">00075</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a11">diepass</a>[MAXBUF]; -<a name="l00076"></a><a class="code" href="modules_8cpp.html#a12">00076</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a12">restartpass</a>[MAXBUF]; -<a name="l00077"></a><a class="code" href="modules_8cpp.html#a13">00077</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a13">motd</a>[MAXBUF]; -<a name="l00078"></a><a class="code" href="modules_8cpp.html#a14">00078</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a14">rules</a>[MAXBUF]; -<a name="l00079"></a><a class="code" href="modules_8cpp.html#a15">00079</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a15">list</a>[MAXBUF]; -<a name="l00080"></a><a class="code" href="modules_8cpp.html#a16">00080</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a16">PrefixQuit</a>[MAXBUF]; -<a name="l00081"></a><a class="code" href="modules_8cpp.html#a17">00081</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a17">DieValue</a>[MAXBUF]; -00082 -<a name="l00083"></a><a class="code" href="modules_8cpp.html#a18">00083</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a18">debugging</a>; -<a name="l00084"></a><a class="code" href="modules_8cpp.html#a19">00084</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a19">WHOWAS_STALE</a>; -<a name="l00085"></a><a class="code" href="modules_8cpp.html#a20">00085</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a20">WHOWAS_MAX</a>; -<a name="l00086"></a><a class="code" href="modules_8cpp.html#a21">00086</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a21">DieDelay</a>; -<a name="l00087"></a><a class="code" href="modules_8cpp.html#a22">00087</a> <span class="keyword">extern</span> time_t <a class="code" href="channels_8cpp.html#a22">startup_time</a>; -<a name="l00088"></a><a class="code" href="modules_8cpp.html#a23">00088</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a23">NetBufferSize</a>; -<a name="l00089"></a><a class="code" href="modules_8cpp.html#a24">00089</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a24">MaxWhoResults</a>; -<a name="l00090"></a><a class="code" href="modules_8cpp.html#a25">00090</a> <span class="keyword">extern</span> time_t <a class="code" href="channels_8cpp.html#a25">nb_start</a>; -00091 -<a name="l00092"></a><a class="code" href="modules_8cpp.html#a26">00092</a> <span class="keyword">extern</span> std::vector<int> <a class="code" href="channels_8cpp.html#a26">fd_reap</a>; -<a name="l00093"></a><a class="code" href="modules_8cpp.html#a27">00093</a> <span class="keyword">extern</span> std::vector<std::string> <a class="code" href="channels_8cpp.html#a27">module_names</a>; -00094 -<a name="l00095"></a><a class="code" href="modules_8cpp.html#a28">00095</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a28">boundPortCount</a>; -<a name="l00096"></a><a class="code" href="modules_8cpp.html#a29">00096</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a29">portCount</a>; -<a name="l00097"></a><a class="code" href="modules_8cpp.html#a30">00097</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a30">UDPportCount</a>; -<a name="l00098"></a><a class="code" href="modules_8cpp.html#a31">00098</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a31">ports</a>[MAXSOCKS]; -<a name="l00099"></a><a class="code" href="modules_8cpp.html#a32">00099</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a32">defaultRoute</a>; -00100 -<a name="l00101"></a><a class="code" href="modules_8cpp.html#a33">00101</a> <span class="keyword">extern</span> std::vector<long> <a class="code" href="channels_8cpp.html#a33">auth_cookies</a>; -<a name="l00102"></a><a class="code" href="modules_8cpp.html#a34">00102</a> <span class="keyword">extern</span> std::stringstream <a class="code" href="channels_8cpp.html#a34">config_f</a>; -00103 -<a name="l00104"></a><a class="code" href="modules_8cpp.html#a35">00104</a> <span class="keyword">extern</span> <a class="code" href="classserverrec.html">serverrec</a>* <a class="code" href="channels_8cpp.html#a35">me</a>[32]; +<a name="l00068"></a><a class="code" href="modules_8cpp.html#a4">00068</a> <span class="keyword">extern</span> time_t <a class="code" href="channels_8cpp.html#a37">TIME</a>; +00069 +<a name="l00070"></a><a class="code" href="modules_8cpp.html#a5">00070</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a4">LogLevel</a>; +<a name="l00071"></a><a class="code" href="modules_8cpp.html#a6">00071</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a5">ServerName</a>[MAXBUF]; +<a name="l00072"></a><a class="code" href="modules_8cpp.html#a7">00072</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a6">Network</a>[MAXBUF]; +<a name="l00073"></a><a class="code" href="modules_8cpp.html#a8">00073</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a7">ServerDesc</a>[MAXBUF]; +<a name="l00074"></a><a class="code" href="modules_8cpp.html#a9">00074</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a8">AdminName</a>[MAXBUF]; +<a name="l00075"></a><a class="code" href="modules_8cpp.html#a10">00075</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a9">AdminEmail</a>[MAXBUF]; +<a name="l00076"></a><a class="code" href="modules_8cpp.html#a11">00076</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a10">AdminNick</a>[MAXBUF]; +<a name="l00077"></a><a class="code" href="modules_8cpp.html#a12">00077</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a11">diepass</a>[MAXBUF]; +<a name="l00078"></a><a class="code" href="modules_8cpp.html#a13">00078</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a12">restartpass</a>[MAXBUF]; +<a name="l00079"></a><a class="code" href="modules_8cpp.html#a14">00079</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a13">motd</a>[MAXBUF]; +<a name="l00080"></a><a class="code" href="modules_8cpp.html#a15">00080</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a14">rules</a>[MAXBUF]; +<a name="l00081"></a><a class="code" href="modules_8cpp.html#a16">00081</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a15">list</a>[MAXBUF]; +<a name="l00082"></a><a class="code" href="modules_8cpp.html#a17">00082</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a16">PrefixQuit</a>[MAXBUF]; +<a name="l00083"></a><a class="code" href="modules_8cpp.html#a18">00083</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a17">DieValue</a>[MAXBUF]; +00084 +<a name="l00085"></a><a class="code" href="modules_8cpp.html#a19">00085</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a18">debugging</a>; +<a name="l00086"></a><a class="code" href="modules_8cpp.html#a20">00086</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a19">WHOWAS_STALE</a>; +<a name="l00087"></a><a class="code" href="modules_8cpp.html#a21">00087</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a20">WHOWAS_MAX</a>; +<a name="l00088"></a><a class="code" href="modules_8cpp.html#a22">00088</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a21">DieDelay</a>; +<a name="l00089"></a><a class="code" href="modules_8cpp.html#a23">00089</a> <span class="keyword">extern</span> time_t <a class="code" href="channels_8cpp.html#a22">startup_time</a>; +<a name="l00090"></a><a class="code" href="modules_8cpp.html#a24">00090</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a23">NetBufferSize</a>; +<a name="l00091"></a><a class="code" href="modules_8cpp.html#a25">00091</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a24">MaxWhoResults</a>; +<a name="l00092"></a><a class="code" href="modules_8cpp.html#a26">00092</a> <span class="keyword">extern</span> time_t <a class="code" href="channels_8cpp.html#a25">nb_start</a>; +00093 +<a name="l00094"></a><a class="code" href="modules_8cpp.html#a27">00094</a> <span class="keyword">extern</span> std::vector<int> <a class="code" href="channels_8cpp.html#a26">fd_reap</a>; +<a name="l00095"></a><a class="code" href="modules_8cpp.html#a28">00095</a> <span class="keyword">extern</span> std::vector<std::string> <a class="code" href="channels_8cpp.html#a27">module_names</a>; +00096 +<a name="l00097"></a><a class="code" href="modules_8cpp.html#a29">00097</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a28">boundPortCount</a>; +<a name="l00098"></a><a class="code" href="modules_8cpp.html#a30">00098</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a29">portCount</a>; +<a name="l00099"></a><a class="code" href="modules_8cpp.html#a31">00099</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a30">UDPportCount</a>; +<a name="l00100"></a><a class="code" href="modules_8cpp.html#a32">00100</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a31">ports</a>[MAXSOCKS]; +<a name="l00101"></a><a class="code" href="modules_8cpp.html#a33">00101</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a32">defaultRoute</a>; +00102 +<a name="l00103"></a><a class="code" href="modules_8cpp.html#a34">00103</a> <span class="keyword">extern</span> std::vector<long> <a class="code" href="channels_8cpp.html#a33">auth_cookies</a>; +<a name="l00104"></a><a class="code" href="modules_8cpp.html#a35">00104</a> <span class="keyword">extern</span> std::stringstream <a class="code" href="channels_8cpp.html#a34">config_f</a>; 00105 -<a name="l00106"></a><a class="code" href="modules_8cpp.html#a36">00106</a> <span class="keyword">extern</span> FILE *<a class="code" href="channels_8cpp.html#a36">log_file</a>; +<a name="l00106"></a><a class="code" href="modules_8cpp.html#a36">00106</a> <span class="keyword">extern</span> <a class="code" href="classserverrec.html">serverrec</a>* <a class="code" href="channels_8cpp.html#a35">me</a>[32]; 00107 -00108 -<a name="l00109"></a><a class="code" href="namespacenspace.html">00109</a> <span class="keyword">namespace </span><a class="code" href="channels_8cpp.html#a0">nspace</a> -00110 { -00111 <span class="preprocessor">#ifdef GCC34</span> -00112 <span class="preprocessor"></span> <span class="keyword">template</span><> <span class="keyword">struct </span>hash<in_addr> -00113 #else -<a name="l00114"></a><a class="code" href="structnspace_1_1nspace_1_1hash_3_01in__addr_01_4.html">00114</a> template<> struct <a class="code" href="channels_8cpp.html#a0">nspace</a>::hash<in_addr> -00115 #endif -00116 { -<a name="l00117"></a><a class="code" href="structnspace_1_1nspace_1_1hash_3_01in__addr_01_4.html#a0">00117</a> size_t operator()(<span class="keyword">const</span> <span class="keyword">struct</span> in_addr &a)<span class="keyword"> const</span> -00118 <span class="keyword"> </span>{ -00119 size_t q; -00120 memcpy(&q,&a,<span class="keyword">sizeof</span>(size_t)); -00121 <span class="keywordflow">return</span> q; -00122 } -00123 }; -00124 <span class="preprocessor">#ifdef GCC34</span> -00125 <span class="preprocessor"></span> <span class="keyword">template</span><> <span class="keyword">struct </span>hash<string> -00126 #else -<a name="l00127"></a><a class="code" href="structnspace_1_1nspace_1_1hash_3_01string_01_4.html">00127</a> template<> struct <a class="code" href="channels_8cpp.html#a0">nspace</a>::hash<string> -00128 #endif -00129 { -<a name="l00130"></a><a class="code" href="structnspace_1_1nspace_1_1hash_3_01string_01_4.html#a0">00130</a> size_t operator()(<span class="keyword">const</span> string &s)<span class="keyword"> const</span> -00131 <span class="keyword"> </span>{ -00132 <span class="keywordtype">char</span> a[MAXBUF]; -00133 <span class="keyword">static</span> <span class="keyword">struct </span>hash<const char *> strhash; -00134 strlcpy(a,s.c_str(),MAXBUF); -00135 strlower(a); -00136 <span class="keywordflow">return</span> strhash(a); -00137 } -00138 }; -00139 } -00140 -<a name="l00141"></a><a class="code" href="structStrHashComp.html">00141</a> <span class="keyword">struct </span><a class="code" href="structStrHashComp.html">StrHashComp</a> -00142 { -00143 -<a name="l00144"></a><a class="code" href="structStrHashComp.html#a0">00144</a> <span class="keywordtype">bool</span> <a class="code" href="structStrHashComp.html#a0">operator()</a>(<span class="keyword">const</span> string& s1, <span class="keyword">const</span> string& s2)<span class="keyword"> const</span> -00145 <span class="keyword"> </span>{ -00146 <span class="keywordtype">char</span> a[MAXBUF],b[MAXBUF]; -00147 strlcpy(a,s1.c_str(),MAXBUF); -00148 strlcpy(b,s2.c_str(),MAXBUF); -00149 <span class="keywordflow">return</span> (strcasecmp(a,b) == 0); -00150 } -00151 -00152 }; +<a name="l00108"></a><a class="code" href="modules_8cpp.html#a37">00108</a> <span class="keyword">extern</span> FILE *<a class="code" href="channels_8cpp.html#a36">log_file</a>; +00109 +00110 +<a name="l00111"></a><a class="code" href="namespacenspace.html">00111</a> <span class="keyword">namespace </span><a class="code" href="channels_8cpp.html#a0">nspace</a> +00112 { +00113 <span class="preprocessor">#ifdef GCC34</span> +00114 <span class="preprocessor"></span> <span class="keyword">template</span><> <span class="keyword">struct </span>hash<in_addr> +00115 #else +<a name="l00116"></a><a class="code" href="structnspace_1_1nspace_1_1hash_3_01in__addr_01_4.html">00116</a> template<> struct <a class="code" href="channels_8cpp.html#a0">nspace</a>::hash<in_addr> +00117 #endif +00118 { +<a name="l00119"></a><a class="code" href="structnspace_1_1nspace_1_1hash_3_01in__addr_01_4.html#a0">00119</a> size_t operator()(<span class="keyword">const</span> <span class="keyword">struct</span> in_addr &a)<span class="keyword"> const</span> +00120 <span class="keyword"> </span>{ +00121 size_t q; +00122 memcpy(&q,&a,<span class="keyword">sizeof</span>(size_t)); +00123 <span class="keywordflow">return</span> q; +00124 } +00125 }; +00126 <span class="preprocessor">#ifdef GCC34</span> +00127 <span class="preprocessor"></span> <span class="keyword">template</span><> <span class="keyword">struct </span>hash<string> +00128 #else +<a name="l00129"></a><a class="code" href="structnspace_1_1nspace_1_1hash_3_01string_01_4.html">00129</a> template<> struct <a class="code" href="channels_8cpp.html#a0">nspace</a>::hash<string> +00130 #endif +00131 { +<a name="l00132"></a><a class="code" href="structnspace_1_1nspace_1_1hash_3_01string_01_4.html#a0">00132</a> size_t operator()(<span class="keyword">const</span> string &s)<span class="keyword"> const</span> +00133 <span class="keyword"> </span>{ +00134 <span class="keywordtype">char</span> a[MAXBUF]; +00135 <span class="keyword">static</span> <span class="keyword">struct </span>hash<const char *> strhash; +00136 strlcpy(a,s.c_str(),MAXBUF); +00137 strlower(a); +00138 <span class="keywordflow">return</span> strhash(a); +00139 } +00140 }; +00141 } +00142 +<a name="l00143"></a><a class="code" href="structStrHashComp.html">00143</a> <span class="keyword">struct </span><a class="code" href="structStrHashComp.html">StrHashComp</a> +00144 { +00145 +<a name="l00146"></a><a class="code" href="structStrHashComp.html#a0">00146</a> <span class="keywordtype">bool</span> <a class="code" href="structStrHashComp.html#a0">operator()</a>(<span class="keyword">const</span> string& s1, <span class="keyword">const</span> string& s2)<span class="keyword"> const</span> +00147 <span class="keyword"> </span>{ +00148 <span class="keywordtype">char</span> a[MAXBUF],b[MAXBUF]; +00149 strlcpy(a,s1.c_str(),MAXBUF); +00150 strlcpy(b,s2.c_str(),MAXBUF); +00151 <span class="keywordflow">return</span> (strcasecmp(a,b) == 0); +00152 } 00153 -<a name="l00154"></a><a class="code" href="structInAddr__HashComp.html">00154</a> <span class="keyword">struct </span><a class="code" href="structInAddr__HashComp.html">InAddr_HashComp</a> -00155 { -00156 -<a name="l00157"></a><a class="code" href="structInAddr__HashComp.html#a0">00157</a> <span class="keywordtype">bool</span> <a class="code" href="structInAddr__HashComp.html#a0">operator()</a>(<span class="keyword">const</span> in_addr &s1, <span class="keyword">const</span> in_addr &s2)<span class="keyword"> const</span> -00158 <span class="keyword"> </span>{ -00159 size_t q; -00160 size_t p; -00161 -00162 memcpy(&q,&s1,<span class="keyword">sizeof</span>(size_t)); -00163 memcpy(&p,&s2,<span class="keyword">sizeof</span>(size_t)); -00164 -00165 <span class="keywordflow">return</span> (q == p); -00166 } -00167 -00168 }; +00154 }; +00155 +<a name="l00156"></a><a class="code" href="structInAddr__HashComp.html">00156</a> <span class="keyword">struct </span><a class="code" href="structInAddr__HashComp.html">InAddr_HashComp</a> +00157 { +00158 +<a name="l00159"></a><a class="code" href="structInAddr__HashComp.html#a0">00159</a> <span class="keywordtype">bool</span> <a class="code" href="structInAddr__HashComp.html#a0">operator()</a>(<span class="keyword">const</span> in_addr &s1, <span class="keyword">const</span> in_addr &s2)<span class="keyword"> const</span> +00160 <span class="keyword"> </span>{ +00161 size_t q; +00162 size_t p; +00163 +00164 memcpy(&q,&s1,<span class="keyword">sizeof</span>(size_t)); +00165 memcpy(&p,&s2,<span class="keyword">sizeof</span>(size_t)); +00166 +00167 <span class="keywordflow">return</span> (q == p); +00168 } 00169 -00170 -<a name="l00171"></a><a class="code" href="modules_8cpp.html#a37">00171</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#a37">user_hash</a>; -<a name="l00172"></a><a class="code" href="modules_8cpp.html#a38">00172</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#a38">chan_hash</a>; -<a name="l00173"></a><a class="code" href="modules_8cpp.html#a39">00173</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#a39">address_cache</a>; -<a name="l00174"></a><a class="code" href="modules_8cpp.html#a40">00174</a> <span class="keyword">typedef</span> std::deque<command_t> <a class="code" href="modules_8cpp.html#a40">command_table</a>; -00175 -00176 -<a name="l00177"></a><a class="code" href="modules_8cpp.html#a41">00177</a> <span class="keyword">extern</span> <a class="code" href="modules_8cpp.html#a37">user_hash</a> <a class="code" href="modules_8cpp.html#a41">clientlist</a>; -<a name="l00178"></a><a class="code" href="modules_8cpp.html#a42">00178</a> <span class="keyword">extern</span> <a class="code" href="modules_8cpp.html#a38">chan_hash</a> <a class="code" href="modules_8cpp.html#a42">chanlist</a>; -<a name="l00179"></a><a class="code" href="modules_8cpp.html#a43">00179</a> <span class="keyword">extern</span> <a class="code" href="modules_8cpp.html#a37">user_hash</a> <a class="code" href="modules_8cpp.html#a43">whowas</a>; -<a name="l00180"></a><a class="code" href="modules_8cpp.html#a44">00180</a> <span class="keyword">extern</span> <a class="code" href="modules_8cpp.html#a40">command_table</a> <a class="code" href="modules_8cpp.html#a44">cmdlist</a>; -<a name="l00181"></a><a class="code" href="modules_8cpp.html#a45">00181</a> <span class="keyword">extern</span> <a class="code" href="modules_8h.html#a26">file_cache</a> <a class="code" href="modules_8cpp.html#a45">MOTD</a>; -<a name="l00182"></a><a class="code" href="modules_8cpp.html#a46">00182</a> <span class="keyword">extern</span> <a class="code" href="modules_8h.html#a26">file_cache</a> <a class="code" href="modules_8cpp.html#a46">RULES</a>; -<a name="l00183"></a><a class="code" href="modules_8cpp.html#a47">00183</a> <span class="keyword">extern</span> <a class="code" href="modules_8cpp.html#a39">address_cache</a> <a class="code" href="modules_8cpp.html#a47">IP</a>; -00184 -00185 -00186 <span class="comment">// class type for holding an extended mode character - internal to core</span> +00170 }; +00171 +00172 +<a name="l00173"></a><a class="code" href="modules_8cpp.html#a38">00173</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#a38">user_hash</a>; +<a name="l00174"></a><a class="code" href="modules_8cpp.html#a39">00174</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#a39">chan_hash</a>; +<a name="l00175"></a><a class="code" href="modules_8cpp.html#a40">00175</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#a40">address_cache</a>; +<a name="l00176"></a><a class="code" href="modules_8cpp.html#a41">00176</a> <span class="keyword">typedef</span> std::deque<command_t> <a class="code" href="modules_8cpp.html#a41">command_table</a>; +00177 +00178 +<a name="l00179"></a><a class="code" href="modules_8cpp.html#a42">00179</a> <span class="keyword">extern</span> <a class="code" href="modules_8cpp.html#a38">user_hash</a> <a class="code" href="modules_8cpp.html#a42">clientlist</a>; +<a name="l00180"></a><a class="code" href="modules_8cpp.html#a43">00180</a> <span class="keyword">extern</span> <a class="code" href="modules_8cpp.html#a39">chan_hash</a> <a class="code" href="modules_8cpp.html#a43">chanlist</a>; +<a name="l00181"></a><a class="code" href="modules_8cpp.html#a44">00181</a> <span class="keyword">extern</span> <a class="code" href="modules_8cpp.html#a38">user_hash</a> <a class="code" href="modules_8cpp.html#a44">whowas</a>; +<a name="l00182"></a><a class="code" href="modules_8cpp.html#a45">00182</a> <span class="keyword">extern</span> <a class="code" href="modules_8cpp.html#a41">command_table</a> <a class="code" href="modules_8cpp.html#a45">cmdlist</a>; +<a name="l00183"></a><a class="code" href="modules_8cpp.html#a46">00183</a> <span class="keyword">extern</span> <a class="code" href="modules_8h.html#a30">file_cache</a> <a class="code" href="modules_8cpp.html#a46">MOTD</a>; +<a name="l00184"></a><a class="code" href="modules_8cpp.html#a47">00184</a> <span class="keyword">extern</span> <a class="code" href="modules_8h.html#a30">file_cache</a> <a class="code" href="modules_8cpp.html#a47">RULES</a>; +<a name="l00185"></a><a class="code" href="modules_8cpp.html#a48">00185</a> <span class="keyword">extern</span> <a class="code" href="modules_8cpp.html#a40">address_cache</a> <a class="code" href="modules_8cpp.html#a48">IP</a>; +00186 00187 -<a name="l00188"></a><a class="code" href="classExtMode.html">00188</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> -00189 { -00190 <span class="keyword">public</span>: -<a name="l00191"></a><a class="code" href="classExtMode.html#o0">00191</a> <span class="keywordtype">char</span> <a class="code" href="classExtMode.html#o0">modechar</a>; -<a name="l00192"></a><a class="code" href="classExtMode.html#o1">00192</a> <span class="keywordtype">int</span> <a class="code" href="classExtMode.html#o1">type</a>; -<a name="l00193"></a><a class="code" href="classExtMode.html#o2">00193</a> <span class="keywordtype">int</span> <a class="code" href="classExtMode.html#o2">params_when_on</a>; -<a name="l00194"></a><a class="code" href="classExtMode.html#o3">00194</a> <span class="keywordtype">int</span> <a class="code" href="classExtMode.html#o3">params_when_off</a>; -<a name="l00195"></a><a class="code" href="classExtMode.html#o4">00195</a> <span class="keywordtype">bool</span> <a class="code" href="classExtMode.html#o4">needsoper</a>; -<a name="l00196"></a><a class="code" href="classExtMode.html#o5">00196</a> <span class="keywordtype">bool</span> <a class="code" href="channels_8cpp.html#a15">list</a>; -<a name="l00197"></a><a class="code" href="classExtMode.html#a0">00197</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) { }; -00198 }; -00199 -<a name="l00200"></a><a class="code" href="modules_8cpp.html#a48">00200</a> <span class="keyword">typedef</span> std::vector<ExtMode> <a class="code" href="modules_8cpp.html#a48">ExtModeList</a>; -<a name="l00201"></a><a class="code" href="modules_8cpp.html#a49">00201</a> <span class="keyword">typedef</span> ExtModeList::iterator <a class="code" href="modules_8cpp.html#a49">ExtModeListIter</a>; -00202 -00203 -<a name="l00204"></a><a class="code" href="modules_8cpp.html#a50">00204</a> <a class="code" href="modules_8cpp.html#a48">ExtModeList</a> <a class="code" href="modules_8cpp.html#a50">EMode</a>; +00188 <span class="comment">// class type for holding an extended mode character - internal to core</span> +00189 +<a name="l00190"></a><a class="code" href="classExtMode.html">00190</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> +00191 { +00192 <span class="keyword">public</span>: +<a name="l00193"></a><a class="code" href="classExtMode.html#o0">00193</a> <span class="keywordtype">char</span> <a class="code" href="classExtMode.html#o0">modechar</a>; +<a name="l00194"></a><a class="code" href="classExtMode.html#o1">00194</a> <span class="keywordtype">int</span> <a class="code" href="classExtMode.html#o1">type</a>; +<a name="l00195"></a><a class="code" href="classExtMode.html#o2">00195</a> <span class="keywordtype">int</span> <a class="code" href="classExtMode.html#o2">params_when_on</a>; +<a name="l00196"></a><a class="code" href="classExtMode.html#o3">00196</a> <span class="keywordtype">int</span> <a class="code" href="classExtMode.html#o3">params_when_off</a>; +<a name="l00197"></a><a class="code" href="classExtMode.html#o4">00197</a> <span class="keywordtype">bool</span> <a class="code" href="classExtMode.html#o4">needsoper</a>; +<a name="l00198"></a><a class="code" href="classExtMode.html#o5">00198</a> <span class="keywordtype">bool</span> <a class="code" href="channels_8cpp.html#a15">list</a>; +<a name="l00199"></a><a class="code" href="classExtMode.html#a0">00199</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) { }; +00200 }; +00201 +<a name="l00202"></a><a class="code" href="modules_8cpp.html#a49">00202</a> <span class="keyword">typedef</span> std::vector<ExtMode> <a class="code" href="modules_8cpp.html#a49">ExtModeList</a>; +<a name="l00203"></a><a class="code" href="modules_8cpp.html#a50">00203</a> <span class="keyword">typedef</span> ExtModeList::iterator <a class="code" href="modules_8cpp.html#a50">ExtModeListIter</a>; +00204 00205 -00206 <span class="comment">// returns true if an extended mode character is in use</span> -<a name="l00207"></a><a class="code" href="modules_8cpp.html#a51">00207</a> <span class="keywordtype">bool</span> <a class="code" href="modules_8cpp.html#a51">ModeDefined</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type) -00208 { -00209 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Size of extmodes vector is %d"</span>,<a class="code" href="modules_8cpp.html#a50">EMode</a>.size()); -00210 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a49">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a50">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a50">EMode</a>.end(); i++) -00211 { -00212 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) -00213 { -00214 <span class="keywordflow">return</span> <span class="keyword">true</span>; -00215 } -00216 } -00217 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00218 } -00219 -<a name="l00220"></a><a class="code" href="modules_8cpp.html#a52">00220</a> <span class="keywordtype">bool</span> <a class="code" href="modules_8cpp.html#a52">ModeIsListMode</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type) -00221 { -00222 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Size of extmodes vector is %d"</span>,<a class="code" href="modules_8cpp.html#a50">EMode</a>.size()); -00223 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a49">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a50">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a50">EMode</a>.end(); i++) -00224 { -00225 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type) && (i->list == <span class="keyword">true</span>)) -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#a53">00233</a> <span class="keywordtype">bool</span> <a class="code" href="modules_8cpp.html#a53">ModeDefinedOper</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type) -00234 { -00235 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Size of extmodes vector is %d"</span>,<a class="code" href="modules_8cpp.html#a50">EMode</a>.size()); -00236 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a49">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a50">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a50">EMode</a>.end(); i++) -00237 { -00238 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type) && (i->needsoper == <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 -00246 <span class="comment">// returns number of parameters for a custom mode when it is switched on</span> -<a name="l00247"></a><a class="code" href="modules_8cpp.html#a54">00247</a> <span class="keywordtype">int</span> <a class="code" href="modules_8cpp.html#a54">ModeDefinedOn</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type) -00248 { -00249 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a49">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a50">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a50">EMode</a>.end(); i++) -00250 { -00251 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) -00252 { -00253 <span class="keywordflow">return</span> i->params_when_on; -00254 } -00255 } -00256 <span class="keywordflow">return</span> 0; -00257 } -00258 -00259 <span class="comment">// returns number of parameters for a custom mode when it is switched on</span> -<a name="l00260"></a><a class="code" href="modules_8cpp.html#a55">00260</a> <span class="keywordtype">int</span> <a class="code" href="modules_8cpp.html#a55">ModeDefinedOff</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type) -00261 { -00262 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a49">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a50">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a50">EMode</a>.end(); i++) -00263 { -00264 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) -00265 { -00266 <span class="keywordflow">return</span> i->params_when_off; -00267 } -00268 } -00269 <span class="keywordflow">return</span> 0; -00270 } -00271 -00272 <span class="comment">// returns true if an extended mode character is in use</span> -<a name="l00273"></a><a class="code" href="modules_8cpp.html#a56">00273</a> <span class="keywordtype">bool</span> <a class="code" href="modules_8cpp.html#a56">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) -00274 { -00275 <span class="keywordflow">if</span> (<a class="code" href="modules_8cpp.html#a51">ModeDefined</a>(modechar,type)) { -00276 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00277 } -00278 <a class="code" href="modules_8cpp.html#a50">EMode</a>.push_back(<a class="code" href="classExtMode.html">ExtMode</a>(modechar,type,requires_oper,params_on,params_off)); -00279 <span class="keywordflow">return</span> <span class="keyword">true</span>; -00280 } -00281 -00282 <span class="comment">// turns a mode into a listmode</span> -<a name="l00283"></a><a class="code" href="modules_8cpp.html#a57">00283</a> <span class="keywordtype">void</span> <a class="code" href="modules_8cpp.html#a57">ModeMakeList</a>(<span class="keywordtype">char</span> modechar) -00284 { -00285 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a49">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a50">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a50">EMode</a>.end(); i++) -00286 { -00287 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == <a class="code" href="modules_8h.html#a5">MT_CHANNEL</a>)) -00288 { -00289 i->list = <span class="keyword">true</span>; -00290 <span class="keywordflow">return</span>; -00291 } -00292 } -00293 <span class="keywordflow">return</span>; -00294 } -00295 -00296 <span class="comment">// version is a simple class for holding a modules version number</span> +<a name="l00206"></a><a class="code" href="modules_8cpp.html#a51">00206</a> <a class="code" href="modules_8cpp.html#a49">ExtModeList</a> <a class="code" href="modules_8cpp.html#a51">EMode</a>; +00207 +00208 <span class="comment">// returns true if an extended mode character is in use</span> +<a name="l00209"></a><a class="code" href="modules_8cpp.html#a52">00209</a> <span class="keywordtype">bool</span> <a class="code" href="modules_8cpp.html#a52">ModeDefined</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type) +00210 { +00211 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Size of extmodes vector is %d"</span>,<a class="code" href="modules_8cpp.html#a51">EMode</a>.size()); +00212 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a50">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a51">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a51">EMode</a>.end(); i++) +00213 { +00214 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) +00215 { +00216 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00217 } +00218 } +00219 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00220 } +00221 +<a name="l00222"></a><a class="code" href="modules_8cpp.html#a53">00222</a> <span class="keywordtype">bool</span> <a class="code" href="modules_8cpp.html#a53">ModeIsListMode</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type) +00223 { +00224 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Size of extmodes vector is %d"</span>,<a class="code" href="modules_8cpp.html#a51">EMode</a>.size()); +00225 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a50">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a51">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a51">EMode</a>.end(); i++) +00226 { +00227 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type) && (i->list == <span class="keyword">true</span>)) +00228 { +00229 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00230 } +00231 } +00232 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00233 } +00234 +<a name="l00235"></a><a class="code" href="modules_8cpp.html#a54">00235</a> <span class="keywordtype">bool</span> <a class="code" href="modules_8cpp.html#a54">ModeDefinedOper</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type) +00236 { +00237 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Size of extmodes vector is %d"</span>,<a class="code" href="modules_8cpp.html#a51">EMode</a>.size()); +00238 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a50">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a51">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a51">EMode</a>.end(); i++) +00239 { +00240 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type) && (i->needsoper == <span class="keyword">true</span>)) +00241 { +00242 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00243 } +00244 } +00245 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00246 } +00247 +00248 <span class="comment">// returns number of parameters for a custom mode when it is switched on</span> +<a name="l00249"></a><a class="code" href="modules_8cpp.html#a55">00249</a> <span class="keywordtype">int</span> <a class="code" href="modules_8cpp.html#a55">ModeDefinedOn</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type) +00250 { +00251 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a50">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a51">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a51">EMode</a>.end(); i++) +00252 { +00253 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) +00254 { +00255 <span class="keywordflow">return</span> i->params_when_on; +00256 } +00257 } +00258 <span class="keywordflow">return</span> 0; +00259 } +00260 +00261 <span class="comment">// returns number of parameters for a custom mode when it is switched on</span> +<a name="l00262"></a><a class="code" href="modules_8cpp.html#a56">00262</a> <span class="keywordtype">int</span> <a class="code" href="modules_8cpp.html#a56">ModeDefinedOff</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type) +00263 { +00264 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a50">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a51">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a51">EMode</a>.end(); i++) +00265 { +00266 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) +00267 { +00268 <span class="keywordflow">return</span> i->params_when_off; +00269 } +00270 } +00271 <span class="keywordflow">return</span> 0; +00272 } +00273 +00274 <span class="comment">// returns true if an extended mode character is in use</span> +<a name="l00275"></a><a class="code" href="modules_8cpp.html#a57">00275</a> <span class="keywordtype">bool</span> <a class="code" href="modules_8cpp.html#a57">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) +00276 { +00277 <span class="keywordflow">if</span> (<a class="code" href="modules_8cpp.html#a52">ModeDefined</a>(modechar,type)) { +00278 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00279 } +00280 <a class="code" href="modules_8cpp.html#a51">EMode</a>.push_back(<a class="code" href="classExtMode.html">ExtMode</a>(modechar,type,requires_oper,params_on,params_off)); +00281 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00282 } +00283 +00284 <span class="comment">// turns a mode into a listmode</span> +<a name="l00285"></a><a class="code" href="modules_8cpp.html#a58">00285</a> <span class="keywordtype">void</span> <a class="code" href="modules_8cpp.html#a58">ModeMakeList</a>(<span class="keywordtype">char</span> modechar) +00286 { +00287 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a50">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a51">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a51">EMode</a>.end(); i++) +00288 { +00289 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == <a class="code" href="modules_8h.html#a5">MT_CHANNEL</a>)) +00290 { +00291 i->list = <span class="keyword">true</span>; +00292 <span class="keywordflow">return</span>; +00293 } +00294 } +00295 <span class="keywordflow">return</span>; +00296 } 00297 -<a name="l00298"></a><a class="code" href="classVersion.html#a0">00298</a> <a class="code" href="classVersion.html#a0">Version::Version</a>(<span class="keywordtype">int</span> major, <span class="keywordtype">int</span> minor, <span class="keywordtype">int</span> revision, <span class="keywordtype">int</span> build) : Major(major), Minor(minor), Revision(revision), Build(build) { }; +00298 <span class="comment">// version is a simple class for holding a modules version number</span> 00299 -00300 <span class="comment">// admin is a simple class for holding a server's administrative info</span> +<a name="l00300"></a><a class="code" href="classVersion.html#a0">00300</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) { }; 00301 -<a name="l00302"></a><a class="code" href="classAdmin.html#a0">00302</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) { }; +00302 <span class="comment">// admin is a simple class for holding a server's administrative info</span> 00303 -<a name="l00304"></a><a class="code" href="classModule.html#a0">00304</a> <a class="code" href="classModule.html#a0">Module::Module</a>() { } -<a name="l00305"></a><a class="code" href="classModule.html#a1">00305</a> <a class="code" href="classModule.html#a1">Module::~Module</a>() { } -<a name="l00306"></a><a class="code" href="classModule.html#a3">00306</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="l00307"></a><a class="code" href="classModule.html#a4">00307</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="l00308"></a><a class="code" href="classModule.html#a5">00308</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a5">Module::OnUserJoin</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* channel) { } -<a name="l00309"></a><a class="code" href="classModule.html#a6">00309</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a6">Module::OnUserPart</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* channel) { } -<a name="l00310"></a><a class="code" href="classModule.html#a7">00310</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a7">Module::OnPacketTransmit</a>(<span class="keywordtype">char</span> *p) { } -<a name="l00311"></a><a class="code" href="classModule.html#a8">00311</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a8">Module::OnPacketReceive</a>(<span class="keywordtype">char</span> *p) { } -<a name="l00312"></a><a class="code" href="classModule.html#a9">00312</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a9">Module::OnRehash</a>() { } -<a name="l00313"></a><a class="code" href="classModule.html#a10">00313</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a10">Module::OnServerRaw</a>(std::string &raw, <span class="keywordtype">bool</span> inbound, <a class="code" href="classuserrec.html">userrec</a>* user) { } -<a name="l00314"></a><a class="code" href="classModule.html#a12">00314</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a12">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="l00315"></a><a class="code" href="classModule.html#a11">00315</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a11">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="l00316"></a><a class="code" href="classModule.html#a2">00316</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 name="l00317"></a><a class="code" href="classModule.html#a13">00317</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a13">Module::OnOper</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { }; -<a name="l00318"></a><a class="code" href="classModule.html#a14">00318</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a14">Module::OnInfo</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { }; -<a name="l00319"></a><a class="code" href="classModule.html#a15">00319</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a15">Module::OnWhois</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classuserrec.html">userrec</a>* dest) { }; -<a name="l00320"></a><a class="code" href="classModule.html#a16">00320</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a16">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="l00321"></a><a class="code" href="classModule.html#a17">00321</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a17">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="l00322"></a><a class="code" href="classModule.html#a18">00322</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a18">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="l00323"></a><a class="code" href="classModule.html#a19">00323</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a19">Module::OnUserPreNick</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string newnick) { <span class="keywordflow">return</span> 0; }; -<a name="l00324"></a><a class="code" href="classModule.html#a20">00324</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a20">Module::OnUserPostNick</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string oldnick) { }; -<a name="l00325"></a><a class="code" href="classModule.html#a21">00325</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a21">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="l00326"></a><a class="code" href="classModule.html#a22">00326</a> <a class="code" href="modules_8h.html#a27">string_list</a> <a class="code" href="classModule.html#a22">Module::OnUserSync</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { <a class="code" href="modules_8h.html#a27">string_list</a> empty; <span class="keywordflow">return</span> empty; } -<a name="l00327"></a><a class="code" href="classModule.html#a23">00327</a> <a class="code" href="modules_8h.html#a27">string_list</a> <a class="code" href="classModule.html#a23">Module::OnChannelSync</a>(<a class="code" href="classchanrec.html">chanrec</a>* chan) { <a class="code" href="modules_8h.html#a27">string_list</a> empty; <span class="keywordflow">return</span> empty; } -<a name="l00328"></a><a class="code" href="classModule.html#a24">00328</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a24">Module::On005Numeric</a>(std::string &output) { }; -<a name="l00329"></a><a class="code" href="classModule.html#a25">00329</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a25">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="l00330"></a><a class="code" href="classModule.html#a26">00330</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a26">Module::OnLoadModule</a>(<a class="code" href="classModule.html">Module</a>* mod,std::string name) { }; -00331 -00332 -00333 <span class="comment">// server is a wrapper class that provides methods to all of the C-style</span> -00334 <span class="comment">// exports in the core</span> -00335 <span class="comment">//</span> -00336 -<a name="l00337"></a><a class="code" href="classServer.html#a0">00337</a> <a class="code" href="classServer.html#a0">Server::Server</a>() -00338 { -00339 } -00340 -<a name="l00341"></a><a class="code" href="classServer.html#a1">00341</a> <a class="code" href="classServer.html#a1">Server::~Server</a>() -00342 { -00343 } -00344 -<a name="l00345"></a><a class="code" href="classServer.html#a2">00345</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a2">Server::SendOpers</a>(std::string s) -00346 { -00347 WriteOpers(<span class="stringliteral">"%s"</span>,s.c_str()); -00348 } -00349 -<a name="l00350"></a><a class="code" href="classServer.html#a30">00350</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a30">Server::MatchText</a>(std::string sliteral, std::string spattern) -00351 { -00352 <span class="keywordtype">char</span> literal[MAXBUF],pattern[MAXBUF]; -00353 strlcpy(literal,sliteral.c_str(),MAXBUF); -00354 strlcpy(pattern,spattern.c_str(),MAXBUF); -00355 <span class="keywordflow">return</span> match(literal,pattern); -00356 } -00357 -<a name="l00358"></a><a class="code" href="classServer.html#a25">00358</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a25">Server::SendToModeMask</a>(std::string modes, <span class="keywordtype">int</span> flags, std::string text) -00359 { -00360 WriteMode(modes.c_str(),flags,<span class="stringliteral">"%s"</span>,text.c_str()); -00361 } -00362 -<a name="l00363"></a><a class="code" href="classServer.html#a26">00363</a> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#a26">Server::JoinUserToChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string cname, std::string key) -00364 { -00365 <span class="keywordflow">return</span> add_channel(user,cname.c_str(),key.c_str(),<span class="keyword">true</span>); -00366 } -00367 -<a name="l00368"></a><a class="code" href="classServer.html#a27">00368</a> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#a27">Server::PartUserFromChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string cname, std::string reason) -00369 { -00370 <span class="keywordflow">return</span> del_channel(user,cname.c_str(),reason.c_str(),<span class="keyword">false</span>); -00371 } -00372 -<a name="l00373"></a><a class="code" href="classServer.html#a35">00373</a> <a class="code" href="modules_8h.html#a28">chanuserlist</a> <a class="code" href="classServer.html#a35">Server::GetUsers</a>(<a class="code" href="classchanrec.html">chanrec</a>* chan) -00374 { -00375 <a class="code" href="modules_8h.html#a28">chanuserlist</a> userl; -00376 userl.clear(); -00377 <span class="keywordflow">for</span> (user_hash::const_iterator i = <a class="code" href="modules_8cpp.html#a41">clientlist</a>.begin(); i != <a class="code" href="modules_8cpp.html#a41">clientlist</a>.end(); i++) -00378 { -00379 <span class="keywordflow">if</span> (i->second) -00380 { -00381 <span class="keywordflow">if</span> (<a class="code" href="message_8h.html#a16">has_channel</a>(i->second,chan)) -00382 { -00383 <span class="keywordflow">if</span> (<a class="code" href="message_8h.html#a13">isnick</a>(i->second->nick)) -00384 { -00385 userl.push_back(i->second); -00386 } -00387 } -00388 } -00389 } -00390 <span class="keywordflow">return</span> userl; -00391 } -<a name="l00392"></a><a class="code" href="classServer.html#a28">00392</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a28">Server::ChangeUserNick</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string nickname) -00393 { -00394 force_nickchange(user,nickname.c_str()); -00395 } -00396 -<a name="l00397"></a><a class="code" href="classServer.html#a29">00397</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a29">Server::QuitUser</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string reason) -00398 { -00399 <a class="code" href="message_8h.html#a19">send_network_quit</a>(user-><a class="code" href="classuserrec.html#o0">nick</a>,reason.c_str()); -00400 kill_link(user,reason.c_str()); -00401 } -00402 -<a name="l00403"></a><a class="code" href="classServer.html#a34">00403</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a34">Server::IsUlined</a>(std::string server) -00404 { -00405 <span class="keywordflow">return</span> <a class="code" href="commands_8h.html#a72">is_uline</a>(server.c_str()); -00406 } -00407 -<a name="l00408"></a><a class="code" href="classServer.html#a31">00408</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a31">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) -00409 { -00410 call_handler(commandname.c_str(),parameters,pcnt,user); -00411 } -00412 -<a name="l00413"></a><a class="code" href="classServer.html#a3">00413</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) -00414 { -00415 log(level,<span class="stringliteral">"%s"</span>,s.c_str()); -00416 } -00417 -<a name="l00418"></a><a class="code" href="classServer.html#a23">00418</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a23">Server::AddCommand</a>(<span class="keywordtype">char</span>* cmd, handlerfunc f, <span class="keywordtype">char</span> flags, <span class="keywordtype">int</span> minparams) -00419 { -00420 <a class="code" href="modules_8h.html#a30">createcommand</a>(cmd,f,flags,minparams); -00421 } -00422 -<a name="l00423"></a><a class="code" href="classServer.html#a24">00423</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a24">Server::SendMode</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user) -00424 { -00425 <a class="code" href="modules_8h.html#a31">server_mode</a>(parameters,pcnt,user); -00426 } -00427 -<a name="l00428"></a><a class="code" href="classServer.html#a4">00428</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) -00429 { -00430 Write(Socket,<span class="stringliteral">"%s"</span>,s.c_str()); -00431 } -00432 -<a name="l00433"></a><a class="code" href="classServer.html#a5">00433</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) -00434 { -00435 WriteServ(Socket,<span class="stringliteral">"%s"</span>,s.c_str()); -00436 } -00437 -<a name="l00438"></a><a class="code" href="classServer.html#a6">00438</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a6">Server::SendFrom</a>(<span class="keywordtype">int</span> Socket, <a class="code" href="classuserrec.html">userrec</a>* User, std::string s) -00439 { -00440 WriteFrom(Socket,User,<span class="stringliteral">"%s"</span>,s.c_str()); -00441 } -00442 -<a name="l00443"></a><a class="code" href="classServer.html#a7">00443</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a7">Server::SendTo</a>(<a class="code" href="classuserrec.html">userrec</a>* Source, <a class="code" href="classuserrec.html">userrec</a>* Dest, std::string s) -00444 { -00445 <span class="keywordflow">if</span> (!Source) -00446 { -00447 <span class="comment">// if source is NULL, then the message originates from the local server</span> -00448 Write(Dest-><a class="code" href="classconnection.html#o0">fd</a>,<span class="stringliteral">":%s %s"</span>,this->GetServerName().c_str(),s.c_str()); -00449 } -00450 <span class="keywordflow">else</span> -00451 { -00452 <span class="comment">// otherwise it comes from the user specified</span> -00453 WriteTo(Source,Dest,<span class="stringliteral">"%s"</span>,s.c_str()); -00454 } -00455 } -00456 -<a name="l00457"></a><a class="code" href="classServer.html#a8">00457</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a8">Server::SendChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Channel, std::string s,<span class="keywordtype">bool</span> IncludeSender) -00458 { -00459 <span class="keywordflow">if</span> (IncludeSender) -00460 { -00461 WriteChannel(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str()); -00462 } -00463 <span class="keywordflow">else</span> -00464 { -00465 ChanExceptSender(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str()); -00466 } -00467 } -00468 -<a name="l00469"></a><a class="code" href="classServer.html#a9">00469</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a9">Server::CommonChannels</a>(<a class="code" href="classuserrec.html">userrec</a>* u1, <a class="code" href="classuserrec.html">userrec</a>* u2) -00470 { -00471 <span class="keywordflow">return</span> (<a class="code" href="message_8h.html#a0">common_channels</a>(u1,u2) != 0); -00472 } -00473 -<a name="l00474"></a><a class="code" href="classServer.html#a10">00474</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a10">Server::SendCommon</a>(<a class="code" href="classuserrec.html">userrec</a>* User, std::string text,<span class="keywordtype">bool</span> IncludeSender) -00475 { -00476 <span class="keywordflow">if</span> (IncludeSender) -00477 { -00478 WriteCommon(User,<span class="stringliteral">"%s"</span>,text.c_str()); -00479 } -00480 <span class="keywordflow">else</span> -00481 { -00482 WriteCommonExcept(User,<span class="stringliteral">"%s"</span>,text.c_str()); -00483 } -00484 } -00485 -<a name="l00486"></a><a class="code" href="classServer.html#a11">00486</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a11">Server::SendWallops</a>(<a class="code" href="classuserrec.html">userrec</a>* User, std::string text) -00487 { -00488 WriteWallOps(User,<span class="keyword">false</span>,<span class="stringliteral">"%s"</span>,text.c_str()); -00489 } -00490 -<a name="l00491"></a><a class="code" href="classServer.html#a32">00491</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a32">Server::ChangeHost</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string host) -00492 { -00493 <a class="code" href="message_8h.html#a11">ChangeDisplayedHost</a>(user,host.c_str()); -00494 } -00495 -<a name="l00496"></a><a class="code" href="classServer.html#a33">00496</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a33">Server::ChangeGECOS</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string gecos) -00497 { -00498 <a class="code" href="message_8h.html#a10">ChangeName</a>(user,gecos.c_str()); -00499 } -00500 -<a name="l00501"></a><a class="code" href="classServer.html#a12">00501</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a12">Server::IsNick</a>(std::string nick) -00502 { -00503 <span class="keywordflow">return</span> (<a class="code" href="message_8h.html#a13">isnick</a>(nick.c_str()) != 0); -00504 } -00505 -<a name="l00506"></a><a class="code" href="classServer.html#a14">00506</a> <a class="code" href="classuserrec.html">userrec</a>* <a class="code" href="classServer.html#a14">Server::FindNick</a>(std::string nick) -00507 { -00508 <span class="keywordflow">return</span> Find(nick); -00509 } -00510 -<a name="l00511"></a><a class="code" href="classServer.html#a15">00511</a> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#a15">Server::FindChannel</a>(std::string channel) -00512 { -00513 <span class="keywordflow">return</span> FindChan(channel.c_str()); -00514 } -00515 -<a name="l00516"></a><a class="code" href="classServer.html#a16">00516</a> std::string <a class="code" href="classServer.html#a16">Server::ChanMode</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Chan) -00517 { -00518 <span class="keywordflow">return</span> <a class="code" href="message_8h.html#a14">cmode</a>(User,Chan); -00519 } -00520 -<a name="l00521"></a><a class="code" href="classServer.html#a17">00521</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a17">Server::IsOnChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Chan) -00522 { -00523 <span class="keywordflow">return</span> <a class="code" href="message_8h.html#a16">has_channel</a>(User,Chan); -00524 } -00525 -<a name="l00526"></a><a class="code" href="classServer.html#a18">00526</a> std::string <a class="code" href="classServer.html#a18">Server::GetServerName</a>() -00527 { -00528 <span class="keywordflow">return</span> getservername(); -00529 } -00530 -<a name="l00531"></a><a class="code" href="classServer.html#a19">00531</a> std::string <a class="code" href="classServer.html#a19">Server::GetNetworkName</a>() -00532 { -00533 <span class="keywordflow">return</span> getnetworkname(); -00534 } -00535 -<a name="l00536"></a><a class="code" href="classServer.html#a20">00536</a> <a class="code" href="classAdmin.html">Admin</a> <a class="code" href="classServer.html#a20">Server::GetAdmin</a>() -00537 { -00538 <span class="keywordflow">return</span> <a class="code" href="classAdmin.html">Admin</a>(getadminname(),getadminemail(),getadminnick()); -00539 } -00540 -00541 +<a name="l00304"></a><a class="code" href="classAdmin.html#a0">00304</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) { }; +00305 +<a name="l00306"></a><a class="code" href="classModule.html#a0">00306</a> <a class="code" href="classModule.html#a0">Module::Module</a>() { } +<a name="l00307"></a><a class="code" href="classModule.html#a1">00307</a> <a class="code" href="classModule.html#a1">Module::~Module</a>() { } +<a name="l00308"></a><a class="code" href="classModule.html#a3">00308</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="l00309"></a><a class="code" href="classModule.html#a4">00309</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="l00310"></a><a class="code" href="classModule.html#a5">00310</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a5">Module::OnUserJoin</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* channel) { } +<a name="l00311"></a><a class="code" href="classModule.html#a6">00311</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a6">Module::OnUserPart</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* channel) { } +<a name="l00312"></a><a class="code" href="classModule.html#a7">00312</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a7">Module::OnPacketTransmit</a>(<span class="keywordtype">char</span> *p) { } +<a name="l00313"></a><a class="code" href="classModule.html#a8">00313</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a8">Module::OnPacketReceive</a>(<span class="keywordtype">char</span> *p) { } +<a name="l00314"></a><a class="code" href="classModule.html#a9">00314</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a9">Module::OnRehash</a>() { } +<a name="l00315"></a><a class="code" href="classModule.html#a10">00315</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a10">Module::OnServerRaw</a>(std::string &raw, <span class="keywordtype">bool</span> inbound, <a class="code" href="classuserrec.html">userrec</a>* user) { } +<a name="l00316"></a><a class="code" href="classModule.html#a12">00316</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a12">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="l00317"></a><a class="code" href="classModule.html#a11">00317</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a11">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="l00318"></a><a class="code" href="classModule.html#a2">00318</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="l00319"></a><a class="code" href="classModule.html#a13">00319</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a13">Module::OnOper</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { }; +<a name="l00320"></a><a class="code" href="classModule.html#a14">00320</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a14">Module::OnInfo</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { }; +<a name="l00321"></a><a class="code" href="classModule.html#a15">00321</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a15">Module::OnWhois</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classuserrec.html">userrec</a>* dest) { }; +<a name="l00322"></a><a class="code" href="classModule.html#a16">00322</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a16">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="l00323"></a><a class="code" href="classModule.html#a17">00323</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a17">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="l00324"></a><a class="code" href="classModule.html#a18">00324</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a18">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="l00325"></a><a class="code" href="classModule.html#a19">00325</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a19">Module::OnUserPreNick</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string newnick) { <span class="keywordflow">return</span> 0; }; +<a name="l00326"></a><a class="code" href="classModule.html#a20">00326</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a20">Module::OnUserPostNick</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string oldnick) { }; +<a name="l00327"></a><a class="code" href="classModule.html#a21">00327</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a21">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="l00328"></a><a class="code" href="classModule.html#a22">00328</a> <a class="code" href="modules_8h.html#a31">string_list</a> <a class="code" href="classModule.html#a22">Module::OnUserSync</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { <a class="code" href="modules_8h.html#a31">string_list</a> empty; <span class="keywordflow">return</span> empty; } +<a name="l00329"></a><a class="code" href="classModule.html#a23">00329</a> <a class="code" href="modules_8h.html#a31">string_list</a> <a class="code" href="classModule.html#a23">Module::OnChannelSync</a>(<a class="code" href="classchanrec.html">chanrec</a>* chan) { <a class="code" href="modules_8h.html#a31">string_list</a> empty; <span class="keywordflow">return</span> empty; } +<a name="l00330"></a><a class="code" href="classModule.html#a24">00330</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a24">Module::On005Numeric</a>(std::string &output) { }; +<a name="l00331"></a><a class="code" href="classModule.html#a25">00331</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a25">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="l00332"></a><a class="code" href="classModule.html#a26">00332</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a26">Module::OnLoadModule</a>(<a class="code" href="classModule.html">Module</a>* mod,std::string name) { }; +00333 +00334 +00335 <span class="comment">// server is a wrapper class that provides methods to all of the C-style</span> +00336 <span class="comment">// exports in the core</span> +00337 <span class="comment">//</span> +00338 +<a name="l00339"></a><a class="code" href="classServer.html#a0">00339</a> <a class="code" href="classServer.html#a0">Server::Server</a>() +00340 { +00341 } +00342 +<a name="l00343"></a><a class="code" href="classServer.html#a1">00343</a> <a class="code" href="classServer.html#a1">Server::~Server</a>() +00344 { +00345 } +00346 +<a name="l00347"></a><a class="code" href="classServer.html#a2">00347</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a2">Server::SendOpers</a>(std::string s) +00348 { +00349 WriteOpers(<span class="stringliteral">"%s"</span>,s.c_str()); +00350 } +00351 +<a name="l00352"></a><a class="code" href="classServer.html#a30">00352</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a30">Server::MatchText</a>(std::string sliteral, std::string spattern) +00353 { +00354 <span class="keywordtype">char</span> literal[MAXBUF],pattern[MAXBUF]; +00355 strlcpy(literal,sliteral.c_str(),MAXBUF); +00356 strlcpy(pattern,spattern.c_str(),MAXBUF); +00357 <span class="keywordflow">return</span> match(literal,pattern); +00358 } +00359 +<a name="l00360"></a><a class="code" href="classServer.html#a25">00360</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a25">Server::SendToModeMask</a>(std::string modes, <span class="keywordtype">int</span> flags, std::string text) +00361 { +00362 WriteMode(modes.c_str(),flags,<span class="stringliteral">"%s"</span>,text.c_str()); +00363 } +00364 +<a name="l00365"></a><a class="code" href="classServer.html#a26">00365</a> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#a26">Server::JoinUserToChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string cname, std::string key) +00366 { +00367 <span class="keywordflow">return</span> add_channel(user,cname.c_str(),key.c_str(),<span class="keyword">true</span>); +00368 } +00369 +<a name="l00370"></a><a class="code" href="classServer.html#a27">00370</a> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#a27">Server::PartUserFromChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string cname, std::string reason) +00371 { +00372 <span class="keywordflow">return</span> del_channel(user,cname.c_str(),reason.c_str(),<span class="keyword">false</span>); +00373 } +00374 +<a name="l00375"></a><a class="code" href="classServer.html#a35">00375</a> <a class="code" href="modules_8h.html#a32">chanuserlist</a> <a class="code" href="classServer.html#a35">Server::GetUsers</a>(<a class="code" href="classchanrec.html">chanrec</a>* chan) +00376 { +00377 <a class="code" href="modules_8h.html#a32">chanuserlist</a> userl; +00378 userl.clear(); +00379 <span class="keywordflow">for</span> (user_hash::const_iterator i = <a class="code" href="modules_8cpp.html#a42">clientlist</a>.begin(); i != <a class="code" href="modules_8cpp.html#a42">clientlist</a>.end(); i++) +00380 { +00381 <span class="keywordflow">if</span> (i->second) +00382 { +00383 <span class="keywordflow">if</span> (<a class="code" href="message_8h.html#a16">has_channel</a>(i->second,chan)) +00384 { +00385 <span class="keywordflow">if</span> (<a class="code" href="message_8h.html#a13">isnick</a>(i->second->nick)) +00386 { +00387 userl.push_back(i->second); +00388 } +00389 } +00390 } +00391 } +00392 <span class="keywordflow">return</span> userl; +00393 } +<a name="l00394"></a><a class="code" href="classServer.html#a28">00394</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a28">Server::ChangeUserNick</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string nickname) +00395 { +00396 force_nickchange(user,nickname.c_str()); +00397 } +00398 +<a name="l00399"></a><a class="code" href="classServer.html#a29">00399</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a29">Server::QuitUser</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string reason) +00400 { +00401 <a class="code" href="message_8h.html#a19">send_network_quit</a>(user-><a class="code" href="classuserrec.html#o0">nick</a>,reason.c_str()); +00402 kill_link(user,reason.c_str()); +00403 } +00404 +<a name="l00405"></a><a class="code" href="classServer.html#a34">00405</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a34">Server::IsUlined</a>(std::string server) +00406 { +00407 <span class="keywordflow">return</span> <a class="code" href="commands_8h.html#a74">is_uline</a>(server.c_str()); +00408 } +00409 +<a name="l00410"></a><a class="code" href="classServer.html#a31">00410</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a31">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) +00411 { +00412 call_handler(commandname.c_str(),parameters,pcnt,user); +00413 } +00414 +<a name="l00415"></a><a class="code" href="classServer.html#a3">00415</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) +00416 { +00417 log(level,<span class="stringliteral">"%s"</span>,s.c_str()); +00418 } +00419 +<a name="l00420"></a><a class="code" href="classServer.html#a23">00420</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a23">Server::AddCommand</a>(<span class="keywordtype">char</span>* cmd, handlerfunc f, <span class="keywordtype">char</span> flags, <span class="keywordtype">int</span> minparams, <span class="keywordtype">char</span>* source) +00421 { +00422 <a class="code" href="modules_8h.html#a34">createcommand</a>(cmd,f,flags,minparams,source); +00423 } +00424 +<a name="l00425"></a><a class="code" href="classServer.html#a24">00425</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a24">Server::SendMode</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user) +00426 { +00427 <a class="code" href="modules_8h.html#a35">server_mode</a>(parameters,pcnt,user); +00428 } +00429 +<a name="l00430"></a><a class="code" href="classServer.html#a4">00430</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) +00431 { +00432 Write(Socket,<span class="stringliteral">"%s"</span>,s.c_str()); +00433 } +00434 +<a name="l00435"></a><a class="code" href="classServer.html#a5">00435</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) +00436 { +00437 WriteServ(Socket,<span class="stringliteral">"%s"</span>,s.c_str()); +00438 } +00439 +<a name="l00440"></a><a class="code" href="classServer.html#a6">00440</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a6">Server::SendFrom</a>(<span class="keywordtype">int</span> Socket, <a class="code" href="classuserrec.html">userrec</a>* User, std::string s) +00441 { +00442 WriteFrom(Socket,User,<span class="stringliteral">"%s"</span>,s.c_str()); +00443 } +00444 +<a name="l00445"></a><a class="code" href="classServer.html#a7">00445</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a7">Server::SendTo</a>(<a class="code" href="classuserrec.html">userrec</a>* Source, <a class="code" href="classuserrec.html">userrec</a>* Dest, std::string s) +00446 { +00447 <span class="keywordflow">if</span> (!Source) +00448 { +00449 <span class="comment">// if source is NULL, then the message originates from the local server</span> +00450 Write(Dest-><a class="code" href="classconnection.html#o0">fd</a>,<span class="stringliteral">":%s %s"</span>,this->GetServerName().c_str(),s.c_str()); +00451 } +00452 <span class="keywordflow">else</span> +00453 { +00454 <span class="comment">// otherwise it comes from the user specified</span> +00455 WriteTo(Source,Dest,<span class="stringliteral">"%s"</span>,s.c_str()); +00456 } +00457 } +00458 +<a name="l00459"></a><a class="code" href="classServer.html#a8">00459</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a8">Server::SendChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Channel, std::string s,<span class="keywordtype">bool</span> IncludeSender) +00460 { +00461 <span class="keywordflow">if</span> (IncludeSender) +00462 { +00463 WriteChannel(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str()); +00464 } +00465 <span class="keywordflow">else</span> +00466 { +00467 ChanExceptSender(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str()); +00468 } +00469 } +00470 +<a name="l00471"></a><a class="code" href="classServer.html#a9">00471</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a9">Server::CommonChannels</a>(<a class="code" href="classuserrec.html">userrec</a>* u1, <a class="code" href="classuserrec.html">userrec</a>* u2) +00472 { +00473 <span class="keywordflow">return</span> (<a class="code" href="message_8h.html#a0">common_channels</a>(u1,u2) != 0); +00474 } +00475 +<a name="l00476"></a><a class="code" href="classServer.html#a10">00476</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a10">Server::SendCommon</a>(<a class="code" href="classuserrec.html">userrec</a>* User, std::string text,<span class="keywordtype">bool</span> IncludeSender) +00477 { +00478 <span class="keywordflow">if</span> (IncludeSender) +00479 { +00480 WriteCommon(User,<span class="stringliteral">"%s"</span>,text.c_str()); +00481 } +00482 <span class="keywordflow">else</span> +00483 { +00484 WriteCommonExcept(User,<span class="stringliteral">"%s"</span>,text.c_str()); +00485 } +00486 } +00487 +<a name="l00488"></a><a class="code" href="classServer.html#a11">00488</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a11">Server::SendWallops</a>(<a class="code" href="classuserrec.html">userrec</a>* User, std::string text) +00489 { +00490 WriteWallOps(User,<span class="keyword">false</span>,<span class="stringliteral">"%s"</span>,text.c_str()); +00491 } +00492 +<a name="l00493"></a><a class="code" href="classServer.html#a32">00493</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a32">Server::ChangeHost</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string host) +00494 { +00495 <a class="code" href="message_8h.html#a11">ChangeDisplayedHost</a>(user,host.c_str()); +00496 } +00497 +<a name="l00498"></a><a class="code" href="classServer.html#a33">00498</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a33">Server::ChangeGECOS</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string gecos) +00499 { +00500 <a class="code" href="message_8h.html#a10">ChangeName</a>(user,gecos.c_str()); +00501 } +00502 +<a name="l00503"></a><a class="code" href="classServer.html#a12">00503</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a12">Server::IsNick</a>(std::string nick) +00504 { +00505 <span class="keywordflow">return</span> (<a class="code" href="message_8h.html#a13">isnick</a>(nick.c_str()) != 0); +00506 } +00507 +<a name="l00508"></a><a class="code" href="classServer.html#a14">00508</a> <a class="code" href="classuserrec.html">userrec</a>* <a class="code" href="classServer.html#a14">Server::FindNick</a>(std::string nick) +00509 { +00510 <span class="keywordflow">return</span> Find(nick); +00511 } +00512 +<a name="l00513"></a><a class="code" href="classServer.html#a15">00513</a> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#a15">Server::FindChannel</a>(std::string channel) +00514 { +00515 <span class="keywordflow">return</span> FindChan(channel.c_str()); +00516 } +00517 +<a name="l00518"></a><a class="code" href="classServer.html#a16">00518</a> std::string <a class="code" href="classServer.html#a16">Server::ChanMode</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Chan) +00519 { +00520 <span class="keywordflow">return</span> <a class="code" href="message_8h.html#a14">cmode</a>(User,Chan); +00521 } +00522 +<a name="l00523"></a><a class="code" href="classServer.html#a17">00523</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a17">Server::IsOnChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Chan) +00524 { +00525 <span class="keywordflow">return</span> <a class="code" href="message_8h.html#a16">has_channel</a>(User,Chan); +00526 } +00527 +<a name="l00528"></a><a class="code" href="classServer.html#a18">00528</a> std::string <a class="code" href="classServer.html#a18">Server::GetServerName</a>() +00529 { +00530 <span class="keywordflow">return</span> getservername(); +00531 } +00532 +<a name="l00533"></a><a class="code" href="classServer.html#a19">00533</a> std::string <a class="code" href="classServer.html#a19">Server::GetNetworkName</a>() +00534 { +00535 <span class="keywordflow">return</span> getnetworkname(); +00536 } +00537 +<a name="l00538"></a><a class="code" href="classServer.html#a20">00538</a> <a class="code" href="classAdmin.html">Admin</a> <a class="code" href="classServer.html#a20">Server::GetAdmin</a>() +00539 { +00540 <span class="keywordflow">return</span> <a class="code" href="classAdmin.html">Admin</a>(getadminname(),getadminemail(),getadminnick()); +00541 } 00542 -<a name="l00543"></a><a class="code" href="classServer.html#a21">00543</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a21">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) -00544 { -00545 <span class="keywordflow">if</span> (type == <a class="code" href="modules_8h.html#a7">MT_SERVER</a>) -00546 { -00547 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>); -00548 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00549 } -00550 <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>)) -00551 { -00552 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>); -00553 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00554 } -00555 <span class="keywordflow">if</span> ((params_when_on>1) || (params_when_off>1)) -00556 { -00557 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>); -00558 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00559 } -00560 <span class="keywordflow">return</span> <a class="code" href="modules_8cpp.html#a56">DoAddExtendedMode</a>(modechar,type,requires_oper,params_when_on,params_when_off); -00561 } -00562 -<a name="l00563"></a><a class="code" href="classServer.html#a22">00563</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a22">Server::AddExtendedListMode</a>(<span class="keywordtype">char</span> modechar) -00564 { -00565 <span class="keywordtype">bool</span> res = <a class="code" href="modules_8cpp.html#a56">DoAddExtendedMode</a>(modechar,<a class="code" href="modules_8h.html#a5">MT_CHANNEL</a>,<span class="keyword">false</span>,1,1); -00566 <span class="keywordflow">if</span> (res) -00567 <a class="code" href="modules_8cpp.html#a57">ModeMakeList</a>(modechar); -00568 <span class="keywordflow">return</span> res; -00569 } -00570 -<a name="l00571"></a><a class="code" href="classServer.html#a13">00571</a> <span class="keywordtype">int</span> <a class="code" href="classServer.html#a13">Server::CountUsers</a>(<a class="code" href="classchanrec.html">chanrec</a>* c) -00572 { -00573 <span class="keywordflow">return</span> usercount(c); -00574 } -00575 -00576 -<a name="l00577"></a><a class="code" href="classConfigReader.html#a0">00577</a> <a class="code" href="classConfigReader.html#a0">ConfigReader::ConfigReader</a>() -00578 { -00579 this-><a class="code" href="classConfigReader.html#p0">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); -00580 this-><a class="code" href="classConfigReader.html#p1">errorlog</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); -00581 this-><a class="code" href="classConfigReader.html#p2">readerror</a> = LoadConf(CONFIG_FILE,this->cache,this->errorlog); -00582 <span class="keywordflow">if</span> (!this-><a class="code" href="classConfigReader.html#p2">readerror</a>) -00583 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a25">CONF_FILE_NOT_FOUND</a>; -00584 } -00585 -00586 -<a name="l00587"></a><a class="code" href="classConfigReader.html#a2">00587</a> <a class="code" href="classConfigReader.html#a2">ConfigReader::~ConfigReader</a>() -00588 { -00589 <span class="keywordflow">if</span> (this-><a class="code" href="classConfigReader.html#p0">cache</a>) -00590 <span class="keyword">delete</span> this-><a class="code" href="classConfigReader.html#p0">cache</a>; -00591 <span class="keywordflow">if</span> (this-><a class="code" href="classConfigReader.html#p1">errorlog</a>) -00592 <span class="keyword">delete</span> this-><a class="code" href="classConfigReader.html#p1">errorlog</a>; -00593 } -00594 -00595 -<a name="l00596"></a><a class="code" href="classConfigReader.html#a1">00596</a> <a class="code" href="classConfigReader.html#a0">ConfigReader::ConfigReader</a>(std::string filename) -00597 { -00598 this-><a class="code" href="classConfigReader.html#p0">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); -00599 this-><a class="code" href="classConfigReader.html#p1">errorlog</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); -00600 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>); -00601 <span class="keywordflow">if</span> (!this-><a class="code" href="classConfigReader.html#p2">readerror</a>) -00602 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a25">CONF_FILE_NOT_FOUND</a>; -00603 }; -00604 -<a name="l00605"></a><a class="code" href="classConfigReader.html#a3">00605</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) -00606 { -00607 <span class="keywordtype">char</span> val[MAXBUF]; -00608 <span class="keywordtype">char</span> t[MAXBUF]; -00609 <span class="keywordtype">char</span> n[MAXBUF]; -00610 strlcpy(t,tag.c_str(),MAXBUF); -00611 strlcpy(n,name.c_str(),MAXBUF); -00612 <span class="keywordtype">int</span> res = ReadConf(<a class="code" href="classConfigReader.html#p0">cache</a>,t,n,index,val); -00613 <span class="keywordflow">if</span> (!res) -00614 { -00615 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a24">CONF_VALUE_NOT_FOUND</a>; -00616 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; -00617 } -00618 <span class="keywordflow">return</span> std::string(val); -00619 } -00620 -<a name="l00621"></a><a class="code" href="classConfigReader.html#a4">00621</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) -00622 { -00623 <span class="keywordtype">char</span> val[MAXBUF]; -00624 <span class="keywordtype">char</span> t[MAXBUF]; -00625 <span class="keywordtype">char</span> n[MAXBUF]; -00626 strlcpy(t,tag.c_str(),MAXBUF); -00627 strlcpy(n,name.c_str(),MAXBUF); -00628 <span class="keywordtype">int</span> res = ReadConf(<a class="code" href="classConfigReader.html#p0">cache</a>,t,n,index,val); -00629 <span class="keywordflow">if</span> (!res) -00630 { -00631 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a24">CONF_VALUE_NOT_FOUND</a>; -00632 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00633 } -00634 std::string s = val; -00635 <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>)); -00636 } -00637 -<a name="l00638"></a><a class="code" href="classConfigReader.html#a5">00638</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) -00639 { -00640 <span class="keywordtype">char</span> val[MAXBUF]; -00641 <span class="keywordtype">char</span> t[MAXBUF]; -00642 <span class="keywordtype">char</span> n[MAXBUF]; -00643 strlcpy(t,tag.c_str(),MAXBUF); -00644 strlcpy(n,name.c_str(),MAXBUF); -00645 <span class="keywordtype">int</span> res = ReadConf(<a class="code" href="classConfigReader.html#p0">cache</a>,t,n,index,val); -00646 <span class="keywordflow">if</span> (!res) -00647 { -00648 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a24">CONF_VALUE_NOT_FOUND</a>; -00649 <span class="keywordflow">return</span> 0; -00650 } -00651 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < strlen(val); i++) -00652 { -00653 <span class="keywordflow">if</span> (!isdigit(val[i])) -00654 { -00655 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a22">CONF_NOT_A_NUMBER</a>; -00656 <span class="keywordflow">return</span> 0; -00657 } -00658 } -00659 <span class="keywordflow">if</span> ((needs_unsigned) && (atoi(val)<0)) -00660 { -00661 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a23">CONF_NOT_UNSIGNED</a>; -00662 <span class="keywordflow">return</span> 0; -00663 } -00664 <span class="keywordflow">return</span> atoi(val); -00665 } -00666 -<a name="l00667"></a><a class="code" href="classConfigReader.html#a6">00667</a> <span class="keywordtype">long</span> <a class="code" href="classConfigReader.html#a6">ConfigReader::GetError</a>() -00668 { -00669 <span class="keywordtype">long</span> olderr = this-><a class="code" href="classConfigReader.html#p3">error</a>; -00670 this->error = 0; -00671 <span class="keywordflow">return</span> olderr; -00672 } -00673 -<a name="l00674"></a><a class="code" href="classConfigReader.html#a9">00674</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) -00675 { -00676 <span class="keywordflow">if</span> (bail) -00677 { -00678 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()); -00679 exit(0); -00680 } -00681 <span class="keywordflow">else</span> -00682 { -00683 <span class="keywordtype">char</span> dataline[1024]; -00684 <span class="keywordflow">if</span> (user) -00685 { -00686 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>); -00687 <span class="keywordflow">while</span> (!<a class="code" href="classConfigReader.html#p1">errorlog</a>->eof()) -00688 { -00689 <a class="code" href="classConfigReader.html#p1">errorlog</a>->getline(dataline,1024); -00690 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); -00691 } -00692 } -00693 <span class="keywordflow">else</span> -00694 { -00695 WriteOpers(<span class="stringliteral">"There were errors in the configuration file:"</span>,user-><a class="code" href="classuserrec.html#o0">nick</a>); -00696 <span class="keywordflow">while</span> (!<a class="code" href="classConfigReader.html#p1">errorlog</a>->eof()) -00697 { -00698 <a class="code" href="classConfigReader.html#p1">errorlog</a>->getline(dataline,1024); -00699 WriteOpers(dataline); -00700 } -00701 } -00702 <span class="keywordflow">return</span>; -00703 } -00704 } -00705 -00706 -<a name="l00707"></a><a class="code" href="classConfigReader.html#a7">00707</a> <span class="keywordtype">int</span> <a class="code" href="classConfigReader.html#a7">ConfigReader::Enumerate</a>(std::string tag) -00708 { -00709 <span class="keywordflow">return</span> EnumConf(<a class="code" href="classConfigReader.html#p0">cache</a>,tag.c_str()); -00710 } -00711 -<a name="l00712"></a><a class="code" href="classConfigReader.html#a10">00712</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) -00713 { -00714 <span class="keywordflow">return</span> EnumValues(<a class="code" href="classConfigReader.html#p0">cache</a>, tag.c_str(), index); -00715 } -00716 -<a name="l00717"></a><a class="code" href="classConfigReader.html#a8">00717</a> <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#a8">ConfigReader::Verify</a>() -00718 { -00719 <span class="keywordflow">return</span> this-><a class="code" href="classConfigReader.html#p2">readerror</a>; -00720 } -00721 -00722 -<a name="l00723"></a><a class="code" href="classFileReader.html#a1">00723</a> <a class="code" href="classFileReader.html#a0">FileReader::FileReader</a>(std::string filename) -00724 { -00725 <a class="code" href="modules_8h.html#a26">file_cache</a> c; -00726 readfile(c,filename.c_str()); -00727 this-><a class="code" href="classFileReader.html#r0">fc</a> = c; -00728 } -00729 -<a name="l00730"></a><a class="code" href="classFileReader.html#a0">00730</a> <a class="code" href="classFileReader.html#a0">FileReader::FileReader</a>() -00731 { -00732 } -00733 -<a name="l00734"></a><a class="code" href="classFileReader.html#a3">00734</a> <span class="keywordtype">void</span> <a class="code" href="classFileReader.html#a3">FileReader::LoadFile</a>(std::string filename) -00735 { -00736 <a class="code" href="modules_8h.html#a26">file_cache</a> c; -00737 readfile(c,filename.c_str()); -00738 this-><a class="code" href="classFileReader.html#r0">fc</a> = c; -00739 } -00740 -00741 -<a name="l00742"></a><a class="code" href="classFileReader.html#a2">00742</a> <a class="code" href="classFileReader.html#a2">FileReader::~FileReader</a>() -00743 { -00744 } -00745 -<a name="l00746"></a><a class="code" href="classFileReader.html#a4">00746</a> <span class="keywordtype">bool</span> <a class="code" href="classFileReader.html#a4">FileReader::Exists</a>() -00747 { -00748 <span class="keywordflow">if</span> (<a class="code" href="classFileReader.html#r0">fc</a>.size() == 0) -00749 { -00750 <span class="keywordflow">return</span>(<span class="keyword">false</span>); -00751 } -00752 <span class="keywordflow">else</span> -00753 { -00754 <span class="keywordflow">return</span>(<span class="keyword">true</span>); -00755 } -00756 } -00757 -<a name="l00758"></a><a class="code" href="classFileReader.html#a5">00758</a> std::string <a class="code" href="classFileReader.html#a5">FileReader::GetLine</a>(<span class="keywordtype">int</span> x) -00759 { -00760 <span class="keywordflow">if</span> ((x<0) || (x><a class="code" href="classFileReader.html#r0">fc</a>.size())) -00761 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; -00762 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#r0">fc</a>[x]; -00763 } -00764 -<a name="l00765"></a><a class="code" href="classFileReader.html#a6">00765</a> <span class="keywordtype">int</span> <a class="code" href="classFileReader.html#a6">FileReader::FileSize</a>() -00766 { -00767 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#r0">fc</a>.size(); -00768 } -00769 -00770 -00771 std::vector<Module*> <a class="code" href="modules_8cpp.html#a58">modules</a>(255); -00772 std::vector<ircd_module*> <a class="code" href="modules_8cpp.html#a59">factory</a>(255); -00773 -<a name="l00774"></a><a class="code" href="modules_8cpp.html#a1">00774</a> <span class="keywordtype">int</span> <a class="code" href="modules_8cpp.html#a1">MODCOUNT</a> = -1; +00543 +00544 +<a name="l00545"></a><a class="code" href="classServer.html#a21">00545</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a21">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) +00546 { +00547 <span class="keywordflow">if</span> (type == <a class="code" href="modules_8h.html#a7">MT_SERVER</a>) +00548 { +00549 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>); +00550 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00551 } +00552 <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>)) +00553 { +00554 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>); +00555 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00556 } +00557 <span class="keywordflow">if</span> ((params_when_on>1) || (params_when_off>1)) +00558 { +00559 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>); +00560 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00561 } +00562 <span class="keywordflow">return</span> <a class="code" href="modules_8cpp.html#a57">DoAddExtendedMode</a>(modechar,type,requires_oper,params_when_on,params_when_off); +00563 } +00564 +<a name="l00565"></a><a class="code" href="classServer.html#a22">00565</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a22">Server::AddExtendedListMode</a>(<span class="keywordtype">char</span> modechar) +00566 { +00567 <span class="keywordtype">bool</span> res = <a class="code" href="modules_8cpp.html#a57">DoAddExtendedMode</a>(modechar,<a class="code" href="modules_8h.html#a5">MT_CHANNEL</a>,<span class="keyword">false</span>,1,1); +00568 <span class="keywordflow">if</span> (res) +00569 <a class="code" href="modules_8cpp.html#a58">ModeMakeList</a>(modechar); +00570 <span class="keywordflow">return</span> res; +00571 } +00572 +<a name="l00573"></a><a class="code" href="classServer.html#a13">00573</a> <span class="keywordtype">int</span> <a class="code" href="classServer.html#a13">Server::CountUsers</a>(<a class="code" href="classchanrec.html">chanrec</a>* c) +00574 { +00575 <span class="keywordflow">return</span> usercount(c); +00576 } +00577 +00578 +<a name="l00579"></a><a class="code" href="classConfigReader.html#a0">00579</a> <a class="code" href="classConfigReader.html#a0">ConfigReader::ConfigReader</a>() +00580 { +00581 this-><a class="code" href="classConfigReader.html#p0">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); +00582 this-><a class="code" href="classConfigReader.html#p1">errorlog</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); +00583 this-><a class="code" href="classConfigReader.html#p2">readerror</a> = LoadConf(CONFIG_FILE,this->cache,this->errorlog); +00584 <span class="keywordflow">if</span> (!this-><a class="code" href="classConfigReader.html#p2">readerror</a>) +00585 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a29">CONF_FILE_NOT_FOUND</a>; +00586 } +00587 +00588 +<a name="l00589"></a><a class="code" href="classConfigReader.html#a2">00589</a> <a class="code" href="classConfigReader.html#a2">ConfigReader::~ConfigReader</a>() +00590 { +00591 <span class="keywordflow">if</span> (this-><a class="code" href="classConfigReader.html#p0">cache</a>) +00592 <span class="keyword">delete</span> this-><a class="code" href="classConfigReader.html#p0">cache</a>; +00593 <span class="keywordflow">if</span> (this-><a class="code" href="classConfigReader.html#p1">errorlog</a>) +00594 <span class="keyword">delete</span> this-><a class="code" href="classConfigReader.html#p1">errorlog</a>; +00595 } +00596 +00597 +<a name="l00598"></a><a class="code" href="classConfigReader.html#a1">00598</a> <a class="code" href="classConfigReader.html#a0">ConfigReader::ConfigReader</a>(std::string filename) +00599 { +00600 this-><a class="code" href="classConfigReader.html#p0">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); +00601 this-><a class="code" href="classConfigReader.html#p1">errorlog</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); +00602 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>); +00603 <span class="keywordflow">if</span> (!this-><a class="code" href="classConfigReader.html#p2">readerror</a>) +00604 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a29">CONF_FILE_NOT_FOUND</a>; +00605 }; +00606 +<a name="l00607"></a><a class="code" href="classConfigReader.html#a3">00607</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) +00608 { +00609 <span class="keywordtype">char</span> val[MAXBUF]; +00610 <span class="keywordtype">char</span> t[MAXBUF]; +00611 <span class="keywordtype">char</span> n[MAXBUF]; +00612 strlcpy(t,tag.c_str(),MAXBUF); +00613 strlcpy(n,name.c_str(),MAXBUF); +00614 <span class="keywordtype">int</span> res = ReadConf(<a class="code" href="classConfigReader.html#p0">cache</a>,t,n,index,val); +00615 <span class="keywordflow">if</span> (!res) +00616 { +00617 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a28">CONF_VALUE_NOT_FOUND</a>; +00618 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; +00619 } +00620 <span class="keywordflow">return</span> std::string(val); +00621 } +00622 +<a name="l00623"></a><a class="code" href="classConfigReader.html#a4">00623</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) +00624 { +00625 <span class="keywordtype">char</span> val[MAXBUF]; +00626 <span class="keywordtype">char</span> t[MAXBUF]; +00627 <span class="keywordtype">char</span> n[MAXBUF]; +00628 strlcpy(t,tag.c_str(),MAXBUF); +00629 strlcpy(n,name.c_str(),MAXBUF); +00630 <span class="keywordtype">int</span> res = ReadConf(<a class="code" href="classConfigReader.html#p0">cache</a>,t,n,index,val); +00631 <span class="keywordflow">if</span> (!res) +00632 { +00633 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a28">CONF_VALUE_NOT_FOUND</a>; +00634 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00635 } +00636 std::string s = val; +00637 <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>)); +00638 } +00639 +<a name="l00640"></a><a class="code" href="classConfigReader.html#a5">00640</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) +00641 { +00642 <span class="keywordtype">char</span> val[MAXBUF]; +00643 <span class="keywordtype">char</span> t[MAXBUF]; +00644 <span class="keywordtype">char</span> n[MAXBUF]; +00645 strlcpy(t,tag.c_str(),MAXBUF); +00646 strlcpy(n,name.c_str(),MAXBUF); +00647 <span class="keywordtype">int</span> res = ReadConf(<a class="code" href="classConfigReader.html#p0">cache</a>,t,n,index,val); +00648 <span class="keywordflow">if</span> (!res) +00649 { +00650 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a28">CONF_VALUE_NOT_FOUND</a>; +00651 <span class="keywordflow">return</span> 0; +00652 } +00653 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < strlen(val); i++) +00654 { +00655 <span class="keywordflow">if</span> (!isdigit(val[i])) +00656 { +00657 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a26">CONF_NOT_A_NUMBER</a>; +00658 <span class="keywordflow">return</span> 0; +00659 } +00660 } +00661 <span class="keywordflow">if</span> ((needs_unsigned) && (atoi(val)<0)) +00662 { +00663 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a27">CONF_NOT_UNSIGNED</a>; +00664 <span class="keywordflow">return</span> 0; +00665 } +00666 <span class="keywordflow">return</span> atoi(val); +00667 } +00668 +<a name="l00669"></a><a class="code" href="classConfigReader.html#a6">00669</a> <span class="keywordtype">long</span> <a class="code" href="classConfigReader.html#a6">ConfigReader::GetError</a>() +00670 { +00671 <span class="keywordtype">long</span> olderr = this-><a class="code" href="classConfigReader.html#p3">error</a>; +00672 this->error = 0; +00673 <span class="keywordflow">return</span> olderr; +00674 } +00675 +<a name="l00676"></a><a class="code" href="classConfigReader.html#a9">00676</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) +00677 { +00678 <span class="keywordflow">if</span> (bail) +00679 { +00680 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()); +00681 exit(0); +00682 } +00683 <span class="keywordflow">else</span> +00684 { +00685 <span class="keywordtype">char</span> dataline[1024]; +00686 <span class="keywordflow">if</span> (user) +00687 { +00688 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>); +00689 <span class="keywordflow">while</span> (!<a class="code" href="classConfigReader.html#p1">errorlog</a>->eof()) +00690 { +00691 <a class="code" href="classConfigReader.html#p1">errorlog</a>->getline(dataline,1024); +00692 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); +00693 } +00694 } +00695 <span class="keywordflow">else</span> +00696 { +00697 WriteOpers(<span class="stringliteral">"There were errors in the configuration file:"</span>,user-><a class="code" href="classuserrec.html#o0">nick</a>); +00698 <span class="keywordflow">while</span> (!<a class="code" href="classConfigReader.html#p1">errorlog</a>->eof()) +00699 { +00700 <a class="code" href="classConfigReader.html#p1">errorlog</a>->getline(dataline,1024); +00701 WriteOpers(dataline); +00702 } +00703 } +00704 <span class="keywordflow">return</span>; +00705 } +00706 } +00707 +00708 +<a name="l00709"></a><a class="code" href="classConfigReader.html#a7">00709</a> <span class="keywordtype">int</span> <a class="code" href="classConfigReader.html#a7">ConfigReader::Enumerate</a>(std::string tag) +00710 { +00711 <span class="keywordflow">return</span> EnumConf(<a class="code" href="classConfigReader.html#p0">cache</a>,tag.c_str()); +00712 } +00713 +<a name="l00714"></a><a class="code" href="classConfigReader.html#a10">00714</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) +00715 { +00716 <span class="keywordflow">return</span> EnumValues(<a class="code" href="classConfigReader.html#p0">cache</a>, tag.c_str(), index); +00717 } +00718 +<a name="l00719"></a><a class="code" href="classConfigReader.html#a8">00719</a> <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#a8">ConfigReader::Verify</a>() +00720 { +00721 <span class="keywordflow">return</span> this-><a class="code" href="classConfigReader.html#p2">readerror</a>; +00722 } +00723 +00724 +<a name="l00725"></a><a class="code" href="classFileReader.html#a1">00725</a> <a class="code" href="classFileReader.html#a0">FileReader::FileReader</a>(std::string filename) +00726 { +00727 <a class="code" href="modules_8h.html#a30">file_cache</a> c; +00728 readfile(c,filename.c_str()); +00729 this-><a class="code" href="classFileReader.html#r0">fc</a> = c; +00730 } +00731 +<a name="l00732"></a><a class="code" href="classFileReader.html#a0">00732</a> <a class="code" href="classFileReader.html#a0">FileReader::FileReader</a>() +00733 { +00734 } +00735 +<a name="l00736"></a><a class="code" href="classFileReader.html#a3">00736</a> <span class="keywordtype">void</span> <a class="code" href="classFileReader.html#a3">FileReader::LoadFile</a>(std::string filename) +00737 { +00738 <a class="code" href="modules_8h.html#a30">file_cache</a> c; +00739 readfile(c,filename.c_str()); +00740 this-><a class="code" href="classFileReader.html#r0">fc</a> = c; +00741 } +00742 +00743 +<a name="l00744"></a><a class="code" href="classFileReader.html#a2">00744</a> <a class="code" href="classFileReader.html#a2">FileReader::~FileReader</a>() +00745 { +00746 } +00747 +<a name="l00748"></a><a class="code" href="classFileReader.html#a4">00748</a> <span class="keywordtype">bool</span> <a class="code" href="classFileReader.html#a4">FileReader::Exists</a>() +00749 { +00750 <span class="keywordflow">if</span> (<a class="code" href="classFileReader.html#r0">fc</a>.size() == 0) +00751 { +00752 <span class="keywordflow">return</span>(<span class="keyword">false</span>); +00753 } +00754 <span class="keywordflow">else</span> +00755 { +00756 <span class="keywordflow">return</span>(<span class="keyword">true</span>); +00757 } +00758 } +00759 +<a name="l00760"></a><a class="code" href="classFileReader.html#a5">00760</a> std::string <a class="code" href="classFileReader.html#a5">FileReader::GetLine</a>(<span class="keywordtype">int</span> x) +00761 { +00762 <span class="keywordflow">if</span> ((x<0) || (x><a class="code" href="classFileReader.html#r0">fc</a>.size())) +00763 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; +00764 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#r0">fc</a>[x]; +00765 } +00766 +<a name="l00767"></a><a class="code" href="classFileReader.html#a6">00767</a> <span class="keywordtype">int</span> <a class="code" href="classFileReader.html#a6">FileReader::FileSize</a>() +00768 { +00769 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#r0">fc</a>.size(); +00770 } +00771 +00772 +00773 std::vector<Module*> <a class="code" href="modules_8cpp.html#a59">modules</a>(255); +00774 std::vector<ircd_module*> <a class="code" href="modules_8cpp.html#a60">factory</a>(255); 00775 -00776 -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Apr 4 18:12:48 2005 for InspIRCd by +<a name="l00776"></a><a class="code" href="modules_8cpp.html#a1">00776</a> <span class="keywordtype">int</span> <a class="code" href="modules_8cpp.html#a1">MODCOUNT</a> = -1; +00777 +00778 +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:21 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 1d49c4368..1874e8024 100644 --- a/docs/module-doc/modules_8cpp.html +++ b/docs/module-doc/modules_8cpp.html @@ -57,129 +57,131 @@ <tr><td colspan=2><br><h2>Typedefs</h2></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>typedef nspace::hash_map<<br> std::string, <a class="el" href="classuserrec.html">userrec</a> *, nspace::hash<<br> - string >, <a class="el" href="structStrHashComp.html">StrHashComp</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a37">user_hash</a></td></tr> + string >, <a class="el" href="structStrHashComp.html">StrHashComp</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a38">user_hash</a></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>typedef nspace::hash_map<<br> std::string, <a class="el" href="classchanrec.html">chanrec</a> *, nspace::hash<<br> - string >, <a class="el" href="structStrHashComp.html">StrHashComp</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a38">chan_hash</a></td></tr> + string >, <a class="el" href="structStrHashComp.html">StrHashComp</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a39">chan_hash</a></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>typedef nspace::hash_map<<br> 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#a39">address_cache</a></td></tr> + 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#a40">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#a40">command_table</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#a41">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#a48">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#a49">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#a49">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#a50">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#a51">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#a52">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#a52">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#a53">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#a53">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#a54">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#a54">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#a55">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#a55">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#a56">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#a56">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#a57">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#a57">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#a58">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#a58">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#a59">modules</a> (255)</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< <a class="el" href="modules_8h.html#a29">ircd_module</a> * > </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a59">factory</a> (255)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< <a class="el" href="modules_8h.html#a33">ircd_module</a> * > </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a60">factory</a> (255)</td></tr> <tr><td colspan=2><br><h2>Variables</h2></td></tr> <tr><td 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> <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#a2">modules</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< <a class="el" href="modules_8h.html#a29">ircd_module</a> * > </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a3">factory</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< <a class="el" href="modules_8h.html#a33">ircd_module</a> * > </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a3">factory</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a4">LogLevel</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>time_t </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a4">TIME</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a5">ServerName</a> [MAXBUF]</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#a5">LogLevel</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a6">Network</a> [MAXBUF]</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a6">ServerName</a> [MAXBUF]</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a7">ServerDesc</a> [MAXBUF]</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a7">Network</a> [MAXBUF]</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a8">AdminName</a> [MAXBUF]</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a8">ServerDesc</a> [MAXBUF]</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a9">AdminEmail</a> [MAXBUF]</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a9">AdminName</a> [MAXBUF]</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a10">AdminNick</a> [MAXBUF]</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a10">AdminEmail</a> [MAXBUF]</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a11">diepass</a> [MAXBUF]</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a11">AdminNick</a> [MAXBUF]</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a12">restartpass</a> [MAXBUF]</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a12">diepass</a> [MAXBUF]</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a13">motd</a> [MAXBUF]</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a13">restartpass</a> [MAXBUF]</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a14">rules</a> [MAXBUF]</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a14">motd</a> [MAXBUF]</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a15">list</a> [MAXBUF]</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a15">rules</a> [MAXBUF]</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a16">PrefixQuit</a> [MAXBUF]</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a16">list</a> [MAXBUF]</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a17">DieValue</a> [MAXBUF]</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a17">PrefixQuit</a> [MAXBUF]</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#a18">debugging</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a18">DieValue</a> [MAXBUF]</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#a19">WHOWAS_STALE</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a19">debugging</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a20">WHOWAS_MAX</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a20">WHOWAS_STALE</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a21">DieDelay</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a21">WHOWAS_MAX</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>time_t </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a22">startup_time</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a22">DieDelay</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a23">NetBufferSize</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>time_t </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a23">startup_time</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a24">MaxWhoResults</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a24">NetBufferSize</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>time_t </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a25">nb_start</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a25">MaxWhoResults</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< int > </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a26">fd_reap</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>time_t </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a26">nb_start</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< std::string > </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a27">module_names</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< int > </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a27">fd_reap</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a28">boundPortCount</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< std::string > </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a28">module_names</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a29">portCount</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a29">boundPortCount</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a30">UDPportCount</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a30">portCount</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a31">ports</a> [MAXSOCKS]</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#a31">UDPportCount</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a32">defaultRoute</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a32">ports</a> [MAXSOCKS]</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< long > </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a33">auth_cookies</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a33">defaultRoute</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>std::stringstream </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a34">config_f</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< long > </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a34">auth_cookies</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classserverrec.html">serverrec</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a35">me</a> [32]</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>std::stringstream </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a35">config_f</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>FILE * </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a36">log_file</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classserverrec.html">serverrec</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a36">me</a> [32]</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="modules_8cpp.html#a37">user_hash</a> </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a41">clientlist</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>FILE * </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a37">log_file</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="modules_8cpp.html#a38">chan_hash</a> </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a42">chanlist</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="modules_8cpp.html#a38">user_hash</a> </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a42">clientlist</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="modules_8cpp.html#a37">user_hash</a> </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a43">whowas</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="modules_8cpp.html#a39">chan_hash</a> </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a43">chanlist</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="modules_8cpp.html#a40">command_table</a> </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a44">cmdlist</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="modules_8cpp.html#a38">user_hash</a> </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a44">whowas</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="modules_8h.html#a26">file_cache</a> </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a45">MOTD</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="modules_8cpp.html#a41">command_table</a> </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a45">cmdlist</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="modules_8h.html#a26">file_cache</a> </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a46">RULES</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="modules_8h.html#a30">file_cache</a> </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a46">MOTD</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="modules_8cpp.html#a39">address_cache</a> </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a47">IP</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="modules_8h.html#a30">file_cache</a> </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a47">RULES</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="modules_8cpp.html#a48">ExtModeList</a> </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a50">EMode</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="modules_8cpp.html#a40">address_cache</a> </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a48">IP</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="modules_8cpp.html#a49">ExtModeList</a> </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a51">EMode</a></td></tr> </table> <hr><h2>Define Documentation</h2> @@ -208,13 +210,13 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00059">59</a> o </tr> </table> <hr><h2>Typedef Documentation</h2> -<a name="a39" doxytag="modules.cpp::address_cache"></a><p> +<a name="a40" doxytag="modules.cpp::address_cache"></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<in_addr,string*, nspace::hash<in_addr>, <a class="el" href="structInAddr__HashComp.html">InAddr_HashComp</a>> <a class="el" href="modules_8cpp.html#a39">address_cache</a> + <td class="md" nowrap valign="top"> typedef nspace::hash_map<in_addr,string*, nspace::hash<in_addr>, <a class="el" href="structInAddr__HashComp.html">InAddr_HashComp</a>> <a class="el" href="modules_8cpp.html#a40">address_cache</a> </table> </td> </tr> @@ -229,16 +231,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00059">59</a> o <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00173">173</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#l00175">175</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a38" doxytag="modules.cpp::chan_hash"></a><p> +<a name="a39" doxytag="modules.cpp::chan_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="classchanrec.html">chanrec</a>*, nspace::hash<string>, <a class="el" href="structStrHashComp.html">StrHashComp</a>> <a class="el" href="modules_8cpp.html#a38">chan_hash</a> + <td class="md" nowrap valign="top"> typedef nspace::hash_map<std::string, <a class="el" href="classchanrec.html">chanrec</a>*, nspace::hash<string>, <a class="el" href="structStrHashComp.html">StrHashComp</a>> <a class="el" href="modules_8cpp.html#a39">chan_hash</a> </table> </td> </tr> @@ -253,16 +255,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00173">173</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00172">172</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#l00174">174</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a40" doxytag="modules.cpp::command_table"></a><p> +<a name="a41" 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#a40">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#a41">command_table</a> </table> </td> </tr> @@ -277,16 +279,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00172">172</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00174">174</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00176">176</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a48" doxytag="modules.cpp::ExtModeList"></a><p> +<a name="a49" 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#a48">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#a49">ExtModeList</a> </table> </td> </tr> @@ -301,16 +303,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00174">174</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00200">200</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#l00202">202</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a49" doxytag="modules.cpp::ExtModeListIter"></a><p> +<a name="a50" 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#a49">ExtModeListIter</a> + <td class="md" nowrap valign="top"> typedef ExtModeList::iterator <a class="el" href="modules_8cpp.html#a50">ExtModeListIter</a> </table> </td> </tr> @@ -325,18 +327,18 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00200">200</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00201">201</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00203">203</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00207">ModeDefined()</a>, <a class="el" href="modules_8cpp-source.html#l00260">ModeDefinedOff()</a>, <a class="el" href="modules_8cpp-source.html#l00247">ModeDefinedOn()</a>, <a class="el" href="modules_8cpp-source.html#l00233">ModeDefinedOper()</a>, <a class="el" href="modules_8cpp-source.html#l00220">ModeIsListMode()</a>, and <a class="el" href="modules_8cpp-source.html#l00283">ModeMakeList()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00209">ModeDefined()</a>, <a class="el" href="modules_8cpp-source.html#l00262">ModeDefinedOff()</a>, <a class="el" href="modules_8cpp-source.html#l00249">ModeDefinedOn()</a>, <a class="el" href="modules_8cpp-source.html#l00235">ModeDefinedOper()</a>, <a class="el" href="modules_8cpp-source.html#l00222">ModeIsListMode()</a>, and <a class="el" href="modules_8cpp-source.html#l00285">ModeMakeList()</a>. </td> </tr> </table> -<a name="a37" doxytag="modules.cpp::user_hash"></a><p> +<a name="a38" doxytag="modules.cpp::user_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="classuserrec.html">userrec</a>*, nspace::hash<string>, <a class="el" href="structStrHashComp.html">StrHashComp</a>> <a class="el" href="modules_8cpp.html#a37">user_hash</a> + <td class="md" nowrap valign="top"> typedef nspace::hash_map<std::string, <a class="el" href="classuserrec.html">userrec</a>*, nspace::hash<string>, <a class="el" href="structStrHashComp.html">StrHashComp</a>> <a class="el" href="modules_8cpp.html#a38">user_hash</a> </table> </td> </tr> @@ -351,11 +353,11 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00207">ModeDefined() <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00171">171</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#l00173">173</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> <hr><h2>Function Documentation</h2> -<a name="a56" doxytag="modules.cpp::DoAddExtendedMode"></a><p> +<a name="a57" doxytag="modules.cpp::DoAddExtendedMode"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -410,29 +412,29 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00171">171</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00273">273</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00275">275</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8cpp-source.html#l00204">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00207">ModeDefined()</a>. +References <a class="el" href="modules_8cpp-source.html#l00206">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00209">ModeDefined()</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00563">Server::AddExtendedListMode()</a>, and <a class="el" href="modules_8cpp-source.html#l00543">Server::AddExtendedMode()</a>. +Referenced by <a class="el" href="modules_8cpp-source.html#l00565">Server::AddExtendedListMode()</a>, and <a class="el" href="modules_8cpp-source.html#l00545">Server::AddExtendedMode()</a>. <p> -<div class="fragment"><pre>00274 { -00275 <span class="keywordflow">if</span> (<a class="code" href="modules_8cpp.html#a51">ModeDefined</a>(modechar,type)) { -00276 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00277 } -00278 <a class="code" href="modules_8cpp.html#a50">EMode</a>.push_back(<a class="code" href="classExtMode.html">ExtMode</a>(modechar,type,requires_oper,params_on,params_off)); -00279 <span class="keywordflow">return</span> <span class="keyword">true</span>; -00280 } +<div class="fragment"><pre>00276 { +00277 <span class="keywordflow">if</span> (<a class="code" href="modules_8cpp.html#a52">ModeDefined</a>(modechar,type)) { +00278 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00279 } +00280 <a class="code" href="modules_8cpp.html#a51">EMode</a>.push_back(<a class="code" href="classExtMode.html">ExtMode</a>(modechar,type,requires_oper,params_on,params_off)); +00281 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00282 } </pre></div> </td> </tr> </table> -<a name="a59" doxytag="modules.cpp::factory"></a><p> +<a name="a60" doxytag="modules.cpp::factory"></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="modules_8h.html#a29">ircd_module</a>*> factory </td> + <td class="md" nowrap valign="top"> std::vector<<a class="el" href="modules_8h.html#a33">ircd_module</a>*> factory </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">255 </td> <td class="mdname1" valign="top" nowrap> </td> @@ -455,7 +457,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00563">Server::AddEx </td> </tr> </table> -<a name="a51" doxytag="modules.cpp::ModeDefined"></a><p> +<a name="a52" doxytag="modules.cpp::ModeDefined"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -492,27 +494,27 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00563">Server::AddEx <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#l00209">209</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#l00204">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00201">ExtModeListIter</a>. +References <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, <a class="el" href="modules_8cpp-source.html#l00206">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00203">ExtModeListIter</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00273">DoAddExtendedMode()</a>. +Referenced by <a class="el" href="modules_8cpp-source.html#l00275">DoAddExtendedMode()</a>. <p> -<div class="fragment"><pre>00208 { -00209 log(DEBUG,<span class="stringliteral">"Size of extmodes vector is %d"</span>,<a class="code" href="modules_8cpp.html#a50">EMode</a>.size()); -00210 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a49">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a50">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a50">EMode</a>.end(); i++) -00211 { -00212 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) -00213 { -00214 <span class="keywordflow">return</span> <span class="keyword">true</span>; -00215 } -00216 } -00217 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00218 } +<div class="fragment"><pre>00210 { +00211 log(DEBUG,<span class="stringliteral">"Size of extmodes vector is %d"</span>,<a class="code" href="modules_8cpp.html#a51">EMode</a>.size()); +00212 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a50">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a51">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a51">EMode</a>.end(); i++) +00213 { +00214 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) +00215 { +00216 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00217 } +00218 } +00219 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00220 } </pre></div> </td> </tr> </table> -<a name="a55" doxytag="modules.cpp::ModeDefinedOff"></a><p> +<a name="a56" doxytag="modules.cpp::ModeDefinedOff"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -549,24 +551,24 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00273">DoAddExtended <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00260">260</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00262">262</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8cpp-source.html#l00204">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00201">ExtModeListIter</a>. +References <a class="el" href="modules_8cpp-source.html#l00206">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00203">ExtModeListIter</a>. <p> -<div class="fragment"><pre>00261 { -00262 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a49">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a50">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a50">EMode</a>.end(); i++) -00263 { -00264 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) -00265 { -00266 <span class="keywordflow">return</span> i->params_when_off; -00267 } -00268 } -00269 <span class="keywordflow">return</span> 0; -00270 } +<div class="fragment"><pre>00263 { +00264 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a50">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a51">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a51">EMode</a>.end(); i++) +00265 { +00266 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) +00267 { +00268 <span class="keywordflow">return</span> i->params_when_off; +00269 } +00270 } +00271 <span class="keywordflow">return</span> 0; +00272 } </pre></div> </td> </tr> </table> -<a name="a54" doxytag="modules.cpp::ModeDefinedOn"></a><p> +<a name="a55" doxytag="modules.cpp::ModeDefinedOn"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -603,24 +605,24 @@ References <a class="el" href="modules_8cpp-source.html#l00204">EMode</a>, and < <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00247">247</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00249">249</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8cpp-source.html#l00204">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00201">ExtModeListIter</a>. +References <a class="el" href="modules_8cpp-source.html#l00206">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00203">ExtModeListIter</a>. <p> -<div class="fragment"><pre>00248 { -00249 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a49">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a50">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a50">EMode</a>.end(); i++) -00250 { -00251 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) -00252 { -00253 <span class="keywordflow">return</span> i->params_when_on; -00254 } -00255 } -00256 <span class="keywordflow">return</span> 0; -00257 } +<div class="fragment"><pre>00250 { +00251 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a50">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a51">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a51">EMode</a>.end(); i++) +00252 { +00253 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) +00254 { +00255 <span class="keywordflow">return</span> i->params_when_on; +00256 } +00257 } +00258 <span class="keywordflow">return</span> 0; +00259 } </pre></div> </td> </tr> </table> -<a name="a53" doxytag="modules.cpp::ModeDefinedOper"></a><p> +<a name="a54" doxytag="modules.cpp::ModeDefinedOper"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -657,25 +659,25 @@ References <a class="el" href="modules_8cpp-source.html#l00204">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#l00235">235</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#l00204">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00201">ExtModeListIter</a>. +References <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, <a class="el" href="modules_8cpp-source.html#l00206">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00203">ExtModeListIter</a>. <p> -<div class="fragment"><pre>00234 { -00235 log(DEBUG,<span class="stringliteral">"Size of extmodes vector is %d"</span>,<a class="code" href="modules_8cpp.html#a50">EMode</a>.size()); -00236 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a49">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a50">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a50">EMode</a>.end(); i++) -00237 { -00238 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type) && (i->needsoper == <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 } +<div class="fragment"><pre>00236 { +00237 log(DEBUG,<span class="stringliteral">"Size of extmodes vector is %d"</span>,<a class="code" href="modules_8cpp.html#a51">EMode</a>.size()); +00238 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a50">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a51">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a51">EMode</a>.end(); i++) +00239 { +00240 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type) && (i->needsoper == <span class="keyword">true</span>)) +00241 { +00242 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00243 } +00244 } +00245 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00246 } </pre></div> </td> </tr> </table> -<a name="a52" doxytag="modules.cpp::ModeIsListMode"></a><p> +<a name="a53" doxytag="modules.cpp::ModeIsListMode"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -712,25 +714,25 @@ References <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, <a clas <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00220">220</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00222">222</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#l00204">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00201">ExtModeListIter</a>. +References <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, <a class="el" href="modules_8cpp-source.html#l00206">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00203">ExtModeListIter</a>. <p> -<div class="fragment"><pre>00221 { -00222 log(DEBUG,<span class="stringliteral">"Size of extmodes vector is %d"</span>,<a class="code" href="modules_8cpp.html#a50">EMode</a>.size()); -00223 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a49">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a50">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a50">EMode</a>.end(); i++) -00224 { -00225 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type) && (i->list == <span class="keyword">true</span>)) -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 log(DEBUG,<span class="stringliteral">"Size of extmodes vector is %d"</span>,<a class="code" href="modules_8cpp.html#a51">EMode</a>.size()); +00225 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a50">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a51">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a51">EMode</a>.end(); i++) +00226 { +00227 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type) && (i->list == <span class="keyword">true</span>)) +00228 { +00229 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00230 } +00231 } +00232 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00233 } </pre></div> </td> </tr> </table> -<a name="a57" doxytag="modules.cpp::ModeMakeList"></a><p> +<a name="a58" doxytag="modules.cpp::ModeMakeList"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -758,27 +760,27 @@ References <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, <a clas <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00283">283</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#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#l00204">EMode</a>, <a class="el" href="modules_8cpp-source.html#l00201">ExtModeListIter</a>, and <a class="el" href="modules_8h-source.html#l00031">MT_CHANNEL</a>. +References <a class="el" href="modules_8cpp-source.html#l00206">EMode</a>, <a class="el" href="modules_8cpp-source.html#l00203">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#l00563">Server::AddExtendedListMode()</a>. +Referenced by <a class="el" href="modules_8cpp-source.html#l00565">Server::AddExtendedListMode()</a>. <p> -<div class="fragment"><pre>00284 { -00285 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a49">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a50">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a50">EMode</a>.end(); i++) -00286 { -00287 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == <a class="code" href="modules_8h.html#a5">MT_CHANNEL</a>)) -00288 { -00289 i->list = <span class="keyword">true</span>; -00290 <span class="keywordflow">return</span>; -00291 } -00292 } -00293 <span class="keywordflow">return</span>; -00294 } +<div class="fragment"><pre>00286 { +00287 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a50">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a51">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a51">EMode</a>.end(); i++) +00288 { +00289 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == <a class="code" href="modules_8h.html#a5">MT_CHANNEL</a>)) +00290 { +00291 i->list = <span class="keyword">true</span>; +00292 <span class="keywordflow">return</span>; +00293 } +00294 } +00295 <span class="keywordflow">return</span>; +00296 } </pre></div> </td> </tr> </table> -<a name="a58" doxytag="modules.cpp::modules"></a><p> +<a name="a59" doxytag="modules.cpp::modules"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -808,13 +810,13 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00563">Server::AddEx </tr> </table> <hr><h2>Variable Documentation</h2> -<a name="a9" doxytag="modules.cpp::AdminEmail"></a><p> +<a name="a10" doxytag="modules.cpp::AdminEmail"></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="modules_8cpp.html#a9">AdminEmail</a>[MAXBUF] + <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a10">AdminEmail</a>[MAXBUF] </table> </td> </tr> @@ -829,16 +831,16 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00563">Server::AddEx <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00073">73</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00075">75</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a8" doxytag="modules.cpp::AdminName"></a><p> +<a name="a9" doxytag="modules.cpp::AdminName"></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="modules_8cpp.html#a8">AdminName</a>[MAXBUF] + <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a9">AdminName</a>[MAXBUF] </table> </td> </tr> @@ -853,16 +855,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00073">73</a> o <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00072">72</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#l00074">74</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a10" doxytag="modules.cpp::AdminNick"></a><p> +<a name="a11" doxytag="modules.cpp::AdminNick"></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="modules_8cpp.html#a10">AdminNick</a>[MAXBUF] + <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a11">AdminNick</a>[MAXBUF] </table> </td> </tr> @@ -877,16 +879,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00072">72</a> o <p> <p> -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> +Definition at line <a class="el" href="modules_8cpp-source.html#l00076">76</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a33" doxytag="modules.cpp::auth_cookies"></a><p> +<a name="a34" doxytag="modules.cpp::auth_cookies"></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<long> <a class="el" href="modules_8cpp.html#a33">auth_cookies</a> + <td class="md" nowrap valign="top"> std::vector<long> <a class="el" href="modules_8cpp.html#a34">auth_cookies</a> </table> </td> </tr> @@ -901,16 +903,16 @@ 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#l00101">101</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#l00103">103</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a28" doxytag="modules.cpp::boundPortCount"></a><p> +<a name="a29" doxytag="modules.cpp::boundPortCount"></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="modules_8cpp.html#a28">boundPortCount</a> + <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a29">boundPortCount</a> </table> </td> </tr> @@ -925,16 +927,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00101">101</a> <p> <p> -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> +Definition at line <a class="el" href="modules_8cpp-source.html#l00097">97</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a42" doxytag="modules.cpp::chanlist"></a><p> +<a name="a43" 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#a38">chan_hash</a> <a class="el" href="modules_8cpp.html#a42">chanlist</a> + <td class="md" nowrap valign="top"> <a class="el" href="modules_8cpp.html#a39">chan_hash</a> <a class="el" href="modules_8cpp.html#a43">chanlist</a> </table> </td> </tr> @@ -949,16 +951,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00095">95</a> o <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00178">178</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00180">180</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a41" doxytag="modules.cpp::clientlist"></a><p> +<a name="a42" 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#a37">user_hash</a> <a class="el" href="modules_8cpp.html#a41">clientlist</a> + <td class="md" nowrap valign="top"> <a class="el" href="modules_8cpp.html#a38">user_hash</a> <a class="el" href="modules_8cpp.html#a42">clientlist</a> </table> </td> </tr> @@ -973,18 +975,18 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00178">178</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00177">177</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00179">179</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#l00373">Server::GetUsers()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00375">Server::GetUsers()</a>. </td> </tr> </table> -<a name="a44" doxytag="modules.cpp::cmdlist"></a><p> +<a name="a45" 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#a40">command_table</a> <a class="el" href="modules_8cpp.html#a44">cmdlist</a> + <td class="md" nowrap valign="top"> <a class="el" href="modules_8cpp.html#a41">command_table</a> <a class="el" href="modules_8cpp.html#a45">cmdlist</a> </table> </td> </tr> @@ -999,10 +1001,10 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00373">Server::GetUs <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00180">180</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00182">182</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a34" doxytag="modules.cpp::config_f"></a><p> +<a name="a35" doxytag="modules.cpp::config_f"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -1023,16 +1025,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00180">180</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00102">102</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#l00104">104</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a18" doxytag="modules.cpp::debugging"></a><p> +<a name="a19" doxytag="modules.cpp::debugging"></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="modules_8cpp.html#a18">debugging</a> + <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a19">debugging</a> </table> </td> </tr> @@ -1047,16 +1049,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00102">102</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00083">83</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#l00085">85</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a32" doxytag="modules.cpp::defaultRoute"></a><p> +<a name="a33" doxytag="modules.cpp::defaultRoute"></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="modules_8cpp.html#a32">defaultRoute</a> + <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a33">defaultRoute</a> </table> </td> </tr> @@ -1071,16 +1073,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00083">83</a> o <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00099">99</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00101">101</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a21" doxytag="modules.cpp::DieDelay"></a><p> +<a name="a22" doxytag="modules.cpp::DieDelay"></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="modules_8cpp.html#a21">DieDelay</a> + <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a22">DieDelay</a> </table> </td> </tr> @@ -1095,16 +1097,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00099">99</a> o <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00086">86</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00088">88</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a11" doxytag="modules.cpp::diepass"></a><p> +<a name="a12" doxytag="modules.cpp::diepass"></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="modules_8cpp.html#a11">diepass</a>[MAXBUF] + <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a12">diepass</a>[MAXBUF] </table> </td> </tr> @@ -1119,16 +1121,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00086">86</a> o <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00075">75</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#l00077">77</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a17" doxytag="modules.cpp::DieValue"></a><p> +<a name="a18" doxytag="modules.cpp::DieValue"></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="modules_8cpp.html#a17">DieValue</a>[MAXBUF] + <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a18">DieValue</a>[MAXBUF] </table> </td> </tr> @@ -1143,16 +1145,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00075">75</a> o <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00081">81</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00083">83</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a50" doxytag="modules.cpp::EMode"></a><p> +<a name="a51" 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#a48">ExtModeList</a> <a class="el" href="modules_8cpp.html#a50">EMode</a> + <td class="md" nowrap valign="top"> <a class="el" href="modules_8cpp.html#a49">ExtModeList</a> <a class="el" href="modules_8cpp.html#a51">EMode</a> </table> </td> </tr> @@ -1167,9 +1169,9 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00081">81</a> o <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00204">204</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#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#l00273">DoAddExtendedMode()</a>, <a class="el" href="modules_8cpp-source.html#l00207">ModeDefined()</a>, <a class="el" href="modules_8cpp-source.html#l00260">ModeDefinedOff()</a>, <a class="el" href="modules_8cpp-source.html#l00247">ModeDefinedOn()</a>, <a class="el" href="modules_8cpp-source.html#l00233">ModeDefinedOper()</a>, <a class="el" href="modules_8cpp-source.html#l00220">ModeIsListMode()</a>, and <a class="el" href="modules_8cpp-source.html#l00283">ModeMakeList()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00275">DoAddExtendedMode()</a>, <a class="el" href="modules_8cpp-source.html#l00209">ModeDefined()</a>, <a class="el" href="modules_8cpp-source.html#l00262">ModeDefinedOff()</a>, <a class="el" href="modules_8cpp-source.html#l00249">ModeDefinedOn()</a>, <a class="el" href="modules_8cpp-source.html#l00235">ModeDefinedOper()</a>, <a class="el" href="modules_8cpp-source.html#l00222">ModeIsListMode()</a>, and <a class="el" href="modules_8cpp-source.html#l00285">ModeMakeList()</a>. </td> </tr> </table> <a name="a3" doxytag="modules.cpp::factory"></a><p> @@ -1178,7 +1180,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00273">DoAddExtended <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> std::vector<<a class="el" href="modules_8h.html#a29">ircd_module</a>*> factory + <td class="md" nowrap valign="top"> std::vector<<a class="el" href="modules_8h.html#a33">ircd_module</a>*> factory </table> </td> </tr> @@ -1196,13 +1198,13 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00273">DoAddExtended Definition at line <a class="el" href="modules_8cpp-source.html#l00066">66</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a26" doxytag="modules.cpp::fd_reap"></a><p> +<a name="a27" doxytag="modules.cpp::fd_reap"></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<int> <a class="el" href="modules_8cpp.html#a26">fd_reap</a> + <td class="md" nowrap valign="top"> std::vector<int> <a class="el" href="modules_8cpp.html#a27">fd_reap</a> </table> </td> </tr> @@ -1217,16 +1219,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00066">66</a> o <p> <p> -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> +Definition at line <a class="el" href="modules_8cpp-source.html#l00094">94</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a47" doxytag="modules.cpp::IP"></a><p> +<a name="a48" 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#a39">address_cache</a> <a class="el" href="modules_8cpp.html#a47">IP</a> + <td class="md" nowrap valign="top"> <a class="el" href="modules_8cpp.html#a40">address_cache</a> <a class="el" href="modules_8cpp.html#a48">IP</a> </table> </td> </tr> @@ -1241,16 +1243,16 @@ 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#l00183">183</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#l00185">185</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a15" doxytag="modules.cpp::list"></a><p> +<a name="a16" doxytag="modules.cpp::list"></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="modules_8cpp.html#a15">list</a>[MAXBUF] + <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a16">list</a>[MAXBUF] </table> </td> </tr> @@ -1265,16 +1267,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00183">183</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00079">79</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#l00081">81</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a36" doxytag="modules.cpp::log_file"></a><p> +<a name="a37" doxytag="modules.cpp::log_file"></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"> FILE* <a class="el" href="modules_8cpp.html#a36">log_file</a> + <td class="md" nowrap valign="top"> FILE* <a class="el" href="modules_8cpp.html#a37">log_file</a> </table> </td> </tr> @@ -1289,16 +1291,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00079">79</a> o <p> <p> -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> +Definition at line <a class="el" href="modules_8cpp-source.html#l00108">108</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a4" doxytag="modules.cpp::LogLevel"></a><p> +<a name="a5" doxytag="modules.cpp::LogLevel"></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="modules_8cpp.html#a4">LogLevel</a> + <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a5">LogLevel</a> </table> </td> </tr> @@ -1313,16 +1315,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#l00068">68</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#l00070">70</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a24" doxytag="modules.cpp::MaxWhoResults"></a><p> +<a name="a25" doxytag="modules.cpp::MaxWhoResults"></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="modules_8cpp.html#a24">MaxWhoResults</a> + <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a25">MaxWhoResults</a> </table> </td> </tr> @@ -1337,16 +1339,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00068">68</a> o <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00089">89</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00091">91</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a35" doxytag="modules.cpp::me"></a><p> +<a name="a36" doxytag="modules.cpp::me"></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="classserverrec.html">serverrec</a>* <a class="el" href="modules_8cpp.html#a35">me</a>[32] + <td class="md" nowrap valign="top"> <a class="el" href="classserverrec.html">serverrec</a>* <a class="el" href="modules_8cpp.html#a36">me</a>[32] </table> </td> </tr> @@ -1361,7 +1363,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00089">89</a> o <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00104">104</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#l00106">106</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> <a name="a1" doxytag="modules.cpp::MODCOUNT"></a><p> @@ -1385,16 +1387,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00104">104</a> <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>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00776">776</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a27" doxytag="modules.cpp::module_names"></a><p> +<a name="a28" doxytag="modules.cpp::module_names"></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<std::string> <a class="el" href="modules_8cpp.html#a27">module_names</a> + <td class="md" nowrap valign="top"> std::vector<std::string> <a class="el" href="modules_8cpp.html#a28">module_names</a> </table> </td> </tr> @@ -1409,7 +1411,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00774">774</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00093">93</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +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> <a name="a2" doxytag="modules.cpp::modules"></a><p> @@ -1436,13 +1438,13 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00093">93</a> o Definition at line <a class="el" href="modules_8cpp-source.html#l00065">65</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a45" doxytag="modules.cpp::MOTD"></a><p> +<a name="a46" 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#a26">file_cache</a> <a class="el" href="modules_8cpp.html#a45">MOTD</a> + <td class="md" nowrap valign="top"> <a class="el" href="modules_8h.html#a30">file_cache</a> <a class="el" href="modules_8cpp.html#a46">MOTD</a> </table> </td> </tr> @@ -1457,16 +1459,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00065">65</a> o <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00181">181</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#l00183">183</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a13" doxytag="modules.cpp::motd"></a><p> +<a name="a14" 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"> char <a class="el" href="modules_8cpp.html#a13">motd</a>[MAXBUF] + <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a14">motd</a>[MAXBUF] </table> </td> </tr> @@ -1481,16 +1483,40 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00181">181</a> <p> <p> -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> +Definition at line <a class="el" href="modules_8cpp-source.html#l00079">79</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a25" doxytag="modules.cpp::nb_start"></a><p> +<a name="a26" doxytag="modules.cpp::nb_start"></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="modules_8cpp.html#a25">nb_start</a> + <td class="md" nowrap valign="top"> time_t <a class="el" href="modules_8cpp.html#a26">nb_start</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#l00092">92</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> + </tr> +</table> +<a name="a24" doxytag="modules.cpp::NetBufferSize"></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="modules_8cpp.html#a24">NetBufferSize</a> </table> </td> </tr> @@ -1508,13 +1534,13 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00077">77</a> o Definition at line <a class="el" href="modules_8cpp-source.html#l00090">90</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a23" doxytag="modules.cpp::NetBufferSize"></a><p> +<a name="a7" doxytag="modules.cpp::Network"></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="modules_8cpp.html#a23">NetBufferSize</a> + <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a7">Network</a>[MAXBUF] </table> </td> </tr> @@ -1529,16 +1555,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00090">90</a> o <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00088">88</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00072">72</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a6" doxytag="modules.cpp::Network"></a><p> +<a name="a30" doxytag="modules.cpp::portCount"></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="modules_8cpp.html#a6">Network</a>[MAXBUF] + <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a30">portCount</a> </table> </td> </tr> @@ -1553,16 +1579,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00088">88</a> o <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00070">70</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#l00098">98</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a29" doxytag="modules.cpp::portCount"></a><p> +<a name="a32" doxytag="modules.cpp::ports"></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="modules_8cpp.html#a29">portCount</a> + <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a32">ports</a>[MAXSOCKS] </table> </td> </tr> @@ -1577,16 +1603,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00070">70</a> o <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00096">96</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00100">100</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a31" doxytag="modules.cpp::ports"></a><p> +<a name="a17" doxytag="modules.cpp::PrefixQuit"></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="modules_8cpp.html#a31">ports</a>[MAXSOCKS] + <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a17">PrefixQuit</a>[MAXBUF] </table> </td> </tr> @@ -1601,16 +1627,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00096">96</a> o <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00098">98</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00082">82</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a16" doxytag="modules.cpp::PrefixQuit"></a><p> +<a name="a13" doxytag="modules.cpp::restartpass"></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="modules_8cpp.html#a16">PrefixQuit</a>[MAXBUF] + <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a13">restartpass</a>[MAXBUF] </table> </td> </tr> @@ -1625,16 +1651,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00098">98</a> o <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00080">80</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#l00078">78</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a12" doxytag="modules.cpp::restartpass"></a><p> +<a name="a47" 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"> char <a class="el" href="modules_8cpp.html#a12">restartpass</a>[MAXBUF] + <td class="md" nowrap valign="top"> <a class="el" href="modules_8h.html#a30">file_cache</a> <a class="el" href="modules_8cpp.html#a47">RULES</a> </table> </td> </tr> @@ -1649,16 +1675,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00080">80</a> o <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00076">76</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00184">184</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a46" doxytag="modules.cpp::RULES"></a><p> +<a name="a15" 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#a26">file_cache</a> <a class="el" href="modules_8cpp.html#a46">RULES</a> + <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a15">rules</a>[MAXBUF] </table> </td> </tr> @@ -1673,16 +1699,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00076">76</a> o <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00182">182</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00080">80</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a14" doxytag="modules.cpp::rules"></a><p> +<a name="a8" doxytag="modules.cpp::ServerDesc"></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="modules_8cpp.html#a14">rules</a>[MAXBUF] + <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a8">ServerDesc</a>[MAXBUF] </table> </td> </tr> @@ -1697,16 +1723,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00182">182</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00078">78</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#l00073">73</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a7" doxytag="modules.cpp::ServerDesc"></a><p> +<a name="a6" doxytag="modules.cpp::ServerName"></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="modules_8cpp.html#a7">ServerDesc</a>[MAXBUF] + <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a6">ServerName</a>[MAXBUF] </table> </td> </tr> @@ -1724,13 +1750,13 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00078">78</a> o Definition at line <a class="el" href="modules_8cpp-source.html#l00071">71</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a5" doxytag="modules.cpp::ServerName"></a><p> +<a name="a23" doxytag="modules.cpp::startup_time"></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="modules_8cpp.html#a5">ServerName</a>[MAXBUF] + <td class="md" nowrap valign="top"> time_t <a class="el" href="modules_8cpp.html#a23">startup_time</a> </table> </td> </tr> @@ -1745,16 +1771,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00071">71</a> o <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00069">69</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#l00089">89</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a22" doxytag="modules.cpp::startup_time"></a><p> +<a name="a4" doxytag="modules.cpp::TIME"></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="modules_8cpp.html#a22">startup_time</a> + <td class="md" nowrap valign="top"> time_t <a class="el" href="users_8cpp.html#a1">TIME</a> </table> </td> </tr> @@ -1769,16 +1795,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00069">69</a> o <p> <p> -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> +Definition at line <a class="el" href="modules_8cpp-source.html#l00068">68</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a30" doxytag="modules.cpp::UDPportCount"></a><p> +<a name="a31" doxytag="modules.cpp::UDPportCount"></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="modules_8cpp.html#a30">UDPportCount</a> + <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a31">UDPportCount</a> </table> </td> </tr> @@ -1793,16 +1819,16 @@ 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#l00097">97</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#l00099">99</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a43" doxytag="modules.cpp::whowas"></a><p> +<a name="a44" 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#a37">user_hash</a> <a class="el" href="modules_8cpp.html#a43">whowas</a> + <td class="md" nowrap valign="top"> <a class="el" href="modules_8cpp.html#a38">user_hash</a> <a class="el" href="modules_8cpp.html#a44">whowas</a> </table> </td> </tr> @@ -1817,16 +1843,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00097">97</a> o <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00179">179</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#l00181">181</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a20" doxytag="modules.cpp::WHOWAS_MAX"></a><p> +<a name="a21" doxytag="modules.cpp::WHOWAS_MAX"></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="modules_8cpp.html#a20">WHOWAS_MAX</a> + <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a21">WHOWAS_MAX</a> </table> </td> </tr> @@ -1841,16 +1867,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00179">179</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00085">85</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#l00087">87</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a19" doxytag="modules.cpp::WHOWAS_STALE"></a><p> +<a name="a20" doxytag="modules.cpp::WHOWAS_STALE"></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="modules_8cpp.html#a19">WHOWAS_STALE</a> + <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a20">WHOWAS_STALE</a> </table> </td> </tr> @@ -1865,10 +1891,10 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00085">85</a> o <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00084">84</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#l00086">86</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 Mon Apr 4 18:12:49 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:22 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 af553f1c7..80f93ef15 100644 --- a/docs/module-doc/modules_8h-source.html +++ b/docs/module-doc/modules_8h-source.html @@ -55,245 +55,252 @@ <a name="l00048"></a><a class="code" href="modules_8h.html#a18">00048</a> <span class="preprocessor"></span><span class="preprocessor">#define AC_INVITE 7 // a user is being invited</span> <a name="l00049"></a><a class="code" href="modules_8h.html#a19">00049</a> <span class="preprocessor"></span><span class="preprocessor">#define AC_GENERAL_MODE 8 // a user channel mode is being changed</span> 00050 <span class="preprocessor"></span> -00051 <span class="preprocessor">#include "dynamic.h"</span> -00052 <span class="preprocessor">#include "<a class="code" href="base_8h.html">base.h</a>"</span> -00053 <span class="preprocessor">#include "<a class="code" href="ctables_8h.html">ctables.h</a>"</span> -00054 <span class="preprocessor">#include <string></span> -00055 <span class="preprocessor">#include <deque></span> -00056 <span class="preprocessor">#include <sstream></span> -00057 -<a name="l00060"></a><a class="code" href="modules_8h.html#a26">00060</a> <span class="keyword">typedef</span> std::deque<std::string> <a class="code" href="modules_8h.html#a26">file_cache</a>; -<a name="l00061"></a><a class="code" href="modules_8h.html#a27">00061</a> <span class="keyword">typedef</span> <a class="code" href="modules_8h.html#a26">file_cache</a> <a class="code" href="modules_8h.html#a27">string_list</a>; -00062 -<a name="l00065"></a><a class="code" href="modules_8h.html#a28">00065</a> <span class="keyword">typedef</span> std::deque<userrec*> <a class="code" href="modules_8h.html#a28">chanuserlist</a>; -00066 -00067 -00068 <span class="comment">// This #define allows us to call a method in all</span> -00069 <span class="comment">// loaded modules in a readable simple way, e.g.:</span> -00070 <span class="comment">// 'FOREACH_MOD OnConnect(user);'</span> -00071 -<a name="l00072"></a><a class="code" href="modules_8h.html#a20">00072</a> <span class="preprocessor">#define FOREACH_MOD for (int i = 0; i <= MODCOUNT; i++) modules[i]-></span> -00073 <span class="preprocessor"></span> -00074 <span class="comment">// This define is similar to the one above but returns a result in MOD_RESULT.</span> -00075 <span class="comment">// The first module to return a nonzero result is the value to be accepted,</span> -00076 <span class="comment">// and any modules after are ignored.</span> -00077 -00078 <span class="comment">// *********************************************************************************************</span> -00079 -<a name="l00080"></a><a class="code" href="modules_8h.html#a21">00080</a> <span class="preprocessor">#define FOREACH_RESULT(x) { MOD_RESULT = 0; \</span> -00081 <span class="preprocessor"> for (int i = 0; i <= MODCOUNT; i++) { \</span> -00082 <span class="preprocessor"> int res = modules[i]->x ; \</span> -00083 <span class="preprocessor"> if (res != 0) { \</span> -00084 <span class="preprocessor"> MOD_RESULT = res; \</span> -00085 <span class="preprocessor"> break; \</span> -00086 <span class="preprocessor"> } \</span> -00087 <span class="preprocessor"> } \</span> -00088 <span class="preprocessor"> } </span> -00089 <span class="preprocessor"></span> -00090 <span class="comment">// *********************************************************************************************</span> -00091 -00092 <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="modules_8h.html#a30">createcommand</a>(<span class="keywordtype">char</span>* cmd, handlerfunc f, <span class="keywordtype">char</span> flags, <span class="keywordtype">int</span> minparams); -00093 <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="modules_8h.html#a31">server_mode</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); -00094 -00095 <span class="comment">// class Version holds the version information of a Module, returned</span> -00096 <span class="comment">// by Module::GetVersion (thanks RD)</span> -00097 -<a name="l00102"></a><a class="code" href="classVersion.html">00102</a> <span class="keyword">class </span><a class="code" href="classVersion.html">Version</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> -00103 { -00104 <span class="keyword">public</span>: -<a name="l00105"></a><a class="code" href="classVersion.html#o2">00105</a> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="classVersion.html#o0">Major</a>, <a class="code" href="classVersion.html#o1">Minor</a>, <a class="code" href="classVersion.html#o2">Revision</a>, <a class="code" href="classVersion.html#o3">Build</a>; -00106 <a class="code" href="classVersion.html#a0">Version</a>(<span class="keywordtype">int</span> major, <span class="keywordtype">int</span> minor, <span class="keywordtype">int</span> revision, <span class="keywordtype">int</span> build); -00107 }; -00108 -<a name="l00114"></a><a class="code" href="classAdmin.html">00114</a> <span class="keyword">class </span><a class="code" href="classAdmin.html">Admin</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> -00115 { -00116 <span class="keyword">public</span>: -<a name="l00117"></a><a class="code" href="classAdmin.html#o2">00117</a> <span class="keyword">const</span> std::string <a class="code" href="classAdmin.html#o0">Name</a>, <a class="code" href="classAdmin.html#o1">Email</a>, <a class="code" href="classAdmin.html#o2">Nick</a>; -00118 <a class="code" href="classAdmin.html#a0">Admin</a>(std::string name, std::string email, std::string nick); -00119 }; -00120 -<a name="l00126"></a><a class="code" href="classModule.html">00126</a> <span class="keyword">class </span><a class="code" href="classModule.html">Module</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> -00127 { -00128 <span class="keyword">public</span>: -00129 -00133 <a class="code" href="classModule.html#a0">Module</a>(); -00134 -00138 <span class="keyword">virtual</span> <a class="code" href="classModule.html#a1">~Module</a>(); -00139 -00144 <span class="keyword">virtual</span> <a class="code" href="classVersion.html">Version</a> <a class="code" href="classModule.html#a2">GetVersion</a>(); -00145 -00149 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a3">OnUserConnect</a>(<a class="code" href="classuserrec.html">userrec</a>* user); -00150 -00154 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a4">OnUserQuit</a>(<a class="code" href="classuserrec.html">userrec</a>* user); -00155 -00160 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a5">OnUserJoin</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* channel); -00161 -00166 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a6">OnUserPart</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* channel); -00167 -00174 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a7">OnPacketTransmit</a>(<span class="keywordtype">char</span> *p); -00175 -00183 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a8">OnPacketReceive</a>(<span class="keywordtype">char</span> *p); -00184 -00190 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a9">OnRehash</a>(); +00051 <span class="comment">// used to define a set of behavior bits for a module</span> +00052 +<a name="l00053"></a><a class="code" href="modules_8h.html#a20">00053</a> <span class="preprocessor">#define VF_STATIC 1 // module is static, cannot be /unloadmodule'd</span> +<a name="l00054"></a><a class="code" href="modules_8h.html#a21">00054</a> <span class="preprocessor"></span><span class="preprocessor">#define VF_VENDOR 2 // module is a vendor module (came in the original tarball, not 3rd party)</span> +<a name="l00055"></a><a class="code" href="modules_8h.html#a22">00055</a> <span class="preprocessor"></span><span class="preprocessor">#define VF_SERVICEPROVIDER 4 // module provides a service to other modules (can be a dependency)</span> +<a name="l00056"></a><a class="code" href="modules_8h.html#a23">00056</a> <span class="preprocessor"></span><span class="preprocessor">#define VF_COMMON 8 // module needs to be common on all servers in a mesh to link</span> +00057 <span class="preprocessor"></span> +00058 <span class="preprocessor">#include "dynamic.h"</span> +00059 <span class="preprocessor">#include "<a class="code" href="base_8h.html">base.h</a>"</span> +00060 <span class="preprocessor">#include "<a class="code" href="ctables_8h.html">ctables.h</a>"</span> +00061 <span class="preprocessor">#include <string></span> +00062 <span class="preprocessor">#include <deque></span> +00063 <span class="preprocessor">#include <sstream></span> +00064 +<a name="l00067"></a><a class="code" href="modules_8h.html#a30">00067</a> <span class="keyword">typedef</span> std::deque<std::string> <a class="code" href="modules_8h.html#a30">file_cache</a>; +<a name="l00068"></a><a class="code" href="modules_8h.html#a31">00068</a> <span class="keyword">typedef</span> <a class="code" href="modules_8h.html#a30">file_cache</a> <a class="code" href="modules_8h.html#a31">string_list</a>; +00069 +<a name="l00072"></a><a class="code" href="modules_8h.html#a32">00072</a> <span class="keyword">typedef</span> std::deque<userrec*> <a class="code" href="modules_8h.html#a32">chanuserlist</a>; +00073 +00074 +00075 <span class="comment">// This #define allows us to call a method in all</span> +00076 <span class="comment">// loaded modules in a readable simple way, e.g.:</span> +00077 <span class="comment">// 'FOREACH_MOD OnConnect(user);'</span> +00078 +<a name="l00079"></a><a class="code" href="modules_8h.html#a24">00079</a> <span class="preprocessor">#define FOREACH_MOD for (int i = 0; i <= MODCOUNT; i++) modules[i]-></span> +00080 <span class="preprocessor"></span> +00081 <span class="comment">// This define is similar to the one above but returns a result in MOD_RESULT.</span> +00082 <span class="comment">// The first module to return a nonzero result is the value to be accepted,</span> +00083 <span class="comment">// and any modules after are ignored.</span> +00084 +00085 <span class="comment">// *********************************************************************************************</span> +00086 +<a name="l00087"></a><a class="code" href="modules_8h.html#a25">00087</a> <span class="preprocessor">#define FOREACH_RESULT(x) { MOD_RESULT = 0; \</span> +00088 <span class="preprocessor"> for (int i = 0; i <= MODCOUNT; i++) { \</span> +00089 <span class="preprocessor"> int res = modules[i]->x ; \</span> +00090 <span class="preprocessor"> if (res != 0) { \</span> +00091 <span class="preprocessor"> MOD_RESULT = res; \</span> +00092 <span class="preprocessor"> break; \</span> +00093 <span class="preprocessor"> } \</span> +00094 <span class="preprocessor"> } \</span> +00095 <span class="preprocessor"> } </span> +00096 <span class="preprocessor"></span> +00097 <span class="comment">// *********************************************************************************************</span> +00098 +00099 <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="modules_8h.html#a34">createcommand</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); +00100 <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="modules_8h.html#a35">server_mode</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00101 +00102 <span class="comment">// class Version holds the version information of a Module, returned</span> +00103 <span class="comment">// by Module::GetVersion (thanks RD)</span> +00104 +<a name="l00109"></a><a class="code" href="classVersion.html">00109</a> <span class="keyword">class </span><a class="code" href="classVersion.html">Version</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> +00110 { +00111 <span class="keyword">public</span>: +<a name="l00112"></a><a class="code" href="classVersion.html#o2">00112</a> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="classVersion.html#o0">Major</a>, <a class="code" href="classVersion.html#o1">Minor</a>, <a class="code" href="classVersion.html#o2">Revision</a>, <a class="code" href="classVersion.html#o3">Build</a>, <a class="code" href="classVersion.html#o4">Flags</a>; +00113 <a class="code" href="classVersion.html#a0">Version</a>(<span class="keywordtype">int</span> major, <span class="keywordtype">int</span> minor, <span class="keywordtype">int</span> revision, <span class="keywordtype">int</span> build, <span class="keywordtype">int</span> flags); +00114 }; +00115 +<a name="l00121"></a><a class="code" href="classAdmin.html">00121</a> <span class="keyword">class </span><a class="code" href="classAdmin.html">Admin</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> +00122 { +00123 <span class="keyword">public</span>: +<a name="l00124"></a><a class="code" href="classAdmin.html#o2">00124</a> <span class="keyword">const</span> std::string <a class="code" href="classAdmin.html#o0">Name</a>, <a class="code" href="classAdmin.html#o1">Email</a>, <a class="code" href="classAdmin.html#o2">Nick</a>; +00125 <a class="code" href="classAdmin.html#a0">Admin</a>(std::string name, std::string email, std::string nick); +00126 }; +00127 +<a name="l00133"></a><a class="code" href="classModule.html">00133</a> <span class="keyword">class </span><a class="code" href="classModule.html">Module</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> +00134 { +00135 <span class="keyword">public</span>: +00136 +00140 <a class="code" href="classModule.html#a0">Module</a>(); +00141 +00145 <span class="keyword">virtual</span> <a class="code" href="classModule.html#a1">~Module</a>(); +00146 +00151 <span class="keyword">virtual</span> <a class="code" href="classVersion.html">Version</a> <a class="code" href="classModule.html#a2">GetVersion</a>(); +00152 +00156 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a3">OnUserConnect</a>(<a class="code" href="classuserrec.html">userrec</a>* user); +00157 +00161 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a4">OnUserQuit</a>(<a class="code" href="classuserrec.html">userrec</a>* user); +00162 +00167 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a5">OnUserJoin</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* channel); +00168 +00173 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a6">OnUserPart</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* channel); +00174 +00181 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a7">OnPacketTransmit</a>(<span class="keywordtype">char</span> *p); +00182 +00190 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a8">OnPacketReceive</a>(<span class="keywordtype">char</span> *p); 00191 -00200 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a10">OnServerRaw</a>(std::string &raw, <span class="keywordtype">bool</span> inbound, <a class="code" href="classuserrec.html">userrec</a>* user); -00201 -00211 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a11">OnExtendedMode</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <span class="keywordtype">void</span>* target, <span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type, <span class="keywordtype">bool</span> mode_on, <a class="code" href="modules_8h.html#a27">string_list</a> &params); -00212 -00226 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a12">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); -00227 -00228 -00233 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a13">OnOper</a>(<a class="code" href="classuserrec.html">userrec</a>* user); +00197 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a9">OnRehash</a>(); +00198 +00207 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a10">OnServerRaw</a>(std::string &raw, <span class="keywordtype">bool</span> inbound, <a class="code" href="classuserrec.html">userrec</a>* user); +00208 +00218 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a11">OnExtendedMode</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <span class="keywordtype">void</span>* target, <span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type, <span class="keywordtype">bool</span> mode_on, <a class="code" href="modules_8h.html#a31">string_list</a> &params); +00219 +00233 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a12">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); 00234 -00243 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a14">OnInfo</a>(<a class="code" href="classuserrec.html">userrec</a>* user); -00244 -00249 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a15">OnWhois</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classuserrec.html">userrec</a>* dest); -00250 -00256 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a16">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); +00235 +00240 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a13">OnOper</a>(<a class="code" href="classuserrec.html">userrec</a>* user); +00241 +00250 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a14">OnInfo</a>(<a class="code" href="classuserrec.html">userrec</a>* user); +00251 +00256 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a15">OnWhois</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classuserrec.html">userrec</a>* dest); 00257 -00266 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a17">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); -00267 -00279 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a18">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); -00280 -00288 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a19">OnUserPreNick</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string newnick); -00289 -00297 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a20">OnUserPostNick</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string oldnick); -00298 -00320 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a21">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); -00321 -00327 <span class="keyword">virtual</span> <a class="code" href="modules_8h.html#a27">string_list</a> <a class="code" href="classModule.html#a22">OnUserSync</a>(<a class="code" href="classuserrec.html">userrec</a>* user); +00263 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a16">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); +00264 +00273 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a17">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); +00274 +00286 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a18">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); +00287 +00295 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a19">OnUserPreNick</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string newnick); +00296 +00304 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a20">OnUserPostNick</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string oldnick); +00305 +00327 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a21">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); 00328 -00334 <span class="keyword">virtual</span> <a class="code" href="modules_8h.html#a27">string_list</a> <a class="code" href="classModule.html#a23">OnChannelSync</a>(<a class="code" href="classchanrec.html">chanrec</a>* chan); +00334 <span class="keyword">virtual</span> <a class="code" href="modules_8h.html#a31">string_list</a> <a class="code" href="classModule.html#a22">OnUserSync</a>(<a class="code" href="classuserrec.html">userrec</a>* user); 00335 -00339 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a24">On005Numeric</a>(std::string &output); -00340 -00350 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a25">OnKill</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classuserrec.html">userrec</a>* dest, std::string reason); -00351 -00362 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a26">OnLoadModule</a>(<a class="code" href="classModule.html">Module</a>* mod,std::string name); -00363 }; -00364 -00365 -<a name="l00371"></a><a class="code" href="classServer.html">00371</a> <span class="keyword">class </span><a class="code" href="classServer.html">Server</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> -00372 { -00373 <span class="keyword">public</span>: -00377 <a class="code" href="classServer.html#a0">Server</a>(); -00381 <span class="keyword">virtual</span> <a class="code" href="classServer.html#a1">~Server</a>(); -00382 -00386 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a2">SendOpers</a>(std::string s); -00391 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a3">Log</a>(<span class="keywordtype">int</span> level, std::string s); -00396 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a4">Send</a>(<span class="keywordtype">int</span> Socket, std::string s); -00401 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a5">SendServ</a>(<span class="keywordtype">int</span> Socket, std::string s); -00406 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a6">SendFrom</a>(<span class="keywordtype">int</span> Socket, <a class="code" href="classuserrec.html">userrec</a>* User, std::string s); -00421 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a7">SendTo</a>(<a class="code" href="classuserrec.html">userrec</a>* Source, <a class="code" href="classuserrec.html">userrec</a>* Dest, std::string s); -00428 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a8">SendChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Channel, std::string s,<span class="keywordtype">bool</span> IncludeSender); -00433 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a9">CommonChannels</a>(<a class="code" href="classuserrec.html">userrec</a>* u1, <a class="code" href="classuserrec.html">userrec</a>* u2); -00441 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a10">SendCommon</a>(<a class="code" href="classuserrec.html">userrec</a>* User, std::string text,<span class="keywordtype">bool</span> IncludeSender); -00446 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a11">SendWallops</a>(<a class="code" href="classuserrec.html">userrec</a>* User, std::string text); -00447 -00451 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a12">IsNick</a>(std::string nick); -00455 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classServer.html#a13">CountUsers</a>(<a class="code" href="classchanrec.html">chanrec</a>* c); -00459 <span class="keyword">virtual</span> <a class="code" href="classuserrec.html">userrec</a>* <a class="code" href="classServer.html#a14">FindNick</a>(std::string nick); -00463 <span class="keyword">virtual</span> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#a15">FindChannel</a>(std::string channel); -00468 <span class="keyword">virtual</span> std::string <a class="code" href="classServer.html#a16">ChanMode</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Chan); -00472 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a17">IsOnChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Chan); -00475 <span class="keyword">virtual</span> std::string <a class="code" href="classServer.html#a18">GetServerName</a>(); -00478 <span class="keyword">virtual</span> std::string <a class="code" href="classServer.html#a19">GetNetworkName</a>(); -00484 <span class="keyword">virtual</span> <a class="code" href="classAdmin.html">Admin</a> <a class="code" href="classServer.html#a20">GetAdmin</a>(); -00503 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a21">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); -00504 -00526 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a22">AddExtendedListMode</a>(<span class="keywordtype">char</span> modechar); -00527 -00542 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a23">AddCommand</a>(<span class="keywordtype">char</span>* cmd, handlerfunc f, <span class="keywordtype">char</span> flags, <span class="keywordtype">int</span> minparams); -00543 -00565 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a24">SendMode</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); -00566 -00579 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a25">SendToModeMask</a>(std::string modes, <span class="keywordtype">int</span> flags, std::string text); -00580 -00586 <span class="keyword">virtual</span> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#a26">JoinUserToChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string cname, std::string key); -00587 -00593 <span class="keyword">virtual</span> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#a27">PartUserFromChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string cname, std::string reason); -00594 -00600 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a28">ChangeUserNick</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string nickname); -00601 -00612 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a29">QuitUser</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string reason); -00613 -00618 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a30">MatchText</a>(std::string sliteral, std::string spattern); -00619 -00631 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a31">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); -00632 -00638 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a32">ChangeHost</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string host); -00639 -00645 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a33">ChangeGECOS</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string gecos); -00646 -00655 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a34">IsUlined</a>(std::string server); +00341 <span class="keyword">virtual</span> <a class="code" href="modules_8h.html#a31">string_list</a> <a class="code" href="classModule.html#a23">OnChannelSync</a>(<a class="code" href="classchanrec.html">chanrec</a>* chan); +00342 +00346 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a24">On005Numeric</a>(std::string &output); +00347 +00357 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a25">OnKill</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classuserrec.html">userrec</a>* dest, std::string reason); +00358 +00369 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a26">OnLoadModule</a>(<a class="code" href="classModule.html">Module</a>* mod,std::string name); +00370 }; +00371 +00372 +<a name="l00378"></a><a class="code" href="classServer.html">00378</a> <span class="keyword">class </span><a class="code" href="classServer.html">Server</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> +00379 { +00380 <span class="keyword">public</span>: +00384 <a class="code" href="classServer.html#a0">Server</a>(); +00388 <span class="keyword">virtual</span> <a class="code" href="classServer.html#a1">~Server</a>(); +00389 +00393 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a2">SendOpers</a>(std::string s); +00398 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a3">Log</a>(<span class="keywordtype">int</span> level, std::string s); +00403 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a4">Send</a>(<span class="keywordtype">int</span> Socket, std::string s); +00408 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a5">SendServ</a>(<span class="keywordtype">int</span> Socket, std::string s); +00413 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a6">SendFrom</a>(<span class="keywordtype">int</span> Socket, <a class="code" href="classuserrec.html">userrec</a>* User, std::string s); +00428 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a7">SendTo</a>(<a class="code" href="classuserrec.html">userrec</a>* Source, <a class="code" href="classuserrec.html">userrec</a>* Dest, std::string s); +00435 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a8">SendChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Channel, std::string s,<span class="keywordtype">bool</span> IncludeSender); +00440 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a9">CommonChannels</a>(<a class="code" href="classuserrec.html">userrec</a>* u1, <a class="code" href="classuserrec.html">userrec</a>* u2); +00448 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a10">SendCommon</a>(<a class="code" href="classuserrec.html">userrec</a>* User, std::string text,<span class="keywordtype">bool</span> IncludeSender); +00453 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a11">SendWallops</a>(<a class="code" href="classuserrec.html">userrec</a>* User, std::string text); +00454 +00458 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a12">IsNick</a>(std::string nick); +00462 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classServer.html#a13">CountUsers</a>(<a class="code" href="classchanrec.html">chanrec</a>* c); +00466 <span class="keyword">virtual</span> <a class="code" href="classuserrec.html">userrec</a>* <a class="code" href="classServer.html#a14">FindNick</a>(std::string nick); +00470 <span class="keyword">virtual</span> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#a15">FindChannel</a>(std::string channel); +00475 <span class="keyword">virtual</span> std::string <a class="code" href="classServer.html#a16">ChanMode</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Chan); +00479 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a17">IsOnChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Chan); +00482 <span class="keyword">virtual</span> std::string <a class="code" href="classServer.html#a18">GetServerName</a>(); +00485 <span class="keyword">virtual</span> std::string <a class="code" href="classServer.html#a19">GetNetworkName</a>(); +00491 <span class="keyword">virtual</span> <a class="code" href="classAdmin.html">Admin</a> <a class="code" href="classServer.html#a20">GetAdmin</a>(); +00510 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a21">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); +00511 +00533 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a22">AddExtendedListMode</a>(<span class="keywordtype">char</span> modechar); +00534 +00552 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a23">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); +00553 +00575 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a24">SendMode</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00576 +00589 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a25">SendToModeMask</a>(std::string modes, <span class="keywordtype">int</span> flags, std::string text); +00590 +00596 <span class="keyword">virtual</span> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#a26">JoinUserToChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string cname, std::string key); +00597 +00603 <span class="keyword">virtual</span> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#a27">PartUserFromChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string cname, std::string reason); +00604 +00610 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a28">ChangeUserNick</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string nickname); +00611 +00622 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a29">QuitUser</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string reason); +00623 +00628 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a30">MatchText</a>(std::string sliteral, std::string spattern); +00629 +00641 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a31">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); +00642 +00648 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a32">ChangeHost</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string host); +00649 +00655 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a33">ChangeGECOS</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string gecos); 00656 -00660 <span class="keyword">virtual</span> <a class="code" href="modules_8h.html#a28">chanuserlist</a> <a class="code" href="classServer.html#a35">GetUsers</a>(<a class="code" href="classchanrec.html">chanrec</a>* chan); -00661 -00662 }; -00663 -<a name="l00664"></a><a class="code" href="modules_8h.html#a22">00664</a> <span class="preprocessor">#define CONF_NOT_A_NUMBER 0x000010</span> -<a name="l00665"></a><a class="code" href="modules_8h.html#a23">00665</a> <span class="preprocessor"></span><span class="preprocessor">#define CONF_NOT_UNSIGNED 0x000080</span> -<a name="l00666"></a><a class="code" href="modules_8h.html#a24">00666</a> <span class="preprocessor"></span><span class="preprocessor">#define CONF_VALUE_NOT_FOUND 0x000100</span> -<a name="l00667"></a><a class="code" href="modules_8h.html#a25">00667</a> <span class="preprocessor"></span><span class="preprocessor">#define CONF_FILE_NOT_FOUND 0x000200</span> -00668 <span class="preprocessor"></span> -<a name="l00675"></a><a class="code" href="classConfigReader.html">00675</a> <span class="keyword">class </span><a class="code" href="classConfigReader.html">ConfigReader</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> -00676 { -00677 <span class="keyword">protected</span>: -<a name="l00683"></a><a class="code" href="classConfigReader.html#p0">00683</a> std::stringstream *<a class="code" href="classConfigReader.html#p0">cache</a>; -<a name="l00684"></a><a class="code" href="classConfigReader.html#p1">00684</a> std::stringstream *<a class="code" href="classConfigReader.html#p1">errorlog</a>; -<a name="l00687"></a><a class="code" href="classConfigReader.html#p2">00687</a> <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#p2">readerror</a>; -<a name="l00688"></a><a class="code" href="classConfigReader.html#p3">00688</a> <span class="keywordtype">long</span> <a class="code" href="classConfigReader.html#p3">error</a>; -00689 -00690 <span class="keyword">public</span>: -00695 <a class="code" href="classConfigReader.html#a0">ConfigReader</a>(); <span class="comment">// default constructor reads ircd.conf</span> -00699 <span class="comment"></span> <a class="code" href="classConfigReader.html#a0">ConfigReader</a>(std::string filename); <span class="comment">// read a module-specific config</span> -00703 <span class="comment"></span> <a class="code" href="classConfigReader.html#a2">~ConfigReader</a>(); -00708 std::string <a class="code" href="classConfigReader.html#a3">ReadValue</a>(std::string tag, std::string name, <span class="keywordtype">int</span> index); -00714 <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#a4">ReadFlag</a>(std::string tag, std::string name, <span class="keywordtype">int</span> index); -00723 <span class="keywordtype">long</span> <a class="code" href="classConfigReader.html#a5">ReadInteger</a>(std::string tag, std::string name, <span class="keywordtype">int</span> index, <span class="keywordtype">bool</span> needs_unsigned); -00728 <span class="keywordtype">long</span> <a class="code" href="classConfigReader.html#a6">GetError</a>(); -00735 <span class="keywordtype">int</span> <a class="code" href="classConfigReader.html#a7">Enumerate</a>(std::string tag); -00740 <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#a8">Verify</a>(); -00747 <span class="keywordtype">void</span> <a class="code" href="classConfigReader.html#a9">DumpErrors</a>(<span class="keywordtype">bool</span> bail,<a class="code" href="classuserrec.html">userrec</a>* user); -00748 -00754 <span class="keywordtype">int</span> <a class="code" href="classConfigReader.html#a10">EnumerateValues</a>(std::string tag, <span class="keywordtype">int</span> index); -00755 }; -00756 -00757 +00665 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a34">IsUlined</a>(std::string server); +00666 +00670 <span class="keyword">virtual</span> <a class="code" href="modules_8h.html#a32">chanuserlist</a> <a class="code" href="classServer.html#a35">GetUsers</a>(<a class="code" href="classchanrec.html">chanrec</a>* chan); +00671 +00672 }; +00673 +<a name="l00674"></a><a class="code" href="modules_8h.html#a26">00674</a> <span class="preprocessor">#define CONF_NOT_A_NUMBER 0x000010</span> +<a name="l00675"></a><a class="code" href="modules_8h.html#a27">00675</a> <span class="preprocessor"></span><span class="preprocessor">#define CONF_NOT_UNSIGNED 0x000080</span> +<a name="l00676"></a><a class="code" href="modules_8h.html#a28">00676</a> <span class="preprocessor"></span><span class="preprocessor">#define CONF_VALUE_NOT_FOUND 0x000100</span> +<a name="l00677"></a><a class="code" href="modules_8h.html#a29">00677</a> <span class="preprocessor"></span><span class="preprocessor">#define CONF_FILE_NOT_FOUND 0x000200</span> +00678 <span class="preprocessor"></span> +<a name="l00685"></a><a class="code" href="classConfigReader.html">00685</a> <span class="keyword">class </span><a class="code" href="classConfigReader.html">ConfigReader</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> +00686 { +00687 <span class="keyword">protected</span>: +<a name="l00693"></a><a class="code" href="classConfigReader.html#p0">00693</a> std::stringstream *<a class="code" href="classConfigReader.html#p0">cache</a>; +<a name="l00694"></a><a class="code" href="classConfigReader.html#p1">00694</a> std::stringstream *<a class="code" href="classConfigReader.html#p1">errorlog</a>; +<a name="l00697"></a><a class="code" href="classConfigReader.html#p2">00697</a> <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#p2">readerror</a>; +<a name="l00698"></a><a class="code" href="classConfigReader.html#p3">00698</a> <span class="keywordtype">long</span> <a class="code" href="classConfigReader.html#p3">error</a>; +00699 +00700 <span class="keyword">public</span>: +00705 <a class="code" href="classConfigReader.html#a0">ConfigReader</a>(); <span class="comment">// default constructor reads ircd.conf</span> +00709 <span class="comment"></span> <a class="code" href="classConfigReader.html#a0">ConfigReader</a>(std::string filename); <span class="comment">// read a module-specific config</span> +00713 <span class="comment"></span> <a class="code" href="classConfigReader.html#a2">~ConfigReader</a>(); +00718 std::string <a class="code" href="classConfigReader.html#a3">ReadValue</a>(std::string tag, std::string name, <span class="keywordtype">int</span> index); +00724 <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#a4">ReadFlag</a>(std::string tag, std::string name, <span class="keywordtype">int</span> index); +00733 <span class="keywordtype">long</span> <a class="code" href="classConfigReader.html#a5">ReadInteger</a>(std::string tag, std::string name, <span class="keywordtype">int</span> index, <span class="keywordtype">bool</span> needs_unsigned); +00738 <span class="keywordtype">long</span> <a class="code" href="classConfigReader.html#a6">GetError</a>(); +00745 <span class="keywordtype">int</span> <a class="code" href="classConfigReader.html#a7">Enumerate</a>(std::string tag); +00750 <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#a8">Verify</a>(); +00757 <span class="keywordtype">void</span> <a class="code" href="classConfigReader.html#a9">DumpErrors</a>(<span class="keywordtype">bool</span> bail,<a class="code" href="classuserrec.html">userrec</a>* user); 00758 -<a name="l00764"></a><a class="code" href="classFileReader.html">00764</a> <span class="keyword">class </span><a class="code" href="classFileReader.html">FileReader</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> -00765 { -<a name="l00766"></a><a class="code" href="classFileReader.html#r0">00766</a> <a class="code" href="modules_8h.html#a26">file_cache</a> <a class="code" href="classFileReader.html#r0">fc</a>; -00767 <span class="keyword">public</span>: -00772 <a class="code" href="classFileReader.html#a0">FileReader</a>(); -00773 -00779 <a class="code" href="classFileReader.html#a0">FileReader</a>(std::string filename); -00780 -00784 <a class="code" href="classFileReader.html#a2">~FileReader</a>(); -00785 -00791 <span class="keywordtype">void</span> <a class="code" href="classFileReader.html#a3">LoadFile</a>(std::string filename); -00792 -00796 <span class="keywordtype">bool</span> <a class="code" href="classFileReader.html#a4">Exists</a>(); -00797 -00802 std::string <a class="code" href="classFileReader.html#a5">GetLine</a>(<span class="keywordtype">int</span> x); -00803 -00809 <span class="keywordtype">int</span> <a class="code" href="classFileReader.html#a6">FileSize</a>(); -00810 }; -00811 -00812 -<a name="l00819"></a><a class="code" href="classModuleFactory.html">00819</a> <span class="keyword">class </span><a class="code" href="classModuleFactory.html">ModuleFactory</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> -00820 { -00821 <span class="keyword">public</span>: -<a name="l00822"></a><a class="code" href="classModuleFactory.html#a0">00822</a> <a class="code" href="classModuleFactory.html#a0">ModuleFactory</a>() { } -<a name="l00823"></a><a class="code" href="classModuleFactory.html#a1">00823</a> <span class="keyword">virtual</span> <a class="code" href="classModuleFactory.html#a1">~ModuleFactory</a>() { } -00828 <span class="keyword">virtual</span> <a class="code" href="classModule.html">Module</a> * <a class="code" href="classModuleFactory.html#a2">CreateModule</a>() = 0; -00829 }; -00830 -00831 -<a name="l00832"></a><a class="code" href="modules_8h.html#a29">00832</a> <span class="keyword">typedef</span> DLLFactory<ModuleFactory> <a class="code" href="modules_8h.html#a29">ircd_module</a>; -00833 -00834 <span class="preprocessor">#endif</span> -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Apr 4 18:12:48 2005 for InspIRCd by +00764 <span class="keywordtype">int</span> <a class="code" href="classConfigReader.html#a10">EnumerateValues</a>(std::string tag, <span class="keywordtype">int</span> index); +00765 }; +00766 +00767 +00768 +<a name="l00774"></a><a class="code" href="classFileReader.html">00774</a> <span class="keyword">class </span><a class="code" href="classFileReader.html">FileReader</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> +00775 { +<a name="l00776"></a><a class="code" href="classFileReader.html#r0">00776</a> <a class="code" href="modules_8h.html#a30">file_cache</a> <a class="code" href="classFileReader.html#r0">fc</a>; +00777 <span class="keyword">public</span>: +00782 <a class="code" href="classFileReader.html#a0">FileReader</a>(); +00783 +00789 <a class="code" href="classFileReader.html#a0">FileReader</a>(std::string filename); +00790 +00794 <a class="code" href="classFileReader.html#a2">~FileReader</a>(); +00795 +00801 <span class="keywordtype">void</span> <a class="code" href="classFileReader.html#a3">LoadFile</a>(std::string filename); +00802 +00806 <span class="keywordtype">bool</span> <a class="code" href="classFileReader.html#a4">Exists</a>(); +00807 +00812 std::string <a class="code" href="classFileReader.html#a5">GetLine</a>(<span class="keywordtype">int</span> x); +00813 +00819 <span class="keywordtype">int</span> <a class="code" href="classFileReader.html#a6">FileSize</a>(); +00820 }; +00821 +00822 +<a name="l00829"></a><a class="code" href="classModuleFactory.html">00829</a> <span class="keyword">class </span><a class="code" href="classModuleFactory.html">ModuleFactory</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> +00830 { +00831 <span class="keyword">public</span>: +<a name="l00832"></a><a class="code" href="classModuleFactory.html#a0">00832</a> <a class="code" href="classModuleFactory.html#a0">ModuleFactory</a>() { } +<a name="l00833"></a><a class="code" href="classModuleFactory.html#a1">00833</a> <span class="keyword">virtual</span> <a class="code" href="classModuleFactory.html#a1">~ModuleFactory</a>() { } +00838 <span class="keyword">virtual</span> <a class="code" href="classModule.html">Module</a> * <a class="code" href="classModuleFactory.html#a2">CreateModule</a>() = 0; +00839 }; +00840 +00841 +<a name="l00842"></a><a class="code" href="modules_8h.html#a33">00842</a> <span class="keyword">typedef</span> DLLFactory<ModuleFactory> <a class="code" href="modules_8h.html#a33">ircd_module</a>; +00843 +00844 <span class="preprocessor">#endif</span> +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:21 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 6110e3423..0c3cb75fd 100644 --- a/docs/module-doc/modules_8h.html +++ b/docs/module-doc/modules_8h.html @@ -78,33 +78,41 @@ <tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8h.html#a19">AC_GENERAL_MODE</a> 8</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8h.html#a20">FOREACH_MOD</a> for (int i = 0; i <= <a class="el" href="modules_8cpp.html#a1">MODCOUNT</a>; i++) modules[i]-></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8h.html#a20">VF_STATIC</a> 1</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8h.html#a21">FOREACH_RESULT</a>(x)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8h.html#a21">VF_VENDOR</a> 2</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8h.html#a22">CONF_NOT_A_NUMBER</a> 0x000010</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8h.html#a22">VF_SERVICEPROVIDER</a> 4</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8h.html#a23">CONF_NOT_UNSIGNED</a> 0x000080</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8h.html#a23">VF_COMMON</a> 8</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8h.html#a24">CONF_VALUE_NOT_FOUND</a> 0x000100</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8h.html#a24">FOREACH_MOD</a> for (int i = 0; i <= <a class="el" href="modules_8cpp.html#a1">MODCOUNT</a>; i++) modules[i]-></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8h.html#a25">CONF_FILE_NOT_FOUND</a> 0x000200</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8h.html#a25">FOREACH_RESULT</a>(x)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8h.html#a26">CONF_NOT_A_NUMBER</a> 0x000010</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8h.html#a27">CONF_NOT_UNSIGNED</a> 0x000080</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8h.html#a28">CONF_VALUE_NOT_FOUND</a> 0x000100</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8h.html#a29">CONF_FILE_NOT_FOUND</a> 0x000200</td></tr> <tr><td colspan=2><br><h2>Typedefs</h2></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::deque< std::string > </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8h.html#a26">file_cache</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::deque< std::string > </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8h.html#a30">file_cache</a></td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Low level definition of a <a class="el" href="classFileReader.html">FileReader</a> classes file cache area. </em> <a href="#a26"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>typedef <a class="el" href="modules_8h.html#a26">file_cache</a> </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8h.html#a27">string_list</a></td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Low level definition of a <a class="el" href="classFileReader.html">FileReader</a> classes file cache area. </em> <a href="#a30"></a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>typedef <a class="el" href="modules_8h.html#a30">file_cache</a> </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8h.html#a31">string_list</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::deque< <a class="el" href="classuserrec.html">userrec</a> * > </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8h.html#a28">chanuserlist</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::deque< <a class="el" href="classuserrec.html">userrec</a> * > </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8h.html#a32">chanuserlist</a></td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Holds a list of users in a channel. </em> <a href="#a28"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>typedef DLLFactory< <a class="el" href="classModuleFactory.html">ModuleFactory</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8h.html#a29">ircd_module</a></td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Holds a list of users in a channel. </em> <a href="#a32"></a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>typedef DLLFactory< <a class="el" href="classModuleFactory.html">ModuleFactory</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8h.html#a33">ircd_module</a></td></tr> <tr><td colspan=2><br><h2>Functions</h2></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8h.html#a30">createcommand</a> (char *cmd, handlerfunc f, char flags, int minparams)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8h.html#a34">createcommand</a> (char *cmd, handlerfunc f, char flags, int minparams, char *source)</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8h.html#a31">server_mode</a> (char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8h.html#a35">server_mode</a> (char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> </table> <hr><h2>Define Documentation</h2> @@ -371,7 +379,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#l00325">Module::OnAccessCheck()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00327">Module::OnAccessCheck()</a>. </td> </tr> </table> <a name="a9" doxytag="modules.h::ACR_DENY"></a><p> @@ -398,7 +406,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00325">Module::OnAcc Definition at line <a class="el" href="modules_8h-source.html#l00038">38</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td> </tr> </table> -<a name="a25" doxytag="modules.h::CONF_FILE_NOT_FOUND"></a><p> +<a name="a29" doxytag="modules.h::CONF_FILE_NOT_FOUND"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -419,12 +427,12 @@ Definition at line <a class="el" href="modules_8h-source.html#l00038">38</a> of <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00667">667</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. +Definition at line <a class="el" href="modules_8h-source.html#l00677">677</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#l00577">ConfigReader::ConfigReader()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00579">ConfigReader::ConfigReader()</a>. </td> </tr> </table> -<a name="a22" doxytag="modules.h::CONF_NOT_A_NUMBER"></a><p> +<a name="a26" doxytag="modules.h::CONF_NOT_A_NUMBER"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -445,12 +453,12 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00577">ConfigReader: <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00664">664</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. +Definition at line <a class="el" href="modules_8h-source.html#l00674">674</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">ConfigReader::ReadInteger()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00640">ConfigReader::ReadInteger()</a>. </td> </tr> </table> -<a name="a23" doxytag="modules.h::CONF_NOT_UNSIGNED"></a><p> +<a name="a27" doxytag="modules.h::CONF_NOT_UNSIGNED"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -471,12 +479,12 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00638">ConfigReader: <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00665">665</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. +Definition at line <a class="el" href="modules_8h-source.html#l00675">675</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">ConfigReader::ReadInteger()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00640">ConfigReader::ReadInteger()</a>. </td> </tr> </table> -<a name="a24" doxytag="modules.h::CONF_VALUE_NOT_FOUND"></a><p> +<a name="a28" doxytag="modules.h::CONF_VALUE_NOT_FOUND"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -497,9 +505,9 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00638">ConfigReader: <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00666">666</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. +Definition at line <a class="el" href="modules_8h-source.html#l00676">676</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#l00621">ConfigReader::ReadFlag()</a>, <a class="el" href="modules_8cpp-source.html#l00638">ConfigReader::ReadInteger()</a>, and <a class="el" href="modules_8cpp-source.html#l00605">ConfigReader::ReadValue()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00623">ConfigReader::ReadFlag()</a>, <a class="el" href="modules_8cpp-source.html#l00640">ConfigReader::ReadInteger()</a>, and <a class="el" href="modules_8cpp-source.html#l00607">ConfigReader::ReadValue()</a>. </td> </tr> </table> <a name="a0" doxytag="modules.h::DEBUG"></a><p> @@ -525,7 +533,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00621">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#l00543">Server::AddExtendedMode()</a>, <a class="el" href="users_8cpp-source.html#l00112">userrec::HasPermission()</a>, <a class="el" href="channels_8cpp-source.html#l00179">chanrec::IsCustomModeSet()</a>, <a class="el" href="modules_8cpp-source.html#l00207">ModeDefined()</a>, <a class="el" href="modules_8cpp-source.html#l00233">ModeDefinedOper()</a>, <a class="el" href="modules_8cpp-source.html#l00220">ModeIsListMode()</a>, <a class="el" href="users_8cpp-source.html#l00090">userrec::RemoveInvite()</a>, <a class="el" href="channels_8cpp-source.html#l00123">chanrec::SetCustomMode()</a>, and <a class="el" href="channels_8cpp-source.html#l00148">chanrec::SetCustomModeParam()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00545">Server::AddExtendedMode()</a>, <a class="el" href="users_8cpp-source.html#l00114">userrec::HasPermission()</a>, <a class="el" href="channels_8cpp-source.html#l00180">chanrec::IsCustomModeSet()</a>, <a class="el" href="modules_8cpp-source.html#l00209">ModeDefined()</a>, <a class="el" href="modules_8cpp-source.html#l00235">ModeDefinedOper()</a>, <a class="el" href="modules_8cpp-source.html#l00222">ModeIsListMode()</a>, <a class="el" href="users_8cpp-source.html#l00092">userrec::RemoveInvite()</a>, <a class="el" href="channels_8cpp-source.html#l00124">chanrec::SetCustomMode()</a>, and <a class="el" href="channels_8cpp-source.html#l00149">chanrec::SetCustomModeParam()</a>. </td> </tr> </table> <a name="a2" doxytag="modules.h::DEFAULT"></a><p> @@ -552,7 +560,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00543">Server::AddEx Definition at line <a class="el" href="modules_8h-source.html#l00025">25</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td> </tr> </table> -<a name="a20" doxytag="modules.h::FOREACH_MOD"></a><p> +<a name="a24" doxytag="modules.h::FOREACH_MOD"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -573,10 +581,10 @@ Definition at line <a class="el" href="modules_8h-source.html#l00025">25</a> of <p> <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>. </td> +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>. </td> </tr> </table> -<a name="a21" doxytag="modules.h::FOREACH_RESULT"></a><p> +<a name="a25" doxytag="modules.h::FOREACH_RESULT"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -611,7 +619,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00072">72</a> of } </pre></div> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00080">80</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td> +Definition at line <a class="el" href="modules_8h-source.html#l00087">87</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td> </tr> </table> <a name="a5" doxytag="modules.h::MT_CHANNEL"></a><p> @@ -637,7 +645,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00080">80</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#l00563">Server::AddExtendedListMode()</a>, and <a class="el" href="modules_8cpp-source.html#l00283">ModeMakeList()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00565">Server::AddExtendedListMode()</a>, and <a class="el" href="modules_8cpp-source.html#l00285">ModeMakeList()</a>. </td> </tr> </table> <a name="a6" doxytag="modules.h::MT_CLIENT"></a><p> @@ -663,7 +671,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00563">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#l00543">Server::AddExtendedMode()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00545">Server::AddExtendedMode()</a>. </td> </tr> </table> <a name="a7" doxytag="modules.h::MT_SERVER"></a><p> @@ -689,7 +697,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00543">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#l00543">Server::AddExtendedMode()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00545">Server::AddExtendedMode()</a>. </td> </tr> </table> <a name="a4" doxytag="modules.h::NONE"></a><p> @@ -764,14 +772,112 @@ Definition at line <a class="el" href="modules_8h-source.html#l00026">26</a> of Definition at line <a class="el" href="modules_8h-source.html#l00024">24</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td> </tr> </table> +<a name="a23" doxytag="modules.h::VF_COMMON"></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 VF_COMMON 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="modules_8h-source.html#l00056">56</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td> + </tr> +</table> +<a name="a22" doxytag="modules.h::VF_SERVICEPROVIDER"></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 VF_SERVICEPROVIDER 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="modules_8h-source.html#l00055">55</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td> + </tr> +</table> +<a name="a20" doxytag="modules.h::VF_STATIC"></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 VF_STATIC 1 + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="modules_8h-source.html#l00053">53</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td> + </tr> +</table> +<a name="a21" doxytag="modules.h::VF_VENDOR"></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 VF_VENDOR 2 + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="modules_8h-source.html#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#l00318">Module::GetVersion()</a>. </td> + </tr> +</table> <hr><h2>Typedef Documentation</h2> -<a name="a28" doxytag="modules.h::chanuserlist"></a><p> +<a name="a32" doxytag="modules.h::chanuserlist"></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="classuserrec.html">userrec</a>*> <a class="el" href="modules_8h.html#a28">chanuserlist</a> + <td class="md" nowrap valign="top"> typedef std::deque<<a class="el" href="classuserrec.html">userrec</a>*> <a class="el" href="modules_8h.html#a32">chanuserlist</a> </table> </td> </tr> @@ -788,18 +894,18 @@ Holds a list of users in a channel. <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00065">65</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. +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#l00373">Server::GetUsers()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00375">Server::GetUsers()</a>. </td> </tr> </table> -<a name="a26" doxytag="modules.h::file_cache"></a><p> +<a name="a30" doxytag="modules.h::file_cache"></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<std::string> <a class="el" href="modules_8h.html#a26">file_cache</a> + <td class="md" nowrap valign="top"> typedef std::deque<std::string> <a class="el" href="modules_8h.html#a30">file_cache</a> </table> </td> </tr> @@ -816,18 +922,18 @@ Low level definition of a <a class="el" href="classFileReader.html">FileReader</ <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00060">60</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. +Definition at line <a class="el" href="modules_8h-source.html#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#l00723">FileReader::FileReader()</a>, and <a class="el" href="modules_8cpp-source.html#l00734">FileReader::LoadFile()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00725">FileReader::FileReader()</a>, and <a class="el" href="modules_8cpp-source.html#l00736">FileReader::LoadFile()</a>. </td> </tr> </table> -<a name="a29" doxytag="modules.h::ircd_module"></a><p> +<a name="a33" doxytag="modules.h::ircd_module"></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 DLLFactory<<a class="el" href="classModuleFactory.html">ModuleFactory</a>> <a class="el" href="modules_8h.html#a29">ircd_module</a> + <td class="md" nowrap valign="top"> typedef DLLFactory<<a class="el" href="classModuleFactory.html">ModuleFactory</a>> <a class="el" href="modules_8h.html#a33">ircd_module</a> </table> </td> </tr> @@ -842,16 +948,16 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00723">FileReader::F <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00832">832</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td> +Definition at line <a class="el" href="modules_8h-source.html#l00842">842</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td> </tr> </table> -<a name="a27" doxytag="modules.h::string_list"></a><p> +<a name="a31" doxytag="modules.h::string_list"></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 <a class="el" href="modules_8h.html#a26">file_cache</a> <a class="el" href="modules_8h.html#a27">string_list</a> + <td class="md" nowrap valign="top"> typedef <a class="el" href="modules_8h.html#a30">file_cache</a> <a class="el" href="modules_8h.html#a31">string_list</a> </table> </td> </tr> @@ -866,13 +972,13 @@ Definition at line <a class="el" href="modules_8h-source.html#l00832">832</a> of <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00061">61</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. +Definition at line <a class="el" href="modules_8h-source.html#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#l00327">Module::OnChannelSync()</a>, and <a class="el" href="modules_8cpp-source.html#l00326">Module::OnUserSync()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00329">Module::OnChannelSync()</a>, and <a class="el" href="modules_8cpp-source.html#l00328">Module::OnUserSync()</a>. </td> </tr> </table> <hr><h2>Function Documentation</h2> -<a name="a30" doxytag="modules.h::createcommand"></a><p> +<a name="a34" doxytag="modules.h::createcommand"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -899,7 +1005,13 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00327">Module::OnCha <td></td> <td></td> <td class="md" nowrap>int </td> - <td class="mdname" nowrap> <em>minparams</em></td> + <td class="mdname" nowrap> <em>minparams</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>source</em></td> </tr> <tr> <td></td> @@ -921,10 +1033,10 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00327">Module::OnCha <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00418">Server::AddCommand()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00420">Server::AddCommand()</a>. </td> </tr> </table> -<a name="a31" doxytag="modules.h::server_mode"></a><p> +<a name="a35" doxytag="modules.h::server_mode"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -967,10 +1079,10 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00418">Server::AddCo <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00423">Server::SendMode()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00425">Server::SendMode()</a>. </td> </tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Mon Apr 4 18:12:49 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:22 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 e09ffb727..eacc175e8 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 Mon Apr 4 18:12:54 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:27 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 8a147e855..925faa407 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 Mon Apr 4 18:12:54 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:27 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 290626e8f..75432f2a8 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 Mon Apr 4 18:12:54 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:27 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 69c2744fc..1a690ebdd 100644 --- a/docs/module-doc/servers_8cpp-source.html +++ b/docs/module-doc/servers_8cpp-source.html @@ -28,40 +28,42 @@ 00021 <span class="preprocessor">#include <map></span> 00022 <span class="preprocessor">#include "inspstring.h"</span> 00023 -<a name="l00024"></a><a class="code" href="classserverrec.html#a0">00024</a> <a class="code" href="classserverrec.html#a0">serverrec::serverrec</a>() -00025 { -00026 strlcpy(<a class="code" href="classserverrec.html#o0">name</a>,<span class="stringliteral">""</span>,256); -00027 <a class="code" href="classserverrec.html#o1">pingtime</a> = 0; -00028 <a class="code" href="classconnection.html#o12">lastping</a> = time(NULL); -00029 <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; -00030 <a class="code" href="classserverrec.html#o5">hops_away</a> = 1; -00031 <a class="code" href="classconnection.html#o13">signon</a> = time(NULL); -00032 <a class="code" href="classserverrec.html#o7">jupiter</a> = <span class="keyword">false</span>; -00033 <a class="code" href="classconnection.html#o0">fd</a> = 0; -00034 <a class="code" href="classserverrec.html#o10">sync_soon</a> = <span class="keyword">false</span>; -00035 strlcpy(<a class="code" href="classserverrec.html#o9">nickserv</a>,<span class="stringliteral">""</span>,NICKMAX); -00036 } -00037 -00038 -<a name="l00039"></a><a class="code" href="classserverrec.html#a2">00039</a> <a class="code" href="classserverrec.html#a2">serverrec::~serverrec</a>() -00040 { -00041 } -00042 -<a name="l00043"></a><a class="code" href="classserverrec.html#a1">00043</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) -00044 { -00045 strlcpy(<a class="code" href="classserverrec.html#o0">name</a>,n,256); -00046 <a class="code" href="classconnection.html#o12">lastping</a> = time(NULL); -00047 <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; -00048 <a class="code" href="classserverrec.html#o6">version</a> = ver; -00049 <a class="code" href="classserverrec.html#o5">hops_away</a> = 1; -00050 <a class="code" href="classconnection.html#o13">signon</a> = time(NULL); -00051 <a class="code" href="classserverrec.html#o7">jupiter</a> = jupe; -00052 <a class="code" href="classconnection.html#o0">fd</a> = 0; -00053 <a class="code" href="classserverrec.html#o10">sync_soon</a> = <span class="keyword">false</span>; -00054 strlcpy(<a class="code" href="classserverrec.html#o9">nickserv</a>,<span class="stringliteral">""</span>,NICKMAX); -00055 } -00056 -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Apr 4 18:12:48 2005 for InspIRCd by +<a name="l00024"></a><a class="code" href="servers_8cpp.html#a0">00024</a> <span class="keyword">extern</span> time_t <a class="code" href="channels_8cpp.html#a37">TIME</a>; +00025 +<a name="l00026"></a><a class="code" href="classserverrec.html#a0">00026</a> <a class="code" href="classserverrec.html#a0">serverrec::serverrec</a>() +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>; +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>; +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>; +00037 strlcpy(<a class="code" href="classserverrec.html#o9">nickserv</a>,<span class="stringliteral">""</span>,NICKMAX); +00038 } +00039 +00040 +<a name="l00041"></a><a class="code" href="classserverrec.html#a2">00041</a> <a class="code" href="classserverrec.html#a2">serverrec::~serverrec</a>() +00042 { +00043 } +00044 +<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>; +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>; +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 Apr 7 20:14:21 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 107be2edd..b5ef5a5e7 100644 --- a/docs/module-doc/servers_8cpp.html +++ b/docs/module-doc/servers_8cpp.html @@ -15,8 +15,36 @@ <p> <a href="servers_8cpp-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0> <tr><td></td></tr> +<tr><td colspan=2><br><h2>Variables</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>time_t </td><td class="memItemRight" valign=bottom><a class="el" href="servers_8cpp.html#a0">TIME</a></td></tr> + +</table> +<hr><h2>Variable Documentation</h2> +<a name="a0" doxytag="servers.cpp::TIME"></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="users_8cpp.html#a1">TIME</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="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 Mon Apr 4 18:12:49 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:22 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 a6b8ae022..8972bef23 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 Mon Apr 4 18:12:48 2005 for InspIRCd by +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:21 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 940178e64..97a73164a 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 Mon Apr 4 18:12:49 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:22 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 6c46a44db..5735a0091 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 Mon Apr 4 18:12:52 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:25 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 1bd5ecbe2..366f0ee03 100644 --- a/docs/module-doc/structInAddr__HashComp.html +++ b/docs/module-doc/structInAddr__HashComp.html @@ -49,23 +49,23 @@ <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00157">157</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00159">159</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00158 { -00159 size_t q; -00160 size_t p; -00161 -00162 memcpy(&q,&s1,<span class="keyword">sizeof</span>(size_t)); -00163 memcpy(&p,&s2,<span class="keyword">sizeof</span>(size_t)); -00164 -00165 <span class="keywordflow">return</span> (q == p); -00166 } +<div class="fragment"><pre>00160 { +00161 size_t q; +00162 size_t p; +00163 +00164 memcpy(&q,&s1,<span class="keyword">sizeof</span>(size_t)); +00165 memcpy(&p,&s2,<span class="keyword">sizeof</span>(size_t)); +00166 +00167 <span class="keywordflow">return</span> (q == p); +00168 } </pre></div> </td> </tr> </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 Mon Apr 4 18:12:52 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:25 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 178105df5..ea17c72a8 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 Mon Apr 4 18:12:54 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:26 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 16f2091dc..f2d42b2f7 100644 --- a/docs/module-doc/structStrHashComp.html +++ b/docs/module-doc/structStrHashComp.html @@ -49,20 +49,20 @@ <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00144">144</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00146">146</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00145 { -00146 <span class="keywordtype">char</span> a[MAXBUF],b[MAXBUF]; -00147 strlcpy(a,s1.c_str(),MAXBUF); -00148 strlcpy(b,s2.c_str(),MAXBUF); -00149 <span class="keywordflow">return</span> (strcasecmp(a,b) == 0); -00150 } +<div class="fragment"><pre>00147 { +00148 <span class="keywordtype">char</span> a[MAXBUF],b[MAXBUF]; +00149 strlcpy(a,s1.c_str(),MAXBUF); +00150 strlcpy(b,s2.c_str(),MAXBUF); +00151 <span class="keywordflow">return</span> (strcasecmp(a,b) == 0); +00152 } </pre></div> </td> </tr> </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 Mon Apr 4 18:12:54 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:26 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 b93619f7f..e9cdf6d70 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 Mon Apr 4 18:12:51 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:24 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 9a03eba11..6cdf0a31f 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 Mon Apr 4 18:12:51 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:24 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 a8fc64f74..20361aba1 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 Mon Apr 4 18:12:54 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:27 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 76fba1003..b6869fd8a 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 @@ -43,19 +43,19 @@ <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00117">117</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +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> -<div class="fragment"><pre>00118 { -00119 size_t q; -00120 memcpy(&q,&a,<span class="keyword">sizeof</span>(size_t)); -00121 <span class="keywordflow">return</span> q; -00122 } +<div class="fragment"><pre>00120 { +00121 size_t q; +00122 memcpy(&q,&a,<span class="keyword">sizeof</span>(size_t)); +00123 <span class="keywordflow">return</span> q; +00124 } </pre></div> </td> </tr> </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 Mon Apr 4 18:12:54 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:27 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 cb5db4820..dc30990da 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 Mon Apr 4 18:12:54 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:27 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 bcbf0d2c1..48c6a65b4 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 @@ -43,21 +43,21 @@ <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00130">130</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00132">132</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00131 { -00132 <span class="keywordtype">char</span> a[MAXBUF]; -00133 <span class="keyword">static</span> <span class="keyword">struct </span>hash<const char *> strhash; -00134 strlcpy(a,s.c_str(),MAXBUF); -00135 strlower(a); -00136 <span class="keywordflow">return</span> strhash(a); -00137 } +<div class="fragment"><pre>00133 { +00134 <span class="keywordtype">char</span> a[MAXBUF]; +00135 <span class="keyword">static</span> <span class="keyword">struct </span>hash<const char *> strhash; +00136 strlcpy(a,s.c_str(),MAXBUF); +00137 strlower(a); +00138 <span class="keywordflow">return</span> strhash(a); +00139 } </pre></div> </td> </tr> </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 Mon Apr 4 18:12:54 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:27 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-source.html b/docs/module-doc/users_8cpp-source.html index fb42722e2..c528e87c3 100644 --- a/docs/module-doc/users_8cpp-source.html +++ b/docs/module-doc/users_8cpp-source.html @@ -30,146 +30,148 @@ 00023 <a name="l00024"></a><a class="code" href="users_8cpp.html#a0">00024</a> <span class="keyword">extern</span> std::stringstream <a class="code" href="channels_8cpp.html#a34">config_f</a>; 00025 -<a name="l00026"></a><a class="code" href="classuserrec.html#a0">00026</a> <a class="code" href="classuserrec.html#a0">userrec::userrec</a>() -00027 { -00028 <span class="comment">// the PROPER way to do it, AVOID bzero at *ALL* costs</span> -00029 strcpy(<a class="code" href="classuserrec.html#o0">nick</a>,<span class="stringliteral">""</span>); -00030 strcpy(<a class="code" href="classconnection.html#o2">ip</a>,<span class="stringliteral">"127.0.0.1"</span>); -00031 <a class="code" href="classuserrec.html#o10">timeout</a> = 0; -00032 strcpy(<a class="code" href="classuserrec.html#o1">ident</a>,<span class="stringliteral">""</span>); -00033 strcpy(<a class="code" href="classconnection.html#o1">host</a>,<span class="stringliteral">""</span>); -00034 strcpy(<a class="code" href="classuserrec.html#o2">dhost</a>,<span class="stringliteral">""</span>); -00035 strcpy(<a class="code" href="classuserrec.html#o3">fullname</a>,<span class="stringliteral">""</span>); -00036 strcpy(<a class="code" href="classuserrec.html#o4">modes</a>,<span class="stringliteral">""</span>); -00037 strcpy(<a class="code" href="classconnection.html#o3">inbuf</a>,<span class="stringliteral">""</span>); -00038 strcpy(<a class="code" href="classuserrec.html#o6">server</a>,<span class="stringliteral">""</span>); -00039 strcpy(<a class="code" href="classuserrec.html#o7">awaymsg</a>,<span class="stringliteral">""</span>); -00040 strcpy(<a class="code" href="classuserrec.html#o11">oper</a>,<span class="stringliteral">""</span>); -00041 <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; -00042 <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; -00043 <a class="code" href="classconnection.html#o8">haspassed</a> = <span class="keyword">false</span>; -00044 <a class="code" href="classuserrec.html#o12">dns_done</a> = <span class="keyword">false</span>; -00045 strcpy(<a class="code" href="classuserrec.html#o8">result</a>,<span class="stringliteral">""</span>); -00046 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < MAXCHANS; i++) -00047 { -00048 this-><a class="code" href="classuserrec.html#o5">chans</a>[i].<a class="code" href="classucrec.html#o1">channel</a> = NULL; -00049 this-><a class="code" href="classuserrec.html#o5">chans</a>[i].<a class="code" href="classucrec.html#o0">uc_modes</a> = 0; -00050 } -00051 <a class="code" href="classuserrec.html#r0">invites</a>.clear(); -00052 } -00053 -00054 -00055 -<a name="l00056"></a><a class="code" href="classuserrec.html#a2">00056</a> <span class="keywordtype">char</span>* <a class="code" href="classuserrec.html#a2">userrec::GetFullHost</a>() -00057 { -00058 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>); -00059 <span class="keywordflow">return</span> <a class="code" href="classuserrec.html#o8">result</a>; -00060 } -00061 -00062 -<a name="l00063"></a><a class="code" href="classuserrec.html#a3">00063</a> <span class="keywordtype">char</span>* <a class="code" href="classuserrec.html#a3">userrec::GetFullRealHost</a>() -00064 { -00065 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>); -00066 <span class="keywordflow">return</span> <a class="code" href="classuserrec.html#o8">result</a>; -00067 } -00068 -<a name="l00069"></a><a class="code" href="classuserrec.html#a4">00069</a> <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#a4">userrec::IsInvited</a>(<span class="keywordtype">char</span>* channel) -00070 { -00071 <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++) -00072 { -00073 <span class="keywordflow">if</span> (i->channel) { -00074 <span class="keywordflow">if</span> (!strcasecmp(i->channel,channel)) -00075 { -00076 <span class="keywordflow">return</span> <span class="keyword">true</span>; -00077 } -00078 } -00079 } -00080 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00081 } -00082 -<a name="l00083"></a><a class="code" href="classuserrec.html#a5">00083</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a5">userrec::InviteTo</a>(<span class="keywordtype">char</span>* channel) -00084 { -00085 <a class="code" href="classInvited.html">Invited</a> i; -00086 strlcpy(i.<a class="code" href="classInvited.html#o0">channel</a>,channel,CHANMAX); -00087 <a class="code" href="classuserrec.html#r0">invites</a>.push_back(i); -00088 } -00089 -<a name="l00090"></a><a class="code" href="classuserrec.html#a6">00090</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a6">userrec::RemoveInvite</a>(<span class="keywordtype">char</span>* channel) -00091 { -00092 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Removing invites"</span>); -00093 <span class="keywordflow">if</span> (channel) -00094 { -00095 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#r0">invites</a>.size()) -00096 { -00097 <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++) -00098 { -00099 <span class="keywordflow">if</span> (i->channel) -00100 { -00101 <span class="keywordflow">if</span> (!strcasecmp(i->channel,channel)) -00102 { -00103 <a class="code" href="classuserrec.html#r0">invites</a>.erase(i); -00104 <span class="keywordflow">return</span>; -00105 } -00106 } -00107 } -00108 } -00109 } -00110 } -00111 -<a name="l00112"></a><a class="code" href="classuserrec.html#a7">00112</a> <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#a7">userrec::HasPermission</a>(<span class="keywordtype">char</span>* command) -00113 { -00114 <span class="keywordtype">char</span> TypeName[MAXBUF],Classes[MAXBUF],ClassName[MAXBUF],CommandList[MAXBUF]; -00115 <span class="keywordtype">char</span>* myclass; -00116 <span class="keywordtype">char</span>* mycmd; -00117 <span class="keywordtype">char</span>* savept; -00118 <span class="keywordtype">char</span>* savept2; -00119 -00120 <span class="comment">// are they even an oper at all?</span> -00121 <span class="keywordflow">if</span> (strchr(this->modes,<span class="charliteral">'o'</span>)) -00122 { -00123 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"*** HasPermission: %s is an oper"</span>,this->nick); -00124 <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++) -00125 { -00126 ConfValue(<span class="stringliteral">"type"</span>,<span class="stringliteral">"name"</span>,j,TypeName,&<a class="code" href="channels_8cpp.html#a34">config_f</a>); -00127 <span class="keywordflow">if</span> (!strcmp(TypeName,this->oper)) -00128 { -00129 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); -00130 ConfValue(<span class="stringliteral">"type"</span>,<span class="stringliteral">"classes"</span>,j,Classes,&<a class="code" href="channels_8cpp.html#a34">config_f</a>); -00131 <span class="keywordtype">char</span>* myclass = strtok_r(Classes,<span class="stringliteral">" "</span>,&savept); -00132 <span class="keywordflow">while</span> (myclass) -00133 { -00134 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"*** HasPermission: checking classtype '%s'"</span>,myclass); -00135 <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++) -00136 { -00137 ConfValue(<span class="stringliteral">"class"</span>,<span class="stringliteral">"name"</span>,k,ClassName,&<a class="code" href="channels_8cpp.html#a34">config_f</a>); -00138 <span class="keywordflow">if</span> (!strcmp(ClassName,myclass)) -00139 { -00140 ConfValue(<span class="stringliteral">"class"</span>,<span class="stringliteral">"commands"</span>,k,CommandList,&<a class="code" href="channels_8cpp.html#a34">config_f</a>); -00141 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); -00142 -00143 -00144 mycmd = strtok_r(CommandList,<span class="stringliteral">" "</span>,&savept2); -00145 <span class="keywordflow">while</span> (mycmd) -00146 { -00147 <span class="keywordflow">if</span> (!strcasecmp(mycmd,command)) -00148 { -00149 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"*** Command %s found, returning true"</span>,command); -00150 <span class="keywordflow">return</span> <span class="keyword">true</span>; -00151 } -00152 mycmd = strtok_r(NULL,<span class="stringliteral">" "</span>,&savept2); -00153 } -00154 } -00155 } -00156 myclass = strtok_r(NULL,<span class="stringliteral">" "</span>,&savept); -00157 } -00158 } -00159 } -00160 } -00161 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00162 } -00163 -00164 -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Apr 4 18:12:48 2005 for InspIRCd by +<a name="l00026"></a><a class="code" href="users_8cpp.html#a1">00026</a> <span class="keyword">extern</span> time_t <a class="code" href="channels_8cpp.html#a37">TIME</a>; +00027 +<a name="l00028"></a><a class="code" href="classuserrec.html#a0">00028</a> <a class="code" href="classuserrec.html#a0">userrec::userrec</a>() +00029 { +00030 <span class="comment">// the PROPER way to do it, AVOID bzero at *ALL* costs</span> +00031 strcpy(<a class="code" href="classuserrec.html#o0">nick</a>,<span class="stringliteral">""</span>); +00032 strcpy(<a class="code" href="classconnection.html#o2">ip</a>,<span class="stringliteral">"127.0.0.1"</span>); +00033 <a class="code" href="classuserrec.html#o10">timeout</a> = 0; +00034 strcpy(<a class="code" href="classuserrec.html#o1">ident</a>,<span class="stringliteral">""</span>); +00035 strcpy(<a class="code" href="classconnection.html#o1">host</a>,<span class="stringliteral">""</span>); +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="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; +00044 <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; +00045 <a class="code" href="classconnection.html#o8">haspassed</a> = <span class="keyword">false</span>; +00046 <a class="code" href="classuserrec.html#o12">dns_done</a> = <span class="keyword">false</span>; +00047 strcpy(<a class="code" href="classuserrec.html#o8">result</a>,<span class="stringliteral">""</span>); +00048 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < MAXCHANS; i++) +00049 { +00050 this-><a class="code" href="classuserrec.html#o5">chans</a>[i].<a class="code" href="classucrec.html#o1">channel</a> = NULL; +00051 this-><a class="code" href="classuserrec.html#o5">chans</a>[i].<a class="code" href="classucrec.html#o0">uc_modes</a> = 0; +00052 } +00053 <a class="code" href="classuserrec.html#r0">invites</a>.clear(); +00054 } +00055 +00056 +00057 +<a name="l00058"></a><a class="code" href="classuserrec.html#a2">00058</a> <span class="keywordtype">char</span>* <a class="code" href="classuserrec.html#a2">userrec::GetFullHost</a>() +00059 { +00060 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>); +00061 <span class="keywordflow">return</span> <a class="code" href="classuserrec.html#o8">result</a>; +00062 } +00063 +00064 +<a name="l00065"></a><a class="code" href="classuserrec.html#a3">00065</a> <span class="keywordtype">char</span>* <a class="code" href="classuserrec.html#a3">userrec::GetFullRealHost</a>() +00066 { +00067 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>); +00068 <span class="keywordflow">return</span> <a class="code" href="classuserrec.html#o8">result</a>; +00069 } +00070 +<a name="l00071"></a><a class="code" href="classuserrec.html#a4">00071</a> <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#a4">userrec::IsInvited</a>(<span class="keywordtype">char</span>* channel) +00072 { +00073 <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++) +00074 { +00075 <span class="keywordflow">if</span> (i->channel) { +00076 <span class="keywordflow">if</span> (!strcasecmp(i->channel,channel)) +00077 { +00078 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00079 } +00080 } +00081 } +00082 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00083 } +00084 +<a name="l00085"></a><a class="code" href="classuserrec.html#a5">00085</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a5">userrec::InviteTo</a>(<span class="keywordtype">char</span>* channel) +00086 { +00087 <a class="code" href="classInvited.html">Invited</a> i; +00088 strlcpy(i.<a class="code" href="classInvited.html#o0">channel</a>,channel,CHANMAX); +00089 <a class="code" href="classuserrec.html#r0">invites</a>.push_back(i); +00090 } +00091 +<a name="l00092"></a><a class="code" href="classuserrec.html#a6">00092</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a6">userrec::RemoveInvite</a>(<span class="keywordtype">char</span>* channel) +00093 { +00094 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Removing invites"</span>); +00095 <span class="keywordflow">if</span> (channel) +00096 { +00097 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#r0">invites</a>.size()) +00098 { +00099 <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++) +00100 { +00101 <span class="keywordflow">if</span> (i->channel) +00102 { +00103 <span class="keywordflow">if</span> (!strcasecmp(i->channel,channel)) +00104 { +00105 <a class="code" href="classuserrec.html#r0">invites</a>.erase(i); +00106 <span class="keywordflow">return</span>; +00107 } +00108 } +00109 } +00110 } +00111 } +00112 } +00113 +<a name="l00114"></a><a class="code" href="classuserrec.html#a7">00114</a> <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#a7">userrec::HasPermission</a>(<span class="keywordtype">char</span>* command) +00115 { +00116 <span class="keywordtype">char</span> TypeName[MAXBUF],Classes[MAXBUF],ClassName[MAXBUF],CommandList[MAXBUF]; +00117 <span class="keywordtype">char</span>* myclass; +00118 <span class="keywordtype">char</span>* mycmd; +00119 <span class="keywordtype">char</span>* savept; +00120 <span class="keywordtype">char</span>* savept2; +00121 +00122 <span class="comment">// are they even an oper at all?</span> +00123 <span class="keywordflow">if</span> (strchr(this->modes,<span class="charliteral">'o'</span>)) +00124 { +00125 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"*** HasPermission: %s is an oper"</span>,this->nick); +00126 <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++) +00127 { +00128 ConfValue(<span class="stringliteral">"type"</span>,<span class="stringliteral">"name"</span>,j,TypeName,&<a class="code" href="channels_8cpp.html#a34">config_f</a>); +00129 <span class="keywordflow">if</span> (!strcmp(TypeName,this->oper)) +00130 { +00131 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); +00132 ConfValue(<span class="stringliteral">"type"</span>,<span class="stringliteral">"classes"</span>,j,Classes,&<a class="code" href="channels_8cpp.html#a34">config_f</a>); +00133 <span class="keywordtype">char</span>* myclass = strtok_r(Classes,<span class="stringliteral">" "</span>,&savept); +00134 <span class="keywordflow">while</span> (myclass) +00135 { +00136 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"*** HasPermission: checking classtype '%s'"</span>,myclass); +00137 <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++) +00138 { +00139 ConfValue(<span class="stringliteral">"class"</span>,<span class="stringliteral">"name"</span>,k,ClassName,&<a class="code" href="channels_8cpp.html#a34">config_f</a>); +00140 <span class="keywordflow">if</span> (!strcmp(ClassName,myclass)) +00141 { +00142 ConfValue(<span class="stringliteral">"class"</span>,<span class="stringliteral">"commands"</span>,k,CommandList,&<a class="code" href="channels_8cpp.html#a34">config_f</a>); +00143 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); +00144 +00145 +00146 mycmd = strtok_r(CommandList,<span class="stringliteral">" "</span>,&savept2); +00147 <span class="keywordflow">while</span> (mycmd) +00148 { +00149 <span class="keywordflow">if</span> (!strcasecmp(mycmd,command)) +00150 { +00151 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"*** Command %s found, returning true"</span>,command); +00152 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00153 } +00154 mycmd = strtok_r(NULL,<span class="stringliteral">" "</span>,&savept2); +00155 } +00156 } +00157 } +00158 myclass = strtok_r(NULL,<span class="stringliteral">" "</span>,&savept); +00159 } +00160 } +00161 } +00162 } +00163 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00164 } +00165 +00166 +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:21 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 33f785662..409351083 100644 --- a/docs/module-doc/users_8cpp.html +++ b/docs/module-doc/users_8cpp.html @@ -18,6 +18,8 @@ <tr><td colspan=2><br><h2>Variables</h2></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>std::stringstream </td><td class="memItemRight" valign=bottom><a class="el" href="users_8cpp.html#a0">config_f</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>time_t </td><td class="memItemRight" valign=bottom><a class="el" href="users_8cpp.html#a1">TIME</a></td></tr> + </table> <hr><h2>Variable Documentation</h2> <a name="a0" doxytag="users.cpp::config_f"></a><p> @@ -44,7 +46,31 @@ Definition at line <a class="el" href="users_8cpp-source.html#l00024">24</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 Mon Apr 4 18:12:49 2005 for InspIRCd by +<a name="a1" doxytag="users.cpp::TIME"></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="users_8cpp.html#a1">TIME</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_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 Apr 7 20:14:22 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 3cf8bf716..2d8c0ff66 100644 --- a/docs/module-doc/users_8h-source.html +++ b/docs/module-doc/users_8h-source.html @@ -122,7 +122,7 @@ 00200 00201 00202 <span class="preprocessor">#endif</span> -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Apr 4 18:12:48 2005 for InspIRCd by +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:21 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 19d6f7743..947e2a64d 100644 --- a/docs/module-doc/users_8h.html +++ b/docs/module-doc/users_8h.html @@ -243,7 +243,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#l00075">75</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 Mon Apr 4 18:12:50 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:23 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 14c8d74da..fd67b7564 100644 --- a/docs/module-doc/xline_8h-source.html +++ b/docs/module-doc/xline_8h-source.html @@ -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 Mon Apr 4 18:12:48 2005 for InspIRCd by +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:21 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 b14c53e16..5bac88ff6 100644 --- a/docs/module-doc/xline_8h.html +++ b/docs/module-doc/xline_8h.html @@ -1075,7 +1075,7 @@ </td> </tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Mon Apr 4 18:12:50 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:23 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> |