Documentation update, 09/02/03

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@167 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
brain 2003-02-09 12:49:00 +00:00
parent 1f487855a5
commit 08e384bb24
72 changed files with 2525 additions and 1895 deletions

View File

@ -10,8 +10,8 @@
<tr><td class="indexkey"><a class="el" href="classAdmin.html">Admin</a></td><td class="indexvalue">Holds /ADMIN data This class contains the admin details of the local server</td></tr>
<tr><td class="indexkey"><a class="el" href="classBanItem.html">BanItem</a></td><td class="indexvalue">A subclass of <a class="el" href="classHostItem.html">HostItem</a> designed to hold channel bans (+b)</td></tr>
<tr><td class="indexkey"><a class="el" href="classchanrec.html">chanrec</a></td><td class="indexvalue">Holds all relevent information for a channel</td></tr>
<tr><td class="indexkey"><a class="el" href="classclassbase.html">classbase</a></td><td class="indexvalue"></td></tr>
<tr><td class="indexkey"><a class="el" href="classcommand__t.html">command_t</a></td><td class="indexvalue"></td></tr>
<tr><td class="indexkey"><a class="el" href="classclassbase.html">classbase</a></td><td class="indexvalue">The base class for all inspircd classes</td></tr>
<tr><td class="indexkey"><a class="el" href="classcommand__t.html">command_t</a></td><td class="indexvalue">A structure that defines a command</td></tr>
<tr><td class="indexkey"><a class="el" href="classConfigReader.html">ConfigReader</a></td><td class="indexvalue">Allows reading of values from configuration files This class allows a module to read from either the main configuration file (inspircd.conf) or from a module-specified configuration file</td></tr>
<tr><td class="indexkey"><a class="el" href="classConnectClass.html">ConnectClass</a></td><td class="indexvalue">Holds information relevent to &lt;connect allow&gt; and &lt;connect deny&gt; tags in the config file</td></tr>
<tr><td class="indexkey"><a class="el" href="classconnection.html">connection</a></td><td class="indexvalue"></td></tr>
@ -22,13 +22,14 @@
<tr><td class="indexkey"><a class="el" href="classInviteItem.html">InviteItem</a></td><td class="indexvalue">A subclass of <a class="el" href="classHostItem.html">HostItem</a> designed to hold channel invites (+I)</td></tr>
<tr><td class="indexkey"><a class="el" href="classModule.html">Module</a></td><td class="indexvalue">Base class for all InspIRCd modules This class is the base class for InspIRCd modules</td></tr>
<tr><td class="indexkey"><a class="el" href="classModuleFactory.html">ModuleFactory</a></td><td class="indexvalue">Instantiates classes inherited from <a class="el" href="classModule.html">Module</a> This class creates a class inherited from type <a class="el" href="classModule.html">Module</a>, using new</td></tr>
<tr><td class="indexkey"><a class="el" href="classpacket.html">packet</a></td><td class="indexvalue"></td></tr>
<tr><td class="indexkey"><a class="el" href="classServer.html">Server</a></td><td class="indexvalue">Allows server output and query functions This class contains methods which allow a module to query the state of the irc server, and produce output to users and other servers</td></tr>
<tr><td class="indexkey"><a class="el" href="classserverrec.html">serverrec</a></td><td class="indexvalue"></td></tr>
<tr><td class="indexkey"><a class="el" href="classserverrec.html">serverrec</a></td><td class="indexvalue">A class that defines the local server or a remote server</td></tr>
<tr><td class="indexkey"><a class="el" href="classucrec.html">ucrec</a></td><td class="indexvalue">Holds a user's modes on a channel This class associates a users privilages with a channel by creating a pointer link between a userrec and chanrec class</td></tr>
<tr><td class="indexkey"><a class="el" href="classuserrec.html">userrec</a></td><td class="indexvalue">Holds all information about a user This class stores all information about a user connected to the irc server</td></tr>
<tr><td class="indexkey"><a class="el" href="classVersion.html">Version</a></td><td class="indexvalue">Holds a module's Version information The four members (set by the constructor only) indicate details as to the version number of a module</td></tr>
</table>
<hr><address style="align: right;"><small>Generated on Mon Jan 27 00:23:11 2003 for InspIRCd by
<hr><address style="align: right;"><small>Generated on Sun Feb 9 12:48:16 2003 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc2 </small></address>

View File

@ -8,35 +8,28 @@
<a class="qindex" href="main.html">Main Page</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>base.h</h1><a href="base_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*</span>
00002 <span class="comment"></span>
00003 <span class="comment">$Log$
00003 <span class="comment">Revision 1.3 2003/01/27 00:28:57 brain
00003 <span class="comment">...
00003 <span class="comment"></span>
00004 <span class="comment">Revision 1.1 2003/01/26 23:52:59 brain</span>
00005 <span class="comment">Modified documentation for base classes</span>
00006 <span class="comment">Added base classes</span>
00007 <span class="comment"></span>
00008 <span class="comment"></span>
00009 <span class="comment">*/</span>
00010
00011 <span class="preprocessor">#include "inspircd_config.h"</span>
00012 <span class="preprocessor">#include &lt;time.h&gt;</span>
00013
00014 <span class="preprocessor">#ifndef __BASE_H__ </span>
00015 <span class="preprocessor"></span><span class="preprocessor">#define __BASE_H__ </span>
00016 <span class="preprocessor"></span>
<a name="l00017"></a><a class="code" href="classclassbase.html">00017</a> <span class="keyword">class </span><a class="code" href="classclassbase.html">classbase</a>
00018 {
00019 <span class="keyword">public</span>:
00004 <span class="comment">*/</span>
00005
00006 <span class="preprocessor">#include "inspircd_config.h"</span>
00007 <span class="preprocessor">#include &lt;time.h&gt;</span>
00008
00009 <span class="preprocessor">#ifndef __BASE_H__ </span>
00010 <span class="preprocessor"></span><span class="preprocessor">#define __BASE_H__ </span>
00011 <span class="preprocessor"></span>
00012
<a name="l00015"></a><a class="code" href="classclassbase.html">00015</a> <span class="keyword">class </span><a class="code" href="classclassbase.html">classbase</a>
00016 {
00017 <span class="keyword">public</span>:
<a name="l00020"></a><a class="code" href="classclassbase.html#m0">00020</a> time_t <a class="code" href="classclassbase.html#m0">age</a>;
00021
<a name="l00022"></a><a class="code" href="classclassbase.html#a0">00022</a> <a class="code" href="classclassbase.html#a0">classbase</a>() { age = time(NULL); }
<a name="l00023"></a><a class="code" href="classclassbase.html#a1">00023</a> <a class="code" href="classclassbase.html#a1">~classbase</a>() { }
00024 };
00025
00026 <span class="preprocessor">#endif</span>
00027 <span class="preprocessor"></span>
</pre></div><hr><address style="align: right;"><small>Generated on Mon Jan 27 00:23:10 2003 for InspIRCd by
<a name="l00025"></a><a class="code" href="classclassbase.html#a0">00025</a> <a class="code" href="classclassbase.html#a0">classbase</a>() { age = time(NULL); }
<a name="l00026"></a><a class="code" href="classclassbase.html#a1">00026</a> <a class="code" href="classclassbase.html#a1">~classbase</a>() { }
00027 };
00028
00029 <span class="preprocessor">#endif</span>
00030 <span class="preprocessor"></span>
</pre></div><hr><address style="align: right;"><small>Generated on Sun Feb 9 12:48:15 2003 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc2 </small></address>

View File

@ -14,8 +14,9 @@
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Compounds</h2></td></tr>
<tr><td nowrap align=right valign=top>class &nbsp;</td><td valign=bottom><a class="el" href="classclassbase.html">classbase</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>The base class for all inspircd classes.</em> <a href="classclassbase.html#_details">More...</a><em></em></font><br><br></td></tr>
</table>
<hr><address style="align: right;"><small>Generated on Mon Jan 27 00:23:11 2003 for InspIRCd by
<hr><address style="align: right;"><small>Generated on Sun Feb 9 12:48:16 2003 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc2 </small></address>

View File

@ -8,142 +8,119 @@
<a class="qindex" href="main.html">Main Page</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>channels.h</h1><a href="channels_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*</span>
00002 <span class="comment"></span>
00003 <span class="comment">$Log$
00003 <span class="comment">Revision 1.5 2003/01/27 00:28:57 brain
00003 <span class="comment">...
00003 <span class="comment"></span>
00004 <span class="comment">Revision 1.2 2003/01/26 23:52:59 brain</span>
00005 <span class="comment">Modified documentation for base classes</span>
00006 <span class="comment">Added base classes</span>
00007 <span class="comment"></span>
00008 <span class="comment">Revision 1.1.1.1 2003/01/23 19:45:58 brain</span>
00009 <span class="comment">InspIRCd second source tree</span>
00010 <span class="comment"></span>
00011 <span class="comment">Revision 1.7 2003/01/22 00:44:26 brain</span>
00012 <span class="comment">Added documentation comments</span>
00013 <span class="comment"></span>
00014 <span class="comment">Revision 1.6 2003/01/21 21:11:17 brain</span>
00015 <span class="comment">Added documentation</span>
00016 <span class="comment"></span>
00017 <span class="comment">Revision 1.5 2003/01/16 20:11:55 brain</span>
00018 <span class="comment">fixed some ugly pointer bugs (thanks dblack and a|KK|y!)</span>
00019 <span class="comment"></span>
00020 <span class="comment">Revision 1.4 2003/01/15 22:47:44 brain</span>
00021 <span class="comment">Changed user and channel structs to classes (finally)</span>
00022 <span class="comment"></span>
00023 <span class="comment"> </span>
00024 <span class="comment">*/</span>
00025
00026 <span class="preprocessor">#include "inspircd_config.h"</span>
00027 <span class="preprocessor">#include "<a class="code" href="base_8h.html">base.h</a>"</span>
00028 <span class="preprocessor">#include &lt;time.h&gt;</span>
00029 <span class="preprocessor">#include &lt;vector&gt;</span>
00003 <span class="comment"> </span>
00004 <span class="comment">*/</span>
00005
00006 <span class="preprocessor">#include "inspircd_config.h"</span>
00007 <span class="preprocessor">#include "<a class="code" href="base_8h.html">base.h</a>"</span>
00008 <span class="preprocessor">#include &lt;time.h&gt;</span>
00009 <span class="preprocessor">#include &lt;vector&gt;</span>
00010
00011 <span class="preprocessor">#ifndef __CHANNELS_H__</span>
00012 <span class="preprocessor"></span><span class="preprocessor">#define __CHANNELS_H__</span>
00013 <span class="preprocessor"></span>
<a name="l00017"></a><a class="code" href="classHostItem.html">00017</a> <span class="keyword">class </span><a class="code" href="classHostItem.html">HostItem</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a>
00018 {
00019 <span class="keyword">public</span>:
<a name="l00020"></a><a class="code" href="classHostItem.html#m0">00020</a> time_t <a class="code" href="classHostItem.html#m0">set_time</a>;
<a name="l00021"></a><a class="code" href="classHostItem.html#m1">00021</a> <span class="keywordtype">char</span> <a class="code" href="classHostItem.html#m1">set_by</a>[NICKMAX];
<a name="l00022"></a><a class="code" href="classHostItem.html#m2">00022</a> <span class="keywordtype">char</span> <a class="code" href="classHostItem.html#m2">data</a>[MAXBUF];
00023
<a name="l00024"></a><a class="code" href="classHostItem.html#a0">00024</a> <a class="code" href="classHostItem.html#a0">HostItem</a>() { <span class="comment">/* stub */</span> }
<a name="l00025"></a><a class="code" href="classHostItem.html#a1">00025</a> <span class="keyword">virtual</span> <a class="code" href="classHostItem.html#a1">~HostItem</a>() { <span class="comment">/* stub */</span> }
00026 };
00027
00028 <span class="comment">// banlist is inherited from HostList mainly for readability</span>
00029 <span class="comment">// reasons only</span>
00030
00031 <span class="preprocessor">#ifndef __CHANNELS_H__</span>
00032 <span class="preprocessor"></span><span class="preprocessor">#define __CHANNELS_H__</span>
00033 <span class="preprocessor"></span>
<a name="l00037"></a><a class="code" href="classHostItem.html">00037</a> <span class="keyword">class </span><a class="code" href="classHostItem.html">HostItem</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a>
00038 {
00039 <span class="keyword">public</span>:
<a name="l00040"></a><a class="code" href="classHostItem.html#m0">00040</a> time_t <a class="code" href="classHostItem.html#m0">set_time</a>;
<a name="l00041"></a><a class="code" href="classHostItem.html#m1">00041</a> <span class="keywordtype">char</span> <a class="code" href="classHostItem.html#m1">set_by</a>[NICKMAX];
<a name="l00042"></a><a class="code" href="classHostItem.html#m2">00042</a> <span class="keywordtype">char</span> <a class="code" href="classHostItem.html#m2">data</a>[MAXBUF];
00043
<a name="l00044"></a><a class="code" href="classHostItem.html#a0">00044</a> <a class="code" href="classHostItem.html#a0">HostItem</a>() { <span class="comment">/* stub */</span> }
<a name="l00045"></a><a class="code" href="classHostItem.html#a1">00045</a> <span class="keyword">virtual</span> <a class="code" href="classHostItem.html#a1">~HostItem</a>() { <span class="comment">/* stub */</span> }
00046 };
00047
00048 <span class="comment">// banlist is inherited from HostList mainly for readability</span>
00049 <span class="comment">// reasons only</span>
00050
<a name="l00053"></a><a class="code" href="classBanItem.html">00053</a> <span class="keyword">class </span><a class="code" href="classBanItem.html">BanItem</a> : <span class="keyword">public</span> <a class="code" href="classHostItem.html">HostItem</a>
00054 {
00055 };
00056
00057 <span class="comment">// same with this...</span>
00058
<a name="l00061"></a><a class="code" href="classExemptItem.html">00061</a> <span class="keyword">class </span><a class="code" href="classExemptItem.html">ExemptItem</a> : <span class="keyword">public</span> <a class="code" href="classHostItem.html">HostItem</a>
00062 {
00063 };
00064
00065 <span class="comment">// and this...</span>
00066
<a name="l00069"></a><a class="code" href="classInviteItem.html">00069</a> <span class="keyword">class </span><a class="code" href="classInviteItem.html">InviteItem</a> : <span class="keyword">public</span> <a class="code" href="classHostItem.html">HostItem</a>
00070 {
00071 };
00072
00073
<a name="l00076"></a><a class="code" href="channels_8h.html#a5">00076</a> <span class="keyword">typedef</span> vector&lt;BanItem&gt; <a class="code" href="channels_8h.html#a5">BanList</a>;
00077
<a name="l00080"></a><a class="code" href="channels_8h.html#a6">00080</a> <span class="keyword">typedef</span> vector&lt;ExemptItem&gt; <a class="code" href="channels_8h.html#a6">ExemptList</a>;
00081
<a name="l00084"></a><a class="code" href="channels_8h.html#a7">00084</a> <span class="keyword">typedef</span> vector&lt;InviteItem&gt; <a class="code" href="channels_8h.html#a7">InviteList</a>;
00085
<a name="l00090"></a><a class="code" href="classchanrec.html">00090</a> <span class="keyword">class </span><a class="code" href="classchanrec.html">chanrec</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a>
00091 {
00092 <span class="keyword">public</span>:
<a name="l00095"></a><a class="code" href="classchanrec.html#m0">00095</a> <span class="keywordtype">char</span> <a class="code" href="classchanrec.html#m0">name</a>[CHANMAX]; <span class="comment">/* channel name */</span>
<a name="l00099"></a><a class="code" href="classchanrec.html#m1">00099</a> <span class="keywordtype">char</span> <a class="code" href="classchanrec.html#m1">custom_modes</a>[MAXMODES]; <span class="comment">/* modes handled by modules */</span>
<a name="l00103"></a><a class="code" href="classchanrec.html#m2">00103</a> <span class="keywordtype">char</span> <a class="code" href="classchanrec.html#m2">topic</a>[MAXBUF];
<a name="l00106"></a><a class="code" href="classchanrec.html#m3">00106</a> time_t <a class="code" href="classchanrec.html#m3">created</a>;
<a name="l00110"></a><a class="code" href="classchanrec.html#m4">00110</a> time_t <a class="code" href="classchanrec.html#m4">topicset</a>;
<a name="l00114"></a><a class="code" href="classchanrec.html#m5">00114</a> <span class="keywordtype">char</span> <a class="code" href="classchanrec.html#m5">setby</a>[NICKMAX];
00115
<a name="l00119"></a><a class="code" href="classchanrec.html#m6">00119</a> <span class="keywordtype">long</span> <a class="code" href="classchanrec.html#m6">limit</a>;
00120
<a name="l00124"></a><a class="code" href="classchanrec.html#m7">00124</a> <span class="keywordtype">char</span> <a class="code" href="classchanrec.html#m7">key</a>[32];
00125
<a name="l00128"></a><a class="code" href="classchanrec.html#m8">00128</a> <span class="keywordtype">short</span> <span class="keywordtype">int</span> <a class="code" href="classchanrec.html#m8">topiclock</a>;
00129
<a name="l00132"></a><a class="code" href="classchanrec.html#m9">00132</a> <span class="keywordtype">short</span> <span class="keywordtype">int</span> <a class="code" href="classchanrec.html#m9">noexternal</a>;
00133
<a name="l00136"></a><a class="code" href="classchanrec.html#m10">00136</a> <span class="keywordtype">short</span> <span class="keywordtype">int</span> <a class="code" href="classchanrec.html#m10">inviteonly</a>;
00137
<a name="l00140"></a><a class="code" href="classchanrec.html#m11">00140</a> <span class="keywordtype">short</span> <span class="keywordtype">int</span> <a class="code" href="classchanrec.html#m11">moderated</a>;
00141
<a name="l00145"></a><a class="code" href="classchanrec.html#m12">00145</a> <span class="keywordtype">short</span> <span class="keywordtype">int</span> <a class="code" href="classchanrec.html#m12">secret</a>;
00146
<a name="l00150"></a><a class="code" href="classchanrec.html#m13">00150</a> <span class="keywordtype">short</span> <span class="keywordtype">int</span> <a class="code" href="classchanrec.html#m13">c_private</a>;
00151
<a name="l00154"></a><a class="code" href="classchanrec.html#m14">00154</a> <a class="code" href="channels_8h.html#a5">BanList</a> <a class="code" href="classchanrec.html#m14">bans</a>;
00155
<a name="l00158"></a><a class="code" href="classchanrec.html#a0">00158</a> <a class="code" href="classchanrec.html#a0">chanrec</a>()
00159 {
00160 strcpy(name,<span class="stringliteral">""</span>);
00161 strcpy(custom_modes,<span class="stringliteral">""</span>);
00162 strcpy(topic,<span class="stringliteral">""</span>);
00163 strcpy(setby,<span class="stringliteral">""</span>);
00164 strcpy(key,<span class="stringliteral">""</span>);
00165 created = topicset = limit = 0;
00166 topiclock = noexternal = inviteonly = moderated = secret = c_private = <span class="keyword">false</span>;
00167 }
00168
<a name="l00169"></a><a class="code" href="classchanrec.html#a1">00169</a> <span class="keyword">virtual</span> <a class="code" href="classchanrec.html#a1">~chanrec</a>() { <span class="comment">/* stub */</span> }
00170 };
00171
00172 <span class="comment">/* used to hold a channel and a users modes on that channel, e.g. +v, +h, +o</span>
00173 <span class="comment"> * needs to come AFTER struct chanrec */</span>
00174
<a name="l00175"></a><a class="code" href="channels_8h.html#a0">00175</a> <span class="preprocessor">#define UCMODE_OP 1</span>
<a name="l00176"></a><a class="code" href="channels_8h.html#a1">00176</a> <span class="preprocessor"></span><span class="preprocessor">#define UCMODE_VOICE 2</span>
<a name="l00177"></a><a class="code" href="channels_8h.html#a2">00177</a> <span class="preprocessor"></span><span class="preprocessor">#define UCMODE_HOP 4</span>
<a name="l00178"></a><a class="code" href="channels_8h.html#a3">00178</a> <span class="preprocessor"></span><span class="preprocessor">#define UCMODE_PROTECT 8</span>
<a name="l00179"></a><a class="code" href="channels_8h.html#a4">00179</a> <span class="preprocessor"></span><span class="preprocessor">#define UCMODE_FOUNDER 16</span>
00180 <span class="preprocessor"></span>
<a name="l00186"></a><a class="code" href="classucrec.html">00186</a> <span class="keyword">class </span><a class="code" href="classucrec.html">ucrec</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a>
00187 {
00188 <span class="keyword">public</span>:
<a name="l00192"></a><a class="code" href="classucrec.html#m0">00192</a> <span class="keywordtype">long</span> <a class="code" href="classucrec.html#m0">uc_modes</a>;
00193
<a name="l00197"></a><a class="code" href="classucrec.html#m1">00197</a> <a class="code" href="classchanrec.html">chanrec</a> *<a class="code" href="classucrec.html#m1">channel</a>;
00198
<a name="l00199"></a><a class="code" href="classucrec.html#a0">00199</a> <a class="code" href="classucrec.html#a0">ucrec</a>() { <span class="comment">/* stub */</span> }
<a name="l00200"></a><a class="code" href="classucrec.html#a1">00200</a> <span class="keyword">virtual</span> <a class="code" href="classucrec.html#a1">~ucrec</a>() { <span class="comment">/* stub */</span> }
00201 };
00202
00203 <span class="preprocessor">#endif</span>
00204 <span class="preprocessor"></span>
</pre></div><hr><address style="align: right;"><small>Generated on Mon Jan 27 00:23:10 2003 for InspIRCd by
<a name="l00033"></a><a class="code" href="classBanItem.html">00033</a> <span class="keyword">class </span><a class="code" href="classBanItem.html">BanItem</a> : <span class="keyword">public</span> <a class="code" href="classHostItem.html">HostItem</a>
00034 {
00035 };
00036
00037 <span class="comment">// same with this...</span>
00038
<a name="l00041"></a><a class="code" href="classExemptItem.html">00041</a> <span class="keyword">class </span><a class="code" href="classExemptItem.html">ExemptItem</a> : <span class="keyword">public</span> <a class="code" href="classHostItem.html">HostItem</a>
00042 {
00043 };
00044
00045 <span class="comment">// and this...</span>
00046
<a name="l00049"></a><a class="code" href="classInviteItem.html">00049</a> <span class="keyword">class </span><a class="code" href="classInviteItem.html">InviteItem</a> : <span class="keyword">public</span> <a class="code" href="classHostItem.html">HostItem</a>
00050 {
00051 };
00052
00053
<a name="l00056"></a><a class="code" href="channels_8h.html#a5">00056</a> <span class="keyword">typedef</span> vector&lt;BanItem&gt; <a class="code" href="channels_8h.html#a5">BanList</a>;
00057
<a name="l00060"></a><a class="code" href="channels_8h.html#a6">00060</a> <span class="keyword">typedef</span> vector&lt;ExemptItem&gt; <a class="code" href="channels_8h.html#a6">ExemptList</a>;
00061
<a name="l00064"></a><a class="code" href="channels_8h.html#a7">00064</a> <span class="keyword">typedef</span> vector&lt;InviteItem&gt; <a class="code" href="channels_8h.html#a7">InviteList</a>;
00065
<a name="l00070"></a><a class="code" href="classchanrec.html">00070</a> <span class="keyword">class </span><a class="code" href="classchanrec.html">chanrec</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a>
00071 {
00072 <span class="keyword">public</span>:
<a name="l00075"></a><a class="code" href="classchanrec.html#m0">00075</a> <span class="keywordtype">char</span> <a class="code" href="classchanrec.html#m0">name</a>[CHANMAX]; <span class="comment">/* channel name */</span>
<a name="l00079"></a><a class="code" href="classchanrec.html#m1">00079</a> <span class="keywordtype">char</span> <a class="code" href="classchanrec.html#m1">custom_modes</a>[MAXMODES]; <span class="comment">/* modes handled by modules */</span>
<a name="l00083"></a><a class="code" href="classchanrec.html#m2">00083</a> <span class="keywordtype">char</span> <a class="code" href="classchanrec.html#m2">topic</a>[MAXBUF];
<a name="l00086"></a><a class="code" href="classchanrec.html#m3">00086</a> time_t <a class="code" href="classchanrec.html#m3">created</a>;
<a name="l00090"></a><a class="code" href="classchanrec.html#m4">00090</a> time_t <a class="code" href="classchanrec.html#m4">topicset</a>;
<a name="l00094"></a><a class="code" href="classchanrec.html#m5">00094</a> <span class="keywordtype">char</span> <a class="code" href="classchanrec.html#m5">setby</a>[NICKMAX];
00095
<a name="l00099"></a><a class="code" href="classchanrec.html#m6">00099</a> <span class="keywordtype">long</span> <a class="code" href="classchanrec.html#m6">limit</a>;
00100
<a name="l00104"></a><a class="code" href="classchanrec.html#m7">00104</a> <span class="keywordtype">char</span> <a class="code" href="classchanrec.html#m7">key</a>[32];
00105
<a name="l00108"></a><a class="code" href="classchanrec.html#m8">00108</a> <span class="keywordtype">short</span> <span class="keywordtype">int</span> <a class="code" href="classchanrec.html#m8">topiclock</a>;
00109
<a name="l00112"></a><a class="code" href="classchanrec.html#m9">00112</a> <span class="keywordtype">short</span> <span class="keywordtype">int</span> <a class="code" href="classchanrec.html#m9">noexternal</a>;
00113
<a name="l00116"></a><a class="code" href="classchanrec.html#m10">00116</a> <span class="keywordtype">short</span> <span class="keywordtype">int</span> <a class="code" href="classchanrec.html#m10">inviteonly</a>;
00117
<a name="l00120"></a><a class="code" href="classchanrec.html#m11">00120</a> <span class="keywordtype">short</span> <span class="keywordtype">int</span> <a class="code" href="classchanrec.html#m11">moderated</a>;
00121
<a name="l00125"></a><a class="code" href="classchanrec.html#m12">00125</a> <span class="keywordtype">short</span> <span class="keywordtype">int</span> <a class="code" href="classchanrec.html#m12">secret</a>;
00126
<a name="l00130"></a><a class="code" href="classchanrec.html#m13">00130</a> <span class="keywordtype">short</span> <span class="keywordtype">int</span> <a class="code" href="classchanrec.html#m13">c_private</a>;
00131
<a name="l00134"></a><a class="code" href="classchanrec.html#m14">00134</a> <a class="code" href="channels_8h.html#a5">BanList</a> <a class="code" href="classchanrec.html#m14">bans</a>;
00135
<a name="l00138"></a><a class="code" href="classchanrec.html#a0">00138</a> <a class="code" href="classchanrec.html#a0">chanrec</a>()
00139 {
00140 strcpy(name,<span class="stringliteral">""</span>);
00141 strcpy(custom_modes,<span class="stringliteral">""</span>);
00142 strcpy(topic,<span class="stringliteral">""</span>);
00143 strcpy(setby,<span class="stringliteral">""</span>);
00144 strcpy(key,<span class="stringliteral">""</span>);
00145 created = topicset = limit = 0;
00146 topiclock = noexternal = inviteonly = moderated = secret = c_private = <span class="keyword">false</span>;
00147 }
00148
<a name="l00149"></a><a class="code" href="classchanrec.html#a1">00149</a> <span class="keyword">virtual</span> <a class="code" href="classchanrec.html#a1">~chanrec</a>() { <span class="comment">/* stub */</span> }
00150 };
00151
00152 <span class="comment">/* used to hold a channel and a users modes on that channel, e.g. +v, +h, +o</span>
00153 <span class="comment"> * needs to come AFTER struct chanrec */</span>
00154
<a name="l00155"></a><a class="code" href="channels_8h.html#a0">00155</a> <span class="preprocessor">#define UCMODE_OP 1</span>
<a name="l00156"></a><a class="code" href="channels_8h.html#a1">00156</a> <span class="preprocessor"></span><span class="preprocessor">#define UCMODE_VOICE 2</span>
<a name="l00157"></a><a class="code" href="channels_8h.html#a2">00157</a> <span class="preprocessor"></span><span class="preprocessor">#define UCMODE_HOP 4</span>
<a name="l00158"></a><a class="code" href="channels_8h.html#a3">00158</a> <span class="preprocessor"></span><span class="preprocessor">#define UCMODE_PROTECT 8</span>
<a name="l00159"></a><a class="code" href="channels_8h.html#a4">00159</a> <span class="preprocessor"></span><span class="preprocessor">#define UCMODE_FOUNDER 16</span>
00160 <span class="preprocessor"></span>
<a name="l00166"></a><a class="code" href="classucrec.html">00166</a> <span class="keyword">class </span><a class="code" href="classucrec.html">ucrec</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a>
00167 {
00168 <span class="keyword">public</span>:
<a name="l00172"></a><a class="code" href="classucrec.html#m0">00172</a> <span class="keywordtype">long</span> <a class="code" href="classucrec.html#m0">uc_modes</a>;
00173
<a name="l00177"></a><a class="code" href="classucrec.html#m1">00177</a> <a class="code" href="classchanrec.html">chanrec</a> *<a class="code" href="classucrec.html#m1">channel</a>;
00178
<a name="l00179"></a><a class="code" href="classucrec.html#a0">00179</a> <a class="code" href="classucrec.html#a0">ucrec</a>() { <span class="comment">/* stub */</span> }
<a name="l00180"></a><a class="code" href="classucrec.html#a1">00180</a> <span class="keyword">virtual</span> <a class="code" href="classucrec.html#a1">~ucrec</a>() { <span class="comment">/* stub */</span> }
00181 };
00182
00183 <span class="preprocessor">#endif</span>
00184 <span class="preprocessor"></span>
</pre></div><hr><address style="align: right;"><small>Generated on Sun Feb 9 12:48:15 2003 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc2 </small></address>

View File

@ -63,7 +63,7 @@
<p>
<p>
Definition at line <a class="el" href="channels_8h-source.html#l00179">179</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td>
Definition at line <a class="el" href="channels_8h-source.html#l00159">159</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td>
</tr>
</table>
<a name="a2" doxytag="channels.h::UCMODE_HOP"></a><p>
@ -87,7 +87,7 @@ Definition at line <a class="el" href="channels_8h-source.html#l00179">179</a> o
<p>
<p>
Definition at line <a class="el" href="channels_8h-source.html#l00177">177</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td>
Definition at line <a class="el" href="channels_8h-source.html#l00157">157</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td>
</tr>
</table>
<a name="a0" doxytag="channels.h::UCMODE_OP"></a><p>
@ -111,7 +111,7 @@ Definition at line <a class="el" href="channels_8h-source.html#l00177">177</a> o
<p>
<p>
Definition at line <a class="el" href="channels_8h-source.html#l00175">175</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td>
Definition at line <a class="el" href="channels_8h-source.html#l00155">155</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td>
</tr>
</table>
<a name="a3" doxytag="channels.h::UCMODE_PROTECT"></a><p>
@ -135,7 +135,7 @@ Definition at line <a class="el" href="channels_8h-source.html#l00175">175</a> o
<p>
<p>
Definition at line <a class="el" href="channels_8h-source.html#l00178">178</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td>
Definition at line <a class="el" href="channels_8h-source.html#l00158">158</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td>
</tr>
</table>
<a name="a1" doxytag="channels.h::UCMODE_VOICE"></a><p>
@ -159,7 +159,7 @@ Definition at line <a class="el" href="channels_8h-source.html#l00178">178</a> o
<p>
<p>
Definition at line <a class="el" href="channels_8h-source.html#l00176">176</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td>
Definition at line <a class="el" href="channels_8h-source.html#l00156">156</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td>
</tr>
</table>
<hr><h2>Typedef Documentation</h2>
@ -186,7 +186,7 @@ Holds a complete ban list.
<p>
<p>
Definition at line <a class="el" href="channels_8h-source.html#l00076">76</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td>
Definition at line <a class="el" href="channels_8h-source.html#l00056">56</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td>
</tr>
</table>
<a name="a6" doxytag="channels.h::ExemptList"></a><p>
@ -212,7 +212,7 @@ Holds a complete exempt list.
<p>
<p>
Definition at line <a class="el" href="channels_8h-source.html#l00080">80</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td>
Definition at line <a class="el" href="channels_8h-source.html#l00060">60</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td>
</tr>
</table>
<a name="a7" doxytag="channels.h::InviteList"></a><p>
@ -238,10 +238,10 @@ Holds a complete invite list.
<p>
<p>
Definition at line <a class="el" href="channels_8h-source.html#l00084">84</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td>
Definition at line <a class="el" href="channels_8h-source.html#l00064">64</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td>
</tr>
</table>
<hr><address style="align: right;"><small>Generated on Mon Jan 27 00:23:11 2003 for InspIRCd by
<hr><address style="align: right;"><small>Generated on Sun Feb 9 12:48:16 2003 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc2 </small></address>

View File

@ -14,7 +14,7 @@
<tr bgcolor="#f0f0f0"><td><a class="el" href="classAdmin.html#m0">Name</a></td><td><a class="el" href="classAdmin.html">Admin</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classAdmin.html#m2">Nick</a></td><td><a class="el" href="classAdmin.html">Admin</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
</table><hr><address style="align: right;"><small>Generated on Mon Jan 27 00:23:12 2003 for InspIRCd by
</table><hr><address style="align: right;"><small>Generated on Sun Feb 9 12:48:17 2003 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc2 </small></address>

View File

@ -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#l00078">78</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
Definition at line <a class="el" href="modules_8h-source.html#l00053">53</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="Admin::Admin"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
@ -76,9 +76,9 @@ Definition at line <a class="el" href="modules_8h-source.html#l00078">78</a> of
<p>
<p>
Definition at line <a class="el" href="modules_8cpp-source.html#l00036">36</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
Definition at line <a class="el" href="modules_8cpp-source.html#l00020">20</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
<div class="fragment"><pre>00036 : <a class="code" href="classAdmin.html#m0">Name</a>(name), <a class="code" href="classAdmin.html#m1">Email</a>(email), <a class="code" href="classAdmin.html#m2">Nick</a>(nick) { };
<div class="fragment"><pre>00020 : <a class="code" href="classAdmin.html#m0">Name</a>(name), <a class="code" href="classAdmin.html#m1">Email</a>(email), <a class="code" href="classAdmin.html#m2">Nick</a>(nick) { };
</pre></div> </td>
</tr>
</table>
@ -104,7 +104,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00036">36</a> o
<p>
<p>
Definition at line <a class="el" href="modules_8h-source.html#l00081">81</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
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="m0" doxytag="Admin::Name"></a><p>
@ -128,7 +128,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00081">81</a> of
<p>
<p>
Definition at line <a class="el" href="modules_8h-source.html#l00081">81</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
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="m2" doxytag="Admin::Nick"></a><p>
@ -152,12 +152,12 @@ Definition at line <a class="el" href="modules_8h-source.html#l00081">81</a> of
<p>
<p>
Definition at line <a class="el" href="modules_8h-source.html#l00081">81</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
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>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="modules_8h-source.html">modules.h</a><li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul>
<hr><address style="align: right;"><small>Generated on Mon Jan 27 00:23:12 2003 for InspIRCd by
<hr><address style="align: right;"><small>Generated on Sun Feb 9 12:48:17 2003 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc2 </small></address>

View File

@ -15,7 +15,7 @@
<tr bgcolor="#f0f0f0"><td><a class="el" href="classHostItem.html#m0">set_time</a></td><td><a class="el" href="classHostItem.html">HostItem</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classHostItem.html#a1">~HostItem</a>()</td><td><a class="el" href="classHostItem.html">HostItem</a></td><td><code> [inline, virtual]</code></td></tr>
</table><hr><address style="align: right;"><small>Generated on Mon Jan 27 00:23:12 2003 for InspIRCd by
</table><hr><address style="align: right;"><small>Generated on Sun Feb 9 12:48:17 2003 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc2 </small></address>

View File

@ -25,9 +25,9 @@ A subclass of <a class="el" href="classHostItem.html">HostItem</a> designed to h
<p>
<p>
Definition at line <a class="el" href="channels_8h-source.html#l00053">53</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.<hr>The documentation for this class was generated from the following file:<ul>
Definition at line <a class="el" href="channels_8h-source.html#l00033">33</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="channels_8h-source.html">channels.h</a></ul>
<hr><address style="align: right;"><small>Generated on Mon Jan 27 00:23:12 2003 for InspIRCd by
<hr><address style="align: right;"><small>Generated on Sun Feb 9 12:48:17 2003 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc2 </small></address>

View File

@ -17,7 +17,7 @@
<tr bgcolor="#f0f0f0"><td><a class="el" href="classConfigReader.html#a5">Verify</a>()</td><td><a class="el" href="classConfigReader.html">ConfigReader</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classConfigReader.html#a2">~ConfigReader</a>()</td><td><a class="el" href="classConfigReader.html">ConfigReader</a></td><td></td></tr>
</table><hr><address style="align: right;"><small>Generated on Mon Jan 27 00:23:13 2003 for InspIRCd by
</table><hr><address style="align: right;"><small>Generated on Sun Feb 9 12:48:18 2003 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc2 </small></address>

View File

@ -42,7 +42,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#l00237">237</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
Definition at line <a class="el" href="modules_8h-source.html#l00218">218</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="ConfigReader::ConfigReader"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
@ -72,13 +72,13 @@ Default constructor.
<p>
This constructor initialises the ConfigReader class to read the inspircd.conf file as specified when running ./configure.
<p>
Definition at line <a class="el" href="modules_8cpp-source.html#l00164">164</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
Definition at line <a class="el" href="modules_8cpp-source.html#l00151">151</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
References <a class="el" href="modules_8h-source.html#l00242">fname</a>.
References <a class="el" href="modules_8h-source.html#l00223">fname</a>.
<p>
<div class="fragment"><pre>00165 {
00166 <a class="code" href="classConfigReader.html#n0">fname</a> = CONFIG_FILE;
00167 }
<div class="fragment"><pre>00152 {
00153 <a class="code" href="classConfigReader.html#n0">fname</a> = CONFIG_FILE;
00154 }
</pre></div> </td>
</tr>
</table>
@ -112,9 +112,9 @@ Overloaded constructor.
<p>
This constructor initialises the ConfigReader class to read a user-specified config file
<p>
Definition at line <a class="el" href="modules_8cpp-source.html#l00175">175</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
Definition at line <a class="el" href="modules_8cpp-source.html#l00162">162</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
<div class="fragment"><pre>00175 : <a class="code" href="classConfigReader.html#n0">fname</a>(filename) { };
<div class="fragment"><pre>00162 : <a class="code" href="classConfigReader.html#n0">fname</a>(filename) { };
</pre></div> </td>
</tr>
</table>
@ -147,10 +147,10 @@ Default destructor.
<p>
This method destroys the ConfigReader class.
<p>
Definition at line <a class="el" href="modules_8cpp-source.html#l00170">170</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
Definition at line <a class="el" href="modules_8cpp-source.html#l00157">157</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
<div class="fragment"><pre>00171 {
00172 }
<div class="fragment"><pre>00158 {
00159 }
</pre></div> </td>
</tr>
</table>
@ -185,13 +185,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#l00186">186</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
Definition at line <a class="el" href="modules_8cpp-source.html#l00173">173</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
References <a class="el" href="modules_8h-source.html#l00242">fname</a>.
References <a class="el" href="modules_8h-source.html#l00223">fname</a>.
<p>
<div class="fragment"><pre>00187 {
00188 <span class="keywordflow">return</span> EnumConf(<a class="code" href="classConfigReader.html#n0">fname</a>.c_str(),tag.c_str());
00189 }
<div class="fragment"><pre>00174 {
00175 <span class="keywordflow">return</span> EnumConf(<a class="code" href="classConfigReader.html#n0">fname</a>.c_str(),tag.c_str());
00176 }
</pre></div> </td>
</tr>
</table>
@ -240,16 +240,16 @@ 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#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#l00164">164</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
References <a class="el" href="modules_8h-source.html#l00242">fname</a>.
References <a class="el" href="modules_8h-source.html#l00223">fname</a>.
<p>
<div class="fragment"><pre>00178 {
00179 <span class="keywordtype">char</span> val[MAXBUF];
00180 ReadConf(<a class="code" href="classConfigReader.html#n0">fname</a>.c_str(),tag.c_str(),name.c_str(),index,val);
00181 string s = val;
00182 <span class="keywordflow">return</span> s;
00183 }
<div class="fragment"><pre>00165 {
00166 <span class="keywordtype">char</span> val[MAXBUF];
00167 ReadConf(<a class="code" href="classConfigReader.html#n0">fname</a>.c_str(),tag.c_str(),name.c_str(),index,val);
00168 string s = val;
00169 <span class="keywordflow">return</span> s;
00170 }
</pre></div> </td>
</tr>
</table>
@ -282,11 +282,11 @@ Returns true if a config file is valid.
<p>
This method is unimplemented and will always return true.
<p>
Definition at line <a class="el" href="modules_8cpp-source.html#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#l00179">179</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
<div class="fragment"><pre>00193 {
00194 <span class="keywordflow">return</span> <span class="keyword">true</span>;
00195 }
<div class="fragment"><pre>00180 {
00181 <span class="keywordflow">return</span> <span class="keyword">true</span>;
00182 }
</pre></div> </td>
</tr>
</table>
@ -314,14 +314,14 @@ The filename of the configuration file, as set by the constructor.
<p>
<p>
Definition at line <a class="el" href="modules_8h-source.html#l00242">242</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#l00223">223</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#l00164">ConfigReader()</a>, <a class="el" href="modules_8cpp-source.html#l00186">Enumerate()</a>, and <a class="el" href="modules_8cpp-source.html#l00177">ReadValue()</a>. </td>
Referenced by <a class="el" href="modules_8cpp-source.html#l00151">ConfigReader()</a>, <a class="el" href="modules_8cpp-source.html#l00173">Enumerate()</a>, and <a class="el" href="modules_8cpp-source.html#l00164">ReadValue()</a>. </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="modules_8h-source.html">modules.h</a><li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul>
<hr><address style="align: right;"><small>Generated on Mon Jan 27 00:23:13 2003 for InspIRCd by
<hr><address style="align: right;"><small>Generated on Sun Feb 9 12:48:17 2003 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc2 </small></address>

View File

@ -13,7 +13,7 @@
<tr bgcolor="#f0f0f0"><td><a class="el" href="classConnectClass.html#m2">pass</a></td><td><a class="el" href="classConnectClass.html">ConnectClass</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classConnectClass.html#m0">type</a></td><td><a class="el" href="classConnectClass.html">ConnectClass</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
</table><hr><address style="align: right;"><small>Generated on Mon Jan 27 00:23:13 2003 for InspIRCd by
</table><hr><address style="align: right;"><small>Generated on Sun Feb 9 12:48:18 2003 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc2 </small></address>

View File

@ -28,7 +28,7 @@ Holds information relevent to &lt;connect allow&gt; and &lt;connect deny&gt; tag
<p>
<p>
Definition at line <a class="el" href="users_8h-source.html#l00068">68</a> of file <a class="el" href="users_8h-source.html">users.h</a>.<hr><h2>Member Data Documentation</h2>
Definition at line <a class="el" href="users_8h-source.html#l00034">34</a> of file <a class="el" href="users_8h-source.html">users.h</a>.<hr><h2>Member Data Documentation</h2>
<a name="m1" doxytag="ConnectClass::host"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
@ -50,7 +50,7 @@ Definition at line <a class="el" href="users_8h-source.html#l00068">68</a> of fi
<p>
<p>
Definition at line <a class="el" href="users_8h-source.html#l00072">72</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
Definition at line <a class="el" href="users_8h-source.html#l00038">38</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
</tr>
</table>
<a name="m2" doxytag="ConnectClass::pass"></a><p>
@ -74,7 +74,7 @@ Definition at line <a class="el" href="users_8h-source.html#l00072">72</a> of fi
<p>
<p>
Definition at line <a class="el" href="users_8h-source.html#l00073">73</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
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>. </td>
</tr>
</table>
<a name="m0" doxytag="ConnectClass::type"></a><p>
@ -98,12 +98,12 @@ Definition at line <a class="el" href="users_8h-source.html#l00073">73</a> of fi
<p>
<p>
Definition at line <a class="el" href="users_8h-source.html#l00071">71</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
Definition at line <a class="el" href="users_8h-source.html#l00037">37</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="users_8h-source.html">users.h</a></ul>
<hr><address style="align: right;"><small>Generated on Mon Jan 27 00:23:13 2003 for InspIRCd by
<hr><address style="align: right;"><small>Generated on Sun Feb 9 12:48:18 2003 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc2 </small></address>

View File

@ -15,7 +15,7 @@
<tr bgcolor="#f0f0f0"><td><a class="el" href="classHostItem.html#m0">set_time</a></td><td><a class="el" href="classHostItem.html">HostItem</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classHostItem.html#a1">~HostItem</a>()</td><td><a class="el" href="classHostItem.html">HostItem</a></td><td><code> [inline, virtual]</code></td></tr>
</table><hr><address style="align: right;"><small>Generated on Mon Jan 27 00:23:13 2003 for InspIRCd by
</table><hr><address style="align: right;"><small>Generated on Sun Feb 9 12:48:18 2003 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc2 </small></address>

View File

@ -25,9 +25,9 @@ A subclass of <a class="el" href="classHostItem.html">HostItem</a> designed to h
<p>
<p>
Definition at line <a class="el" href="channels_8h-source.html#l00061">61</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.<hr>The documentation for this class was generated from the following file:<ul>
Definition at line <a class="el" href="channels_8h-source.html#l00041">41</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="channels_8h-source.html">channels.h</a></ul>
<hr><address style="align: right;"><small>Generated on Mon Jan 27 00:23:13 2003 for InspIRCd by
<hr><address style="align: right;"><small>Generated on Sun Feb 9 12:48:18 2003 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc2 </small></address>

View File

@ -17,7 +17,7 @@
<tr bgcolor="#f0f0f0"><td><a class="el" href="classFileReader.html#a3">LoadFile</a>(string filename)</td><td><a class="el" href="classFileReader.html">FileReader</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classFileReader.html#a2">~FileReader</a>()</td><td><a class="el" href="classFileReader.html">FileReader</a></td><td></td></tr>
</table><hr><address style="align: right;"><small>Generated on Mon Jan 27 00:23:13 2003 for InspIRCd by
</table><hr><address style="align: right;"><small>Generated on Sun Feb 9 12:48:18 2003 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc2 </small></address>

View File

@ -32,7 +32,7 @@
<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classFileReader.html#a5">FileSize</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Returns the size of the file in lines.</em> <a href="#a5"></a><em></em></font><br><br></td></tr>
<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="modules_8h.html#a1">file_cache</a>&nbsp;</td><td valign=bottom><a class="el" href="classFileReader.html#o0">fc</a></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="modules_8h.html#a6">file_cache</a>&nbsp;</td><td valign=bottom><a class="el" href="classFileReader.html#o0">fc</a></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Caches a text file into memory and can be used to retrieve lines from it.
@ -41,7 +41,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#l00282">282</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
Definition at line <a class="el" href="modules_8h-source.html#l00263">263</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="FileReader::FileReader"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
@ -71,10 +71,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#l00205">205</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
Definition at line <a class="el" href="modules_8cpp-source.html#l00192">192</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
<div class="fragment"><pre>00206 {
00207 }
<div class="fragment"><pre>00193 {
00194 }
</pre></div> </td>
</tr>
</table>
@ -108,15 +108,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#a5">FileReader::FileSize</a> returns 0.
<p>
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>.
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>.
<p>
References <a class="el" href="modules_8h-source.html#l00284">fc</a>, and <a class="el" href="modules_8h-source.html#l00049">file_cache</a>.
References <a class="el" href="modules_8h-source.html#l00265">fc</a>, and <a class="el" href="modules_8h-source.html#l00024">file_cache</a>.
<p>
<div class="fragment"><pre>00199 {
00200 <a class="code" href="modules_8h.html#a1">file_cache</a> c;
00201 readfile(c,filename.c_str());
00202 this-&gt;<a class="code" href="classFileReader.html#o0">fc</a> = c;
00203 }
<div class="fragment"><pre>00186 {
00187 <a class="code" href="modules_8h.html#a6">file_cache</a> c;
00188 readfile(c,filename.c_str());
00189 this-&gt;<a class="code" href="classFileReader.html#o0">fc</a> = c;
00190 }
</pre></div> </td>
</tr>
</table>
@ -149,10 +149,10 @@ Default destructor.
<p>
This deletes the memory allocated to the file.
<p>
Definition at line <a class="el" href="modules_8cpp-source.html#l00216">216</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
Definition at line <a class="el" href="modules_8cpp-source.html#l00203">203</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
<div class="fragment"><pre>00217 {
00218 }
<div class="fragment"><pre>00204 {
00205 }
</pre></div> </td>
</tr>
</table>
@ -186,13 +186,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#l00227">227</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
Definition at line <a class="el" href="modules_8cpp-source.html#l00214">214</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
References <a class="el" href="modules_8h-source.html#l00284">fc</a>.
References <a class="el" href="modules_8h-source.html#l00265">fc</a>.
<p>
<div class="fragment"><pre>00228 {
00229 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#o0">fc</a>.size();
00230 }
<div class="fragment"><pre>00215 {
00216 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#o0">fc</a>.size();
00217 }
</pre></div> </td>
</tr>
</table>
@ -226,15 +226,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#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#l00207">207</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
References <a class="el" href="modules_8h-source.html#l00284">fc</a>.
References <a class="el" href="modules_8h-source.html#l00265">fc</a>.
<p>
<div class="fragment"><pre>00221 {
00222 <span class="keywordflow">if</span> ((x&lt;0) || (x&gt;<a class="code" href="classFileReader.html#o0">fc</a>.size()))
00223 <span class="keywordflow">return</span> <span class="stringliteral">""</span>;
00224 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#o0">fc</a>[x];
00225 }
<div class="fragment"><pre>00208 {
00209 <span class="keywordflow">if</span> ((x&lt;0) || (x&gt;<a class="code" href="classFileReader.html#o0">fc</a>.size()))
00210 <span class="keywordflow">return</span> <span class="stringliteral">""</span>;
00211 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#o0">fc</a>[x];
00212 }
</pre></div> </td>
</tr>
</table>
@ -268,15 +268,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#a5">FileReader::FileSize</a> returns 0.
<p>
Definition at line <a class="el" href="modules_8cpp-source.html#l00209">209</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
Definition at line <a class="el" href="modules_8cpp-source.html#l00196">196</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
References <a class="el" href="modules_8h-source.html#l00284">fc</a>, and <a class="el" href="modules_8h-source.html#l00049">file_cache</a>.
References <a class="el" href="modules_8h-source.html#l00265">fc</a>, and <a class="el" href="modules_8h-source.html#l00024">file_cache</a>.
<p>
<div class="fragment"><pre>00210 {
00211 <a class="code" href="modules_8h.html#a1">file_cache</a> c;
00212 readfile(c,filename.c_str());
00213 this-&gt;<a class="code" href="classFileReader.html#o0">fc</a> = c;
00214 }
<div class="fragment"><pre>00197 {
00198 <a class="code" href="modules_8h.html#a6">file_cache</a> c;
00199 readfile(c,filename.c_str());
00200 this-&gt;<a class="code" href="classFileReader.html#o0">fc</a> = c;
00201 }
</pre></div> </td>
</tr>
</table>
@ -287,7 +287,7 @@ References <a class="el" href="modules_8h-source.html#l00284">fc</a>, and <a cla
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> <a class="el" href="modules_8h.html#a1">file_cache</a> FileReader::fc<code> [private]</code>
<td class="md" nowrap valign="top"> <a class="el" href="modules_8h.html#a6">file_cache</a> FileReader::fc<code> [private]</code>
</table>
</td>
</tr>
@ -302,14 +302,14 @@ References <a class="el" href="modules_8h-source.html#l00284">fc</a>, and <a cla
<p>
<p>
Definition at line <a class="el" href="modules_8h-source.html#l00284">284</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#l00265">265</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#l00198">FileReader()</a>, <a class="el" href="modules_8cpp-source.html#l00227">FileSize()</a>, <a class="el" href="modules_8cpp-source.html#l00220">GetLine()</a>, and <a class="el" href="modules_8cpp-source.html#l00209">LoadFile()</a>. </td>
Referenced by <a class="el" href="modules_8cpp-source.html#l00185">FileReader()</a>, <a class="el" href="modules_8cpp-source.html#l00214">FileSize()</a>, <a class="el" href="modules_8cpp-source.html#l00207">GetLine()</a>, and <a class="el" href="modules_8cpp-source.html#l00196">LoadFile()</a>. </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="modules_8h-source.html">modules.h</a><li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul>
<hr><address style="align: right;"><small>Generated on Mon Jan 27 00:23:13 2003 for InspIRCd by
<hr><address style="align: right;"><small>Generated on Sun Feb 9 12:48:18 2003 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc2 </small></address>

View File

@ -15,7 +15,7 @@
<tr bgcolor="#f0f0f0"><td><a class="el" href="classHostItem.html#m0">set_time</a></td><td><a class="el" href="classHostItem.html">HostItem</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classHostItem.html#a1">~HostItem</a>()</td><td><a class="el" href="classHostItem.html">HostItem</a></td><td><code> [inline, virtual]</code></td></tr>
</table><hr><address style="align: right;"><small>Generated on Mon Jan 27 00:23:13 2003 for InspIRCd by
</table><hr><address style="align: right;"><small>Generated on Sun Feb 9 12:48:18 2003 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc2 </small></address>

View File

@ -36,7 +36,7 @@ This class contains a single element in a channel list, such as a banlist.
<p>
<p>
Definition at line <a class="el" href="channels_8h-source.html#l00037">37</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
Definition at line <a class="el" href="channels_8h-source.html#l00017">17</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="HostItem::HostItem"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
@ -64,9 +64,9 @@ Definition at line <a class="el" href="channels_8h-source.html#l00037">37</a> of
<p>
<p>
Definition at line <a class="el" href="channels_8h-source.html#l00044">44</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.
Definition at line <a class="el" href="channels_8h-source.html#l00024">24</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.
<p>
<div class="fragment"><pre>00044 { <span class="comment">/* stub */</span> }
<div class="fragment"><pre>00024 { <span class="comment">/* stub */</span> }
</pre></div> </td>
</tr>
</table>
@ -97,9 +97,9 @@ Definition at line <a class="el" href="channels_8h-source.html#l00044">44</a> of
<p>
<p>
Definition at line <a class="el" href="channels_8h-source.html#l00045">45</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.
Definition at line <a class="el" href="channels_8h-source.html#l00025">25</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.
<p>
<div class="fragment"><pre>00045 { <span class="comment">/* stub */</span> }
<div class="fragment"><pre>00025 { <span class="comment">/* stub */</span> }
</pre></div> </td>
</tr>
</table>
@ -125,7 +125,7 @@ Definition at line <a class="el" href="channels_8h-source.html#l00045">45</a> of
<p>
<p>
Definition at line <a class="el" href="channels_8h-source.html#l00042">42</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td>
Definition at line <a class="el" href="channels_8h-source.html#l00022">22</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td>
</tr>
</table>
<a name="m1" doxytag="HostItem::set_by"></a><p>
@ -149,7 +149,7 @@ Definition at line <a class="el" href="channels_8h-source.html#l00042">42</a> of
<p>
<p>
Definition at line <a class="el" href="channels_8h-source.html#l00041">41</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td>
Definition at line <a class="el" href="channels_8h-source.html#l00021">21</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td>
</tr>
</table>
<a name="m0" doxytag="HostItem::set_time"></a><p>
@ -173,12 +173,12 @@ Definition at line <a class="el" href="channels_8h-source.html#l00041">41</a> of
<p>
<p>
Definition at line <a class="el" href="channels_8h-source.html#l00040">40</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td>
Definition at line <a class="el" href="channels_8h-source.html#l00020">20</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="channels_8h-source.html">channels.h</a></ul>
<hr><address style="align: right;"><small>Generated on Mon Jan 27 00:23:13 2003 for InspIRCd by
<hr><address style="align: right;"><small>Generated on Sun Feb 9 12:48:18 2003 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc2 </small></address>

View File

@ -15,7 +15,7 @@
<tr bgcolor="#f0f0f0"><td><a class="el" href="classHostItem.html#m0">set_time</a></td><td><a class="el" href="classHostItem.html">HostItem</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classHostItem.html#a1">~HostItem</a>()</td><td><a class="el" href="classHostItem.html">HostItem</a></td><td><code> [inline, virtual]</code></td></tr>
</table><hr><address style="align: right;"><small>Generated on Mon Jan 27 00:23:13 2003 for InspIRCd by
</table><hr><address style="align: right;"><small>Generated on Sun Feb 9 12:48:18 2003 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc2 </small></address>

View File

@ -25,9 +25,9 @@ A subclass of <a class="el" href="classHostItem.html">HostItem</a> designed to h
<p>
<p>
Definition at line <a class="el" href="channels_8h-source.html#l00069">69</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.<hr>The documentation for this class was generated from the following file:<ul>
Definition at line <a class="el" href="channels_8h-source.html#l00049">49</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="channels_8h-source.html">channels.h</a></ul>
<hr><address style="align: right;"><small>Generated on Mon Jan 27 00:23:13 2003 for InspIRCd by
<hr><address style="align: right;"><small>Generated on Sun Feb 9 12:48:18 2003 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc2 </small></address>

View File

@ -11,7 +11,7 @@
<tr bgcolor="#f0f0f0"><td><a class="el" href="classInvited.html#m0">channel</a></td><td><a class="el" href="classInvited.html">Invited</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a0">classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
</table><hr><address style="align: right;"><small>Generated on Mon Jan 27 00:23:13 2003 for InspIRCd by
</table><hr><address style="align: right;"><small>Generated on Sun Feb 9 12:48:18 2003 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc2 </small></address>

View File

@ -26,7 +26,7 @@ Holds a channel name to which a user has been invited.
<p>
<p>
Definition at line <a class="el" href="users_8h-source.html#l00059">59</a> of file <a class="el" href="users_8h-source.html">users.h</a>.<hr><h2>Member Data Documentation</h2>
Definition at line <a class="el" href="users_8h-source.html#l00025">25</a> of file <a class="el" href="users_8h-source.html">users.h</a>.<hr><h2>Member Data Documentation</h2>
<a name="m0" doxytag="Invited::channel"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
@ -48,14 +48,14 @@ Definition at line <a class="el" href="users_8h-source.html#l00059">59</a> of fi
<p>
<p>
Definition at line <a class="el" href="users_8h-source.html#l00062">62</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
Definition at line <a class="el" href="users_8h-source.html#l00028">28</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
<p>
Referenced by <a class="el" href="users_8cpp-source.html#l00075">userrec::InviteTo()</a>. </td>
Referenced by <a class="el" href="users_8cpp-source.html#l00060">userrec::InviteTo()</a>. </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="users_8h-source.html">users.h</a></ul>
<hr><address style="align: right;"><small>Generated on Mon Jan 27 00:23:13 2003 for InspIRCd by
<hr><address style="align: right;"><small>Generated on Sun Feb 9 12:48:18 2003 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc2 </small></address>

View File

@ -11,13 +11,16 @@
<tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a0">classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classModule.html#a2">GetVersion</a>()</td><td><a class="el" href="classModule.html">Module</a></td><td><code> [virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classModule.html#a0">Module</a>()</td><td><a class="el" href="classModule.html">Module</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classModule.html#a8">Module::OnPacketReceive</a>(char *p)</td><td><a class="el" href="classModule.html">Module</a></td><td><code> [virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classModule.html#a7">Module::OnPacketTransmit</a>(char *p)</td><td><a class="el" href="classModule.html">Module</a></td><td><code> [virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classModule.html#a9">OnRehash</a>()</td><td><a class="el" href="classModule.html">Module</a></td><td><code> [virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classModule.html#a3">OnUserConnect</a>(userrec *user)</td><td><a class="el" href="classModule.html">Module</a></td><td><code> [virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classModule.html#a5">OnUserJoin</a>(userrec *user, chanrec *channel)</td><td><a class="el" href="classModule.html">Module</a></td><td><code> [virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classModule.html#a6">OnUserPart</a>(userrec *user, chanrec *channel)</td><td><a class="el" href="classModule.html">Module</a></td><td><code> [virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classModule.html#a4">OnUserQuit</a>(userrec *user)</td><td><a class="el" href="classModule.html">Module</a></td><td><code> [virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classModule.html#a1">~Module</a>()</td><td><a class="el" href="classModule.html">Module</a></td><td><code> [virtual]</code></td></tr>
</table><hr><address style="align: right;"><small>Generated on Mon Jan 27 00:23:13 2003 for InspIRCd by
</table><hr><address style="align: right;"><small>Generated on Sun Feb 9 12:48:18 2003 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc2 </small></address>

View File

@ -33,6 +33,9 @@
<tr><td>&nbsp;</td><td><font size=-1><em>Called when a user joins a channel.</em> <a href="#a5"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classModule.html#a6">OnUserPart</a> (<a class="el" href="classuserrec.html">userrec</a> *user, <a class="el" href="classchanrec.html">chanrec</a> *channel)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Called when a user parts a channel.</em> <a href="#a6"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classModule.html#a7">Module::OnPacketTransmit</a> (char *p)</td></tr>
<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classModule.html#a8">Module::OnPacketReceive</a> (char *p)</td></tr>
<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classModule.html#a9">OnRehash</a> ()</td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Base class for all InspIRCd modules This class is the base class for InspIRCd modules.
@ -41,7 +44,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#l00090">90</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
Definition at line <a class="el" href="modules_8h-source.html#l00065">65</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="Module::Module"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
@ -71,9 +74,9 @@ Default constructor creates a module class.
<p>
<p>
Definition at line <a class="el" href="modules_8cpp-source.html#l00043">43</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
Definition at line <a class="el" href="modules_8cpp-source.html#l00027">27</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
<div class="fragment"><pre>00043 { }
<div class="fragment"><pre>00027 { }
</pre></div> </td>
</tr>
</table>
@ -106,9 +109,9 @@ Default destructor destroys a module class.
<p>
<p>
Definition at line <a class="el" href="modules_8cpp-source.html#l00044">44</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
Definition at line <a class="el" href="modules_8cpp-source.html#l00028">28</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
<div class="fragment"><pre>00044 { }
<div class="fragment"><pre>00028 { }
</pre></div> </td>
</tr>
</table>
@ -142,9 +145,100 @@ 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#l00049">49</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
Definition at line <a class="el" href="modules_8cpp-source.html#l00036">36</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
<div class="fragment"><pre>00049 { <span class="keywordflow">return</span> <a class="code" href="classVersion.html">Version</a>(1,0,0,0); }
<div class="fragment"><pre>00036 { <span class="keywordflow">return</span> <a class="code" href="classVersion.html">Version</a>(1,0,0,0); }
</pre></div> </td>
</tr>
</table>
<a name="a8" doxytag="Module::Module::OnPacketReceive"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> virtual void Module::Module::OnPacketReceive </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">char *&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; <em>p</em> </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap><code> [virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<a name="a7" doxytag="Module::Module::OnPacketTransmit"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> virtual void Module::Module::OnPacketTransmit </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">char *&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; <em>p</em> </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap><code> [virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<a name="a9" doxytag="Module::OnRehash"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> void Module::OnRehash </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap><code> [virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<p>
Definition at line <a class="el" href="modules_8cpp-source.html#l00035">35</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
<div class="fragment"><pre>00035 { }
</pre></div> </td>
</tr>
</table>
@ -178,9 +272,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#l00045">45</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
Definition at line <a class="el" href="modules_8cpp-source.html#l00029">29</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
<div class="fragment"><pre>00045 { }
<div class="fragment"><pre>00029 { }
</pre></div> </td>
</tr>
</table>
@ -223,9 +317,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#l00047">47</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
Definition at line <a class="el" href="modules_8cpp-source.html#l00031">31</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
<div class="fragment"><pre>00047 { }
<div class="fragment"><pre>00031 { }
</pre></div> </td>
</tr>
</table>
@ -268,9 +362,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#l00048">48</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
Definition at line <a class="el" href="modules_8cpp-source.html#l00032">32</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
<div class="fragment"><pre>00048 { }
<div class="fragment"><pre>00032 { }
</pre></div> </td>
</tr>
</table>
@ -304,15 +398,15 @@ Called when a user quits.
<p>
The details of the exiting user are available to you in the parameter userrec *user
<p>
Definition at line <a class="el" href="modules_8cpp-source.html#l00046">46</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
Definition at line <a class="el" href="modules_8cpp-source.html#l00030">30</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
<div class="fragment"><pre>00046 { }
<div class="fragment"><pre>00030 { }
</pre></div> </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="modules_8h-source.html">modules.h</a><li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul>
<hr><address style="align: right;"><small>Generated on Mon Jan 27 00:23:13 2003 for InspIRCd by
<hr><address style="align: right;"><small>Generated on Sun Feb 9 12:48:18 2003 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc2 </small></address>

View File

@ -13,7 +13,7 @@
<tr bgcolor="#f0f0f0"><td><a class="el" href="classModuleFactory.html#a0">ModuleFactory</a>()</td><td><a class="el" href="classModuleFactory.html">ModuleFactory</a></td><td><code> [inline]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classModuleFactory.html#a1">~ModuleFactory</a>()</td><td><a class="el" href="classModuleFactory.html">ModuleFactory</a></td><td><code> [inline, virtual]</code></td></tr>
</table><hr><address style="align: right;"><small>Generated on Mon Jan 27 00:23:13 2003 for InspIRCd by
</table><hr><address style="align: right;"><small>Generated on Sun Feb 9 12:48:18 2003 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc2 </small></address>

View File

@ -31,7 +31,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#l00327">327</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
Definition at line <a class="el" href="modules_8h-source.html#l00308">308</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="ModuleFactory::ModuleFactory"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
@ -59,9 +59,9 @@ Definition at line <a class="el" href="modules_8h-source.html#l00327">327</a> of
<p>
<p>
Definition at line <a class="el" href="modules_8h-source.html#l00330">330</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#l00311">311</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.
<p>
<div class="fragment"><pre>00330 { }
<div class="fragment"><pre>00311 { }
</pre></div> </td>
</tr>
</table>
@ -92,9 +92,9 @@ Definition at line <a class="el" href="modules_8h-source.html#l00330">330</a> of
<p>
<p>
Definition at line <a class="el" href="modules_8h-source.html#l00331">331</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#l00312">312</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.
<p>
<div class="fragment"><pre>00331 { }
<div class="fragment"><pre>00312 { }
</pre></div> </td>
</tr>
</table>
@ -131,7 +131,7 @@ Your inherited class of ModuleFactory must return a pointer to your <a class="el
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="modules_8h-source.html">modules.h</a></ul>
<hr><address style="align: right;"><small>Generated on Mon Jan 27 00:23:13 2003 for InspIRCd by
<hr><address style="align: right;"><small>Generated on Sun Feb 9 12:48:18 2003 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc2 </small></address>

View File

@ -11,13 +11,13 @@
<tr bgcolor="#f0f0f0"><td><a class="el" href="classServer.html#a15">ChanMode</a>(userrec *User, chanrec *Chan)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a0">classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classServer.html#a9">CommonChannels</a>(userrec *u1, userrec *u2)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classServer.html#a3">Debug</a>(string s)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classServer.html#a14">FindChannel</a>(string channel)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classServer.html#a13">FindNick</a>(string nick)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classServer.html#a18">GetAdmin</a>()</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classServer.html#a17">GetNetworkName</a>()</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classServer.html#a16">GetServerName</a>()</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classServer.html#a12">IsNick</a>(string nick)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classServer.html#a3">Log</a>(int level, string s)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classServer.html#a4">Send</a>(int Socket, string s)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classServer.html#a8">SendChannel</a>(userrec *User, chanrec *Channel, string s, bool IncludeSender)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classServer.html#a10">SendCommon</a>(userrec *User, string text, bool IncludeSender)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr>
@ -29,7 +29,7 @@
<tr bgcolor="#f0f0f0"><td><a class="el" href="classServer.html#a0">Server</a>()</td><td><a class="el" href="classServer.html">Server</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classServer.html#a1">~Server</a>()</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr>
</table><hr><address style="align: right;"><small>Generated on Mon Jan 27 00:23:14 2003 for InspIRCd by
</table><hr><address style="align: right;"><small>Generated on Sun Feb 9 12:48:19 2003 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc2 </small></address>

View File

@ -25,8 +25,8 @@
<tr><td>&nbsp;</td><td><font size=-1><em>Default destructor.</em> <a href="#a1"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classServer.html#a2">SendOpers</a> (string s)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Sends text to all opers.</em> <a href="#a2"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classServer.html#a3">Debug</a> (string s)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Sends a debug string.</em> <a href="#a3"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classServer.html#a3">Log</a> (int level, string s)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Writes a log string.</em> <a href="#a3"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classServer.html#a4">Send</a> (int Socket, string s)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Sends a line of text down a TCP/IP socket.</em> <a href="#a4"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classServer.html#a5">SendServ</a> (int Socket, string s)</td></tr>
@ -65,7 +65,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#l00132">132</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
Definition at line <a class="el" href="modules_8h-source.html#l00113">113</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="Server::Server"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
@ -95,10 +95,10 @@ Default constructor.
<p>
Creates a Server object.
<p>
Definition at line <a class="el" href="modules_8cpp-source.html#l00055">55</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
Definition at line <a class="el" href="modules_8cpp-source.html#l00042">42</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
<div class="fragment"><pre>00056 {
00057 }
<div class="fragment"><pre>00043 {
00044 }
</pre></div> </td>
</tr>
</table>
@ -131,10 +131,10 @@ Default destructor.
<p>
Destroys a Server object.
<p>
Definition at line <a class="el" href="modules_8cpp-source.html#l00059">59</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
Definition at line <a class="el" href="modules_8cpp-source.html#l00046">46</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
<div class="fragment"><pre>00060 {
00061 }
<div class="fragment"><pre>00047 {
00048 }
</pre></div> </td>
</tr>
</table>
@ -178,12 +178,12 @@ 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#l00142">142</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
Definition at line <a class="el" href="modules_8cpp-source.html#l00129">129</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
<div class="fragment"><pre>00143 {
00144 string mode = cmode(User,Chan);
00145 <span class="keywordflow">return</span> mode;
00146 }
<div class="fragment"><pre>00130 {
00131 string mode = cmode(User,Chan);
00132 <span class="keywordflow">return</span> mode;
00133 }
</pre></div> </td>
</tr>
</table>
@ -226,49 +226,11 @@ Returns true if two users share a common channel.
<p>
This method is used internally by the NICK and QUIT commands, and the <a class="el" href="classServer.html#a10">Server::SendCommon</a> method.
<p>
Definition at line <a class="el" href="modules_8cpp-source.html#l00105">105</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
Definition at line <a class="el" href="modules_8cpp-source.html#l00092">92</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
<div class="fragment"><pre>00106 {
00107 <span class="keywordflow">return</span> (common_channels(u1,u2) != 0);
00108 }
</pre></div> </td>
</tr>
</table>
<a name="a3" doxytag="Server::Debug"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> void Server::Debug </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">string&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; <em>s</em> </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap><code> [virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Sends a debug string.
<p>
This method writes a line of text to the debug log. If debugging is disabled in the configuration, this command has no effect.
<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>.
<p>
<div class="fragment"><pre>00069 {
00070 debug(<span class="stringliteral">"%s"</span>,s.c_str());
00071 }
<div class="fragment"><pre>00093 {
00094 <span class="keywordflow">return</span> (common_channels(u1,u2) != 0);
00095 }
</pre></div> </td>
</tr>
</table>
@ -302,11 +264,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#l00137">137</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
Definition at line <a class="el" href="modules_8cpp-source.html#l00124">124</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
<div class="fragment"><pre>00138 {
00139 <span class="keywordflow">return</span> FindChan(channel.c_str());
00140 }
<div class="fragment"><pre>00125 {
00126 <span class="keywordflow">return</span> FindChan(channel.c_str());
00127 }
</pre></div> </td>
</tr>
</table>
@ -340,11 +302,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#l00132">132</a> 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>00133 {
00134 <span class="keywordflow">return</span> Find(nick);
00135 }
<div class="fragment"><pre>00120 {
00121 <span class="keywordflow">return</span> Find(nick);
00122 }
</pre></div> </td>
</tr>
</table>
@ -377,11 +339,11 @@ Returns the information of the server as returned by the /ADMIN command.
<p>
See the <a class="el" href="classAdmin.html">Admin</a> class for further information of the return value. The members <a class="el" href="classAdmin.html#m2">Admin::Nick</a>, <a class="el" href="classAdmin.html#m1">Admin::Email</a> and <a class="el" href="classAdmin.html#m0">Admin::Name</a> contain the information for the server where the module is loaded.
<p>
Definition at line <a class="el" href="modules_8cpp-source.html#l00158">158</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
Definition at line <a class="el" href="modules_8cpp-source.html#l00145">145</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
<div class="fragment"><pre>00159 {
00160 <span class="keywordflow">return</span> <a class="code" href="classAdmin.html">Admin</a>(getadminname(),getadminemail(),getadminnick());
00161 }
<div class="fragment"><pre>00146 {
00147 <span class="keywordflow">return</span> <a class="code" href="classAdmin.html">Admin</a>(getadminname(),getadminemail(),getadminnick());
00148 }
</pre></div> </td>
</tr>
</table>
@ -414,11 +376,11 @@ Returns the network name, global to all linked servers.
<p>
<p>
Definition at line <a class="el" href="modules_8cpp-source.html#l00153">153</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
Definition at line <a class="el" href="modules_8cpp-source.html#l00140">140</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
<div class="fragment"><pre>00154 {
00155 <span class="keywordflow">return</span> getnetworkname();
00156 }
<div class="fragment"><pre>00141 {
00142 <span class="keywordflow">return</span> getnetworkname();
00143 }
</pre></div> </td>
</tr>
</table>
@ -451,11 +413,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#l00148">148</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
Definition at line <a class="el" href="modules_8cpp-source.html#l00135">135</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
<div class="fragment"><pre>00149 {
00150 <span class="keywordflow">return</span> getservername();
00151 }
<div class="fragment"><pre>00136 {
00137 <span class="keywordflow">return</span> getservername();
00138 }
</pre></div> </td>
</tr>
</table>
@ -489,11 +451,58 @@ 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#l00127">127</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
Definition at line <a class="el" href="modules_8cpp-source.html#l00114">114</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
<div class="fragment"><pre>00128 {
00129 <span class="keywordflow">return</span> (isnick(nick.c_str()) != 0);
00130 }
<div class="fragment"><pre>00115 {
00116 <span class="keywordflow">return</span> (isnick(nick.c_str()) != 0);
00117 }
</pre></div> </td>
</tr>
</table>
<a name="a3" doxytag="Server::Log"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> void Server::Log </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">int&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>level</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>string&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>s</em></td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"><code> [virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
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#l00055">55</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
<div class="fragment"><pre>00056 {
00057 log(level,<span class="stringliteral">"%s"</span>,s.c_str());
00058 }
</pre></div> </td>
</tr>
</table>
@ -536,11 +545,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#l00073">73</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
Definition at line <a class="el" href="modules_8cpp-source.html#l00060">60</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
<div class="fragment"><pre>00074 {
00075 Write(Socket,<span class="stringliteral">"%s"</span>,s.c_str());
00076 }
<div class="fragment"><pre>00061 {
00062 Write(Socket,<span class="stringliteral">"%s"</span>,s.c_str());
00063 }
</pre></div> </td>
</tr>
</table>
@ -595,18 +604,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#l00093">93</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
Definition at line <a class="el" href="modules_8cpp-source.html#l00080">80</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
<div class="fragment"><pre>00094 {
00095 <span class="keywordflow">if</span> (IncludeSender)
00096 {
00097 WriteChannel(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str());
00098 }
00099 <span class="keywordflow">else</span>
00100 {
00101 ChanExceptSender(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str());
00102 }
00103 }
<div class="fragment"><pre>00081 {
00082 <span class="keywordflow">if</span> (IncludeSender)
00083 {
00084 WriteChannel(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str());
00085 }
00086 <span class="keywordflow">else</span>
00087 {
00088 ChanExceptSender(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str());
00089 }
00090 }
</pre></div> </td>
</tr>
</table>
@ -655,18 +664,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#l00110">110</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
Definition at line <a class="el" href="modules_8cpp-source.html#l00097">97</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
<div class="fragment"><pre>00111 {
00112 <span class="keywordflow">if</span> (IncludeSender)
00113 {
00114 WriteCommon(User,<span class="stringliteral">"%s"</span>,text.c_str());
00115 }
00116 <span class="keywordflow">else</span>
00117 {
00118 WriteCommonExcept(User,<span class="stringliteral">"%s"</span>,text.c_str());
00119 }
00120 }
<div class="fragment"><pre>00098 {
00099 <span class="keywordflow">if</span> (IncludeSender)
00100 {
00101 WriteCommon(User,<span class="stringliteral">"%s"</span>,text.c_str());
00102 }
00103 <span class="keywordflow">else</span>
00104 {
00105 WriteCommonExcept(User,<span class="stringliteral">"%s"</span>,text.c_str());
00106 }
00107 }
</pre></div> </td>
</tr>
</table>
@ -715,11 +724,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#l00083">83</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
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>.
<p>
<div class="fragment"><pre>00084 {
00085 WriteFrom(Socket,User,<span class="stringliteral">"%s"</span>,s.c_str());
00086 }
<div class="fragment"><pre>00071 {
00072 WriteFrom(Socket,User,<span class="stringliteral">"%s"</span>,s.c_str());
00073 }
</pre></div> </td>
</tr>
</table>
@ -753,11 +762,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#l00063">63</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
Definition at line <a class="el" href="modules_8cpp-source.html#l00050">50</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
<div class="fragment"><pre>00064 {
00065 WriteOpers(<span class="stringliteral">"%s"</span>,s.c_str());
00066 }
<div class="fragment"><pre>00051 {
00052 WriteOpers(<span class="stringliteral">"%s"</span>,s.c_str());
00053 }
</pre></div> </td>
</tr>
</table>
@ -800,11 +809,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#l00078">78</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
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>.
<p>
<div class="fragment"><pre>00079 {
00080 WriteServ(Socket,<span class="stringliteral">"%s"</span>,s.c_str());
00081 }
<div class="fragment"><pre>00066 {
00067 WriteServ(Socket,<span class="stringliteral">"%s"</span>,s.c_str());
00068 }
</pre></div> </td>
</tr>
</table>
@ -853,11 +862,11 @@ Sends text from a user to another user.
<p>
This method writes a line of text to a user, with a user's nick/ident /host combination prepended, as used in PRIVMSG etc commands (see RFC 1459)
<p>
Definition at line <a class="el" href="modules_8cpp-source.html#l00088">88</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
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>.
<p>
<div class="fragment"><pre>00089 {
00090 WriteTo(Source,Dest,<span class="stringliteral">"%s"</span>,s.c_str());
00091 }
<div class="fragment"><pre>00076 {
00077 WriteTo(Source,Dest,<span class="stringliteral">"%s"</span>,s.c_str());
00078 }
</pre></div> </td>
</tr>
</table>
@ -900,17 +909,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#l00122">122</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
Definition at line <a class="el" href="modules_8cpp-source.html#l00109">109</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
<div class="fragment"><pre>00123 {
00124 WriteWallOps(User,<span class="stringliteral">"%s"</span>,text.c_str());
00125 }
<div class="fragment"><pre>00110 {
00111 WriteWallOps(User,<span class="stringliteral">"%s"</span>,text.c_str());
00112 }
</pre></div> </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="modules_8h-source.html">modules.h</a><li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul>
<hr><address style="align: right;"><small>Generated on Mon Jan 27 00:23:14 2003 for InspIRCd by
<hr><address style="align: right;"><small>Generated on Sun Feb 9 12:48:19 2003 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc2 </small></address>

View File

@ -15,7 +15,7 @@
<tr bgcolor="#f0f0f0"><td><a class="el" href="classVersion.html#m2">Revision</a></td><td><a class="el" href="classVersion.html">Version</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classVersion.html#a0">Version</a>(int major, int minor, int revision, int build)</td><td><a class="el" href="classVersion.html">Version</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
</table><hr><address style="align: right;"><small>Generated on Mon Jan 27 00:23:14 2003 for InspIRCd by
</table><hr><address style="align: right;"><small>Generated on Sun Feb 9 12:48:19 2003 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc2 </small></address>

View File

@ -33,7 +33,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#l00065">65</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
Definition at line <a class="el" href="modules_8h-source.html#l00040">40</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="Version::Version"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
@ -83,9 +83,9 @@ Definition at line <a class="el" href="modules_8h-source.html#l00065">65</a> of
<p>
<p>
Definition at line <a class="el" href="modules_8cpp-source.html#l00032">32</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
Definition at line <a class="el" href="modules_8cpp-source.html#l00016">16</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
<div class="fragment"><pre>00032 : <a class="code" href="classVersion.html#m0">Major</a>(major), <a class="code" href="classVersion.html#m1">Minor</a>(minor), <a class="code" href="classVersion.html#m2">Revision</a>(revision), <a class="code" href="classVersion.html#m3">Build</a>(build) { };
<div class="fragment"><pre>00016 : <a class="code" href="classVersion.html#m0">Major</a>(major), <a class="code" href="classVersion.html#m1">Minor</a>(minor), <a class="code" href="classVersion.html#m2">Revision</a>(revision), <a class="code" href="classVersion.html#m3">Build</a>(build) { };
</pre></div> </td>
</tr>
</table>
@ -111,7 +111,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00032">32</a> o
<p>
<p>
Definition at line <a class="el" href="modules_8h-source.html#l00068">68</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
Definition at line <a class="el" href="modules_8h-source.html#l00043">43</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
</tr>
</table>
<a name="m0" doxytag="Version::Major"></a><p>
@ -135,7 +135,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00068">68</a> of
<p>
<p>
Definition at line <a class="el" href="modules_8h-source.html#l00068">68</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
Definition at line <a class="el" href="modules_8h-source.html#l00043">43</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
</tr>
</table>
<a name="m1" doxytag="Version::Minor"></a><p>
@ -159,7 +159,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00068">68</a> of
<p>
<p>
Definition at line <a class="el" href="modules_8h-source.html#l00068">68</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
Definition at line <a class="el" href="modules_8h-source.html#l00043">43</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
</tr>
</table>
<a name="m2" doxytag="Version::Revision"></a><p>
@ -183,12 +183,12 @@ Definition at line <a class="el" href="modules_8h-source.html#l00068">68</a> of
<p>
<p>
Definition at line <a class="el" href="modules_8h-source.html#l00068">68</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
Definition at line <a class="el" href="modules_8h-source.html#l00043">43</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="modules_8h-source.html">modules.h</a><li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul>
<hr><address style="align: right;"><small>Generated on Mon Jan 27 00:23:14 2003 for InspIRCd by
<hr><address style="align: right;"><small>Generated on Sun Feb 9 12:48:19 2003 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc2 </small></address>

View File

@ -27,7 +27,7 @@
<tr bgcolor="#f0f0f0"><td><a class="el" href="classchanrec.html#m4">topicset</a></td><td><a class="el" href="classchanrec.html">chanrec</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classchanrec.html#a1">~chanrec</a>()</td><td><a class="el" href="classchanrec.html">chanrec</a></td><td><code> [inline, virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
</table><hr><address style="align: right;"><small>Generated on Mon Jan 27 00:23:12 2003 for InspIRCd by
</table><hr><address style="align: right;"><small>Generated on Sun Feb 9 12:48:17 2003 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc2 </small></address>

View File

@ -61,7 +61,7 @@ This class represents a channel, and contains its name, modes, time created, top
<p>
<p>
Definition at line <a class="el" href="channels_8h-source.html#l00090">90</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
Definition at line <a class="el" href="channels_8h-source.html#l00070">70</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="chanrec::chanrec"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
@ -91,17 +91,17 @@ Creates a channel record and initialises it with default values.
<p>
<p>
Definition at line <a class="el" href="channels_8h-source.html#l00158">158</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.
Definition at line <a class="el" href="channels_8h-source.html#l00138">138</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.
<p>
<div class="fragment"><pre>00159 {
00160 strcpy(name,<span class="stringliteral">""</span>);
00161 strcpy(custom_modes,<span class="stringliteral">""</span>);
00162 strcpy(topic,<span class="stringliteral">""</span>);
00163 strcpy(setby,<span class="stringliteral">""</span>);
00164 strcpy(key,<span class="stringliteral">""</span>);
00165 <a class="code" href="classchanrec.html#m3">created</a> = <a class="code" href="classchanrec.html#m4">topicset</a> = <a class="code" href="classchanrec.html#m6">limit</a> = 0;
00166 <a class="code" href="classchanrec.html#m8">topiclock</a> = <a class="code" href="classchanrec.html#m9">noexternal</a> = <a class="code" href="classchanrec.html#m10">inviteonly</a> = <a class="code" href="classchanrec.html#m11">moderated</a> = <a class="code" href="classchanrec.html#m12">secret</a> = <a class="code" href="classchanrec.html#m13">c_private</a> = <span class="keyword">false</span>;
00167 }
<div class="fragment"><pre>00139 {
00140 strcpy(name,<span class="stringliteral">""</span>);
00141 strcpy(custom_modes,<span class="stringliteral">""</span>);
00142 strcpy(topic,<span class="stringliteral">""</span>);
00143 strcpy(setby,<span class="stringliteral">""</span>);
00144 strcpy(key,<span class="stringliteral">""</span>);
00145 <a class="code" href="classchanrec.html#m3">created</a> = <a class="code" href="classchanrec.html#m4">topicset</a> = <a class="code" href="classchanrec.html#m6">limit</a> = 0;
00146 <a class="code" href="classchanrec.html#m8">topiclock</a> = <a class="code" href="classchanrec.html#m9">noexternal</a> = <a class="code" href="classchanrec.html#m10">inviteonly</a> = <a class="code" href="classchanrec.html#m11">moderated</a> = <a class="code" href="classchanrec.html#m12">secret</a> = <a class="code" href="classchanrec.html#m13">c_private</a> = <span class="keyword">false</span>;
00147 }
</pre></div> </td>
</tr>
</table>
@ -132,9 +132,9 @@ Definition at line <a class="el" href="channels_8h-source.html#l00158">158</a> o
<p>
<p>
Definition at line <a class="el" href="channels_8h-source.html#l00169">169</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.
Definition at line <a class="el" href="channels_8h-source.html#l00149">149</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.
<p>
<div class="fragment"><pre>00169 { <span class="comment">/* stub */</span> }
<div class="fragment"><pre>00149 { <span class="comment">/* stub */</span> }
</pre></div> </td>
</tr>
</table>
@ -162,7 +162,7 @@ The list of all bans set on the channel.
<p>
<p>
Definition at line <a class="el" href="channels_8h-source.html#l00154">154</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td>
Definition at line <a class="el" href="channels_8h-source.html#l00134">134</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td>
</tr>
</table>
<a name="m13" doxytag="chanrec::c_private"></a><p>
@ -188,7 +188,7 @@ Nonzero if the mode +p is set.
<p>
This value cannot be set at the same time as <a class="el" href="classchanrec.html#m12">chanrec::secret</a>
<p>
Definition at line <a class="el" href="channels_8h-source.html#l00150">150</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td>
Definition at line <a class="el" href="channels_8h-source.html#l00130">130</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td>
</tr>
</table>
<a name="m3" doxytag="chanrec::created"></a><p>
@ -214,7 +214,7 @@ Creation time.
<p>
<p>
Definition at line <a class="el" href="channels_8h-source.html#l00106">106</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td>
Definition at line <a class="el" href="channels_8h-source.html#l00086">86</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td>
</tr>
</table>
<a name="m1" doxytag="chanrec::custom_modes"></a><p>
@ -240,7 +240,7 @@ Custom modes for the channel.
<p>
Plugins may use this field in any way they see fit.
<p>
Definition at line <a class="el" href="channels_8h-source.html#l00099">99</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td>
Definition at line <a class="el" href="channels_8h-source.html#l00079">79</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td>
</tr>
</table>
<a name="m10" doxytag="chanrec::inviteonly"></a><p>
@ -266,7 +266,7 @@ Nonzero if the mode +i is set.
<p>
<p>
Definition at line <a class="el" href="channels_8h-source.html#l00136">136</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td>
Definition at line <a class="el" href="channels_8h-source.html#l00116">116</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td>
</tr>
</table>
<a name="m7" doxytag="chanrec::key"></a><p>
@ -292,7 +292,7 @@ Contains the channel key.
<p>
If this value is an empty string, there is no channel key in place.
<p>
Definition at line <a class="el" href="channels_8h-source.html#l00124">124</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td>
Definition at line <a class="el" href="channels_8h-source.html#l00104">104</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td>
</tr>
</table>
<a name="m6" doxytag="chanrec::limit"></a><p>
@ -318,7 +318,7 @@ Contains the channel user limit.
<p>
If this value is zero, there is no limit in place.
<p>
Definition at line <a class="el" href="channels_8h-source.html#l00119">119</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td>
Definition at line <a class="el" href="channels_8h-source.html#l00099">99</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td>
</tr>
</table>
<a name="m11" doxytag="chanrec::moderated"></a><p>
@ -344,7 +344,7 @@ Nonzero if the mode +m is set.
<p>
<p>
Definition at line <a class="el" href="channels_8h-source.html#l00140">140</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td>
Definition at line <a class="el" href="channels_8h-source.html#l00120">120</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td>
</tr>
</table>
<a name="m0" doxytag="chanrec::name"></a><p>
@ -370,7 +370,7 @@ The channels name.
<p>
<p>
Definition at line <a class="el" href="channels_8h-source.html#l00095">95</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td>
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>. </td>
</tr>
</table>
<a name="m9" doxytag="chanrec::noexternal"></a><p>
@ -396,7 +396,7 @@ Nonzero if the mode +n is set.
<p>
<p>
Definition at line <a class="el" href="channels_8h-source.html#l00132">132</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td>
Definition at line <a class="el" href="channels_8h-source.html#l00112">112</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td>
</tr>
</table>
<a name="m12" doxytag="chanrec::secret"></a><p>
@ -422,7 +422,7 @@ Nonzero if the mode +s is set.
<p>
This value cannot be set at the same time as <a class="el" href="classchanrec.html#m13">chanrec::c_private</a>
<p>
Definition at line <a class="el" href="channels_8h-source.html#l00145">145</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td>
Definition at line <a class="el" href="channels_8h-source.html#l00125">125</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td>
</tr>
</table>
<a name="m5" doxytag="chanrec::setby"></a><p>
@ -448,7 +448,7 @@ The last user to set the topic.
<p>
If this member is an empty string, no topic was ever set.
<p>
Definition at line <a class="el" href="channels_8h-source.html#l00114">114</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td>
Definition at line <a class="el" href="channels_8h-source.html#l00094">94</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td>
</tr>
</table>
<a name="m2" doxytag="chanrec::topic"></a><p>
@ -474,7 +474,7 @@ Channel topic.
<p>
If this is an empty string, no channel topic is set.
<p>
Definition at line <a class="el" href="channels_8h-source.html#l00103">103</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td>
Definition at line <a class="el" href="channels_8h-source.html#l00083">83</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td>
</tr>
</table>
<a name="m8" doxytag="chanrec::topiclock"></a><p>
@ -500,7 +500,7 @@ Nonzero if the mode +t is set.
<p>
<p>
Definition at line <a class="el" href="channels_8h-source.html#l00128">128</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td>
Definition at line <a class="el" href="channels_8h-source.html#l00108">108</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td>
</tr>
</table>
<a name="m4" doxytag="chanrec::topicset"></a><p>
@ -526,12 +526,12 @@ Time topic was set.
<p>
If no topic was ever set, this will be equal to <a class="el" href="classchanrec.html#m3">chanrec::created</a>
<p>
Definition at line <a class="el" href="channels_8h-source.html#l00110">110</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td>
Definition at line <a class="el" href="channels_8h-source.html#l00090">90</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="channels_8h-source.html">channels.h</a></ul>
<hr><address style="align: right;"><small>Generated on Mon Jan 27 00:23:12 2003 for InspIRCd by
<hr><address style="align: right;"><small>Generated on Sun Feb 9 12:48:17 2003 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc2 </small></address>

View File

@ -10,7 +10,7 @@
<tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#m0">age</a></td><td><a class="el" href="classclassbase.html">classbase</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a0">classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
</table><hr><address style="align: right;"><small>Generated on Mon Jan 27 00:23:12 2003 for InspIRCd by
</table><hr><address style="align: right;"><small>Generated on Sun Feb 9 12:48:17 2003 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc2 </small></address>

View File

@ -6,7 +6,10 @@
<!-- Generated by Doxygen 1.3-rc2 -->
<center>
<a class="qindex" href="main.html">Main Page</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>classbase Class Reference</h1><code>#include &lt;<a class="el" href="base_8h-source.html">base.h</a>&gt;</code>
<hr><h1>classbase Class Reference</h1>The base class for all inspircd classes.
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="base_8h-source.html">base.h</a>&gt;</code>
<p>
<p>Inheritance diagram for classbase:
<p><center><img src="classclassbase.png" usemap="#classbase_map" border="0" alt=""></center>
@ -22,19 +25,27 @@
<area href="classInvited.html" alt="Invited" shape="rect" coords="108,504,206,528">
<area href="classModule.html" alt="Module" shape="rect" coords="108,560,206,584">
<area href="classModuleFactory.html" alt="ModuleFactory" shape="rect" coords="108,616,206,640">
<area href="classServer.html" alt="Server" shape="rect" coords="108,672,206,696">
<area href="classucrec.html" alt="ucrec" shape="rect" coords="108,728,206,752">
<area href="classVersion.html" alt="Version" shape="rect" coords="108,784,206,808">
<area href="classpacket.html" alt="packet" shape="rect" coords="108,672,206,696">
<area href="classServer.html" alt="Server" shape="rect" coords="108,728,206,752">
<area href="classucrec.html" alt="ucrec" shape="rect" coords="108,784,206,808">
<area href="classVersion.html" alt="Version" shape="rect" coords="108,840,206,864">
</map>
<a href="classclassbase-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 Methods</h2></td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classclassbase.html#a0">classbase</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Constructor, Sets the object's time.</em> <a href="#a0"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classclassbase.html#a1">~classbase</a> ()</td></tr>
<tr><td colspan=2><br><h2>Public Attributes</h2></td></tr>
<tr><td nowrap align=right valign=top>time_t&nbsp;</td><td valign=bottom><a class="el" href="classclassbase.html#m0">age</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Time that the object was instantiated (used for TS calculation etc).</em> <a href="#m0"></a><em></em></font><br><br></td></tr>
</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<hr><a name="_details"></a><h2>Detailed Description</h2>
The base class for all inspircd classes.
<p>
<p>
Definition at line <a class="el" href="base_8h-source.html#l00015">15</a> of file <a class="el" href="base_8h-source.html">base.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="classbase::classbase"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
@ -60,11 +71,13 @@
<td>
<p>
Constructor, Sets the object's time.
<p>
<p>
Definition at line <a class="el" href="base_8h-source.html#l00022">22</a> of file <a class="el" href="base_8h-source.html">base.h</a>.
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>.
<p>
<div class="fragment"><pre>00022 { <a class="code" href="classclassbase.html#m0">age</a> = time(NULL); }
<div class="fragment"><pre>00025 { <a class="code" href="classclassbase.html#m0">age</a> = time(NULL); }
</pre></div> </td>
</tr>
</table>
@ -95,9 +108,9 @@ Definition at line <a class="el" href="base_8h-source.html#l00022">22</a> of fil
<p>
<p>
Definition at line <a class="el" href="base_8h-source.html#l00023">23</a> of file <a class="el" href="base_8h-source.html">base.h</a>.
Definition at line <a class="el" href="base_8h-source.html#l00026">26</a> of file <a class="el" href="base_8h-source.html">base.h</a>.
<p>
<div class="fragment"><pre>00023 { }
<div class="fragment"><pre>00026 { }
</pre></div> </td>
</tr>
</table>
@ -121,6 +134,8 @@ Definition at line <a class="el" href="base_8h-source.html#l00023">23</a> of fil
<td>
<p>
Time that the object was instantiated (used for TS calculation etc).
<p>
<p>
Definition at line <a class="el" href="base_8h-source.html#l00020">20</a> of file <a class="el" href="base_8h-source.html">base.h</a>. </td>
@ -128,7 +143,7 @@ Definition at line <a class="el" href="base_8h-source.html#l00020">20</a> of fil
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="base_8h-source.html">base.h</a></ul>
<hr><address style="align: right;"><small>Generated on Mon Jan 27 00:23:12 2003 for InspIRCd by
<hr><address style="align: right;"><small>Generated on Sun Feb 9 12:48:17 2003 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc2 </small></address>

Binary file not shown.

View File

@ -16,7 +16,7 @@
<tr bgcolor="#f0f0f0"><td><a class="el" href="classcommand__t.html#m5">total_bytes</a></td><td><a class="el" href="classcommand__t.html">command_t</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classcommand__t.html#m4">use_count</a></td><td><a class="el" href="classcommand__t.html">command_t</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
</table><hr><address style="align: right;"><small>Generated on Mon Jan 27 00:23:12 2003 for InspIRCd by
</table><hr><address style="align: right;"><small>Generated on Sun Feb 9 12:48:17 2003 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc2 </small></address>

View File

@ -6,7 +6,10 @@
<!-- Generated by Doxygen 1.3-rc2 -->
<center>
<a class="qindex" href="main.html">Main Page</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>command_t Class Reference</h1><code>#include &lt;<a class="el" href="ctables_8h-source.html">ctables.h</a>&gt;</code>
<hr><h1>command_t Class Reference</h1>A structure that defines a command.
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="ctables_8h-source.html">ctables.h</a>&gt;</code>
<p>
<p>Inheritance diagram for command_t:
<p><center><img src="classcommand__t.png" usemap="#command_t_map" border="0" alt=""></center>
@ -17,13 +20,24 @@
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Public Attributes</h2></td></tr>
<tr><td nowrap align=right valign=top>char&nbsp;</td><td valign=bottom><a class="el" href="classcommand__t.html#m0">command</a> [MAXBUF]</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Command name.</em> <a href="#m0"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="ctables_8h.html#a0">handlerfunc</a> *&nbsp;</td><td valign=bottom><a class="el" href="classcommand__t.html#m1">handler_function</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Handler function as in typedef.</em> <a href="#m1"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>char&nbsp;</td><td valign=bottom><a class="el" href="classcommand__t.html#m2">flags_needed</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>User flags needed to execute the command or 0.</em> <a href="#m2"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classcommand__t.html#m3">min_params</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Minimum number of parameters command takes.</em> <a href="#m3"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>long&nbsp;</td><td valign=bottom><a class="el" href="classcommand__t.html#m4">use_count</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>used by /stats m</em> <a href="#m4"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>long&nbsp;</td><td valign=bottom><a class="el" href="classcommand__t.html#m5">total_bytes</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>used by /stats m</em> <a href="#m5"></a><em></em></font><br><br></td></tr>
</table>
<hr><h2>Member Data Documentation</h2>
<hr><a name="_details"></a><h2>Detailed Description</h2>
A structure that defines a command.
<p>
<p>
Definition at line <a class="el" href="ctables_8h-source.html#l00027">27</a> of file <a class="el" href="ctables_8h-source.html">ctables.h</a>.<hr><h2>Member Data Documentation</h2>
<a name="m0" doxytag="command_t::command"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
@ -43,9 +57,11 @@
<td>
<p>
Command name.
<p>
<p>
Definition at line <a class="el" href="ctables_8h-source.html#l00051">51</a> of file <a class="el" href="ctables_8h-source.html">ctables.h</a>. </td>
Definition at line <a class="el" href="ctables_8h-source.html#l00032">32</a> of file <a class="el" href="ctables_8h-source.html">ctables.h</a>. </td>
</tr>
</table>
<a name="m2" doxytag="command_t::flags_needed"></a><p>
@ -67,9 +83,11 @@ Definition at line <a class="el" href="ctables_8h-source.html#l00051">51</a> of
<td>
<p>
User flags needed to execute the command or 0.
<p>
<p>
Definition at line <a class="el" href="ctables_8h-source.html#l00053">53</a> of file <a class="el" href="ctables_8h-source.html">ctables.h</a>. </td>
Definition at line <a class="el" href="ctables_8h-source.html#l00038">38</a> of file <a class="el" href="ctables_8h-source.html">ctables.h</a>. </td>
</tr>
</table>
<a name="m1" doxytag="command_t::handler_function"></a><p>
@ -91,9 +109,11 @@ Definition at line <a class="el" href="ctables_8h-source.html#l00053">53</a> of
<td>
<p>
Handler function as in typedef.
<p>
<p>
Definition at line <a class="el" href="ctables_8h-source.html#l00052">52</a> of file <a class="el" href="ctables_8h-source.html">ctables.h</a>. </td>
Definition at line <a class="el" href="ctables_8h-source.html#l00035">35</a> of file <a class="el" href="ctables_8h-source.html">ctables.h</a>. </td>
</tr>
</table>
<a name="m3" doxytag="command_t::min_params"></a><p>
@ -115,9 +135,11 @@ Definition at line <a class="el" href="ctables_8h-source.html#l00052">52</a> of
<td>
<p>
Minimum number of parameters command takes.
<p>
<p>
Definition at line <a class="el" href="ctables_8h-source.html#l00054">54</a> of file <a class="el" href="ctables_8h-source.html">ctables.h</a>. </td>
Definition at line <a class="el" href="ctables_8h-source.html#l00041">41</a> of file <a class="el" href="ctables_8h-source.html">ctables.h</a>. </td>
</tr>
</table>
<a name="m5" doxytag="command_t::total_bytes"></a><p>
@ -139,9 +161,11 @@ Definition at line <a class="el" href="ctables_8h-source.html#l00054">54</a> of
<td>
<p>
used by /stats m
<p>
<p>
Definition at line <a class="el" href="ctables_8h-source.html#l00056">56</a> of file <a class="el" href="ctables_8h-source.html">ctables.h</a>. </td>
Definition at line <a class="el" href="ctables_8h-source.html#l00047">47</a> of file <a class="el" href="ctables_8h-source.html">ctables.h</a>. </td>
</tr>
</table>
<a name="m4" doxytag="command_t::use_count"></a><p>
@ -163,14 +187,16 @@ Definition at line <a class="el" href="ctables_8h-source.html#l00056">56</a> of
<td>
<p>
used by /stats m
<p>
<p>
Definition at line <a class="el" href="ctables_8h-source.html#l00055">55</a> of file <a class="el" href="ctables_8h-source.html">ctables.h</a>. </td>
Definition at line <a class="el" href="ctables_8h-source.html#l00044">44</a> of file <a class="el" href="ctables_8h-source.html">ctables.h</a>. </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="ctables_8h-source.html">ctables.h</a></ul>
<hr><address style="align: right;"><small>Generated on Mon Jan 27 00:23:12 2003 for InspIRCd by
<hr><address style="align: right;"><small>Generated on Sun Feb 9 12:48:17 2003 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc2 </small></address>

View File

@ -8,24 +8,34 @@
<a class="qindex" href="main.html">Main Page</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>connection Member List</h1>This is the complete list of members for <a class="el" href="classconnection.html">connection</a>, including all inherited members.<table>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#m0">age</a></td><td><a class="el" href="classclassbase.html">classbase</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m4">bytes_in</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m5">bytes_out</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#a2">BeginLink</a>(char *targethost, int port, char *password)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m5">bytes_in</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m6">bytes_out</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a0">classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m6">cmds_in</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m7">cmds_out</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m0">fd</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m8">haspassed</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m1">host</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m13">idle_lastmsg</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m3">inbuf</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m2">ip</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m11">lastping</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m14">nping</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m9">port</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m10">registered</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m12">signon</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m7">cmds_in</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m8">cmds_out</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#a0">connection</a>()</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#a1">CreateListener</a>(char *host, int p)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m1">fd</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#a8">GenKey</a>()</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m9">haspassed</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m2">host</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m14">idle_lastmsg</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m4">inbuf</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m3">ip</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m0">key</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m12">lastping</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m15">nping</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m10">port</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#a5">RecvPacket</a>(char *message, char *host, int &amp;prt)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m11">registered</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#a7">SendACK</a>(char *host, int port, int reply_id)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#a4">SendPacket</a>(char *message, char *host, int port)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#a6">SendSYN</a>(char *host, int port)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m13">signon</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#a3">TerminateLink</a>(char *targethost)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
</table><hr><address style="align: right;"><small>Generated on Mon Jan 27 00:23:13 2003 for InspIRCd by
</table><hr><address style="align: right;"><small>Generated on Sun Feb 9 12:48:18 2003 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc2 </small></address>

View File

@ -17,25 +17,375 @@
</map>
<a href="classconnection-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 Methods</h2></td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classconnection.html#a0">connection</a> ()</td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classconnection.html#a1">CreateListener</a> (char *<a class="el" href="classconnection.html#m2">host</a>, int p)</td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classconnection.html#a2">BeginLink</a> (char *targethost, int <a class="el" href="classconnection.html#m10">port</a>, char *password)</td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classconnection.html#a3">TerminateLink</a> (char *targethost)</td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classconnection.html#a4">SendPacket</a> (char *message, char *<a class="el" href="classconnection.html#m2">host</a>, int <a class="el" href="classconnection.html#m10">port</a>)</td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classconnection.html#a5">RecvPacket</a> (char *message, char *<a class="el" href="classconnection.html#m2">host</a>, int &amp;prt)</td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classconnection.html#a6">SendSYN</a> (char *<a class="el" href="classconnection.html#m2">host</a>, int <a class="el" href="classconnection.html#m10">port</a>)</td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classconnection.html#a7">SendACK</a> (char *<a class="el" href="classconnection.html#m2">host</a>, int <a class="el" href="classconnection.html#m10">port</a>, int reply_id)</td></tr>
<tr><td nowrap align=right valign=top>long&nbsp;</td><td valign=bottom><a class="el" href="classconnection.html#a8">GenKey</a> ()</td></tr>
<tr><td colspan=2><br><h2>Public Attributes</h2></td></tr>
<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classconnection.html#m0">fd</a></td></tr>
<tr><td nowrap align=right valign=top>char&nbsp;</td><td valign=bottom><a class="el" href="classconnection.html#m1">host</a> [256]</td></tr>
<tr><td nowrap align=right valign=top>long&nbsp;</td><td valign=bottom><a class="el" href="classconnection.html#m2">ip</a></td></tr>
<tr><td nowrap align=right valign=top>char&nbsp;</td><td valign=bottom><a class="el" href="classconnection.html#m3">inbuf</a> [MAXBUF]</td></tr>
<tr><td nowrap align=right valign=top>long&nbsp;</td><td valign=bottom><a class="el" href="classconnection.html#m4">bytes_in</a></td></tr>
<tr><td nowrap align=right valign=top>long&nbsp;</td><td valign=bottom><a class="el" href="classconnection.html#m5">bytes_out</a></td></tr>
<tr><td nowrap align=right valign=top>long&nbsp;</td><td valign=bottom><a class="el" href="classconnection.html#m6">cmds_in</a></td></tr>
<tr><td nowrap align=right valign=top>long&nbsp;</td><td valign=bottom><a class="el" href="classconnection.html#m7">cmds_out</a></td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classconnection.html#m8">haspassed</a></td></tr>
<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classconnection.html#m9">port</a></td></tr>
<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classconnection.html#m10">registered</a></td></tr>
<tr><td nowrap align=right valign=top>time_t&nbsp;</td><td valign=bottom><a class="el" href="classconnection.html#m11">lastping</a></td></tr>
<tr><td nowrap align=right valign=top>time_t&nbsp;</td><td valign=bottom><a class="el" href="classconnection.html#m12">signon</a></td></tr>
<tr><td nowrap align=right valign=top>time_t&nbsp;</td><td valign=bottom><a class="el" href="classconnection.html#m13">idle_lastmsg</a></td></tr>
<tr><td nowrap align=right valign=top>time_t&nbsp;</td><td valign=bottom><a class="el" href="classconnection.html#m14">nping</a></td></tr>
<tr><td nowrap align=right valign=top>long&nbsp;</td><td valign=bottom><a class="el" href="classconnection.html#m0">key</a></td></tr>
<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classconnection.html#m1">fd</a></td></tr>
<tr><td nowrap align=right valign=top>char&nbsp;</td><td valign=bottom><a class="el" href="classconnection.html#m2">host</a> [256]</td></tr>
<tr><td nowrap align=right valign=top>long&nbsp;</td><td valign=bottom><a class="el" href="classconnection.html#m3">ip</a></td></tr>
<tr><td nowrap align=right valign=top>char&nbsp;</td><td valign=bottom><a class="el" href="classconnection.html#m4">inbuf</a> [MAXBUF]</td></tr>
<tr><td nowrap align=right valign=top>long&nbsp;</td><td valign=bottom><a class="el" href="classconnection.html#m5">bytes_in</a></td></tr>
<tr><td nowrap align=right valign=top>long&nbsp;</td><td valign=bottom><a class="el" href="classconnection.html#m6">bytes_out</a></td></tr>
<tr><td nowrap align=right valign=top>long&nbsp;</td><td valign=bottom><a class="el" href="classconnection.html#m7">cmds_in</a></td></tr>
<tr><td nowrap align=right valign=top>long&nbsp;</td><td valign=bottom><a class="el" href="classconnection.html#m8">cmds_out</a></td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classconnection.html#m9">haspassed</a></td></tr>
<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classconnection.html#m10">port</a></td></tr>
<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classconnection.html#m11">registered</a></td></tr>
<tr><td nowrap align=right valign=top>time_t&nbsp;</td><td valign=bottom><a class="el" href="classconnection.html#m12">lastping</a></td></tr>
<tr><td nowrap align=right valign=top>time_t&nbsp;</td><td valign=bottom><a class="el" href="classconnection.html#m13">signon</a></td></tr>
<tr><td nowrap align=right valign=top>time_t&nbsp;</td><td valign=bottom><a class="el" href="classconnection.html#m14">idle_lastmsg</a></td></tr>
<tr><td nowrap align=right valign=top>time_t&nbsp;</td><td valign=bottom><a class="el" href="classconnection.html#m15">nping</a></td></tr>
</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="connection::connection"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> connection::connection </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a name="a2" doxytag="connection::BeginLink"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> bool connection::BeginLink </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">char *&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>targethost</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>int&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>port</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>char *&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>password</em></td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<a name="a1" doxytag="connection::CreateListener"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> bool connection::CreateListener </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">char *&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>host</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>int&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>p</em></td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<a name="a8" doxytag="connection::GenKey"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> long connection::GenKey </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<a name="a5" doxytag="connection::RecvPacket"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> bool connection::RecvPacket </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">char *&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>message</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>char *&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>host</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>int &amp;&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>prt</em></td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<a name="a7" doxytag="connection::SendACK"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> bool connection::SendACK </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">char *&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>host</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>int&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>port</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>int&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>reply_id</em></td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<a name="a4" doxytag="connection::SendPacket"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> bool connection::SendPacket </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">char *&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>message</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>char *&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>host</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>int&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>port</em></td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<a name="a6" doxytag="connection::SendSYN"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> bool connection::SendSYN </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">char *&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>host</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>int&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>port</em></td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<a name="a3" doxytag="connection::TerminateLink"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> void connection::TerminateLink </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">char *&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; <em>targethost</em> </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<hr><h2>Member Data Documentation</h2>
<a name="m4" doxytag="connection::bytes_in"></a><p>
<a name="m5" doxytag="connection::bytes_in"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
@ -56,12 +406,12 @@
<p>
<p>
Definition at line <a class="el" href="connection_8h-source.html#l00029">29</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
Definition at line <a class="el" href="connection_8h-source.html#l00046">46</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
<p>
Referenced by <a class="el" href="users_8cpp-source.html#l00026">userrec::userrec()</a>. </td>
Referenced by <a class="el" href="users_8cpp-source.html#l00011">userrec::userrec()</a>. </td>
</tr>
</table>
<a name="m5" doxytag="connection::bytes_out"></a><p>
<a name="m6" doxytag="connection::bytes_out"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
@ -82,12 +432,12 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00026">userrec::userre
<p>
<p>
Definition at line <a class="el" href="connection_8h-source.html#l00030">30</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
Definition at line <a class="el" href="connection_8h-source.html#l00047">47</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
<p>
Referenced by <a class="el" href="users_8cpp-source.html#l00026">userrec::userrec()</a>. </td>
Referenced by <a class="el" href="users_8cpp-source.html#l00011">userrec::userrec()</a>. </td>
</tr>
</table>
<a name="m6" doxytag="connection::cmds_in"></a><p>
<a name="m7" doxytag="connection::cmds_in"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
@ -108,12 +458,12 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00026">userrec::userre
<p>
<p>
Definition at line <a class="el" href="connection_8h-source.html#l00031">31</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
Definition at line <a class="el" href="connection_8h-source.html#l00048">48</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
<p>
Referenced by <a class="el" href="users_8cpp-source.html#l00026">userrec::userrec()</a>. </td>
Referenced by <a class="el" href="users_8cpp-source.html#l00011">userrec::userrec()</a>. </td>
</tr>
</table>
<a name="m7" doxytag="connection::cmds_out"></a><p>
<a name="m8" doxytag="connection::cmds_out"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
@ -134,12 +484,12 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00026">userrec::userre
<p>
<p>
Definition at line <a class="el" href="connection_8h-source.html#l00032">32</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
Definition at line <a class="el" href="connection_8h-source.html#l00049">49</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
<p>
Referenced by <a class="el" href="users_8cpp-source.html#l00026">userrec::userrec()</a>. </td>
Referenced by <a class="el" href="users_8cpp-source.html#l00011">userrec::userrec()</a>. </td>
</tr>
</table>
<a name="m0" doxytag="connection::fd"></a><p>
<a name="m1" doxytag="connection::fd"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
@ -160,12 +510,12 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00026">userrec::userre
<p>
<p>
Definition at line <a class="el" href="connection_8h-source.html#l00025">25</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
Definition at line <a class="el" href="connection_8h-source.html#l00042">42</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#l00020">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#l00012">serverrec::serverrec()</a>, and <a class="el" href="users_8cpp-source.html#l00011">userrec::userrec()</a>. </td>
</tr>
</table>
<a name="m8" doxytag="connection::haspassed"></a><p>
<a name="m9" doxytag="connection::haspassed"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
@ -186,12 +536,12 @@ Referenced by <a class="el" href="servers_8cpp-source.html#l00020">serverrec::se
<p>
<p>
Definition at line <a class="el" href="connection_8h-source.html#l00033">33</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
Definition at line <a class="el" href="connection_8h-source.html#l00050">50</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
<p>
Referenced by <a class="el" href="users_8cpp-source.html#l00026">userrec::userrec()</a>. </td>
Referenced by <a class="el" href="users_8cpp-source.html#l00011">userrec::userrec()</a>. </td>
</tr>
</table>
<a name="m1" doxytag="connection::host"></a><p>
<a name="m2" doxytag="connection::host"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
@ -212,10 +562,10 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00026">userrec::userre
<p>
<p>
Definition at line <a class="el" href="connection_8h-source.html#l00026">26</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td>
Definition at line <a class="el" href="connection_8h-source.html#l00043">43</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td>
</tr>
</table>
<a name="m13" doxytag="connection::idle_lastmsg"></a><p>
<a name="m14" doxytag="connection::idle_lastmsg"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
@ -236,12 +586,12 @@ Definition at line <a class="el" href="connection_8h-source.html#l00026">26</a>
<p>
<p>
Definition at line <a class="el" href="connection_8h-source.html#l00038">38</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
Definition at line <a class="el" href="connection_8h-source.html#l00055">55</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
<p>
Referenced by <a class="el" href="users_8cpp-source.html#l00026">userrec::userrec()</a>. </td>
Referenced by <a class="el" href="users_8cpp-source.html#l00011">userrec::userrec()</a>. </td>
</tr>
</table>
<a name="m3" doxytag="connection::inbuf"></a><p>
<a name="m4" doxytag="connection::inbuf"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
@ -262,10 +612,10 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00026">userrec::userre
<p>
<p>
Definition at line <a class="el" href="connection_8h-source.html#l00028">28</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td>
Definition at line <a class="el" href="connection_8h-source.html#l00045">45</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td>
</tr>
</table>
<a name="m2" doxytag="connection::ip"></a><p>
<a name="m3" doxytag="connection::ip"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
@ -286,12 +636,36 @@ Definition at line <a class="el" href="connection_8h-source.html#l00028">28</a>
<p>
<p>
Definition at line <a class="el" href="connection_8h-source.html#l00027">27</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
Definition at line <a class="el" href="connection_8h-source.html#l00044">44</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#l00011">userrec::userrec()</a>. </td>
</tr>
</table>
<a name="m11" doxytag="connection::lastping"></a><p>
<a name="m0" doxytag="connection::key"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> long connection::key
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<p>
Definition at line <a class="el" href="connection_8h-source.html#l00041">41</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td>
</tr>
</table>
<a name="m12" doxytag="connection::lastping"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
@ -312,14 +686,12 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00026">userrec::userre
<p>
<p>
Reimplemented in <a class="el" href="classserverrec.html#m3">serverrec</a>.
Definition at line <a class="el" href="connection_8h-source.html#l00053">53</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
<p>
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>.
<p>
Referenced by <a class="el" href="users_8cpp-source.html#l00026">userrec::userrec()</a>. </td>
Referenced by <a class="el" href="servers_8cpp-source.html#l00012">serverrec::serverrec()</a>, and <a class="el" href="users_8cpp-source.html#l00011">userrec::userrec()</a>. </td>
</tr>
</table>
<a name="m14" doxytag="connection::nping"></a><p>
<a name="m15" doxytag="connection::nping"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
@ -340,12 +712,12 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00026">userrec::userre
<p>
<p>
Definition at line <a class="el" href="connection_8h-source.html#l00039">39</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
Definition at line <a class="el" href="connection_8h-source.html#l00056">56</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
<p>
Referenced by <a class="el" href="users_8cpp-source.html#l00026">userrec::userrec()</a>. </td>
Referenced by <a class="el" href="users_8cpp-source.html#l00011">userrec::userrec()</a>. </td>
</tr>
</table>
<a name="m9" doxytag="connection::port"></a><p>
<a name="m10" doxytag="connection::port"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
@ -366,12 +738,12 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00026">userrec::userre
<p>
<p>
Definition at line <a class="el" href="connection_8h-source.html#l00034">34</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
Definition at line <a class="el" href="connection_8h-source.html#l00051">51</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
<p>
Referenced by <a class="el" href="users_8cpp-source.html#l00026">userrec::userrec()</a>. </td>
Referenced by <a class="el" href="users_8cpp-source.html#l00011">userrec::userrec()</a>. </td>
</tr>
</table>
<a name="m10" doxytag="connection::registered"></a><p>
<a name="m11" doxytag="connection::registered"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
@ -392,12 +764,12 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00026">userrec::userre
<p>
<p>
Definition at line <a class="el" href="connection_8h-source.html#l00035">35</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
Definition at line <a class="el" href="connection_8h-source.html#l00052">52</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
<p>
Referenced by <a class="el" href="users_8cpp-source.html#l00026">userrec::userrec()</a>. </td>
Referenced by <a class="el" href="users_8cpp-source.html#l00011">userrec::userrec()</a>. </td>
</tr>
</table>
<a name="m12" doxytag="connection::signon"></a><p>
<a name="m13" doxytag="connection::signon"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
@ -418,14 +790,14 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00026">userrec::userre
<p>
<p>
Definition at line <a class="el" href="connection_8h-source.html#l00037">37</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
Definition at line <a class="el" href="connection_8h-source.html#l00054">54</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
<p>
Referenced by <a class="el" href="users_8cpp-source.html#l00026">userrec::userrec()</a>. </td>
Referenced by <a class="el" href="servers_8cpp-source.html#l00012">serverrec::serverrec()</a>, and <a class="el" href="users_8cpp-source.html#l00011">userrec::userrec()</a>. </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="connection_8h-source.html">connection.h</a></ul>
<hr><address style="align: right;"><small>Generated on Mon Jan 27 00:23:13 2003 for InspIRCd by
<hr><address style="align: right;"><small>Generated on Sun Feb 9 12:48:18 2003 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc2 </small></address>

View File

@ -8,17 +8,18 @@
<a class="qindex" href="main.html">Main Page</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>InspIRCd Compound Index</h1><table align=center width="95%" border="0" cellspacing="0" cellpadding="0">
<tr><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&nbsp;&nbsp;A&nbsp;&nbsp;</td></tr></table>
</td><td><a class="el" href="classcommand__t.html">command_t</a>&nbsp;&nbsp;&nbsp;</td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&nbsp;&nbsp;F&nbsp;&nbsp;</td></tr></table>
</td><td><a class="el" href="classInviteItem.html">InviteItem</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classserverrec.html">serverrec</a>&nbsp;&nbsp;&nbsp;</td></tr><tr><td><a class="el" href="classAdmin.html">Admin</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classConfigReader.html">ConfigReader</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classFileReader.html">FileReader</a>&nbsp;&nbsp;&nbsp;</td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&nbsp;&nbsp;M&nbsp;&nbsp;</td></tr></table>
</td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&nbsp;&nbsp;U&nbsp;&nbsp;</td></tr></table>
</td><td><a class="el" href="classcommand__t.html">command_t</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classFileReader.html">FileReader</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classModule.html">Module</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classserverrec.html">serverrec</a>&nbsp;&nbsp;&nbsp;</td></tr><tr><td><a class="el" href="classAdmin.html">Admin</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classConfigReader.html">ConfigReader</a>&nbsp;&nbsp;&nbsp;</td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&nbsp;&nbsp;H&nbsp;&nbsp;</td></tr></table>
</td><td><a class="el" href="classModuleFactory.html">ModuleFactory</a>&nbsp;&nbsp;&nbsp;</td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&nbsp;&nbsp;U&nbsp;&nbsp;</td></tr></table>
</td></tr><tr><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&nbsp;&nbsp;B&nbsp;&nbsp;</td></tr></table>
</td><td><a class="el" href="classConnectClass.html">ConnectClass</a>&nbsp;&nbsp;&nbsp;</td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&nbsp;&nbsp;H&nbsp;&nbsp;</td></tr></table>
</td><td><a class="el" href="classModule.html">Module</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classucrec.html">ucrec</a>&nbsp;&nbsp;&nbsp;</td></tr><tr><td><a class="el" href="classBanItem.html">BanItem</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classconnection.html">connection</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classHostItem.html">HostItem</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classModuleFactory.html">ModuleFactory</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classuserrec.html">userrec</a>&nbsp;&nbsp;&nbsp;</td></tr><tr><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&nbsp;&nbsp;C&nbsp;&nbsp;</td></tr></table>
</td><td><a class="el" href="classConnectClass.html">ConnectClass</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classHostItem.html">HostItem</a>&nbsp;&nbsp;&nbsp;</td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&nbsp;&nbsp;P&nbsp;&nbsp;</td></tr></table>
</td><td><a class="el" href="classucrec.html">ucrec</a>&nbsp;&nbsp;&nbsp;</td></tr><tr><td><a class="el" href="classBanItem.html">BanItem</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classconnection.html">connection</a>&nbsp;&nbsp;&nbsp;</td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&nbsp;&nbsp;I&nbsp;&nbsp;</td></tr></table>
</td><td><a class="el" href="classpacket.html">packet</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classuserrec.html">userrec</a>&nbsp;&nbsp;&nbsp;</td></tr><tr><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&nbsp;&nbsp;C&nbsp;&nbsp;</td></tr></table>
</td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&nbsp;&nbsp;E&nbsp;&nbsp;</td></tr></table>
</td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&nbsp;&nbsp;I&nbsp;&nbsp;</td></tr></table>
</td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&nbsp;&nbsp;S&nbsp;&nbsp;</td></tr></table>
</td><td><a class="el" href="classInvited.html">Invited</a>&nbsp;&nbsp;&nbsp;</td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&nbsp;&nbsp;S&nbsp;&nbsp;</td></tr></table>
</td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&nbsp;&nbsp;V&nbsp;&nbsp;</td></tr></table>
</td></tr><tr><td><a class="el" href="classchanrec.html">chanrec</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classExemptItem.html">ExemptItem</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classInvited.html">Invited</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classServer.html">Server</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classVersion.html">Version</a>&nbsp;&nbsp;&nbsp;</td></tr><tr><td><a class="el" href="classclassbase.html">classbase</a>&nbsp;&nbsp;&nbsp;</td></tr></table><hr><address style="align: right;"><small>Generated on Mon Jan 27 00:23:11 2003 for InspIRCd by
</td></tr><tr><td><a class="el" href="classchanrec.html">chanrec</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classExemptItem.html">ExemptItem</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classInviteItem.html">InviteItem</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classServer.html">Server</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classVersion.html">Version</a>&nbsp;&nbsp;&nbsp;</td></tr><tr><td><a class="el" href="classclassbase.html">classbase</a>&nbsp;&nbsp;&nbsp;</td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&nbsp;&nbsp;F&nbsp;&nbsp;</td></tr></table>
</td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&nbsp;&nbsp;M&nbsp;&nbsp;</td></tr></table>
</td></tr></table><hr><address style="align: right;"><small>Generated on Sun Feb 9 12:48:16 2003 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc2 </small></address>

View File

@ -7,41 +7,46 @@
<center>
<a class="qindex" href="main.html">Main Page</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>serverrec Member List</h1>This is the complete list of members for <a class="el" href="classserverrec.html">serverrec</a>, including all inherited members.<table>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classserverrec.html#a3">AddLeaf</a>(serverrec *child)</td><td><a class="el" href="classserverrec.html">serverrec</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#m0">age</a></td><td><a class="el" href="classclassbase.html">classbase</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m4">bytes_in</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m5">bytes_out</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#a2">BeginLink</a>(char *targethost, int port, char *password)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m5">bytes_in</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m6">bytes_out</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a0">classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m6">cmds_in</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m7">cmds_out</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classserverrec.html#m7">connected_at</a></td><td><a class="el" href="classserverrec.html">serverrec</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classserverrec.html#a4">DelLeaf</a>(string n)</td><td><a class="el" href="classserverrec.html">serverrec</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m0">fd</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m8">haspassed</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classserverrec.html#m8">hops_away</a></td><td><a class="el" href="classserverrec.html">serverrec</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m1">host</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m13">idle_lastmsg</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m3">inbuf</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m2">ip</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classserverrec.html#m10">jupiter</a></td><td><a class="el" href="classserverrec.html">serverrec</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classserverrec.html#m3">lastping</a></td><td><a class="el" href="classserverrec.html">serverrec</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classserverrec.html#o0">leaf</a></td><td><a class="el" href="classserverrec.html">serverrec</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classserverrec.html#m2">linktype</a></td><td><a class="el" href="classserverrec.html">serverrec</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m7">cmds_in</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m8">cmds_out</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#a0">connection</a>()</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#a1">CreateListener</a>(char *host, int p)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m1">fd</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#a8">GenKey</a>()</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m9">haspassed</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classserverrec.html#m5">hops_away</a></td><td><a class="el" href="classserverrec.html">serverrec</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m2">host</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m14">idle_lastmsg</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m4">inbuf</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m3">ip</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classserverrec.html#m7">jupiter</a></td><td><a class="el" href="classserverrec.html">serverrec</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m0">key</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m12">lastping</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classserverrec.html#m0">name</a></td><td><a class="el" href="classserverrec.html">serverrec</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m14">nping</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classserverrec.html#m6">opercount</a></td><td><a class="el" href="classserverrec.html">serverrec</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m15">nping</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classserverrec.html#m4">opercount</a></td><td><a class="el" href="classserverrec.html">serverrec</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classserverrec.html#m1">pingtime</a></td><td><a class="el" href="classserverrec.html">serverrec</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m9">port</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m10">registered</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m10">port</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#a5">RecvPacket</a>(char *message, char *host, int &amp;prt)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m11">registered</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#a7">SendACK</a>(char *host, int port, int reply_id)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#a4">SendPacket</a>(char *message, char *host, int port)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#a6">SendSYN</a>(char *host, int port)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classserverrec.html#a0">serverrec</a>()</td><td><a class="el" href="classserverrec.html">serverrec</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classserverrec.html#a1">serverrec</a>(char *n, int link_t, long ver, bool jupe)</td><td><a class="el" href="classserverrec.html">serverrec</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m12">signon</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classserverrec.html#m5">usercount</a></td><td><a class="el" href="classserverrec.html">serverrec</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classserverrec.html#m4">usercount_i</a></td><td><a class="el" href="classserverrec.html">serverrec</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classserverrec.html#m9">version</a></td><td><a class="el" href="classserverrec.html">serverrec</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classserverrec.html#a1">serverrec</a>(char *n, long ver, bool jupe)</td><td><a class="el" href="classserverrec.html">serverrec</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m13">signon</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#a3">TerminateLink</a>(char *targethost)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classserverrec.html#m3">usercount</a></td><td><a class="el" href="classserverrec.html">serverrec</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classserverrec.html#m2">usercount_i</a></td><td><a class="el" href="classserverrec.html">serverrec</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classserverrec.html#m6">version</a></td><td><a class="el" href="classserverrec.html">serverrec</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classserverrec.html#a2">~serverrec</a>()</td><td><a class="el" href="classserverrec.html">serverrec</a></td><td></td></tr>
</table><hr><address style="align: right;"><small>Generated on Mon Jan 27 00:23:14 2003 for InspIRCd by
</table><hr><address style="align: right;"><small>Generated on Sun Feb 9 12:48:19 2003 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc2 </small></address>

View File

@ -6,7 +6,10 @@
<!-- Generated by Doxygen 1.3-rc2 -->
<center>
<a class="qindex" href="main.html">Main Page</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>serverrec Class Reference</h1><code>#include &lt;<a class="el" href="servers_8h-source.html">servers.h</a>&gt;</code>
<hr><h1>serverrec Class Reference</h1>A class that defines the local server or a remote server.
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="servers_8h-source.html">servers.h</a>&gt;</code>
<p>
<p>Inheritance diagram for serverrec:
<p><center><img src="classserverrec.png" usemap="#serverrec_map" border="0" alt=""></center>
@ -18,26 +21,35 @@
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classserverrec.html#a0">serverrec</a> ()</td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classserverrec.html#a1">serverrec</a> (char *n, int link_t, long ver, bool jupe)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Constructor.</em> <a href="#a0"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classserverrec.html#a1">serverrec</a> (char *n, long ver, bool jupe)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Constructor which initialises some of the main variables.</em> <a href="#a1"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classserverrec.html#a2">~serverrec</a> ()</td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classserverrec.html#a3">AddLeaf</a> (serverrec *child)</td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classserverrec.html#a4">DelLeaf</a> (string n)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Destructor.</em> <a href="#a2"></a><em></em></font><br><br></td></tr>
<tr><td colspan=2><br><h2>Public Attributes</h2></td></tr>
<tr><td nowrap align=right valign=top>char&nbsp;</td><td valign=bottom><a class="el" href="classserverrec.html#m0">name</a> [MAXBUF]</td></tr>
<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classserverrec.html#m1">pingtime</a></td></tr>
<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classserverrec.html#m2">linktype</a></td></tr>
<tr><td nowrap align=right valign=top>time_t&nbsp;</td><td valign=bottom><a class="el" href="classserverrec.html#m3">lastping</a></td></tr>
<tr><td nowrap align=right valign=top>long&nbsp;</td><td valign=bottom><a class="el" href="classserverrec.html#m4">usercount_i</a></td></tr>
<tr><td nowrap align=right valign=top>long&nbsp;</td><td valign=bottom><a class="el" href="classserverrec.html#m5">usercount</a></td></tr>
<tr><td nowrap align=right valign=top>long&nbsp;</td><td valign=bottom><a class="el" href="classserverrec.html#m6">opercount</a></td></tr>
<tr><td nowrap align=right valign=top>time_t&nbsp;</td><td valign=bottom><a class="el" href="classserverrec.html#m7">connected_at</a></td></tr>
<tr><td nowrap align=right valign=top>time_t&nbsp;</td><td valign=bottom><a class="el" href="classserverrec.html#m8">hops_away</a></td></tr>
<tr><td nowrap align=right valign=top>long&nbsp;</td><td valign=bottom><a class="el" href="classserverrec.html#m9">version</a></td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classserverrec.html#m10">jupiter</a></td></tr>
<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr>
<tr><td nowrap align=right valign=top>map&lt; string, serverrec * &gt;&nbsp;</td><td valign=bottom><a class="el" href="classserverrec.html#o0">leaf</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>server name</em> <a href="#m0"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>long&nbsp;</td><td valign=bottom><a class="el" href="classserverrec.html#m1">pingtime</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>last ping response (ms)</em> <a href="#m1"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>long&nbsp;</td><td valign=bottom><a class="el" href="classserverrec.html#m2">usercount_i</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>invisible users on server</em> <a href="#m2"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>long&nbsp;</td><td valign=bottom><a class="el" href="classserverrec.html#m3">usercount</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>non-invisible users on server</em> <a href="#m3"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>long&nbsp;</td><td valign=bottom><a class="el" href="classserverrec.html#m4">opercount</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>opers on server</em> <a href="#m4"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classserverrec.html#m5">hops_away</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>number of hops away (for quick access)</em> <a href="#m5"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>long&nbsp;</td><td valign=bottom><a class="el" href="classserverrec.html#m6">version</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>ircd version</em> <a href="#m6"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classserverrec.html#m7">jupiter</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>is a JUPE server (faked to enforce a server ban)</em> <a href="#m7"></a><em></em></font><br><br></td></tr>
</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<hr><a name="_details"></a><h2>Detailed Description</h2>
A class that defines the local server or a remote server.
<p>
<p>
Definition at line <a class="el" href="servers_8h-source.html#l00019">19</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="serverrec::serverrec"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
@ -63,24 +75,24 @@
<td>
<p>
Constructor.
<p>
<p>
Definition at line <a class="el" href="servers_8cpp-source.html#l00020">20</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#l00012">12</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>.
<p>
References <a class="el" href="servers_8h-source.html#l00037">connected_at</a>, <a class="el" href="connection_8h-source.html#l00025">connection::fd</a>, <a class="el" href="servers_8h-source.html#l00038">hops_away</a>, <a class="el" href="servers_8h-source.html#l00040">jupiter</a>, <a class="el" href="servers_8h-source.html#l00033">lastping</a>, <a class="el" href="servers_8h-source.html#l00028">leaf</a>, <a class="el" href="servers_8h-source.html#l00022">LINK_ACTIVE</a>, <a class="el" href="servers_8h-source.html#l00032">linktype</a>, <a class="el" href="servers_8h-source.html#l00036">opercount</a>, <a class="el" href="servers_8h-source.html#l00031">pingtime</a>, <a class="el" href="servers_8h-source.html#l00035">usercount</a>, <a class="el" href="servers_8h-source.html#l00034">usercount_i</a>, and <a class="el" href="servers_8h-source.html#l00039">version</a>.
References <a class="el" href="connection_8h-source.html#l00042">connection::fd</a>, <a class="el" href="servers_8h-source.html#l00040">hops_away</a>, <a class="el" href="servers_8h-source.html#l00046">jupiter</a>, <a class="el" href="connection_8h-source.html#l00053">connection::lastping</a>, <a class="el" href="servers_8h-source.html#l00037">opercount</a>, <a class="el" href="servers_8h-source.html#l00028">pingtime</a>, <a class="el" href="connection_8h-source.html#l00054">connection::signon</a>, <a class="el" href="servers_8h-source.html#l00034">usercount</a>, <a class="el" href="servers_8h-source.html#l00031">usercount_i</a>, and <a class="el" href="servers_8h-source.html#l00043">version</a>.
<p>
<div class="fragment"><pre>00021 {
00022 <a class="code" href="classserverrec.html#o0">leaf</a>.clear();
00023 strcpy(name,<span class="stringliteral">""</span>);
00024 <a class="code" href="classserverrec.html#m1">pingtime</a> = 0;
00025 <a class="code" href="classserverrec.html#m2">linktype</a> = <a class="code" href="servers_8h.html#a0">LINK_ACTIVE</a>;
00026 <a class="code" href="classserverrec.html#m3">lastping</a> = time(NULL);
00027 <a class="code" href="classserverrec.html#m4">usercount_i</a> = <a class="code" href="classserverrec.html#m5">usercount</a> = <a class="code" href="classserverrec.html#m6">opercount</a> = <a class="code" href="classserverrec.html#m9">version</a> = 0;
00028 <a class="code" href="classserverrec.html#m8">hops_away</a> = 1;
00029 <a class="code" href="classserverrec.html#m7">connected_at</a> = time(NULL);
00030 <a class="code" href="classserverrec.html#m10">jupiter</a> = <span class="keyword">false</span>;
00031 <a class="code" href="classconnection.html#m0">fd</a> = 0;
00032 }
<div class="fragment"><pre>00013 {
00014 strcpy(name,<span class="stringliteral">""</span>);
00015 <a class="code" href="classserverrec.html#m1">pingtime</a> = 0;
00016 <a class="code" href="classconnection.html#m12">lastping</a> = time(NULL);
00017 <a class="code" href="classserverrec.html#m2">usercount_i</a> = <a class="code" href="classserverrec.html#m3">usercount</a> = <a class="code" href="classserverrec.html#m4">opercount</a> = <a class="code" href="classserverrec.html#m6">version</a> = 0;
00018 <a class="code" href="classserverrec.html#m5">hops_away</a> = 1;
00019 <a class="code" href="classconnection.html#m13">signon</a> = time(NULL);
00020 <a class="code" href="classserverrec.html#m7">jupiter</a> = <span class="keyword">false</span>;
00021 <a class="code" href="classconnection.html#m1">fd</a> = 0;
00022 }
</pre></div> </td>
</tr>
</table>
@ -95,12 +107,6 @@ References <a class="el" href="servers_8h-source.html#l00037">connected_at</a>,
<td class="md" nowrap valign="top">char *&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>n</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>int&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>link_t</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
@ -131,24 +137,24 @@ References <a class="el" href="servers_8h-source.html#l00037">connected_at</a>,
<td>
<p>
Constructor which initialises some of the main variables.
<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#l00029">29</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>.
<p>
References <a class="el" href="servers_8h-source.html#l00037">connected_at</a>, <a class="el" href="connection_8h-source.html#l00025">connection::fd</a>, <a class="el" href="servers_8h-source.html#l00038">hops_away</a>, <a class="el" href="servers_8h-source.html#l00040">jupiter</a>, <a class="el" href="servers_8h-source.html#l00033">lastping</a>, <a class="el" href="servers_8h-source.html#l00028">leaf</a>, <a class="el" href="servers_8h-source.html#l00032">linktype</a>, <a class="el" href="servers_8h-source.html#l00036">opercount</a>, <a class="el" href="servers_8h-source.html#l00035">usercount</a>, <a class="el" href="servers_8h-source.html#l00034">usercount_i</a>, and <a class="el" href="servers_8h-source.html#l00039">version</a>.
References <a class="el" href="connection_8h-source.html#l00042">connection::fd</a>, <a class="el" href="servers_8h-source.html#l00040">hops_away</a>, <a class="el" href="servers_8h-source.html#l00046">jupiter</a>, <a class="el" href="connection_8h-source.html#l00053">connection::lastping</a>, <a class="el" href="servers_8h-source.html#l00037">opercount</a>, <a class="el" href="connection_8h-source.html#l00054">connection::signon</a>, <a class="el" href="servers_8h-source.html#l00034">usercount</a>, <a class="el" href="servers_8h-source.html#l00031">usercount_i</a>, and <a class="el" href="servers_8h-source.html#l00043">version</a>.
<p>
<div class="fragment"><pre>00040 {
00041 <a class="code" href="classserverrec.html#o0">leaf</a>.clear();
00042 strcpy(name,n);
00043 <a class="code" href="classserverrec.html#m2">linktype</a> = link_t;
00044 <a class="code" href="classserverrec.html#m3">lastping</a> = time(NULL);
00045 <a class="code" href="classserverrec.html#m4">usercount_i</a> = <a class="code" href="classserverrec.html#m5">usercount</a> = <a class="code" href="classserverrec.html#m6">opercount</a> = 0;
00046 <a class="code" href="classserverrec.html#m9">version</a> = ver;
00047 <a class="code" href="classserverrec.html#m8">hops_away</a> = 1;
00048 <a class="code" href="classserverrec.html#m7">connected_at</a> = time(NULL);
00049 <a class="code" href="classserverrec.html#m10">jupiter</a> = jupe;
00050 <a class="code" href="classconnection.html#m0">fd</a> = 0;
00051 }
<div class="fragment"><pre>00030 {
00031 strcpy(name,n);
00032 <a class="code" href="classconnection.html#m12">lastping</a> = time(NULL);
00033 <a class="code" href="classserverrec.html#m2">usercount_i</a> = <a class="code" href="classserverrec.html#m3">usercount</a> = <a class="code" href="classserverrec.html#m4">opercount</a> = 0;
00034 <a class="code" href="classserverrec.html#m6">version</a> = ver;
00035 <a class="code" href="classserverrec.html#m5">hops_away</a> = 1;
00036 <a class="code" href="classconnection.html#m13">signon</a> = time(NULL);
00037 <a class="code" href="classserverrec.html#m7">jupiter</a> = jupe;
00038 <a class="code" href="classconnection.html#m1">fd</a> = 0;
00039 }
</pre></div> </td>
</tr>
</table>
@ -177,103 +183,25 @@ References <a class="el" href="servers_8h-source.html#l00037">connected_at</a>,
<td>
<p>
<p>
Definition at line <a class="el" href="servers_8cpp-source.html#l00035">35</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>.
<p>
<div class="fragment"><pre>00036 {
00037 }
</pre></div> </td>
</tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a name="a3" doxytag="serverrec::AddLeaf"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> void serverrec::AddLeaf </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">serverrec *&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; <em>child</em> </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
Destructor.
<p>
<p>
Definition at line <a class="el" href="servers_8cpp-source.html#l00053">53</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#l00025">25</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>.
<p>
References <a class="el" href="servers_8h-source.html#l00028">leaf</a>, and <a class="el" href="servers_8h-source.html#l00030">name</a>.
<p>
<div class="fragment"><pre>00054 {
00055 <a class="code" href="classserverrec.html#o0">leaf</a>[child-&gt;<a class="code" href="classserverrec.html#m0">name</a>] = child;
00056 }
</pre></div> </td>
</tr>
</table>
<a name="a4" doxytag="serverrec::DelLeaf"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> void serverrec::DelLeaf </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">string&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; <em>n</em> </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<p>
Definition at line <a class="el" href="servers_8cpp-source.html#l00058">58</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>.
<p>
References <a class="el" href="servers_8h-source.html#l00028">leaf</a>.
<p>
<div class="fragment"><pre>00059 {
00060 server_list::iterator i = <a class="code" href="classserverrec.html#o0">leaf</a>.find(n);
00061
00062 <span class="keywordflow">if</span> (i != <a class="code" href="classserverrec.html#o0">leaf</a>.end())
00063 <a class="code" href="classserverrec.html#o0">leaf</a>.erase(i);
00064 }
<div class="fragment"><pre>00026 {
00027 }
</pre></div> </td>
</tr>
</table>
<hr><h2>Member Data Documentation</h2>
<a name="m7" doxytag="serverrec::connected_at"></a><p>
<a name="m5" doxytag="serverrec::hops_away"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> time_t serverrec::connected_at
<td class="md" nowrap valign="top"> int serverrec::hops_away
</table>
</td>
</tr>
@ -286,40 +214,16 @@ References <a class="el" href="servers_8h-source.html#l00028">leaf</a>.
<td>
<p>
<p>
Definition at line <a class="el" href="servers_8h-source.html#l00037">37</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#l00020">serverrec()</a>. </td>
</tr>
</table>
<a name="m8" doxytag="serverrec::hops_away"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> time_t serverrec::hops_away
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
number of hops away (for quick access)
<p>
<p>
Definition at line <a class="el" href="servers_8h-source.html#l00038">38</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>.
Definition at line <a class="el" href="servers_8h-source.html#l00040">40</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#l00020">serverrec()</a>. </td>
Referenced by <a class="el" href="servers_8cpp-source.html#l00012">serverrec()</a>. </td>
</tr>
</table>
<a name="m10" doxytag="serverrec::jupiter"></a><p>
<a name="m7" doxytag="serverrec::jupiter"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
@ -338,91 +242,13 @@ Referenced by <a class="el" href="servers_8cpp-source.html#l00020">serverrec()</
<td>
<p>
<p>
Definition at line <a class="el" href="servers_8h-source.html#l00040">40</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#l00020">serverrec()</a>. </td>
</tr>
</table>
<a name="m3" doxytag="serverrec::lastping"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> time_t serverrec::lastping
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
is a JUPE server (faked to enforce a server ban)
<p>
<p>
Reimplemented from <a class="el" href="classconnection.html#m11">connection</a>.
Definition at line <a class="el" href="servers_8h-source.html#l00046">46</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>.
<p>
Definition at line <a class="el" href="servers_8h-source.html#l00033">33</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#l00020">serverrec()</a>. </td>
</tr>
</table>
<a name="o0" doxytag="serverrec::leaf"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> map&lt;string, serverrec*&gt; serverrec::leaf<code> [private]</code>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<p>
Definition at line <a class="el" href="servers_8h-source.html#l00028">28</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#l00053">AddLeaf()</a>, <a class="el" href="servers_8cpp-source.html#l00058">DelLeaf()</a>, and <a class="el" href="servers_8cpp-source.html#l00020">serverrec()</a>. </td>
</tr>
</table>
<a name="m2" doxytag="serverrec::linktype"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> int serverrec::linktype
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<p>
Definition at line <a class="el" href="servers_8h-source.html#l00032">32</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#l00020">serverrec()</a>. </td>
Referenced by <a class="el" href="servers_8cpp-source.html#l00012">serverrec()</a>. </td>
</tr>
</table>
<a name="m0" doxytag="serverrec::name"></a><p>
@ -444,14 +270,14 @@ Referenced by <a class="el" href="servers_8cpp-source.html#l00020">serverrec()</
<td>
<p>
server name
<p>
<p>
Definition at line <a class="el" href="servers_8h-source.html#l00030">30</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#l00053">AddLeaf()</a>. </td>
Definition at line <a class="el" href="servers_8h-source.html#l00025">25</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>. </td>
</tr>
</table>
<a name="m6" doxytag="serverrec::opercount"></a><p>
<a name="m4" doxytag="serverrec::opercount"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
@ -470,11 +296,13 @@ Referenced by <a class="el" href="servers_8cpp-source.html#l00053">AddLeaf()</a>
<td>
<p>
opers on server
<p>
<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>.
Definition at line <a class="el" href="servers_8h-source.html#l00037">37</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#l00020">serverrec()</a>. </td>
Referenced by <a class="el" href="servers_8cpp-source.html#l00012">serverrec()</a>. </td>
</tr>
</table>
<a name="m1" doxytag="serverrec::pingtime"></a><p>
@ -483,7 +311,7 @@ Referenced by <a class="el" href="servers_8cpp-source.html#l00020">serverrec()</
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> int serverrec::pingtime
<td class="md" nowrap valign="top"> long serverrec::pingtime
</table>
</td>
</tr>
@ -496,14 +324,16 @@ Referenced by <a class="el" href="servers_8cpp-source.html#l00020">serverrec()</
<td>
<p>
last ping response (ms)
<p>
<p>
Definition at line <a class="el" href="servers_8h-source.html#l00031">31</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>.
Definition at line <a class="el" href="servers_8h-source.html#l00028">28</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#l00020">serverrec()</a>. </td>
Referenced by <a class="el" href="servers_8cpp-source.html#l00012">serverrec()</a>. </td>
</tr>
</table>
<a name="m5" doxytag="serverrec::usercount"></a><p>
<a name="m3" doxytag="serverrec::usercount"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
@ -522,14 +352,16 @@ Referenced by <a class="el" href="servers_8cpp-source.html#l00020">serverrec()</
<td>
<p>
non-invisible users on server
<p>
<p>
Definition at line <a class="el" href="servers_8h-source.html#l00035">35</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>.
Definition at line <a class="el" href="servers_8h-source.html#l00034">34</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#l00020">serverrec()</a>. </td>
Referenced by <a class="el" href="servers_8cpp-source.html#l00012">serverrec()</a>. </td>
</tr>
</table>
<a name="m4" doxytag="serverrec::usercount_i"></a><p>
<a name="m2" doxytag="serverrec::usercount_i"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
@ -548,14 +380,16 @@ Referenced by <a class="el" href="servers_8cpp-source.html#l00020">serverrec()</
<td>
<p>
invisible users on server
<p>
<p>
Definition at line <a class="el" href="servers_8h-source.html#l00034">34</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>.
Definition at line <a class="el" href="servers_8h-source.html#l00031">31</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#l00020">serverrec()</a>. </td>
Referenced by <a class="el" href="servers_8cpp-source.html#l00012">serverrec()</a>. </td>
</tr>
</table>
<a name="m9" doxytag="serverrec::version"></a><p>
<a name="m6" doxytag="serverrec::version"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
@ -574,16 +408,18 @@ Referenced by <a class="el" href="servers_8cpp-source.html#l00020">serverrec()</
<td>
<p>
ircd version
<p>
<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>.
Definition at line <a class="el" href="servers_8h-source.html#l00043">43</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#l00020">serverrec()</a>. </td>
Referenced by <a class="el" href="servers_8cpp-source.html#l00012">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><address style="align: right;"><small>Generated on Mon Jan 27 00:23:14 2003 for InspIRCd by
<hr><address style="align: right;"><small>Generated on Sun Feb 9 12:48:19 2003 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc2 </small></address>

View File

@ -14,7 +14,7 @@
<tr bgcolor="#f0f0f0"><td><a class="el" href="classucrec.html#a0">ucrec</a>()</td><td><a class="el" href="classucrec.html">ucrec</a></td><td><code> [inline]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classucrec.html#a1">~ucrec</a>()</td><td><a class="el" href="classucrec.html">ucrec</a></td><td><code> [inline, virtual]</code></td></tr>
</table><hr><address style="align: right;"><small>Generated on Mon Jan 27 00:23:14 2003 for InspIRCd by
</table><hr><address style="align: right;"><small>Generated on Sun Feb 9 12:48:19 2003 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc2 </small></address>

View File

@ -34,7 +34,7 @@ The uc_modes member holds a bitmask of which privilages the user has on the chan
<p>
<p>
Definition at line <a class="el" href="channels_8h-source.html#l00186">186</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
Definition at line <a class="el" href="channels_8h-source.html#l00166">166</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="ucrec::ucrec"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
@ -62,9 +62,9 @@ Definition at line <a class="el" href="channels_8h-source.html#l00186">186</a> o
<p>
<p>
Definition at line <a class="el" href="channels_8h-source.html#l00199">199</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.
Definition at line <a class="el" href="channels_8h-source.html#l00179">179</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.
<p>
<div class="fragment"><pre>00199 { <span class="comment">/* stub */</span> }
<div class="fragment"><pre>00179 { <span class="comment">/* stub */</span> }
</pre></div> </td>
</tr>
</table>
@ -95,9 +95,9 @@ Definition at line <a class="el" href="channels_8h-source.html#l00199">199</a> o
<p>
<p>
Definition at line <a class="el" href="channels_8h-source.html#l00200">200</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.
Definition at line <a class="el" href="channels_8h-source.html#l00180">180</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.
<p>
<div class="fragment"><pre>00200 { <span class="comment">/* stub */</span> }
<div class="fragment"><pre>00180 { <span class="comment">/* stub */</span> }
</pre></div> </td>
</tr>
</table>
@ -125,9 +125,9 @@ Points to the channel record where the given modes apply.
<p>
If the record is not in use, this value will be NULL.
<p>
Definition at line <a class="el" href="channels_8h-source.html#l00197">197</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.
Definition at line <a class="el" href="channels_8h-source.html#l00177">177</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#l00011">userrec::userrec()</a>. </td>
</tr>
</table>
<a name="m0" doxytag="ucrec::uc_modes"></a><p>
@ -153,12 +153,12 @@ Contains a bitmask of the UCMODE_OP ...
<p>
UCMODE_FOUNDER values. If this value is zero, the user has no privilages upon the channel.
<p>
Definition at line <a class="el" href="channels_8h-source.html#l00192">192</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td>
Definition at line <a class="el" href="channels_8h-source.html#l00172">172</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="channels_8h-source.html">channels.h</a></ul>
<hr><address style="align: right;"><small>Generated on Mon Jan 27 00:23:14 2003 for InspIRCd by
<hr><address style="align: right;"><small>Generated on Sun Feb 9 12:48:19 2003 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc2 </small></address>

View File

@ -9,40 +9,50 @@
<hr><h1>userrec Member List</h1>This is the complete list of members for <a class="el" href="classuserrec.html">userrec</a>, including all inherited members.<table>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#m0">age</a></td><td><a class="el" href="classclassbase.html">classbase</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classuserrec.html#m7">awaymsg</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m4">bytes_in</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m5">bytes_out</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#a2">BeginLink</a>(char *targethost, int port, char *password)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m5">bytes_in</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m6">bytes_out</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classuserrec.html#m5">chans</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a0">classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m6">cmds_in</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m7">cmds_out</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m7">cmds_in</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m8">cmds_out</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#a0">connection</a>()</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#a1">CreateListener</a>(char *host, int p)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classuserrec.html#m2">dhost</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m0">fd</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m1">fd</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classuserrec.html#m3">fullname</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#a8">GenKey</a>()</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classuserrec.html#a2">GetFullHost</a>()</td><td><a class="el" href="classuserrec.html">userrec</a></td><td><code> [virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classuserrec.html#a3">GetFullRealHost</a>()</td><td><a class="el" href="classuserrec.html">userrec</a></td><td><code> [virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m8">haspassed</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m1">host</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m9">haspassed</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m2">host</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classuserrec.html#m1">ident</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m13">idle_lastmsg</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m3">inbuf</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m14">idle_lastmsg</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m4">inbuf</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classuserrec.html#o0">invites</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classuserrec.html#a5">InviteTo</a>(char *channel)</td><td><a class="el" href="classuserrec.html">userrec</a></td><td><code> [virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m2">ip</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m3">ip</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classuserrec.html#a4">IsInvited</a>(char *channel)</td><td><a class="el" href="classuserrec.html">userrec</a></td><td><code> [virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m11">lastping</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m0">key</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m12">lastping</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classuserrec.html#m4">modes</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classuserrec.html#m0">nick</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m14">nping</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m9">port</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m10">registered</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m15">nping</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m10">port</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#a5">RecvPacket</a>(char *message, char *host, int &amp;prt)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m11">registered</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classuserrec.html#a6">RemoveInvite</a>(char *channel)</td><td><a class="el" href="classuserrec.html">userrec</a></td><td><code> [virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classuserrec.html#m8">result</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#a7">SendACK</a>(char *host, int port, int reply_id)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#a4">SendPacket</a>(char *message, char *host, int port)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#a6">SendSYN</a>(char *host, int port)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classuserrec.html#m6">server</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m12">signon</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#m13">signon</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classconnection.html#a3">TerminateLink</a>(char *targethost)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classuserrec.html#a0">userrec</a>()</td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classuserrec.html#a1">~userrec</a>()</td><td><a class="el" href="classuserrec.html">userrec</a></td><td><code> [inline, virtual]</code></td></tr>
</table><hr><address style="align: right;"><small>Generated on Mon Jan 27 00:23:14 2003 for InspIRCd by
</table><hr><address style="align: right;"><small>Generated on Sun Feb 9 12:48:19 2003 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc2 </small></address>

View File

@ -61,7 +61,7 @@ Everything about a connection is stored here primarily, from the user's socket I
<p>
<p>
Definition at line <a class="el" href="users_8h-source.html#l00092">92</a> of file <a class="el" href="users_8h-source.html">users.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
Definition at line <a class="el" href="users_8h-source.html#l00058">58</a> of file <a class="el" href="users_8h-source.html">users.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="userrec::userrec"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
@ -89,32 +89,32 @@ Definition at line <a class="el" href="users_8h-source.html#l00092">92</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#l00011">11</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
<p>
References <a class="el" href="connection_8h-source.html#l00029">connection::bytes_in</a>, <a class="el" href="connection_8h-source.html#l00030">connection::bytes_out</a>, <a class="el" href="channels_8h-source.html#l00197">ucrec::channel</a>, <a class="el" href="users_8h-source.html#l00126">chans</a>, <a class="el" href="connection_8h-source.html#l00031">connection::cmds_in</a>, <a class="el" href="connection_8h-source.html#l00032">connection::cmds_out</a>, <a class="el" href="connection_8h-source.html#l00025">connection::fd</a>, <a class="el" href="connection_8h-source.html#l00033">connection::haspassed</a>, <a class="el" href="connection_8h-source.html#l00038">connection::idle_lastmsg</a>, <a class="el" href="users_8h-source.html#l00098">invites</a>, <a class="el" href="connection_8h-source.html#l00027">connection::ip</a>, <a class="el" href="connection_8h-source.html#l00036">connection::lastping</a>, <a class="el" href="connection_8h-source.html#l00039">connection::nping</a>, <a class="el" href="connection_8h-source.html#l00034">connection::port</a>, <a class="el" href="connection_8h-source.html#l00035">connection::registered</a>, and <a class="el" href="connection_8h-source.html#l00037">connection::signon</a>.
References <a class="el" href="connection_8h-source.html#l00046">connection::bytes_in</a>, <a class="el" href="connection_8h-source.html#l00047">connection::bytes_out</a>, <a class="el" href="channels_8h-source.html#l00177">ucrec::channel</a>, <a class="el" href="users_8h-source.html#l00092">chans</a>, <a class="el" href="connection_8h-source.html#l00048">connection::cmds_in</a>, <a class="el" href="connection_8h-source.html#l00049">connection::cmds_out</a>, <a class="el" href="connection_8h-source.html#l00042">connection::fd</a>, <a class="el" href="connection_8h-source.html#l00050">connection::haspassed</a>, <a class="el" href="connection_8h-source.html#l00055">connection::idle_lastmsg</a>, <a class="el" href="users_8h-source.html#l00064">invites</a>, <a class="el" href="connection_8h-source.html#l00044">connection::ip</a>, <a class="el" href="connection_8h-source.html#l00053">connection::lastping</a>, <a class="el" href="connection_8h-source.html#l00056">connection::nping</a>, <a class="el" href="connection_8h-source.html#l00051">connection::port</a>, <a class="el" href="connection_8h-source.html#l00052">connection::registered</a>, and <a class="el" href="connection_8h-source.html#l00054">connection::signon</a>.
<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 <a class="code" href="classconnection.html#m2">ip</a> = 0;
00031 strcpy(ident,<span class="stringliteral">""</span>);
00032 strcpy(host,<span class="stringliteral">""</span>);
00033 strcpy(dhost,<span class="stringliteral">""</span>);
00034 strcpy(fullname,<span class="stringliteral">""</span>);
00035 strcpy(modes,<span class="stringliteral">""</span>);
00036 strcpy(inbuf,<span class="stringliteral">""</span>);
00037 strcpy(server,<span class="stringliteral">""</span>);
00038 strcpy(awaymsg,<span class="stringliteral">""</span>);
00039 <a class="code" href="classconnection.html#m0">fd</a> = <a class="code" href="classconnection.html#m11">lastping</a> = <a class="code" href="classconnection.html#m12">signon</a> = <a class="code" href="classconnection.html#m13">idle_lastmsg</a> = <a class="code" href="classconnection.html#m14">nping</a> = <a class="code" href="classconnection.html#m10">registered</a> = 0;
00040 <a class="code" href="classconnection.html#m9">port</a> = <a class="code" href="classconnection.html#m4">bytes_in</a> = <a class="code" href="classconnection.html#m5">bytes_out</a> = <a class="code" href="classconnection.html#m6">cmds_in</a> = <a class="code" href="classconnection.html#m7">cmds_out</a> = 0;
00041 <a class="code" href="classconnection.html#m8">haspassed</a> = <span class="keyword">false</span>;
00042 strcpy(result,<span class="stringliteral">""</span>);
00043 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; MAXCHANS; i++)
00044 {
00045 <a class="code" href="classuserrec.html#m5">chans</a>[i].<a class="code" href="classucrec.html#m1">channel</a> = NULL;
00046 }
00047 <a class="code" href="classuserrec.html#o0">invites</a>.clear();
00048 }
<div class="fragment"><pre>00012 {
00013 <span class="comment">// the PROPER way to do it, AVOID bzero at *ALL* costs</span>
00014 strcpy(nick,<span class="stringliteral">""</span>);
00015 <a class="code" href="classconnection.html#m3">ip</a> = 0;
00016 strcpy(ident,<span class="stringliteral">""</span>);
00017 strcpy(host,<span class="stringliteral">""</span>);
00018 strcpy(dhost,<span class="stringliteral">""</span>);
00019 strcpy(fullname,<span class="stringliteral">""</span>);
00020 strcpy(modes,<span class="stringliteral">""</span>);
00021 strcpy(inbuf,<span class="stringliteral">""</span>);
00022 strcpy(server,<span class="stringliteral">""</span>);
00023 strcpy(awaymsg,<span class="stringliteral">""</span>);
00024 <a class="code" href="classconnection.html#m1">fd</a> = <a class="code" href="classconnection.html#m12">lastping</a> = <a class="code" href="classconnection.html#m13">signon</a> = <a class="code" href="classconnection.html#m14">idle_lastmsg</a> = <a class="code" href="classconnection.html#m15">nping</a> = <a class="code" href="classconnection.html#m11">registered</a> = 0;
00025 <a class="code" href="classconnection.html#m10">port</a> = <a class="code" href="classconnection.html#m5">bytes_in</a> = <a class="code" href="classconnection.html#m6">bytes_out</a> = <a class="code" href="classconnection.html#m7">cmds_in</a> = <a class="code" href="classconnection.html#m8">cmds_out</a> = 0;
00026 <a class="code" href="classconnection.html#m9">haspassed</a> = <span class="keyword">false</span>;
00027 strcpy(result,<span class="stringliteral">""</span>);
00028 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; MAXCHANS; i++)
00029 {
00030 <a class="code" href="classuserrec.html#m5">chans</a>[i].<a class="code" href="classucrec.html#m1">channel</a> = NULL;
00031 }
00032 <a class="code" href="classuserrec.html#o0">invites</a>.clear();
00033 }
</pre></div> </td>
</tr>
</table>
@ -145,9 +145,9 @@ References <a class="el" href="connection_8h-source.html#l00029">connection::byt
<p>
<p>
Definition at line <a class="el" href="users_8h-source.html#l00144">144</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
Definition at line <a class="el" href="users_8h-source.html#l00110">110</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
<p>
<div class="fragment"><pre>00144 { }
<div class="fragment"><pre>00110 { }
</pre></div> </td>
</tr>
</table>
@ -181,14 +181,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#l00051">51</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#l00036">36</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
<p>
References <a class="el" href="users_8h-source.html#l00140">result</a>.
References <a class="el" href="users_8h-source.html#l00106">result</a>.
<p>
<div class="fragment"><pre>00052 {
00053 sprintf(result,<span class="stringliteral">"%s!%s@%s"</span>,nick,ident,dhost);
00054 <span class="keywordflow">return</span> <a class="code" href="classuserrec.html#m8">result</a>;
00055 }
<div class="fragment"><pre>00037 {
00038 sprintf(result,<span class="stringliteral">"%s!%s@%s"</span>,nick,ident,dhost);
00039 <span class="keywordflow">return</span> <a class="code" href="classuserrec.html#m8">result</a>;
00040 }
</pre></div> </td>
</tr>
</table>
@ -221,14 +221,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#l00058">58</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#l00043">43</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
<p>
References <a class="el" href="users_8h-source.html#l00140">result</a>.
References <a class="el" href="users_8h-source.html#l00106">result</a>.
<p>
<div class="fragment"><pre>00059 {
00060 sprintf(result,<span class="stringliteral">"%s!%s@%s"</span>,nick,ident,host);
00061 <span class="keywordflow">return</span> <a class="code" href="classuserrec.html#m8">result</a>;
00062 }
<div class="fragment"><pre>00044 {
00045 sprintf(result,<span class="stringliteral">"%s!%s@%s"</span>,nick,ident,host);
00046 <span class="keywordflow">return</span> <a class="code" href="classuserrec.html#m8">result</a>;
00047 }
</pre></div> </td>
</tr>
</table>
@ -262,15 +262,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#l00075">75</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
Definition at line <a class="el" href="users_8cpp-source.html#l00060">60</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
<p>
References <a class="el" href="users_8h-source.html#l00062">Invited::channel</a>, and <a class="el" href="users_8h-source.html#l00098">invites</a>.
References <a class="el" href="users_8h-source.html#l00028">Invited::channel</a>, and <a class="el" href="users_8h-source.html#l00064">invites</a>.
<p>
<div class="fragment"><pre>00076 {
00077 <a class="code" href="classInvited.html">Invited</a> i;
00078 strcpy(i.<a class="code" href="classInvited.html#m0">channel</a>,channel);
00079 <a class="code" href="classuserrec.html#o0">invites</a>.push_back(i);
00080 }
<div class="fragment"><pre>00061 {
00062 <a class="code" href="classInvited.html">Invited</a> i;
00063 strcpy(i.<a class="code" href="classInvited.html#m0">channel</a>,channel);
00064 <a class="code" href="classuserrec.html#o0">invites</a>.push_back(i);
00065 }
</pre></div> </td>
</tr>
</table>
@ -304,19 +304,19 @@ Returns true if a user is invited to a channel.
<p>
<p>
Definition at line <a class="el" href="users_8cpp-source.html#l00064">64</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#l00049">49</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
<p>
References <a class="el" href="users_8h-source.html#l00098">invites</a>.
References <a class="el" href="users_8h-source.html#l00064">invites</a>.
<p>
<div class="fragment"><pre>00065 {
00066 <span class="keywordflow">for</span> (InvitedList::iterator i = <a class="code" href="classuserrec.html#o0">invites</a>.begin(); i != <a class="code" href="classuserrec.html#o0">invites</a>.end(); i++)
00067 {
00068 <span class="keywordflow">if</span> (!strcasecmp(i-&gt;channel,channel))
00069 {
00070 <span class="keywordflow">return</span> <span class="keyword">true</span>;
00071 }
00072 }
00073 }
<div class="fragment"><pre>00050 {
00051 <span class="keywordflow">for</span> (InvitedList::iterator i = <a class="code" href="classuserrec.html#o0">invites</a>.begin(); i != <a class="code" href="classuserrec.html#o0">invites</a>.end(); i++)
00052 {
00053 <span class="keywordflow">if</span> (!strcasecmp(i-&gt;channel,channel))
00054 {
00055 <span class="keywordflow">return</span> <span class="keyword">true</span>;
00056 }
00057 }
00058 }
</pre></div> </td>
</tr>
</table>
@ -350,20 +350,20 @@ 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#l00082">82</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#l00067">67</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
<p>
References <a class="el" href="users_8h-source.html#l00098">invites</a>.
References <a class="el" href="users_8h-source.html#l00064">invites</a>.
<p>
<div class="fragment"><pre>00083 {
00084 <span class="keywordflow">for</span> (InvitedList::iterator i = <a class="code" href="classuserrec.html#o0">invites</a>.begin(); i != <a class="code" href="classuserrec.html#o0">invites</a>.end(); i++)
00085 {
00086 <span class="keywordflow">if</span> (!strcasecmp(i-&gt;channel,channel))
00087 {
00088 <a class="code" href="classuserrec.html#o0">invites</a>.erase(i);
00089 <span class="keywordflow">return</span>;
00090 }
00091 }
00092 }
<div class="fragment"><pre>00068 {
00069 <span class="keywordflow">for</span> (InvitedList::iterator i = <a class="code" href="classuserrec.html#o0">invites</a>.begin(); i != <a class="code" href="classuserrec.html#o0">invites</a>.end(); i++)
00070 {
00071 <span class="keywordflow">if</span> (!strcasecmp(i-&gt;channel,channel))
00072 {
00073 <a class="code" href="classuserrec.html#o0">invites</a>.erase(i);
00074 <span class="keywordflow">return</span>;
00075 }
00076 }
00077 }
</pre></div> </td>
</tr>
</table>
@ -391,7 +391,7 @@ The user's away message.
<p>
If this string is empty, the user is not marked as away.
<p>
Definition at line <a class="el" href="users_8h-source.html#l00135">135</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
Definition at line <a class="el" href="users_8h-source.html#l00101">101</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
</tr>
</table>
<a name="m5" doxytag="userrec::chans"></a><p>
@ -415,9 +415,9 @@ Definition at line <a class="el" href="users_8h-source.html#l00135">135</a> of f
<p>
<p>
Definition at line <a class="el" href="users_8h-source.html#l00126">126</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
Definition at line <a class="el" href="users_8h-source.html#l00092">92</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#l00011">userrec()</a>. </td>
</tr>
</table>
<a name="m2" doxytag="userrec::dhost"></a><p>
@ -441,9 +441,9 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00026">userrec()</a>.
<p>
The host displayed to non-opers (used for cloaking etc).
<p>
This usually matches the value of <a class="el" href="classconnection.html#m1">userrec::host</a>.
This usually matches the value of <a class="el" href="classconnection.html#m2">userrec::host</a>.
<p>
Definition at line <a class="el" href="users_8h-source.html#l00114">114</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
Definition at line <a class="el" href="users_8h-source.html#l00080">80</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
</tr>
</table>
<a name="m3" doxytag="userrec::fullname"></a><p>
@ -469,7 +469,7 @@ The users full name.
<p>
<p>
Definition at line <a class="el" href="users_8h-source.html#l00118">118</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
Definition at line <a class="el" href="users_8h-source.html#l00084">84</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
</tr>
</table>
<a name="m1" doxytag="userrec::ident"></a><p>
@ -495,7 +495,7 @@ The users ident reply.
<p>
<p>
Definition at line <a class="el" href="users_8h-source.html#l00109">109</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
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>
<a name="o0" doxytag="userrec::invites"></a><p>
@ -521,9 +521,9 @@ A list of channels the user has a pending invite to.
<p>
<p>
Definition at line <a class="el" href="users_8h-source.html#l00098">98</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
Definition at line <a class="el" href="users_8h-source.html#l00064">64</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
<p>
Referenced by <a class="el" href="users_8cpp-source.html#l00075">InviteTo()</a>, <a class="el" href="users_8cpp-source.html#l00064">IsInvited()</a>, <a class="el" href="users_8cpp-source.html#l00082">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#l00060">InviteTo()</a>, <a class="el" href="users_8cpp-source.html#l00049">IsInvited()</a>, <a class="el" href="users_8cpp-source.html#l00067">RemoveInvite()</a>, and <a class="el" href="users_8cpp-source.html#l00011">userrec()</a>. </td>
</tr>
</table>
<a name="m4" doxytag="userrec::modes"></a><p>
@ -549,7 +549,7 @@ The user's mode string.
<p>
This may contain any of the following RFC characters: o, w, s, i Your module may define other mode characters as it sees fit.
<p>
Definition at line <a class="el" href="users_8h-source.html#l00124">124</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
Definition at line <a class="el" href="users_8h-source.html#l00090">90</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
</tr>
</table>
<a name="m0" doxytag="userrec::nick"></a><p>
@ -575,7 +575,7 @@ The users nickname.
<p>
An invalid nickname indicates an unregistered connection prior to the NICK command.
<p>
Definition at line <a class="el" href="users_8h-source.html#l00105">105</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
Definition at line <a class="el" href="users_8h-source.html#l00071">71</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
</tr>
</table>
<a name="m8" doxytag="userrec::result"></a><p>
@ -601,9 +601,9 @@ Stores the result of the last GetFullHost or GetRealHost call.
<p>
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#l00140">140</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
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#l00051">GetFullHost()</a>, and <a class="el" href="users_8cpp-source.html#l00058">GetFullRealHost()</a>. </td>
Referenced by <a class="el" href="users_8cpp-source.html#l00036">GetFullHost()</a>, and <a class="el" href="users_8cpp-source.html#l00043">GetFullRealHost()</a>. </td>
</tr>
</table>
<a name="m6" doxytag="userrec::server"></a><p>
@ -629,12 +629,12 @@ The server the user is connected to.
<p>
<p>
Definition at line <a class="el" href="users_8h-source.html#l00130">130</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
Definition at line <a class="el" href="users_8h-source.html#l00096">96</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="users_8h-source.html">users.h</a><li><a class="el" href="users_8cpp-source.html">users.cpp</a></ul>
<hr><address style="align: right;"><small>Generated on Mon Jan 27 00:23:14 2003 for InspIRCd by
<hr><address style="align: right;"><small>Generated on Sun Feb 9 12:48:19 2003 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc2 </small></address>

View File

@ -8,52 +8,76 @@
<a class="qindex" href="main.html">Main Page</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>connection.h</h1><a href="connection_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*</span>
00002 <span class="comment"></span>
00003 <span class="comment">$Log$
00003 <span class="comment">Revision 1.3 2003/01/27 00:28:57 brain
00003 <span class="comment">...
00003 <span class="comment"></span>
00004 <span class="comment">Revision 1.1 2003/01/26 23:52:59 brain</span>
00005 <span class="comment">Modified documentation for base classes</span>
00006 <span class="comment">Added base classes</span>
00007 <span class="comment"></span>
00008 <span class="comment">Revision 1.1 2003/01/26 20:15:00 brain</span>
00009 <span class="comment">Added server classes for linking</span>
00010 <span class="comment"></span>
00011 <span class="comment"></span>
00012 <span class="comment">*/</span>
00013
00014 <span class="preprocessor">#include "inspircd_config.h"</span>
00015 <span class="preprocessor">#include "<a class="code" href="base_8h.html">base.h</a>"</span>
00016 <span class="preprocessor">#include &lt;string&gt;</span>
00017 <span class="preprocessor">#include &lt;map.h&gt;</span>
00018
00019 <span class="preprocessor">#ifndef __CONNECTION_H__ </span>
00020 <span class="preprocessor"></span><span class="preprocessor">#define __CONNECTION_H__ </span>
00021 <span class="preprocessor"></span>
<a name="l00022"></a><a class="code" href="classconnection.html">00022</a> <span class="keyword">class </span><a class="code" href="classconnection.html">connection</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a>
00023 {
00024 <span class="keyword">public</span>:
<a name="l00025"></a><a class="code" href="classconnection.html#m0">00025</a> <span class="keywordtype">int</span> <a class="code" href="classconnection.html#m0">fd</a>; <span class="comment">// file descriptor</span>
<a name="l00026"></a><a class="code" href="classconnection.html#m1">00026</a> <span class="keywordtype">char</span> <a class="code" href="classconnection.html#m1">host</a>[256]; <span class="comment">// hostname</span>
<a name="l00027"></a><a class="code" href="classconnection.html#m2">00027</a> <span class="keywordtype">long</span> <a class="code" href="classconnection.html#m2">ip</a>; <span class="comment">// ipv4 address</span>
<a name="l00028"></a><a class="code" href="classconnection.html#m3">00028</a> <span class="keywordtype">char</span> <a class="code" href="classconnection.html#m3">inbuf</a>[MAXBUF]; <span class="comment">// recvQ</span>
<a name="l00029"></a><a class="code" href="classconnection.html#m4">00029</a> <span class="keywordtype">long</span> <a class="code" href="classconnection.html#m4">bytes_in</a>;
<a name="l00030"></a><a class="code" href="classconnection.html#m5">00030</a> <span class="keywordtype">long</span> <a class="code" href="classconnection.html#m5">bytes_out</a>;
<a name="l00031"></a><a class="code" href="classconnection.html#m6">00031</a> <span class="keywordtype">long</span> <a class="code" href="classconnection.html#m6">cmds_in</a>;
<a name="l00032"></a><a class="code" href="classconnection.html#m7">00032</a> <span class="keywordtype">long</span> <a class="code" href="classconnection.html#m7">cmds_out</a>;
<a name="l00033"></a><a class="code" href="classconnection.html#m8">00033</a> <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#m8">haspassed</a>;
<a name="l00034"></a><a class="code" href="classconnection.html#m9">00034</a> <span class="keywordtype">int</span> <a class="code" href="classconnection.html#m9">port</a>;
<a name="l00035"></a><a class="code" href="classconnection.html#m10">00035</a> <span class="keywordtype">int</span> <a class="code" href="classconnection.html#m10">registered</a>;
<a name="l00036"></a><a class="code" href="classconnection.html#m11">00036</a> time_t <a class="code" href="classconnection.html#m11">lastping</a>;
<a name="l00037"></a><a class="code" href="classconnection.html#m12">00037</a> time_t <a class="code" href="classconnection.html#m12">signon</a>;
<a name="l00038"></a><a class="code" href="classconnection.html#m13">00038</a> time_t <a class="code" href="classconnection.html#m13">idle_lastmsg</a>;
<a name="l00039"></a><a class="code" href="classconnection.html#m14">00039</a> time_t <a class="code" href="classconnection.html#m14">nping</a>;
00040 };
00041
00042
00043 <span class="preprocessor">#endif</span>
00044 <span class="preprocessor"></span>
</pre></div><hr><address style="align: right;"><small>Generated on Mon Jan 27 00:23:10 2003 for InspIRCd by
00003 <span class="comment">*/</span>
00004
00005 <span class="preprocessor">#include "inspircd_config.h"</span>
00006 <span class="preprocessor">#include "<a class="code" href="base_8h.html">base.h</a>"</span>
00007 <span class="preprocessor">#include &lt;string&gt;</span>
00008 <span class="preprocessor">#include &lt;map.h&gt;</span>
00009 <span class="preprocessor">#include &lt;sys/socket.h&gt;</span>
00010 <span class="preprocessor">#include &lt;sys/types.h&gt;</span>
00011 <span class="preprocessor">#include &lt;netdb.h&gt;</span>
00012 <span class="preprocessor">#include &lt;netinet/in.h&gt;</span>
00013 <span class="preprocessor">#include &lt;unistd.h&gt;</span>
00014 <span class="preprocessor">#include &lt;errno.h&gt;</span>
00015 <span class="preprocessor">#include &lt;time.h&gt;</span>
00016
00017 <span class="preprocessor">#ifndef __CONNECTION_H__</span>
00018 <span class="preprocessor"></span><span class="preprocessor">#define __CONNECTION_H__</span>
00019 <span class="preprocessor"></span>
<a name="l00020"></a><a class="code" href="connection_8h.html#a0">00020</a> <span class="preprocessor">#define PT_SYN_ONLY 0</span>
<a name="l00021"></a><a class="code" href="connection_8h.html#a1">00021</a> <span class="preprocessor"></span><span class="preprocessor">#define PT_ACK_ONLY 1</span>
<a name="l00022"></a><a class="code" href="connection_8h.html#a2">00022</a> <span class="preprocessor"></span><span class="preprocessor">#define PT_SYN_WITH_DATA 2</span>
00023 <span class="preprocessor"></span>
00024
<a name="l00025"></a><a class="code" href="classpacket.html">00025</a> <span class="keyword">class </span><a class="code" href="classpacket.html">packet</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a>
00026 {
00027 <span class="keyword">public</span>:
<a name="l00028"></a><a class="code" href="classpacket.html#m0">00028</a> <span class="keywordtype">long</span> <a class="code" href="classpacket.html#m0">key</a>;
<a name="l00029"></a><a class="code" href="classpacket.html#m1">00029</a> <span class="keywordtype">short</span> <span class="keywordtype">int</span> <a class="code" href="classpacket.html#m1">id</a>;
<a name="l00030"></a><a class="code" href="classpacket.html#m2">00030</a> <span class="keywordtype">short</span> <span class="keywordtype">int</span> <a class="code" href="classpacket.html#m2">type</a>;
<a name="l00031"></a><a class="code" href="classpacket.html#m3">00031</a> <span class="keywordtype">char</span> <a class="code" href="classpacket.html#m3">data</a>[MAXBUF];
00032
00033 <a class="code" href="classpacket.html#a0">packet</a>();
00034 <a class="code" href="classpacket.html#a1">~packet</a>();
00035 };
00036
00037
<a name="l00038"></a><a class="code" href="classconnection.html">00038</a> <span class="keyword">class </span><a class="code" href="classconnection.html">connection</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a>
00039 {
00040 <span class="keyword">public</span>:
<a name="l00041"></a><a class="code" href="classconnection.html#m0">00041</a> <span class="keywordtype">long</span> <a class="code" href="classconnection.html#m0">key</a>;
<a name="l00042"></a><a class="code" href="classconnection.html#m1">00042</a> <span class="keywordtype">int</span> <a class="code" href="classconnection.html#m1">fd</a>; <span class="comment">// file descriptor</span>
<a name="l00043"></a><a class="code" href="classconnection.html#m2">00043</a> <span class="keywordtype">char</span> <a class="code" href="classconnection.html#m2">host</a>[256]; <span class="comment">// hostname</span>
<a name="l00044"></a><a class="code" href="classconnection.html#m3">00044</a> <span class="keywordtype">long</span> <a class="code" href="classconnection.html#m3">ip</a>; <span class="comment">// ipv4 address</span>
<a name="l00045"></a><a class="code" href="classconnection.html#m4">00045</a> <span class="keywordtype">char</span> <a class="code" href="classconnection.html#m4">inbuf</a>[MAXBUF]; <span class="comment">// recvQ</span>
<a name="l00046"></a><a class="code" href="classconnection.html#m5">00046</a> <span class="keywordtype">long</span> <a class="code" href="classconnection.html#m5">bytes_in</a>;
<a name="l00047"></a><a class="code" href="classconnection.html#m6">00047</a> <span class="keywordtype">long</span> <a class="code" href="classconnection.html#m6">bytes_out</a>;
<a name="l00048"></a><a class="code" href="classconnection.html#m7">00048</a> <span class="keywordtype">long</span> <a class="code" href="classconnection.html#m7">cmds_in</a>;
<a name="l00049"></a><a class="code" href="classconnection.html#m8">00049</a> <span class="keywordtype">long</span> <a class="code" href="classconnection.html#m8">cmds_out</a>;
<a name="l00050"></a><a class="code" href="classconnection.html#m9">00050</a> <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#m9">haspassed</a>;
<a name="l00051"></a><a class="code" href="classconnection.html#m10">00051</a> <span class="keywordtype">int</span> <a class="code" href="classconnection.html#m10">port</a>;
<a name="l00052"></a><a class="code" href="classconnection.html#m11">00052</a> <span class="keywordtype">int</span> <a class="code" href="classconnection.html#m11">registered</a>;
<a name="l00053"></a><a class="code" href="classconnection.html#m12">00053</a> time_t <a class="code" href="classconnection.html#m12">lastping</a>;
<a name="l00054"></a><a class="code" href="classconnection.html#m13">00054</a> time_t <a class="code" href="classconnection.html#m13">signon</a>;
<a name="l00055"></a><a class="code" href="classconnection.html#m14">00055</a> time_t <a class="code" href="classconnection.html#m14">idle_lastmsg</a>;
<a name="l00056"></a><a class="code" href="classconnection.html#m15">00056</a> time_t <a class="code" href="classconnection.html#m15">nping</a>;
00057
00058 <a class="code" href="classconnection.html#a0">connection</a>();
00059 <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#a1">CreateListener</a>(<span class="keywordtype">char</span>* host, <span class="keywordtype">int</span> p);
00060 <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#a2">BeginLink</a>(<span class="keywordtype">char</span>* targethost, <span class="keywordtype">int</span> port, <span class="keywordtype">char</span>* password);
00061 <span class="keywordtype">void</span> <a class="code" href="classconnection.html#a3">TerminateLink</a>(<span class="keywordtype">char</span>* targethost);
00062 <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#a4">SendPacket</a>(<span class="keywordtype">char</span> *message, <span class="keywordtype">char</span>* host, <span class="keywordtype">int</span> port);
00063 <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#a5">RecvPacket</a>(<span class="keywordtype">char</span> *message, <span class="keywordtype">char</span>* host, <span class="keywordtype">int</span> &amp;prt);
00064 <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#a6">SendSYN</a>(<span class="keywordtype">char</span>* host, <span class="keywordtype">int</span> port);
00065 <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#a7">SendACK</a>(<span class="keywordtype">char</span>* host, <span class="keywordtype">int</span> port, <span class="keywordtype">int</span> reply_id);
00066 <span class="keywordtype">long</span> <a class="code" href="classconnection.html#a8">GenKey</a>();
00067 };
00068
00069
00070 <span class="preprocessor">#endif</span>
00071 <span class="preprocessor"></span>
</pre></div><hr><address style="align: right;"><small>Generated on Sun Feb 9 12:48:16 2003 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc2 </small></address>

View File

@ -10,14 +10,99 @@
<code>#include "<a class="el" href="base_8h-source.html">base.h</a>"</code><br>
<code>#include &lt;string&gt;</code><br>
<code>#include &lt;map.h&gt;</code><br>
<code>#include &lt;sys/socket.h&gt;</code><br>
<code>#include &lt;sys/types.h&gt;</code><br>
<code>#include &lt;netdb.h&gt;</code><br>
<code>#include &lt;netinet/in.h&gt;</code><br>
<code>#include &lt;unistd.h&gt;</code><br>
<code>#include &lt;errno.h&gt;</code><br>
<code>#include &lt;time.h&gt;</code><br>
<p>
<a href="connection_8h-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Compounds</h2></td></tr>
<tr><td nowrap align=right valign=top>class &nbsp;</td><td valign=bottom><a class="el" href="classconnection.html">connection</a></td></tr>
<tr><td nowrap align=right valign=top>class &nbsp;</td><td valign=bottom><a class="el" href="classpacket.html">packet</a></td></tr>
<tr><td colspan=2><br><h2>Defines</h2></td></tr>
<tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="connection_8h.html#a0">PT_SYN_ONLY</a>&nbsp;&nbsp;&nbsp;0</td></tr>
<tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="connection_8h.html#a1">PT_ACK_ONLY</a>&nbsp;&nbsp;&nbsp;1</td></tr>
<tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="connection_8h.html#a2">PT_SYN_WITH_DATA</a>&nbsp;&nbsp;&nbsp;2</td></tr>
</table>
<hr><address style="align: right;"><small>Generated on Mon Jan 27 00:23:11 2003 for InspIRCd by
<hr><h2>Define Documentation</h2>
<a name="a1" doxytag="connection.h::PT_ACK_ONLY"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> #define PT_ACK_ONLY&nbsp;&nbsp;&nbsp;1
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<p>
Definition at line <a class="el" href="connection_8h-source.html#l00021">21</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td>
</tr>
</table>
<a name="a0" doxytag="connection.h::PT_SYN_ONLY"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> #define PT_SYN_ONLY&nbsp;&nbsp;&nbsp;0
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<p>
Definition at line <a class="el" href="connection_8h-source.html#l00020">20</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td>
</tr>
</table>
<a name="a2" doxytag="connection.h::PT_SYN_WITH_DATA"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> #define PT_SYN_WITH_DATA&nbsp;&nbsp;&nbsp;2
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<p>
Definition at line <a class="el" href="connection_8h-source.html#l00022">22</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td>
</tr>
</table>
<hr><address style="align: right;"><small>Generated on Sun Feb 9 12:48:16 2003 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc2 </small></address>

View File

@ -20,56 +20,30 @@
00012 <span class="comment"> * the file COPYING for details.</span>
00013 <span class="comment"> *</span>
00014 <span class="comment"> * ---------------------------------------------------</span>
00015 <span class="comment"> </span>
00016 <span class="comment"> $Log$
00016 <span class="comment"> Revision 1.3 2003/01/27 00:28:57 brain
00016 <span class="comment"> ...
00016 <span class="comment"></span>
00017 <span class="comment"> Revision 1.2 2003/01/26 23:52:59 brain</span>
00018 <span class="comment"> Modified documentation for base classes</span>
00019 <span class="comment"> Added base classes</span>
00020 <span class="comment"></span>
00021 <span class="comment"> Revision 1.1.1.1 2003/01/23 19:45:58 brain</span>
00022 <span class="comment"> InspIRCd second source tree</span>
00023 <span class="comment"></span>
00024 <span class="comment"> Revision 1.3 2003/01/15 22:47:44 brain</span>
00025 <span class="comment"> Changed user and channel structs to classes (finally)</span>
00026 <span class="comment"></span>
00027 <span class="comment"> Revision 1.2 2003/01/09 21:09:50 brain</span>
00028 <span class="comment"> added '/stats M' command</span>
00029 <span class="comment"></span>
00030 <span class="comment"> Revision 1.1 2003/01/07 01:02:14 brain</span>
00031 <span class="comment"></span>
00032 <span class="comment"> definitions for command table types</span>
00033 <span class="comment"></span>
00034 <span class="comment"></span>
00035 <span class="comment"> * ---------------------------------------------------</span>
00036 <span class="comment"> */</span>
00037 <span class="preprocessor">#include "inspircd_config.h"</span>
00038 <span class="preprocessor">#include "inspircd.h"</span>
00039 <span class="preprocessor">#include "<a class="code" href="base_8h.html">base.h</a>"</span>
00040
00041 <span class="preprocessor">#ifndef __CTABLES_H__</span>
00042 <span class="preprocessor"></span><span class="preprocessor">#define __CTABLES_H__</span>
00043 <span class="preprocessor"></span>
<a name="l00044"></a><a class="code" href="ctables_8h.html#a0">00044</a> <span class="keyword">typedef</span> void (handlerfunc) (<span class="keywordtype">char</span>**, <span class="keywordtype">int</span>, <a class="code" href="classuserrec.html">userrec</a>*);
00045
00046 <span class="comment">/* a structure that defines a command */</span>
00047
<a name="l00048"></a><a class="code" href="classcommand__t.html">00048</a> <span class="keyword">class </span><a class="code" href="classcommand__t.html">command_t</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a>
00049 {
00050 <span class="keyword">public</span>:
<a name="l00051"></a><a class="code" href="classcommand__t.html#m0">00051</a> <span class="keywordtype">char</span> <a class="code" href="classcommand__t.html#m0">command</a>[MAXBUF]; <span class="comment">/* command name */</span>
<a name="l00052"></a><a class="code" href="classcommand__t.html#m1">00052</a> <a class="code" href="ctables_8h.html#a0">handlerfunc</a> *<a class="code" href="classcommand__t.html#m1">handler_function</a>; <span class="comment">/* handler function as in typedef */</span>
<a name="l00053"></a><a class="code" href="classcommand__t.html#m2">00053</a> <span class="keywordtype">char</span> <a class="code" href="classcommand__t.html#m2">flags_needed</a>; <span class="comment">/* user flags needed to execute the command or 0 */</span>
<a name="l00054"></a><a class="code" href="classcommand__t.html#m3">00054</a> <span class="keywordtype">int</span> <a class="code" href="classcommand__t.html#m3">min_params</a>; <span class="comment">/* minimum number of parameters command takes */</span>
<a name="l00055"></a><a class="code" href="classcommand__t.html#m4">00055</a> <span class="keywordtype">long</span> <a class="code" href="classcommand__t.html#m4">use_count</a>; <span class="comment">/* used by /stats m */</span>
<a name="l00056"></a><a class="code" href="classcommand__t.html#m5">00056</a> <span class="keywordtype">long</span> <a class="code" href="classcommand__t.html#m5">total_bytes</a>; <span class="comment">/* used by /stats m */</span>
00057 };
00058
00059 <span class="preprocessor">#endif</span>
00060 <span class="preprocessor"></span>
</pre></div><hr><address style="align: right;"><small>Generated on Mon Jan 27 00:23:10 2003 for InspIRCd by
00015 <span class="comment"> */</span>
00016 <span class="preprocessor">#include "inspircd_config.h"</span>
00017 <span class="preprocessor">#include "inspircd.h"</span>
00018 <span class="preprocessor">#include "<a class="code" href="base_8h.html">base.h</a>"</span>
00019
00020 <span class="preprocessor">#ifndef __CTABLES_H__</span>
00021 <span class="preprocessor"></span><span class="preprocessor">#define __CTABLES_H__</span>
00022 <span class="preprocessor"></span>
<a name="l00023"></a><a class="code" href="ctables_8h.html#a0">00023</a> <span class="keyword">typedef</span> void (handlerfunc) (<span class="keywordtype">char</span>**, <span class="keywordtype">int</span>, <a class="code" href="classuserrec.html">userrec</a>*);
00024
<a name="l00027"></a><a class="code" href="classcommand__t.html">00027</a> <span class="keyword">class </span><a class="code" href="classcommand__t.html">command_t</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a>
00028 {
00029 <span class="keyword">public</span>:
<a name="l00032"></a><a class="code" href="classcommand__t.html#m0">00032</a> <span class="keywordtype">char</span> <a class="code" href="classcommand__t.html#m0">command</a>[MAXBUF];
<a name="l00035"></a><a class="code" href="classcommand__t.html#m1">00035</a> <a class="code" href="ctables_8h.html#a0">handlerfunc</a> *<a class="code" href="classcommand__t.html#m1">handler_function</a>;
<a name="l00038"></a><a class="code" href="classcommand__t.html#m2">00038</a> <span class="keywordtype">char</span> <a class="code" href="classcommand__t.html#m2">flags_needed</a>;
<a name="l00041"></a><a class="code" href="classcommand__t.html#m3">00041</a> <span class="keywordtype">int</span> <a class="code" href="classcommand__t.html#m3">min_params</a>;
<a name="l00044"></a><a class="code" href="classcommand__t.html#m4">00044</a> <span class="keywordtype">long</span> <a class="code" href="classcommand__t.html#m4">use_count</a>;
<a name="l00047"></a><a class="code" href="classcommand__t.html#m5">00047</a> <span class="keywordtype">long</span> <a class="code" href="classcommand__t.html#m5">total_bytes</a>;
00048 };
00049
00050 <span class="preprocessor">#endif</span>
00051 <span class="preprocessor"></span>
</pre></div><hr><address style="align: right;"><small>Generated on Sun Feb 9 12:48:16 2003 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc2 </small></address>

View File

@ -15,6 +15,7 @@
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Compounds</h2></td></tr>
<tr><td nowrap align=right valign=top>class &nbsp;</td><td valign=bottom><a class="el" href="classcommand__t.html">command_t</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>A structure that defines a command.</em> <a href="classcommand__t.html#_details">More...</a><em></em></font><br><br></td></tr>
<tr><td colspan=2><br><h2>Typedefs</h2></td></tr>
<tr><td nowrap align=right valign=top>typedef void(&nbsp;</td><td valign=bottom><a class="el" href="ctables_8h.html#a0">handlerfunc</a> )(char **, int, <a class="el" href="classuserrec.html">userrec</a> *)</td></tr>
</table>
@ -40,10 +41,10 @@
<p>
<p>
Definition at line <a class="el" href="ctables_8h-source.html#l00044">44</a> of file <a class="el" href="ctables_8h-source.html">ctables.h</a>. </td>
Definition at line <a class="el" href="ctables_8h-source.html#l00023">23</a> of file <a class="el" href="ctables_8h-source.html">ctables.h</a>. </td>
</tr>
</table>
<hr><address style="align: right;"><small>Generated on Mon Jan 27 00:23:11 2003 for InspIRCd by
<hr><address style="align: right;"><small>Generated on Sun Feb 9 12:48:16 2003 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc2 </small></address>

View File

@ -18,7 +18,7 @@
<tr><td class="indexkey"><a class="el" href="users_8cpp.html">users.cpp</a> <a href="users_8cpp-source.html">[code]</a></td><td class="indexvalue"></td></tr>
<tr><td class="indexkey"><a class="el" href="users_8h.html">users.h</a> <a href="users_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
</table>
<hr><address style="align: right;"><small>Generated on Mon Jan 27 00:23:10 2003 for InspIRCd by
<hr><address style="align: right;"><small>Generated on Sun Feb 9 12:48:15 2003 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc2 </small></address>

View File

@ -12,18 +12,18 @@
<p>
Here is a list of all class members with links to the classes they belong to:<h3><a name="index_a">- a -</a>
</h3><ul>
<li>AddLeaf()
: <a class="el" href="classserverrec.html#a3">serverrec</a><li>Admin()
<li>Admin()
: <a class="el" href="classAdmin.html#a0">Admin</a><li>age
: <a class="el" href="classclassbase.html#m0">classbase</a><li>awaymsg
: <a class="el" href="classuserrec.html#m7">userrec</a></ul>
<h3><a name="index_b">- b -</a>
</h3><ul>
<li>bans
: <a class="el" href="classchanrec.html#m14">chanrec</a><li>Build
: <a class="el" href="classchanrec.html#m14">chanrec</a><li>BeginLink()
: <a class="el" href="classconnection.html#a2">connection</a><li>Build
: <a class="el" href="classVersion.html#m3">Version</a><li>bytes_in
: <a class="el" href="classconnection.html#m4">connection</a><li>bytes_out
: <a class="el" href="classconnection.html#m5">connection</a></ul>
: <a class="el" href="classconnection.html#m5">connection</a><li>bytes_out
: <a class="el" href="classconnection.html#m6">connection</a></ul>
<h3><a name="index_c">- c -</a>
</h3><ul>
<li>c_private
@ -33,21 +33,20 @@ Here is a list of all class members with links to the classes they belong to:<h3
: <a class="el" href="classchanrec.html#a0">chanrec</a><li>chans
: <a class="el" href="classuserrec.html#m5">userrec</a><li>classbase()
: <a class="el" href="classclassbase.html#a0">classbase</a><li>cmds_in
: <a class="el" href="classconnection.html#m6">connection</a><li>cmds_out
: <a class="el" href="classconnection.html#m7">connection</a><li>command
: <a class="el" href="classconnection.html#m7">connection</a><li>cmds_out
: <a class="el" href="classconnection.html#m8">connection</a><li>command
: <a class="el" href="classcommand__t.html#m0">command_t</a><li>CommonChannels()
: <a class="el" href="classServer.html#a9">Server</a><li>ConfigReader()
: <a class="el" href="classConfigReader.html#a1">ConfigReader</a><li>connected_at
: <a class="el" href="classserverrec.html#m7">serverrec</a><li>created
: <a class="el" href="classchanrec.html#m3">chanrec</a><li>CreateModule()
: <a class="el" href="classConfigReader.html#a1">ConfigReader</a><li>connection()
: <a class="el" href="classconnection.html#a0">connection</a><li>created
: <a class="el" href="classchanrec.html#m3">chanrec</a><li>CreateListener()
: <a class="el" href="classconnection.html#a1">connection</a><li>CreateModule()
: <a class="el" href="classModuleFactory.html#a2">ModuleFactory</a><li>custom_modes
: <a class="el" href="classchanrec.html#m1">chanrec</a></ul>
<h3><a name="index_d">- d -</a>
</h3><ul>
<li>data
: <a class="el" href="classHostItem.html#m2">HostItem</a><li>Debug()
: <a class="el" href="classServer.html#a3">Server</a><li>DelLeaf()
: <a class="el" href="classserverrec.html#a4">serverrec</a><li>dhost
: <a class="el" href="classpacket.html#m3">packet</a>, <a class="el" href="classHostItem.html#m2">HostItem</a><li>dhost
: <a class="el" href="classuserrec.html#m2">userrec</a></ul>
<h3><a name="index_e">- e -</a>
</h3><ul>
@ -58,7 +57,7 @@ Here is a list of all class members with links to the classes they belong to:<h3
</h3><ul>
<li>fc
: <a class="el" href="classFileReader.html#o0">FileReader</a><li>fd
: <a class="el" href="classconnection.html#m0">connection</a><li>FileReader()
: <a class="el" href="classconnection.html#m1">connection</a><li>FileReader()
: <a class="el" href="classFileReader.html#a1">FileReader</a><li>FileSize()
: <a class="el" href="classFileReader.html#a5">FileReader</a><li>FindChannel()
: <a class="el" href="classServer.html#a14">Server</a><li>FindNick()
@ -68,7 +67,8 @@ Here is a list of all class members with links to the classes they belong to:<h3
: <a class="el" href="classuserrec.html#m3">userrec</a></ul>
<h3><a name="index_g">- g -</a>
</h3><ul>
<li>GetAdmin()
<li>GenKey()
: <a class="el" href="classconnection.html#a8">connection</a><li>GetAdmin()
: <a class="el" href="classServer.html#a18">Server</a><li>GetFullHost()
: <a class="el" href="classuserrec.html#a2">userrec</a><li>GetFullRealHost()
: <a class="el" href="classuserrec.html#a3">userrec</a><li>GetLine()
@ -80,38 +80,38 @@ Here is a list of all class members with links to the classes they belong to:<h3
</h3><ul>
<li>handler_function
: <a class="el" href="classcommand__t.html#m1">command_t</a><li>haspassed
: <a class="el" href="classconnection.html#m8">connection</a><li>hops_away
: <a class="el" href="classserverrec.html#m8">serverrec</a><li>host
: <a class="el" href="classConnectClass.html#m1">ConnectClass</a>, <a class="el" href="classconnection.html#m1">connection</a><li>HostItem()
: <a class="el" href="classconnection.html#m9">connection</a><li>hops_away
: <a class="el" href="classserverrec.html#m5">serverrec</a><li>host
: <a class="el" href="classConnectClass.html#m1">ConnectClass</a>, <a class="el" href="classconnection.html#m2">connection</a><li>HostItem()
: <a class="el" href="classHostItem.html#a0">HostItem</a></ul>
<h3><a name="index_i">- i -</a>
</h3><ul>
<li>ident
<li>id
: <a class="el" href="classpacket.html#m1">packet</a><li>ident
: <a class="el" href="classuserrec.html#m1">userrec</a><li>idle_lastmsg
: <a class="el" href="classconnection.html#m13">connection</a><li>inbuf
: <a class="el" href="classconnection.html#m3">connection</a><li>inviteonly
: <a class="el" href="classconnection.html#m14">connection</a><li>inbuf
: <a class="el" href="classconnection.html#m4">connection</a><li>inviteonly
: <a class="el" href="classchanrec.html#m10">chanrec</a><li>invites
: <a class="el" href="classuserrec.html#o0">userrec</a><li>InviteTo()
: <a class="el" href="classuserrec.html#a5">userrec</a><li>ip
: <a class="el" href="classconnection.html#m2">connection</a><li>IsInvited()
: <a class="el" href="classconnection.html#m3">connection</a><li>IsInvited()
: <a class="el" href="classuserrec.html#a4">userrec</a><li>IsNick()
: <a class="el" href="classServer.html#a12">Server</a></ul>
<h3><a name="index_j">- j -</a>
</h3><ul>
<li>jupiter
: <a class="el" href="classserverrec.html#m10">serverrec</a></ul>
: <a class="el" href="classserverrec.html#m7">serverrec</a></ul>
<h3><a name="index_k">- k -</a>
</h3><ul>
<li>key
: <a class="el" href="classchanrec.html#m7">chanrec</a></ul>
: <a class="el" href="classconnection.html#m0">connection</a>, <a class="el" href="classpacket.html#m0">packet</a>, <a class="el" href="classchanrec.html#m7">chanrec</a></ul>
<h3><a name="index_l">- l -</a>
</h3><ul>
<li>lastping
: <a class="el" href="classserverrec.html#m3">serverrec</a>, <a class="el" href="classconnection.html#m11">connection</a><li>leaf
: <a class="el" href="classserverrec.html#o0">serverrec</a><li>limit
: <a class="el" href="classchanrec.html#m6">chanrec</a><li>linktype
: <a class="el" href="classserverrec.html#m2">serverrec</a><li>LoadFile()
: <a class="el" href="classFileReader.html#a3">FileReader</a></ul>
: <a class="el" href="classconnection.html#m12">connection</a><li>limit
: <a class="el" href="classchanrec.html#m6">chanrec</a><li>LoadFile()
: <a class="el" href="classFileReader.html#a3">FileReader</a><li>Log()
: <a class="el" href="classServer.html#a3">Server</a></ul>
<h3><a name="index_m">- m -</a>
</h3><ul>
<li>Major
@ -120,36 +120,41 @@ Here is a list of all class members with links to the classes they belong to:<h3
: <a class="el" href="classVersion.html#m1">Version</a><li>moderated
: <a class="el" href="classchanrec.html#m11">chanrec</a><li>modes
: <a class="el" href="classuserrec.html#m4">userrec</a><li>Module()
: <a class="el" href="classModule.html#a0">Module</a><li>ModuleFactory()
: <a class="el" href="classModule.html#a0">Module</a><li>Module::OnPacketReceive()
: <a class="el" href="classModule.html#a8">Module</a><li>Module::OnPacketTransmit()
: <a class="el" href="classModule.html#a7">Module</a><li>ModuleFactory()
: <a class="el" href="classModuleFactory.html#a0">ModuleFactory</a></ul>
<h3><a name="index_n">- n -</a>
</h3><ul>
<li>name
: <a class="el" href="classserverrec.html#m0">serverrec</a>, <a class="el" href="classchanrec.html#m0">chanrec</a><li>Name
: <a class="el" href="classAdmin.html#m0">Admin</a><li>nick
: <a class="el" href="classuserrec.html#m0">userrec</a><li>Nick
: <a class="el" href="classAdmin.html#m2">Admin</a><li>noexternal
: <a class="el" href="classAdmin.html#m0">Admin</a><li>Nick
: <a class="el" href="classAdmin.html#m2">Admin</a><li>nick
: <a class="el" href="classuserrec.html#m0">userrec</a><li>noexternal
: <a class="el" href="classchanrec.html#m9">chanrec</a><li>nping
: <a class="el" href="classconnection.html#m14">connection</a></ul>
: <a class="el" href="classconnection.html#m15">connection</a></ul>
<h3><a name="index_o">- o -</a>
</h3><ul>
<li>OnUserConnect()
<li>OnRehash()
: <a class="el" href="classModule.html#a9">Module</a><li>OnUserConnect()
: <a class="el" href="classModule.html#a3">Module</a><li>OnUserJoin()
: <a class="el" href="classModule.html#a5">Module</a><li>OnUserPart()
: <a class="el" href="classModule.html#a6">Module</a><li>OnUserQuit()
: <a class="el" href="classModule.html#a4">Module</a><li>opercount
: <a class="el" href="classserverrec.html#m6">serverrec</a></ul>
: <a class="el" href="classserverrec.html#m4">serverrec</a></ul>
<h3><a name="index_p">- p -</a>
</h3><ul>
<li>pass
<li>packet()
: <a class="el" href="classpacket.html#a0">packet</a><li>pass
: <a class="el" href="classConnectClass.html#m2">ConnectClass</a><li>pingtime
: <a class="el" href="classserverrec.html#m1">serverrec</a><li>port
: <a class="el" href="classconnection.html#m9">connection</a></ul>
: <a class="el" href="classconnection.html#m10">connection</a></ul>
<h3><a name="index_r">- r -</a>
</h3><ul>
<li>ReadValue()
: <a class="el" href="classConfigReader.html#a3">ConfigReader</a><li>registered
: <a class="el" href="classconnection.html#m10">connection</a><li>RemoveInvite()
: <a class="el" href="classConfigReader.html#a3">ConfigReader</a><li>RecvPacket()
: <a class="el" href="classconnection.html#a5">connection</a><li>registered
: <a class="el" href="classconnection.html#m11">connection</a><li>RemoveInvite()
: <a class="el" href="classuserrec.html#a6">userrec</a><li>result
: <a class="el" href="classuserrec.html#m8">userrec</a><li>Revision
: <a class="el" href="classVersion.html#m2">Version</a></ul>
@ -157,44 +162,48 @@ Here is a list of all class members with links to the classes they belong to:<h3
</h3><ul>
<li>secret
: <a class="el" href="classchanrec.html#m12">chanrec</a><li>Send()
: <a class="el" href="classServer.html#a4">Server</a><li>SendChannel()
: <a class="el" href="classServer.html#a4">Server</a><li>SendACK()
: <a class="el" href="classconnection.html#a7">connection</a><li>SendChannel()
: <a class="el" href="classServer.html#a8">Server</a><li>SendCommon()
: <a class="el" href="classServer.html#a10">Server</a><li>SendFrom()
: <a class="el" href="classServer.html#a6">Server</a><li>SendOpers()
: <a class="el" href="classServer.html#a2">Server</a><li>SendServ()
: <a class="el" href="classServer.html#a5">Server</a><li>SendTo()
: <a class="el" href="classServer.html#a2">Server</a><li>SendPacket()
: <a class="el" href="classconnection.html#a4">connection</a><li>SendServ()
: <a class="el" href="classServer.html#a5">Server</a><li>SendSYN()
: <a class="el" href="classconnection.html#a6">connection</a><li>SendTo()
: <a class="el" href="classServer.html#a7">Server</a><li>SendWallops()
: <a class="el" href="classServer.html#a11">Server</a><li>server
: <a class="el" href="classuserrec.html#m6">userrec</a><li>Server()
: <a class="el" href="classServer.html#a0">Server</a><li>serverrec()
: <a class="el" href="classServer.html#a11">Server</a><li>Server()
: <a class="el" href="classServer.html#a0">Server</a><li>server
: <a class="el" href="classuserrec.html#m6">userrec</a><li>serverrec()
: <a class="el" href="classserverrec.html#a1">serverrec</a><li>set_by
: <a class="el" href="classHostItem.html#m1">HostItem</a><li>set_time
: <a class="el" href="classHostItem.html#m0">HostItem</a><li>setby
: <a class="el" href="classchanrec.html#m5">chanrec</a><li>signon
: <a class="el" href="classconnection.html#m12">connection</a></ul>
: <a class="el" href="classconnection.html#m13">connection</a></ul>
<h3><a name="index_t">- t -</a>
</h3><ul>
<li>topic
<li>TerminateLink()
: <a class="el" href="classconnection.html#a3">connection</a><li>topic
: <a class="el" href="classchanrec.html#m2">chanrec</a><li>topiclock
: <a class="el" href="classchanrec.html#m8">chanrec</a><li>topicset
: <a class="el" href="classchanrec.html#m4">chanrec</a><li>total_bytes
: <a class="el" href="classcommand__t.html#m5">command_t</a><li>type
: <a class="el" href="classConnectClass.html#m0">ConnectClass</a></ul>
: <a class="el" href="classConnectClass.html#m0">ConnectClass</a>, <a class="el" href="classpacket.html#m2">packet</a></ul>
<h3><a name="index_u">- u -</a>
</h3><ul>
<li>uc_modes
: <a class="el" href="classucrec.html#m0">ucrec</a><li>ucrec()
: <a class="el" href="classucrec.html#a0">ucrec</a><li>use_count
: <a class="el" href="classcommand__t.html#m4">command_t</a><li>usercount
: <a class="el" href="classserverrec.html#m5">serverrec</a><li>usercount_i
: <a class="el" href="classserverrec.html#m4">serverrec</a><li>userrec()
: <a class="el" href="classserverrec.html#m3">serverrec</a><li>usercount_i
: <a class="el" href="classserverrec.html#m2">serverrec</a><li>userrec()
: <a class="el" href="classuserrec.html#a0">userrec</a></ul>
<h3><a name="index_v">- v -</a>
</h3><ul>
<li>Verify()
: <a class="el" href="classConfigReader.html#a5">ConfigReader</a><li>Version()
: <a class="el" href="classVersion.html#a0">Version</a><li>version
: <a class="el" href="classserverrec.html#m9">serverrec</a></ul>
: <a class="el" href="classConfigReader.html#a5">ConfigReader</a><li>version
: <a class="el" href="classserverrec.html#m6">serverrec</a><li>Version()
: <a class="el" href="classVersion.html#a0">Version</a></ul>
<h3><a name="index_~">- ~ -</a>
</h3><ul>
<li>~chanrec()
@ -204,12 +213,13 @@ Here is a list of all class members with links to the classes they belong to:<h3
: <a class="el" href="classFileReader.html#a2">FileReader</a><li>~HostItem()
: <a class="el" href="classHostItem.html#a1">HostItem</a><li>~Module()
: <a class="el" href="classModule.html#a1">Module</a><li>~ModuleFactory()
: <a class="el" href="classModuleFactory.html#a1">ModuleFactory</a><li>~Server()
: <a class="el" href="classModuleFactory.html#a1">ModuleFactory</a><li>~packet()
: <a class="el" href="classpacket.html#a1">packet</a><li>~Server()
: <a class="el" href="classServer.html#a1">Server</a><li>~serverrec()
: <a class="el" href="classserverrec.html#a2">serverrec</a><li>~ucrec()
: <a class="el" href="classucrec.html#a1">ucrec</a><li>~userrec()
: <a class="el" href="classuserrec.html#a1">userrec</a></ul>
<hr><address style="align: right;"><small>Generated on Mon Jan 27 00:23:11 2003 for InspIRCd by
<hr><address style="align: right;"><small>Generated on Sun Feb 9 12:48:16 2003 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc2 </small></address>

View File

@ -7,7 +7,7 @@
<center>
<a class="qindex" href="main.html">Main Page</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>InspIRCd File Members</h1><center>
<a href="#index_b">b</a>&nbsp;|&nbsp;<a href="#index_c">c</a>&nbsp;|&nbsp;<a href="#index_e">e</a>&nbsp;|&nbsp;<a href="#index_f">f</a>&nbsp;|&nbsp;<a href="#index_h">h</a>&nbsp;|&nbsp;<a href="#index_i">i</a>&nbsp;|&nbsp;<a href="#index_l">l</a>&nbsp;|&nbsp;<a href="#index_s">s</a>&nbsp;|&nbsp;<a href="#index_u">u</a></center>
<a href="#index_b">b</a>&nbsp;|&nbsp;<a href="#index_c">c</a>&nbsp;|&nbsp;<a href="#index_d">d</a>&nbsp;|&nbsp;<a href="#index_e">e</a>&nbsp;|&nbsp;<a href="#index_f">f</a>&nbsp;|&nbsp;<a href="#index_h">h</a>&nbsp;|&nbsp;<a href="#index_i">i</a>&nbsp;|&nbsp;<a href="#index_l">l</a>&nbsp;|&nbsp;<a href="#index_m">m</a>&nbsp;|&nbsp;<a href="#index_n">n</a>&nbsp;|&nbsp;<a href="#index_p">p</a>&nbsp;|&nbsp;<a href="#index_s">s</a>&nbsp;|&nbsp;<a href="#index_u">u</a>&nbsp;|&nbsp;<a href="#index_v">v</a></center>
<p>
Here is a list of all file members with links to the files they belong to:<h3><a name="index_b">- b -</a>
@ -20,15 +20,21 @@ 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#a4">users.h</a><li>CC_DENY
: <a class="el" href="users_8h.html#a5">users.h</a><li>ClassVector
: <a class="el" href="users_8h.html#a7">users.h</a></ul>
<h3><a name="index_d">- d -</a>
</h3><ul>
<li>DEBUG
: <a class="el" href="modules_8h.html#a0">modules.h</a><li>DEFAULT
: <a class="el" href="modules_8h.html#a2">modules.h</a></ul>
<h3><a name="index_e">- e -</a>
</h3><ul>
<li>ExemptList
: <a class="el" href="channels_8h.html#a6">channels.h</a></ul>
<h3><a name="index_f">- f -</a>
</h3><ul>
<li>file_cache
: <a class="el" href="modules_8h.html#a1">modules.h</a><li>FOREACH_MOD
: <a class="el" href="modules_8h.html#a0">modules.h</a></ul>
<li>factory()
: <a class="el" href="modules_8cpp.html#a2">modules.cpp</a><li>file_cache
: <a class="el" href="modules_8h.html#a6">modules.h</a><li>FOREACH_MOD
: <a class="el" href="modules_8h.html#a5">modules.h</a></ul>
<h3><a name="index_h">- h -</a>
</h3><ul>
<li>handlerfunc
@ -37,16 +43,33 @@ Here is a list of all file members with links to the files they belong to:<h3><a
</h3><ul>
<li>InvitedList
: <a class="el" href="users_8h.html#a6">users.h</a><li>InviteList
: <a class="el" href="channels_8h.html#a7">channels.h</a></ul>
: <a class="el" href="channels_8h.html#a7">channels.h</a><li>ircd_module
: <a class="el" href="modules_8h.html#a7">modules.h</a></ul>
<h3><a name="index_l">- l -</a>
</h3><ul>
<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></ul>
<h3><a name="index_m">- m -</a>
</h3><ul>
<li>MODCOUNT
: <a class="el" href="modules_8cpp.html#a0">modules.cpp</a><li>modules()
: <a class="el" href="modules_8cpp.html#a1">modules.cpp</a></ul>
<h3><a name="index_n">- n -</a>
</h3><ul>
<li>NONE
: <a class="el" href="modules_8h.html#a4">modules.h</a></ul>
<h3><a name="index_p">- p -</a>
</h3><ul>
<li>PT_ACK_ONLY
: <a class="el" href="connection_8h.html#a1">connection.h</a><li>PT_SYN_ONLY
: <a class="el" href="connection_8h.html#a0">connection.h</a><li>PT_SYN_WITH_DATA
: <a class="el" href="connection_8h.html#a2">connection.h</a></ul>
<h3><a name="index_s">- s -</a>
</h3><ul>
<li>server_list
: <a class="el" href="servers_8h.html#a2">servers.h</a><li>STATUS_HOP
: <a class="el" href="servers_8h.html#a2">servers.h</a><li>SPARSE
: <a class="el" href="modules_8h.html#a3">modules.h</a><li>STATUS_HOP
: <a class="el" href="users_8h.html#a1">users.h</a><li>STATUS_NORMAL
: <a class="el" href="users_8h.html#a3">users.h</a><li>STATUS_OP
: <a class="el" href="users_8h.html#a0">users.h</a><li>STATUS_VOICE
@ -59,7 +82,11 @@ 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></ul>
<hr><address style="align: right;"><small>Generated on Mon Jan 27 00:23:14 2003 for InspIRCd by
<h3><a name="index_v">- v -</a>
</h3><ul>
<li>VERBOSE
: <a class="el" href="modules_8h.html#a1">modules.h</a></ul>
<hr><address style="align: right;"><small>Generated on Sun Feb 9 12:48:19 2003 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc2 </small></address>

View File

@ -29,12 +29,13 @@
<li><a class="el" href="classInvited.html">Invited</a>
<li><a class="el" href="classModule.html">Module</a>
<li><a class="el" href="classModuleFactory.html">ModuleFactory</a>
<li><a class="el" href="classpacket.html">packet</a>
<li><a class="el" href="classServer.html">Server</a>
<li><a class="el" href="classucrec.html">ucrec</a>
<li><a class="el" href="classVersion.html">Version</a>
</ul>
</ul>
<hr><address style="align: right;"><small>Generated on Mon Jan 27 00:23:11 2003 for InspIRCd by
<hr><address style="align: right;"><small>Generated on Sun Feb 9 12:48:16 2003 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc2 </small></address>

View File

@ -8,7 +8,7 @@
<a class="qindex" href="main.html">Main Page</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>InspIRCd Documentation</h1>
<p>
<hr><address style="align: right;"><small>Generated on Mon Jan 27 00:23:10 2003 for InspIRCd by
<hr><address style="align: right;"><small>Generated on Sun Feb 9 12:48:15 2003 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc2 </small></address>

View File

@ -8,240 +8,230 @@
<a class="qindex" href="main.html">Main Page</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>modules.cpp</h1><a href="modules_8cpp.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*</span>
00002 <span class="comment"></span>
00003 <span class="comment">$Log$
00003 <span class="comment">Revision 1.5 2003/01/27 00:28:57 brain
00003 <span class="comment">...
00003 <span class="comment"></span>
00004 <span class="comment">Revision 1.1.1.1 2003/01/23 19:45:58 brain</span>
00005 <span class="comment">InspIRCd second source tree</span>
00006 <span class="comment"></span>
00007 <span class="comment">Revision 1.7 2003/01/22 20:49:16 brain</span>
00008 <span class="comment">Added FileReader file-caching class</span>
00009 <span class="comment">Changed m_randquote to use FileReader class</span>
00010 <span class="comment"></span>
00011 <span class="comment">Revision 1.6 2003/01/21 20:31:24 brain</span>
00012 <span class="comment">Modified to add documentation</span>
00013 <span class="comment">Added ConfigReader class for modules</span>
00014 <span class="comment"></span>
00015 <span class="comment">Revision 1.5 2003/01/13 22:30:50 brain</span>
00016 <span class="comment">Added Admin class (holds /admin info for modules)</span>
00017 <span class="comment">Added methods to Server class</span>
00018 <span class="comment"></span>
00019 <span class="comment"></span>
00020 <span class="comment">*/</span>
00004 <span class="comment">*/</span>
00005
00006
00007
00008 <span class="preprocessor">#include &lt;typeinfo&gt;</span>
00009 <span class="preprocessor">#include &lt;iostream.h&gt;</span>
00010 <span class="preprocessor">#include "globals.h"</span>
00011 <span class="preprocessor">#include "<a class="code" href="modules_8h.html">modules.h</a>"</span>
00012 <span class="preprocessor">#include "inspircd_io.h"</span>
00013
00014 <span class="comment">// version is a simple class for holding a modules version number</span>
00015
<a name="l00016"></a><a class="code" href="classVersion.html#a0">00016</a> <a class="code" href="classVersion.html#a0">Version::Version</a>(<span class="keywordtype">int</span> major, <span class="keywordtype">int</span> minor, <span class="keywordtype">int</span> revision, <span class="keywordtype">int</span> build) : Major(major), Minor(minor), Revision(revision), Build(build) { };
00017
00018 <span class="comment">// admin is a simple class for holding a server's administrative info</span>
00019
<a name="l00020"></a><a class="code" href="classAdmin.html#a0">00020</a> <a class="code" href="classAdmin.html#a0">Admin::Admin</a>(string name, string email, string nick) : Name(name), Email(email), Nick(nick) { };
00021
00022
00023
00024 <span class="preprocessor">#include &lt;typeinfo&gt;</span>
00025 <span class="preprocessor">#include &lt;iostream.h&gt;</span>
00026 <span class="preprocessor">#include "globals.h"</span>
00027 <span class="preprocessor">#include "<a class="code" href="modules_8h.html">modules.h</a>"</span>
00028 <span class="preprocessor">#include "inspircd_io.h"</span>
00029
00030 <span class="comment">// version is a simple class for holding a modules version number</span>
00031
<a name="l00032"></a><a class="code" href="classVersion.html#a0">00032</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) { };
00033
00034 <span class="comment">// admin is a simple class for holding a server's administrative info</span>
00035
<a name="l00036"></a><a class="code" href="classAdmin.html#a0">00036</a> <a class="code" href="classAdmin.html#a0">Admin::Admin</a>(string name, string email, string nick) : Name(name), Email(email), Nick(nick) { };
00022 <span class="comment">//</span>
00023 <span class="comment">// Announce to the world that the Module base</span>
00024 <span class="comment">// class has been created or destroyed</span>
00025 <span class="comment">//</span>
00026
<a name="l00027"></a><a class="code" href="classModule.html#a0">00027</a> <a class="code" href="classModule.html#a0">Module::Module</a>() { }
<a name="l00028"></a><a class="code" href="classModule.html#a1">00028</a> <a class="code" href="classModule.html#a1">Module::~Module</a>() { }
<a name="l00029"></a><a class="code" href="classModule.html#a3">00029</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a3">Module::OnUserConnect</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { }
<a name="l00030"></a><a class="code" href="classModule.html#a4">00030</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a4">Module::OnUserQuit</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { }
<a name="l00031"></a><a class="code" href="classModule.html#a5">00031</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a5">Module::OnUserJoin</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* channel) { }
<a name="l00032"></a><a class="code" href="classModule.html#a6">00032</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a6">Module::OnUserPart</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* channel) { }
00033 <span class="keywordtype">void</span> Module::OnPacketTransmit(<span class="keywordtype">char</span> *p) { }
00034 <span class="keywordtype">void</span> Module::OnPacketReceive(<span class="keywordtype">char</span> *p) { }
<a name="l00035"></a><a class="code" href="classModule.html#a9">00035</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a9">Module::OnRehash</a>() { }
<a name="l00036"></a><a class="code" href="classModule.html#a2">00036</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); }
00037
00038 <span class="comment">//</span>
00039 <span class="comment">// Announce to the world that the Module base</span>
00040 <span class="comment">// class has been created or destroyed</span>
00041 <span class="comment">//</span>
00042
<a name="l00043"></a><a class="code" href="classModule.html#a0">00043</a> <a class="code" href="classModule.html#a0">Module::Module</a>() { }
<a name="l00044"></a><a class="code" href="classModule.html#a1">00044</a> <a class="code" href="classModule.html#a1">Module::~Module</a>() { }
<a name="l00045"></a><a class="code" href="classModule.html#a3">00045</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="l00046"></a><a class="code" href="classModule.html#a4">00046</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="l00047"></a><a class="code" href="classModule.html#a5">00047</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="l00048"></a><a class="code" href="classModule.html#a6">00048</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="l00049"></a><a class="code" href="classModule.html#a2">00049</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); }
00050
00051 <span class="comment">// server is a wrapper class that provides methods to all of the C-style</span>
00052 <span class="comment">// exports in the core</span>
00053 <span class="comment">//</span>
00038 <span class="comment">// server is a wrapper class that provides methods to all of the C-style</span>
00039 <span class="comment">// exports in the core</span>
00040 <span class="comment">//</span>
00041
<a name="l00042"></a><a class="code" href="classServer.html#a0">00042</a> <a class="code" href="classServer.html#a0">Server::Server</a>()
00043 {
00044 }
00045
<a name="l00046"></a><a class="code" href="classServer.html#a1">00046</a> <a class="code" href="classServer.html#a1">Server::~Server</a>()
00047 {
00048 }
00049
<a name="l00050"></a><a class="code" href="classServer.html#a2">00050</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a2">Server::SendOpers</a>(string s)
00051 {
00052 WriteOpers(<span class="stringliteral">"%s"</span>,s.c_str());
00053 }
00054
<a name="l00055"></a><a class="code" href="classServer.html#a0">00055</a> <a class="code" href="classServer.html#a0">Server::Server</a>()
<a name="l00055"></a><a class="code" href="classServer.html#a3">00055</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a3">Server::Log</a>(<span class="keywordtype">int</span> level, string s)
00056 {
00057 }
00058
<a name="l00059"></a><a class="code" href="classServer.html#a1">00059</a> <a class="code" href="classServer.html#a1">Server::~Server</a>()
00060 {
00061 }
00062
<a name="l00063"></a><a class="code" href="classServer.html#a2">00063</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a2">Server::SendOpers</a>(string s)
00064 {
00065 WriteOpers(<span class="stringliteral">"%s"</span>,s.c_str());
00066 }
00067
<a name="l00068"></a><a class="code" href="classServer.html#a3">00068</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a3">Server::Debug</a>(string s)
00069 {
00070 debug(<span class="stringliteral">"%s"</span>,s.c_str());
00071 }
00072
<a name="l00073"></a><a class="code" href="classServer.html#a4">00073</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a4">Server::Send</a>(<span class="keywordtype">int</span> Socket, string s)
00074 {
00075 Write(Socket,<span class="stringliteral">"%s"</span>,s.c_str());
00076 }
00077
<a name="l00078"></a><a class="code" href="classServer.html#a5">00078</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a5">Server::SendServ</a>(<span class="keywordtype">int</span> Socket, string s)
00079 {
00080 WriteServ(Socket,<span class="stringliteral">"%s"</span>,s.c_str());
00081 }
00082
<a name="l00083"></a><a class="code" href="classServer.html#a6">00083</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a6">Server::SendFrom</a>(<span class="keywordtype">int</span> Socket, <a class="code" href="classuserrec.html">userrec</a>* User, string s)
00084 {
00085 WriteFrom(Socket,User,<span class="stringliteral">"%s"</span>,s.c_str());
00086 }
00087
<a name="l00088"></a><a class="code" href="classServer.html#a7">00088</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a7">Server::SendTo</a>(<a class="code" href="classuserrec.html">userrec</a>* Source, <a class="code" href="classuserrec.html">userrec</a>* Dest, string s)
00089 {
00090 WriteTo(Source,Dest,<span class="stringliteral">"%s"</span>,s.c_str());
00091 }
00092
<a name="l00093"></a><a class="code" href="classServer.html#a8">00093</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a8">Server::SendChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Channel, string s,<span class="keywordtype">bool</span> IncludeSender)
00094 {
00095 <span class="keywordflow">if</span> (IncludeSender)
00096 {
00097 WriteChannel(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str());
00098 }
00099 <span class="keywordflow">else</span>
00057 log(level,<span class="stringliteral">"%s"</span>,s.c_str());
00058 }
00059
<a name="l00060"></a><a class="code" href="classServer.html#a4">00060</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a4">Server::Send</a>(<span class="keywordtype">int</span> Socket, string s)
00061 {
00062 Write(Socket,<span class="stringliteral">"%s"</span>,s.c_str());
00063 }
00064
<a name="l00065"></a><a class="code" href="classServer.html#a5">00065</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a5">Server::SendServ</a>(<span class="keywordtype">int</span> Socket, string s)
00066 {
00067 WriteServ(Socket,<span class="stringliteral">"%s"</span>,s.c_str());
00068 }
00069
<a name="l00070"></a><a class="code" href="classServer.html#a6">00070</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a6">Server::SendFrom</a>(<span class="keywordtype">int</span> Socket, <a class="code" href="classuserrec.html">userrec</a>* User, string s)
00071 {
00072 WriteFrom(Socket,User,<span class="stringliteral">"%s"</span>,s.c_str());
00073 }
00074
<a name="l00075"></a><a class="code" href="classServer.html#a7">00075</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a7">Server::SendTo</a>(<a class="code" href="classuserrec.html">userrec</a>* Source, <a class="code" href="classuserrec.html">userrec</a>* Dest, string s)
00076 {
00077 WriteTo(Source,Dest,<span class="stringliteral">"%s"</span>,s.c_str());
00078 }
00079
<a name="l00080"></a><a class="code" href="classServer.html#a8">00080</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a8">Server::SendChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Channel, string s,<span class="keywordtype">bool</span> IncludeSender)
00081 {
00082 <span class="keywordflow">if</span> (IncludeSender)
00083 {
00084 WriteChannel(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str());
00085 }
00086 <span class="keywordflow">else</span>
00087 {
00088 ChanExceptSender(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str());
00089 }
00090 }
00091
<a name="l00092"></a><a class="code" href="classServer.html#a9">00092</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)
00093 {
00094 <span class="keywordflow">return</span> (common_channels(u1,u2) != 0);
00095 }
00096
<a name="l00097"></a><a class="code" href="classServer.html#a10">00097</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a10">Server::SendCommon</a>(<a class="code" href="classuserrec.html">userrec</a>* User, string text,<span class="keywordtype">bool</span> IncludeSender)
00098 {
00099 <span class="keywordflow">if</span> (IncludeSender)
00100 {
00101 ChanExceptSender(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str());
00101 WriteCommon(User,<span class="stringliteral">"%s"</span>,text.c_str());
00102 }
00103 }
00104
<a name="l00105"></a><a class="code" href="classServer.html#a9">00105</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)
00106 {
00107 <span class="keywordflow">return</span> (common_channels(u1,u2) != 0);
00108 }
00109
<a name="l00110"></a><a class="code" href="classServer.html#a10">00110</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a10">Server::SendCommon</a>(<a class="code" href="classuserrec.html">userrec</a>* User, string text,<span class="keywordtype">bool</span> IncludeSender)
00111 {
00112 <span class="keywordflow">if</span> (IncludeSender)
00113 {
00114 WriteCommon(User,<span class="stringliteral">"%s"</span>,text.c_str());
00115 }
00116 <span class="keywordflow">else</span>
00117 {
00118 WriteCommonExcept(User,<span class="stringliteral">"%s"</span>,text.c_str());
00119 }
00120 }
00121
<a name="l00122"></a><a class="code" href="classServer.html#a11">00122</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a11">Server::SendWallops</a>(<a class="code" href="classuserrec.html">userrec</a>* User, string text)
00123 {
00124 WriteWallOps(User,<span class="stringliteral">"%s"</span>,text.c_str());
00125 }
00126
<a name="l00127"></a><a class="code" href="classServer.html#a12">00127</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a12">Server::IsNick</a>(string nick)
00128 {
00129 <span class="keywordflow">return</span> (isnick(nick.c_str()) != 0);
00130 }
00131
<a name="l00132"></a><a class="code" href="classServer.html#a13">00132</a> <a class="code" href="classuserrec.html">userrec</a>* <a class="code" href="classServer.html#a13">Server::FindNick</a>(string nick)
00133 {
00134 <span class="keywordflow">return</span> Find(nick);
00135 }
00136
<a name="l00137"></a><a class="code" href="classServer.html#a14">00137</a> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#a14">Server::FindChannel</a>(string channel)
00138 {
00139 <span class="keywordflow">return</span> FindChan(channel.c_str());
00140 }
00141
<a name="l00142"></a><a class="code" href="classServer.html#a15">00142</a> string <a class="code" href="classServer.html#a15">Server::ChanMode</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Chan)
00143 {
00144 string mode = cmode(User,Chan);
00145 <span class="keywordflow">return</span> mode;
00146 }
00147
<a name="l00148"></a><a class="code" href="classServer.html#a16">00148</a> string <a class="code" href="classServer.html#a16">Server::GetServerName</a>()
00149 {
00150 <span class="keywordflow">return</span> getservername();
00151 }
00152
<a name="l00153"></a><a class="code" href="classServer.html#a17">00153</a> string <a class="code" href="classServer.html#a17">Server::GetNetworkName</a>()
00154 {
00155 <span class="keywordflow">return</span> getnetworkname();
00156 }
00157
<a name="l00158"></a><a class="code" href="classServer.html#a18">00158</a> <a class="code" href="classAdmin.html">Admin</a> <a class="code" href="classServer.html#a18">Server::GetAdmin</a>()
00159 {
00160 <span class="keywordflow">return</span> <a class="code" href="classAdmin.html">Admin</a>(getadminname(),getadminemail(),getadminnick());
00161 }
00162
00103 <span class="keywordflow">else</span>
00104 {
00105 WriteCommonExcept(User,<span class="stringliteral">"%s"</span>,text.c_str());
00106 }
00107 }
00108
<a name="l00109"></a><a class="code" href="classServer.html#a11">00109</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a11">Server::SendWallops</a>(<a class="code" href="classuserrec.html">userrec</a>* User, string text)
00110 {
00111 WriteWallOps(User,<span class="stringliteral">"%s"</span>,text.c_str());
00112 }
00113
<a name="l00114"></a><a class="code" href="classServer.html#a12">00114</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a12">Server::IsNick</a>(string nick)
00115 {
00116 <span class="keywordflow">return</span> (isnick(nick.c_str()) != 0);
00117 }
00118
<a name="l00119"></a><a class="code" href="classServer.html#a13">00119</a> <a class="code" href="classuserrec.html">userrec</a>* <a class="code" href="classServer.html#a13">Server::FindNick</a>(string nick)
00120 {
00121 <span class="keywordflow">return</span> Find(nick);
00122 }
00123
<a name="l00124"></a><a class="code" href="classServer.html#a14">00124</a> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#a14">Server::FindChannel</a>(string channel)
00125 {
00126 <span class="keywordflow">return</span> FindChan(channel.c_str());
00127 }
00128
<a name="l00129"></a><a class="code" href="classServer.html#a15">00129</a> string <a class="code" href="classServer.html#a15">Server::ChanMode</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Chan)
00130 {
00131 string mode = cmode(User,Chan);
00132 <span class="keywordflow">return</span> mode;
00133 }
00134
<a name="l00135"></a><a class="code" href="classServer.html#a16">00135</a> string <a class="code" href="classServer.html#a16">Server::GetServerName</a>()
00136 {
00137 <span class="keywordflow">return</span> getservername();
00138 }
00139
<a name="l00140"></a><a class="code" href="classServer.html#a17">00140</a> string <a class="code" href="classServer.html#a17">Server::GetNetworkName</a>()
00141 {
00142 <span class="keywordflow">return</span> getnetworkname();
00143 }
00144
<a name="l00145"></a><a class="code" href="classServer.html#a18">00145</a> <a class="code" href="classAdmin.html">Admin</a> <a class="code" href="classServer.html#a18">Server::GetAdmin</a>()
00146 {
00147 <span class="keywordflow">return</span> <a class="code" href="classAdmin.html">Admin</a>(getadminname(),getadminemail(),getadminnick());
00148 }
00149
00150
<a name="l00151"></a><a class="code" href="classConfigReader.html#a0">00151</a> <a class="code" href="classConfigReader.html#a0">ConfigReader::ConfigReader</a>()
00152 {
00153 <a class="code" href="classConfigReader.html#n0">fname</a> = CONFIG_FILE;
00154 }
00155
00156
<a name="l00157"></a><a class="code" href="classConfigReader.html#a2">00157</a> <a class="code" href="classConfigReader.html#a2">ConfigReader::~ConfigReader</a>()
00158 {
00159 }
00160
00161
<a name="l00162"></a><a class="code" href="classConfigReader.html#a1">00162</a> <a class="code" href="classConfigReader.html#a0">ConfigReader::ConfigReader</a>(string filename) : fname(filename) { };
00163
<a name="l00164"></a><a class="code" href="classConfigReader.html#a0">00164</a> <a class="code" href="classConfigReader.html#a0">ConfigReader::ConfigReader</a>()
<a name="l00164"></a><a class="code" href="classConfigReader.html#a3">00164</a> string <a class="code" href="classConfigReader.html#a3">ConfigReader::ReadValue</a>(string tag, string name, <span class="keywordtype">int</span> index)
00165 {
00166 <a class="code" href="classConfigReader.html#n0">fname</a> = CONFIG_FILE;
00167 }
00168
00169
<a name="l00170"></a><a class="code" href="classConfigReader.html#a2">00170</a> <a class="code" href="classConfigReader.html#a2">ConfigReader::~ConfigReader</a>()
00171 {
00172 }
00173
00174
<a name="l00175"></a><a class="code" href="classConfigReader.html#a1">00175</a> <a class="code" href="classConfigReader.html#a0">ConfigReader::ConfigReader</a>(string filename) : fname(filename) { };
00176
<a name="l00177"></a><a class="code" href="classConfigReader.html#a3">00177</a> string <a class="code" href="classConfigReader.html#a3">ConfigReader::ReadValue</a>(string tag, string name, <span class="keywordtype">int</span> index)
00178 {
00179 <span class="keywordtype">char</span> val[MAXBUF];
00180 ReadConf(<a class="code" href="classConfigReader.html#n0">fname</a>.c_str(),tag.c_str(),name.c_str(),index,val);
00181 string s = val;
00182 <span class="keywordflow">return</span> s;
00183 }
00166 <span class="keywordtype">char</span> val[MAXBUF];
00167 ReadConf(<a class="code" href="classConfigReader.html#n0">fname</a>.c_str(),tag.c_str(),name.c_str(),index,val);
00168 string s = val;
00169 <span class="keywordflow">return</span> s;
00170 }
00171
00172
<a name="l00173"></a><a class="code" href="classConfigReader.html#a4">00173</a> <span class="keywordtype">int</span> <a class="code" href="classConfigReader.html#a4">ConfigReader::Enumerate</a>(string tag)
00174 {
00175 <span class="keywordflow">return</span> EnumConf(<a class="code" href="classConfigReader.html#n0">fname</a>.c_str(),tag.c_str());
00176 }
00177
00178
<a name="l00179"></a><a class="code" href="classConfigReader.html#a5">00179</a> <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#a5">ConfigReader::Verify</a>()
00180 {
00181 <span class="keywordflow">return</span> <span class="keyword">true</span>;
00182 }
00183
00184
00185
<a name="l00186"></a><a class="code" href="classConfigReader.html#a4">00186</a> <span class="keywordtype">int</span> <a class="code" href="classConfigReader.html#a4">ConfigReader::Enumerate</a>(string tag)
00187 {
00188 <span class="keywordflow">return</span> EnumConf(<a class="code" href="classConfigReader.html#n0">fname</a>.c_str(),tag.c_str());
00189 }
00190
<a name="l00185"></a><a class="code" href="classFileReader.html#a1">00185</a> <a class="code" href="classFileReader.html#a0">FileReader::FileReader</a>(string filename)
00186 {
00187 <a class="code" href="modules_8h.html#a6">file_cache</a> c;
00188 readfile(c,filename.c_str());
00189 this-&gt;<a class="code" href="classFileReader.html#o0">fc</a> = c;
00190 }
00191
<a name="l00192"></a><a class="code" href="classConfigReader.html#a5">00192</a> <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#a5">ConfigReader::Verify</a>()
<a name="l00192"></a><a class="code" href="classFileReader.html#a0">00192</a> <a class="code" href="classFileReader.html#a0">FileReader::FileReader</a>()
00193 {
00194 <span class="keywordflow">return</span> <span class="keyword">true</span>;
00195 }
00196
00197
<a name="l00198"></a><a class="code" href="classFileReader.html#a1">00198</a> <a class="code" href="classFileReader.html#a0">FileReader::FileReader</a>(string filename)
00199 {
00200 <a class="code" href="modules_8h.html#a1">file_cache</a> c;
00201 readfile(c,filename.c_str());
00202 this-&gt;<a class="code" href="classFileReader.html#o0">fc</a> = c;
00203 }
00204
<a name="l00205"></a><a class="code" href="classFileReader.html#a0">00205</a> <a class="code" href="classFileReader.html#a0">FileReader::FileReader</a>()
00206 {
00207 }
00208
<a name="l00209"></a><a class="code" href="classFileReader.html#a3">00209</a> <span class="keywordtype">void</span> <a class="code" href="classFileReader.html#a3">FileReader::LoadFile</a>(string filename)
00210 {
00211 <a class="code" href="modules_8h.html#a1">file_cache</a> c;
00212 readfile(c,filename.c_str());
00213 this-&gt;<a class="code" href="classFileReader.html#o0">fc</a> = c;
00214 }
00215
<a name="l00216"></a><a class="code" href="classFileReader.html#a2">00216</a> <a class="code" href="classFileReader.html#a2">FileReader::~FileReader</a>()
00217 {
00218 }
00194 }
00195
<a name="l00196"></a><a class="code" href="classFileReader.html#a3">00196</a> <span class="keywordtype">void</span> <a class="code" href="classFileReader.html#a3">FileReader::LoadFile</a>(string filename)
00197 {
00198 <a class="code" href="modules_8h.html#a6">file_cache</a> c;
00199 readfile(c,filename.c_str());
00200 this-&gt;<a class="code" href="classFileReader.html#o0">fc</a> = c;
00201 }
00202
<a name="l00203"></a><a class="code" href="classFileReader.html#a2">00203</a> <a class="code" href="classFileReader.html#a2">FileReader::~FileReader</a>()
00204 {
00205 }
00206
<a name="l00207"></a><a class="code" href="classFileReader.html#a4">00207</a> string <a class="code" href="classFileReader.html#a4">FileReader::GetLine</a>(<span class="keywordtype">int</span> x)
00208 {
00209 <span class="keywordflow">if</span> ((x&lt;0) || (x&gt;<a class="code" href="classFileReader.html#o0">fc</a>.size()))
00210 <span class="keywordflow">return</span> <span class="stringliteral">""</span>;
00211 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#o0">fc</a>[x];
00212 }
00213
<a name="l00214"></a><a class="code" href="classFileReader.html#a5">00214</a> <span class="keywordtype">int</span> <a class="code" href="classFileReader.html#a5">FileReader::FileSize</a>()
00215 {
00216 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#o0">fc</a>.size();
00217 }
00218
00219
<a name="l00220"></a><a class="code" href="classFileReader.html#a4">00220</a> string <a class="code" href="classFileReader.html#a4">FileReader::GetLine</a>(<span class="keywordtype">int</span> x)
00221 {
00222 <span class="keywordflow">if</span> ((x&lt;0) || (x&gt;<a class="code" href="classFileReader.html#o0">fc</a>.size()))
00223 <span class="keywordflow">return</span> <span class="stringliteral">""</span>;
00224 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#o0">fc</a>[x];
00225 }
00226
<a name="l00227"></a><a class="code" href="classFileReader.html#a5">00227</a> <span class="keywordtype">int</span> <a class="code" href="classFileReader.html#a5">FileReader::FileSize</a>()
00228 {
00229 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#o0">fc</a>.size();
00230 }
00231
00232
</pre></div><hr><address style="align: right;"><small>Generated on Mon Jan 27 00:23:11 2003 for InspIRCd by
00220 vector&lt;Module*&gt; <a class="code" href="modules_8cpp.html#a1">modules</a>(255);
00221 vector&lt;ircd_module*&gt; <a class="code" href="modules_8cpp.html#a2">factory</a>(255);
00222
<a name="l00223"></a><a class="code" href="modules_8cpp.html#a0">00223</a> <span class="keywordtype">int</span> <a class="code" href="modules_8cpp.html#a0">MODCOUNT</a> = -1;
00224
00225
</pre></div><hr><address style="align: right;"><small>Generated on Sun Feb 9 12:48:16 2003 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc2 </small></address>

View File

@ -15,8 +15,97 @@
<p>
<a href="modules_8cpp-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Functions</h2></td></tr>
<tr><td nowrap align=right valign=top>vector&lt; <a class="el" href="classModule.html">Module</a> * &gt;&nbsp;</td><td valign=bottom><a class="el" href="modules_8cpp.html#a1">modules</a> (255)</td></tr>
<tr><td nowrap align=right valign=top>vector&lt; <a class="el" href="modules_8h.html#a7">ircd_module</a> * &gt;&nbsp;</td><td valign=bottom><a class="el" href="modules_8cpp.html#a2">factory</a> (255)</td></tr>
<tr><td colspan=2><br><h2>Variables</h2></td></tr>
<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="modules_8cpp.html#a0">MODCOUNT</a> = -1</td></tr>
</table>
<hr><address style="align: right;"><small>Generated on Mon Jan 27 00:23:11 2003 for InspIRCd by
<hr><h2>Function Documentation</h2>
<a name="a2" doxytag="modules.cpp::factory"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> vector&lt;<a class="el" href="modules_8h.html#a7">ircd_module</a>*&gt; factory </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">255&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<a name="a1" doxytag="modules.cpp::modules"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> vector&lt;<a class="el" href="classModule.html">Module</a>*&gt; modules </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">255&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<hr><h2>Variable Documentation</h2>
<a name="a0" doxytag="modules.cpp::MODCOUNT"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> int MODCOUNT = -1
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<p>
Definition at line <a class="el" href="modules_8cpp-source.html#l00223">223</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
</tr>
</table>
<hr><address style="align: right;"><small>Generated on Sun Feb 9 12:48:16 2003 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc2 </small></address>

View File

@ -8,158 +8,139 @@
<a class="qindex" href="main.html">Main Page</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>modules.h</h1><a href="modules_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*</span>
00002 <span class="comment"></span>
00003 <span class="comment">$Log$
00003 <span class="comment">Revision 1.5 2003/01/27 00:28:57 brain
00003 <span class="comment">...
00003 <span class="comment"></span>
00004 <span class="comment">Revision 1.2 2003/01/26 23:52:59 brain</span>
00005 <span class="comment">Modified documentation for base classes</span>
00006 <span class="comment">Added base classes</span>
00007 <span class="comment"></span>
00008 <span class="comment">Revision 1.1.1.1 2003/01/23 19:45:58 brain</span>
00009 <span class="comment">InspIRCd second source tree</span>
00010 <span class="comment"></span>
00011 <span class="comment">Revision 1.12 2003/01/22 20:59:10 brain</span>
00012 <span class="comment">Added FileReader class documentation</span>
00013 <span class="comment"></span>
00014 <span class="comment">Revision 1.11 2003/01/22 20:49:16 brain</span>
00015 <span class="comment">Added FileReader file-caching class</span>
00016 <span class="comment">Changed m_randquote to use FileReader class</span>
00017 <span class="comment"></span>
00018 <span class="comment">Revision 1.10 2003/01/22 00:57:27 brain</span>
00019 <span class="comment">Changes to documentation</span>
00020 <span class="comment"></span>
00021 <span class="comment">Revision 1.9 2003/01/22 00:44:26 brain</span>
00022 <span class="comment">Added documentation comments</span>
00023 <span class="comment"></span>
00024 <span class="comment">Revision 1.8 2003/01/21 20:31:24 brain</span>
00025 <span class="comment">Modified to add documentation</span>
00026 <span class="comment">Added ConfigReader class for modules</span>
00027 <span class="comment"></span>
00028 <span class="comment">Revision 1.7 2003/01/15 22:47:44 brain</span>
00029 <span class="comment">Changed user and channel structs to classes (finally)</span>
00030 <span class="comment"></span>
00031 <span class="comment">Revision 1.6 2003/01/13 22:30:50 brain</span>
00032 <span class="comment">Added Admin class (holds /admin info for modules)</span>
00033 <span class="comment">Added methods to Server class</span>
00034 <span class="comment"></span>
00035 <span class="comment"></span>
00036 <span class="comment">*/</span>
00037
00038
00039 <span class="preprocessor">#ifndef __PLUGIN_H</span>
00040 <span class="preprocessor"></span><span class="preprocessor">#define __PLUGIN_H</span>
00041 <span class="preprocessor"></span>
00042 <span class="preprocessor">#include "dynamic.h"</span>
00043 <span class="preprocessor">#include "<a class="code" href="base_8h.html">base.h</a>"</span>
00044 <span class="preprocessor">#include &lt;string&gt;</span>
00045 <span class="preprocessor">#include &lt;deque&gt;</span>
00004 <span class="comment"></span>
00005 <span class="comment">*/</span>
00006
00007
00008 <span class="preprocessor">#ifndef __PLUGIN_H</span>
00009 <span class="preprocessor"></span><span class="preprocessor">#define __PLUGIN_H</span>
00010 <span class="preprocessor"></span>
<a name="l00011"></a><a class="code" href="modules_8h.html#a0">00011</a> <span class="preprocessor">#define DEBUG 10</span>
<a name="l00012"></a><a class="code" href="modules_8h.html#a1">00012</a> <span class="preprocessor"></span><span class="preprocessor">#define VERBOSE 20</span>
<a name="l00013"></a><a class="code" href="modules_8h.html#a2">00013</a> <span class="preprocessor"></span><span class="preprocessor">#define DEFAULT 30</span>
<a name="l00014"></a><a class="code" href="modules_8h.html#a3">00014</a> <span class="preprocessor"></span><span class="preprocessor">#define SPARSE 40</span>
<a name="l00015"></a><a class="code" href="modules_8h.html#a4">00015</a> <span class="preprocessor"></span><span class="preprocessor">#define NONE 50</span>
00016 <span class="preprocessor"></span>
00017 <span class="preprocessor">#include "dynamic.h"</span>
00018 <span class="preprocessor">#include "<a class="code" href="base_8h.html">base.h</a>"</span>
00019 <span class="preprocessor">#include &lt;string&gt;</span>
00020 <span class="preprocessor">#include &lt;deque&gt;</span>
00021
<a name="l00024"></a><a class="code" href="modules_8h.html#a6">00024</a> <span class="keyword">typedef</span> deque&lt;string&gt; <a class="code" href="modules_8h.html#a6">file_cache</a>;
00025
00026
00027 <span class="comment">// This #define allows us to call a method in all</span>
00028 <span class="comment">// loaded modules in a readable simple way, e.g.:</span>
00029 <span class="comment">// 'FOREACH_MOD OnConnect(user);'</span>
00030
<a name="l00031"></a><a class="code" href="modules_8h.html#a5">00031</a> <span class="preprocessor">#define FOREACH_MOD for (int i = 0; i &lt;= MODCOUNT; i++) modules[i]-&gt;</span>
00032 <span class="preprocessor"></span>
00033 <span class="comment">// class Version holds the version information of a Module, returned</span>
00034 <span class="comment">// by Module::GetVersion (thanks RD)</span>
00035
<a name="l00040"></a><a class="code" href="classVersion.html">00040</a> <span class="keyword">class </span><a class="code" href="classVersion.html">Version</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a>
00041 {
00042 <span class="keyword">public</span>:
<a name="l00043"></a><a class="code" href="classVersion.html#m2">00043</a> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="classVersion.html#m0">Major</a>, <a class="code" href="classVersion.html#m1">Minor</a>, <a class="code" href="classVersion.html#m2">Revision</a>, <a class="code" href="classVersion.html#m3">Build</a>;
00044 <a class="code" href="classVersion.html#a0">Version</a>(<span class="keywordtype">int</span> major, <span class="keywordtype">int</span> minor, <span class="keywordtype">int</span> revision, <span class="keywordtype">int</span> build);
00045 };
00046
<a name="l00049"></a><a class="code" href="modules_8h.html#a1">00049</a> <span class="keyword">typedef</span> deque&lt;string&gt; <a class="code" href="modules_8h.html#a1">file_cache</a>;
00050
00051
00052 <span class="comment">// This #define allows us to call a method in all</span>
00053 <span class="comment">// loaded modules in a readable simple way, e.g.:</span>
00054 <span class="comment">// 'FOREACH_MOD OnConnect(user);'</span>
00055
<a name="l00056"></a><a class="code" href="modules_8h.html#a0">00056</a> <span class="preprocessor">#define FOREACH_MOD for (int i = 0; i &lt;= MODCOUNT; i++) modules[i]-&gt;</span>
00057 <span class="preprocessor"></span>
00058 <span class="comment">// class Version holds the version information of a Module, returned</span>
00059 <span class="comment">// by Module::GetVersion (thanks RD)</span>
00060
<a name="l00065"></a><a class="code" href="classVersion.html">00065</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>
00047
<a name="l00053"></a><a class="code" href="classAdmin.html">00053</a> <span class="keyword">class </span><a class="code" href="classAdmin.html">Admin</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a>
00054 {
00055 <span class="keyword">public</span>:
<a name="l00056"></a><a class="code" href="classAdmin.html#m2">00056</a> <span class="keyword">const</span> string <a class="code" href="classAdmin.html#m0">Name</a>, <a class="code" href="classAdmin.html#m1">Email</a>, <a class="code" href="classAdmin.html#m2">Nick</a>;
00057 <a class="code" href="classAdmin.html#a0">Admin</a>(string name,string email,string nick);
00058 };
00059
<a name="l00065"></a><a class="code" href="classModule.html">00065</a> <span class="keyword">class </span><a class="code" href="classModule.html">Module</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a>
00066 {
00067 <span class="keyword">public</span>:
<a name="l00068"></a><a class="code" href="classVersion.html#m2">00068</a> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="classVersion.html#m0">Major</a>, <a class="code" href="classVersion.html#m1">Minor</a>, <a class="code" href="classVersion.html#m2">Revision</a>, <a class="code" href="classVersion.html#m3">Build</a>;
00069 <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);
00070 };
00071
00072
<a name="l00078"></a><a class="code" href="classAdmin.html">00078</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>
00079 {
00080 <span class="keyword">public</span>:
<a name="l00081"></a><a class="code" href="classAdmin.html#m2">00081</a> <span class="keyword">const</span> string <a class="code" href="classAdmin.html#m0">Name</a>, <a class="code" href="classAdmin.html#m1">Email</a>, <a class="code" href="classAdmin.html#m2">Nick</a>;
00082 <a class="code" href="classAdmin.html#a0">Admin</a>(string name,string email,string nick);
00083 };
00084
<a name="l00090"></a><a class="code" href="classModule.html">00090</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>
00091 {
00092 <span class="keyword">public</span>:
00096 <a class="code" href="classModule.html#a0">Module</a>();
00100 <span class="keyword">virtual</span> <a class="code" href="classModule.html#a1">~Module</a>();
00105 <span class="keyword">virtual</span> <a class="code" href="classVersion.html">Version</a> <a class="code" href="classModule.html#a2">GetVersion</a>();
00109 <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);
00113 <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);
00118 <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);
00123 <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);
00124 };
00125
00126
<a name="l00132"></a><a class="code" href="classServer.html">00132</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>
00133 {
00134 <span class="keyword">public</span>:
00138 <a class="code" href="classServer.html#a0">Server</a>();
00142 <span class="keyword">virtual</span> <a class="code" href="classServer.html#a1">~Server</a>();
00143
00147 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a2">SendOpers</a>(string s);
00152 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a3">Debug</a>(string s);
00157 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a4">Send</a>(<span class="keywordtype">int</span> Socket, string s);
00162 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a5">SendServ</a>(<span class="keywordtype">int</span> Socket, string s);
00167 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a6">SendFrom</a>(<span class="keywordtype">int</span> Socket, <a class="code" href="classuserrec.html">userrec</a>* User, string s);
00172 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a7">SendTo</a>(<a class="code" href="classuserrec.html">userrec</a>* Source, <a class="code" href="classuserrec.html">userrec</a>* Dest, string s);
00179 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a8">SendChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Channel, string s,<span class="keywordtype">bool</span> IncludeSender);
00184 <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);
00192 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a10">SendCommon</a>(<a class="code" href="classuserrec.html">userrec</a>* User, string text,<span class="keywordtype">bool</span> IncludeSender);
00197 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a11">SendWallops</a>(<a class="code" href="classuserrec.html">userrec</a>* User, string text);
00198
00202 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a12">IsNick</a>(string nick);
00206 <span class="keyword">virtual</span> <a class="code" href="classuserrec.html">userrec</a>* <a class="code" href="classServer.html#a13">FindNick</a>(string nick);
00210 <span class="keyword">virtual</span> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#a14">FindChannel</a>(string channel);
00215 <span class="keyword">virtual</span> string <a class="code" href="classServer.html#a15">ChanMode</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Chan);
00218 <span class="keyword">virtual</span> string <a class="code" href="classServer.html#a16">GetServerName</a>();
00221 <span class="keyword">virtual</span> string <a class="code" href="classServer.html#a17">GetNetworkName</a>();
00227 <span class="keyword">virtual</span> <a class="code" href="classAdmin.html">Admin</a> <a class="code" href="classServer.html#a18">GetAdmin</a>();
00228
00229 };
00230
<a name="l00237"></a><a class="code" href="classConfigReader.html">00237</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>
00238 {
00239 <span class="keyword">protected</span>:
<a name="l00242"></a><a class="code" href="classConfigReader.html#n0">00242</a> string <a class="code" href="classConfigReader.html#n0">fname</a>;
00243 <span class="keyword">public</span>:
00248 <a class="code" href="classConfigReader.html#a0">ConfigReader</a>(); <span class="comment">// default constructor reads ircd.conf</span>
00252 <span class="comment"></span> <a class="code" href="classConfigReader.html#a0">ConfigReader</a>(string filename); <span class="comment">// read a module-specific config</span>
00256 <span class="comment"></span> <a class="code" href="classConfigReader.html#a2">~ConfigReader</a>();
00261 string <a class="code" href="classConfigReader.html#a3">ReadValue</a>(string tag, string name, <span class="keywordtype">int</span> index);
00268 <span class="keywordtype">int</span> <a class="code" href="classConfigReader.html#a4">Enumerate</a>(string tag);
00272 <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#a5">Verify</a>();
00273 };
00274
00275
00276
<a name="l00282"></a><a class="code" href="classFileReader.html">00282</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>
00283 {
<a name="l00284"></a><a class="code" href="classFileReader.html#o0">00284</a> <a class="code" href="modules_8h.html#a1">file_cache</a> <a class="code" href="classFileReader.html#o0">fc</a>;
00285 <span class="keyword">public</span>:
00290 <a class="code" href="classFileReader.html#a0">FileReader</a>();
00296 <a class="code" href="classFileReader.html#a0">FileReader</a>(string filename);
00300 <a class="code" href="classFileReader.html#a2">~FileReader</a>();
00306 <span class="keywordtype">void</span> <a class="code" href="classFileReader.html#a3">LoadFile</a>(string filename);
00311 string <a class="code" href="classFileReader.html#a4">GetLine</a>(<span class="keywordtype">int</span> x);
00317 <span class="keywordtype">int</span> <a class="code" href="classFileReader.html#a5">FileSize</a>();
00071 <a class="code" href="classModule.html#a0">Module</a>();
00075 <span class="keyword">virtual</span> <a class="code" href="classModule.html#a1">~Module</a>();
00080 <span class="keyword">virtual</span> <a class="code" href="classVersion.html">Version</a> <a class="code" href="classModule.html#a2">GetVersion</a>();
00084 <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);
00088 <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);
00093 <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);
00098 <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);
00099
00100
00101 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a7">Module::OnPacketTransmit</a>(<span class="keywordtype">char</span> *p);
00102 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a8">Module::OnPacketReceive</a>(<span class="keywordtype">char</span> *p);
00103 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a9">OnRehash</a>();
00104
00105 };
00106
00107
<a name="l00113"></a><a class="code" href="classServer.html">00113</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>
00114 {
00115 <span class="keyword">public</span>:
00119 <a class="code" href="classServer.html#a0">Server</a>();
00123 <span class="keyword">virtual</span> <a class="code" href="classServer.html#a1">~Server</a>();
00124
00128 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a2">SendOpers</a>(string s);
00133 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a3">Log</a>(<span class="keywordtype">int</span> level, string s);
00138 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a4">Send</a>(<span class="keywordtype">int</span> Socket, string s);
00143 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a5">SendServ</a>(<span class="keywordtype">int</span> Socket, string s);
00148 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a6">SendFrom</a>(<span class="keywordtype">int</span> Socket, <a class="code" href="classuserrec.html">userrec</a>* User, string s);
00153 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a7">SendTo</a>(<a class="code" href="classuserrec.html">userrec</a>* Source, <a class="code" href="classuserrec.html">userrec</a>* Dest, string s);
00160 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a8">SendChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Channel, string s,<span class="keywordtype">bool</span> IncludeSender);
00165 <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);
00173 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a10">SendCommon</a>(<a class="code" href="classuserrec.html">userrec</a>* User, string text,<span class="keywordtype">bool</span> IncludeSender);
00178 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a11">SendWallops</a>(<a class="code" href="classuserrec.html">userrec</a>* User, string text);
00179
00183 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a12">IsNick</a>(string nick);
00187 <span class="keyword">virtual</span> <a class="code" href="classuserrec.html">userrec</a>* <a class="code" href="classServer.html#a13">FindNick</a>(string nick);
00191 <span class="keyword">virtual</span> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#a14">FindChannel</a>(string channel);
00196 <span class="keyword">virtual</span> string <a class="code" href="classServer.html#a15">ChanMode</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Chan);
00199 <span class="keyword">virtual</span> string <a class="code" href="classServer.html#a16">GetServerName</a>();
00202 <span class="keyword">virtual</span> string <a class="code" href="classServer.html#a17">GetNetworkName</a>();
00208 <span class="keyword">virtual</span> <a class="code" href="classAdmin.html">Admin</a> <a class="code" href="classServer.html#a18">GetAdmin</a>();
00209
00210 };
00211
<a name="l00218"></a><a class="code" href="classConfigReader.html">00218</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>
00219 {
00220 <span class="keyword">protected</span>:
<a name="l00223"></a><a class="code" href="classConfigReader.html#n0">00223</a> string <a class="code" href="classConfigReader.html#n0">fname</a>;
00224 <span class="keyword">public</span>:
00229 <a class="code" href="classConfigReader.html#a0">ConfigReader</a>(); <span class="comment">// default constructor reads ircd.conf</span>
00233 <span class="comment"></span> <a class="code" href="classConfigReader.html#a0">ConfigReader</a>(string filename); <span class="comment">// read a module-specific config</span>
00237 <span class="comment"></span> <a class="code" href="classConfigReader.html#a2">~ConfigReader</a>();
00242 string <a class="code" href="classConfigReader.html#a3">ReadValue</a>(string tag, string name, <span class="keywordtype">int</span> index);
00249 <span class="keywordtype">int</span> <a class="code" href="classConfigReader.html#a4">Enumerate</a>(string tag);
00253 <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#a5">Verify</a>();
00254 };
00255
00256
00257
<a name="l00263"></a><a class="code" href="classFileReader.html">00263</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>
00264 {
<a name="l00265"></a><a class="code" href="classFileReader.html#o0">00265</a> <a class="code" href="modules_8h.html#a6">file_cache</a> <a class="code" href="classFileReader.html#o0">fc</a>;
00266 <span class="keyword">public</span>:
00271 <a class="code" href="classFileReader.html#a0">FileReader</a>();
00277 <a class="code" href="classFileReader.html#a0">FileReader</a>(string filename);
00281 <a class="code" href="classFileReader.html#a2">~FileReader</a>();
00287 <span class="keywordtype">void</span> <a class="code" href="classFileReader.html#a3">LoadFile</a>(string filename);
00292 string <a class="code" href="classFileReader.html#a4">GetLine</a>(<span class="keywordtype">int</span> x);
00298 <span class="keywordtype">int</span> <a class="code" href="classFileReader.html#a5">FileSize</a>();
00299 };
00300
00301
<a name="l00308"></a><a class="code" href="classModuleFactory.html">00308</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>
00309 {
00310 <span class="keyword">public</span>:
<a name="l00311"></a><a class="code" href="classModuleFactory.html#a0">00311</a> <a class="code" href="classModuleFactory.html#a0">ModuleFactory</a>() { }
<a name="l00312"></a><a class="code" href="classModuleFactory.html#a1">00312</a> <span class="keyword">virtual</span> <a class="code" href="classModuleFactory.html#a1">~ModuleFactory</a>() { }
00317 <span class="keyword">virtual</span> <a class="code" href="classModule.html">Module</a> * <a class="code" href="classModuleFactory.html#a2">CreateModule</a>() = 0;
00318 };
00319
00320
<a name="l00327"></a><a class="code" href="classModuleFactory.html">00327</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>
00328 {
00329 <span class="keyword">public</span>:
<a name="l00330"></a><a class="code" href="classModuleFactory.html#a0">00330</a> <a class="code" href="classModuleFactory.html#a0">ModuleFactory</a>() { }
<a name="l00331"></a><a class="code" href="classModuleFactory.html#a1">00331</a> <span class="keyword">virtual</span> <a class="code" href="classModuleFactory.html#a1">~ModuleFactory</a>() { }
00336 <span class="keyword">virtual</span> <a class="code" href="classModule.html">Module</a> * <a class="code" href="classModuleFactory.html#a2">CreateModule</a>() = 0;
00337 };
00338
00339 <span class="preprocessor">#endif</span>
</pre></div><hr><address style="align: right;"><small>Generated on Mon Jan 27 00:23:11 2003 for InspIRCd by
<a name="l00321"></a><a class="code" href="modules_8h.html#a7">00321</a> <span class="keyword">typedef</span> DLLFactory&lt;ModuleFactory&gt; <a class="code" href="modules_8h.html#a7">ircd_module</a>;
00322
00323 <span class="preprocessor">#endif</span>
</pre></div><hr><address style="align: right;"><small>Generated on Sun Feb 9 12:48:16 2003 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc2 </small></address>

View File

@ -30,19 +30,25 @@
<tr><td nowrap align=right valign=top>class &nbsp;</td><td valign=bottom><a class="el" href="classVersion.html">Version</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Holds a module's Version information The four members (set by the constructor only) indicate details as to the version number of a module.</em> <a href="classVersion.html#_details">More...</a><em></em></font><br><br></td></tr>
<tr><td colspan=2><br><h2>Defines</h2></td></tr>
<tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="modules_8h.html#a0">FOREACH_MOD</a>&nbsp;&nbsp;&nbsp;for (int i = 0; i &lt;= MODCOUNT; i++) modules[i]-&gt;</td></tr>
<tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="modules_8h.html#a0">DEBUG</a>&nbsp;&nbsp;&nbsp;10</td></tr>
<tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="modules_8h.html#a1">VERBOSE</a>&nbsp;&nbsp;&nbsp;20</td></tr>
<tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="modules_8h.html#a2">DEFAULT</a>&nbsp;&nbsp;&nbsp;30</td></tr>
<tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="modules_8h.html#a3">SPARSE</a>&nbsp;&nbsp;&nbsp;40</td></tr>
<tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="modules_8h.html#a4">NONE</a>&nbsp;&nbsp;&nbsp;50</td></tr>
<tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="modules_8h.html#a5">FOREACH_MOD</a>&nbsp;&nbsp;&nbsp;for (int i = 0; i &lt;= <a class="el" href="modules_8cpp.html#a0">MODCOUNT</a>; i++) modules[i]-&gt;</td></tr>
<tr><td colspan=2><br><h2>Typedefs</h2></td></tr>
<tr><td nowrap align=right valign=top>typedef deque&lt; string &gt;&nbsp;</td><td valign=bottom><a class="el" href="modules_8h.html#a1">file_cache</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Low level definition of a <a class="el" href="classFileReader.html">FileReader</a> classes file cache area.</em> <a href="#a1"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>typedef deque&lt; string &gt;&nbsp;</td><td valign=bottom><a class="el" href="modules_8h.html#a6">file_cache</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Low level definition of a <a class="el" href="classFileReader.html">FileReader</a> classes file cache area.</em> <a href="#a6"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>typedef DLLFactory&lt; <a class="el" href="classModuleFactory.html">ModuleFactory</a> &gt;&nbsp;</td><td valign=bottom><a class="el" href="modules_8h.html#a7">ircd_module</a></td></tr>
</table>
<hr><h2>Define Documentation</h2>
<a name="a0" doxytag="modules.h::FOREACH_MOD"></a><p>
<a name="a0" doxytag="modules.h::DEBUG"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> #define FOREACH_MOD&nbsp;&nbsp;&nbsp;for (int i = 0; i &lt;= MODCOUNT; i++) modules[i]-&gt;
<td class="md" nowrap valign="top"> #define DEBUG&nbsp;&nbsp;&nbsp;10
</table>
</td>
</tr>
@ -57,11 +63,131 @@
<p>
<p>
Definition at line <a class="el" href="modules_8h-source.html#l00056">56</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
Definition at line <a class="el" href="modules_8h-source.html#l00011">11</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
</tr>
</table>
<a name="a2" doxytag="modules.h::DEFAULT"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> #define DEFAULT&nbsp;&nbsp;&nbsp;30
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<p>
Definition at line <a class="el" href="modules_8h-source.html#l00013">13</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
</tr>
</table>
<a name="a5" doxytag="modules.h::FOREACH_MOD"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> #define FOREACH_MOD&nbsp;&nbsp;&nbsp;for (int i = 0; i &lt;= <a class="el" href="modules_8cpp.html#a0">MODCOUNT</a>; i++) modules[i]-&gt;
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<p>
Definition at line <a class="el" href="modules_8h-source.html#l00031">31</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
</tr>
</table>
<a name="a4" doxytag="modules.h::NONE"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> #define NONE&nbsp;&nbsp;&nbsp;50
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<p>
Definition at line <a class="el" href="modules_8h-source.html#l00015">15</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
</tr>
</table>
<a name="a3" doxytag="modules.h::SPARSE"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> #define SPARSE&nbsp;&nbsp;&nbsp;40
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<p>
Definition at line <a class="el" href="modules_8h-source.html#l00014">14</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
</tr>
</table>
<a name="a1" doxytag="modules.h::VERBOSE"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> #define VERBOSE&nbsp;&nbsp;&nbsp;20
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<p>
Definition at line <a class="el" href="modules_8h-source.html#l00012">12</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
</tr>
</table>
<hr><h2>Typedef Documentation</h2>
<a name="a1" doxytag="modules.h::file_cache"></a><p>
<a name="a6" doxytag="modules.h::file_cache"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
@ -84,12 +210,36 @@ 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#l00049">49</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#l00024">24</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#l00198">FileReader::FileReader()</a>, and <a class="el" href="modules_8cpp-source.html#l00209">FileReader::LoadFile()</a>. </td>
Referenced by <a class="el" href="modules_8cpp-source.html#l00185">FileReader::FileReader()</a>, and <a class="el" href="modules_8cpp-source.html#l00196">FileReader::LoadFile()</a>. </td>
</tr>
</table>
<hr><address style="align: right;"><small>Generated on Mon Jan 27 00:23:11 2003 for InspIRCd by
<a name="a7" doxytag="modules.h::ircd_module"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> typedef DLLFactory&lt;<a class="el" href="classModuleFactory.html">ModuleFactory</a>&gt; ircd_module
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<p>
Definition at line <a class="el" href="modules_8h-source.html#l00321">321</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
</tr>
</table>
<hr><address style="align: right;"><small>Generated on Sun Feb 9 12:48:16 2003 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc2 </small></address>

View File

@ -8,73 +8,45 @@
<a class="qindex" href="main.html">Main Page</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>servers.cpp</h1><a href="servers_8cpp.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*</span>
00002 <span class="comment"></span>
00003 <span class="comment">$Log$
00003 <span class="comment">Revision 1.3 2003/01/27 00:28:57 brain
00003 <span class="comment">...
00003 <span class="comment"></span>
00004 <span class="comment">Revision 1.2 2003/01/26 23:53:03 brain</span>
00005 <span class="comment">Modified documentation for base classes</span>
00006 <span class="comment">Added base classes</span>
00007 <span class="comment"></span>
00008 <span class="comment">Revision 1.1 2003/01/26 20:15:03 brain</span>
00009 <span class="comment">Added server classes for linking</span>
00010 <span class="comment"></span>
00011 <span class="comment"></span>
00012 <span class="comment">*/</span>
00013
00014 <span class="preprocessor">#include "inspircd_config.h"</span>
00015 <span class="preprocessor">#include "<a class="code" href="servers_8h.html">servers.h</a>"</span>
00016 <span class="preprocessor">#include "inspircd.h"</span>
00017 <span class="preprocessor">#include &lt;stdio.h&gt;</span>
00018 <span class="preprocessor">#include &lt;map.h&gt;</span>
00019
<a name="l00020"></a><a class="code" href="classserverrec.html#a0">00020</a> <a class="code" href="classserverrec.html#a0">serverrec::serverrec</a>()
00021 {
00022 <a class="code" href="classserverrec.html#o0">leaf</a>.clear();
00023 strcpy(name,<span class="stringliteral">""</span>);
00024 <a class="code" href="classserverrec.html#m1">pingtime</a> = 0;
00025 <a class="code" href="classserverrec.html#m2">linktype</a> = <a class="code" href="servers_8h.html#a0">LINK_ACTIVE</a>;
00026 <a class="code" href="classserverrec.html#m3">lastping</a> = time(NULL);
00027 <a class="code" href="classserverrec.html#m4">usercount_i</a> = <a class="code" href="classserverrec.html#m5">usercount</a> = <a class="code" href="classserverrec.html#m6">opercount</a> = <a class="code" href="classserverrec.html#m9">version</a> = 0;
00028 <a class="code" href="classserverrec.html#m8">hops_away</a> = 1;
00029 <a class="code" href="classserverrec.html#m7">connected_at</a> = time(NULL);
00030 <a class="code" href="classserverrec.html#m10">jupiter</a> = <span class="keyword">false</span>;
00031 <a class="code" href="classconnection.html#m0">fd</a> = 0;
00032 }
00033
00034
<a name="l00035"></a><a class="code" href="classserverrec.html#a2">00035</a> <a class="code" href="classserverrec.html#a2">serverrec::~serverrec</a>()
00036 {
00037 }
00038
<a name="l00039"></a><a class="code" href="classserverrec.html#a1">00039</a> <a class="code" href="classserverrec.html#a0">serverrec::serverrec</a>(<span class="keywordtype">char</span>* n, <span class="keywordtype">int</span> link_t, <span class="keywordtype">long</span> ver, <span class="keywordtype">bool</span> jupe)
00040 {
00041 <a class="code" href="classserverrec.html#o0">leaf</a>.clear();
00042 strcpy(name,n);
00043 <a class="code" href="classserverrec.html#m2">linktype</a> = link_t;
00044 <a class="code" href="classserverrec.html#m3">lastping</a> = time(NULL);
00045 <a class="code" href="classserverrec.html#m4">usercount_i</a> = <a class="code" href="classserverrec.html#m5">usercount</a> = <a class="code" href="classserverrec.html#m6">opercount</a> = 0;
00046 <a class="code" href="classserverrec.html#m9">version</a> = ver;
00047 <a class="code" href="classserverrec.html#m8">hops_away</a> = 1;
00048 <a class="code" href="classserverrec.html#m7">connected_at</a> = time(NULL);
00049 <a class="code" href="classserverrec.html#m10">jupiter</a> = jupe;
00050 <a class="code" href="classconnection.html#m0">fd</a> = 0;
00051 }
00052
<a name="l00053"></a><a class="code" href="classserverrec.html#a3">00053</a> <span class="keywordtype">void</span> <a class="code" href="classserverrec.html#a3">serverrec::AddLeaf</a>(<a class="code" href="classserverrec.html">serverrec</a> *child)
00054 {
00055 <a class="code" href="classserverrec.html#o0">leaf</a>[child-&gt;<a class="code" href="classserverrec.html#m0">name</a>] = child;
00056 }
00057
<a name="l00058"></a><a class="code" href="classserverrec.html#a4">00058</a> <span class="keywordtype">void</span> <a class="code" href="classserverrec.html#a4">serverrec::DelLeaf</a>(string n)
00059 {
00060 server_list::iterator i = <a class="code" href="classserverrec.html#o0">leaf</a>.find(n);
00061
00062 <span class="keywordflow">if</span> (i != <a class="code" href="classserverrec.html#o0">leaf</a>.end())
00063 <a class="code" href="classserverrec.html#o0">leaf</a>.erase(i);
00064 }
00065
</pre></div><hr><address style="align: right;"><small>Generated on Mon Jan 27 00:23:11 2003 for InspIRCd by
00004 <span class="comment">*/</span>
00005
00006 <span class="preprocessor">#include "inspircd_config.h"</span>
00007 <span class="preprocessor">#include "<a class="code" href="servers_8h.html">servers.h</a>"</span>
00008 <span class="preprocessor">#include "inspircd.h"</span>
00009 <span class="preprocessor">#include &lt;stdio.h&gt;</span>
00010 <span class="preprocessor">#include &lt;map.h&gt;</span>
00011
<a name="l00012"></a><a class="code" href="classserverrec.html#a0">00012</a> <a class="code" href="classserverrec.html#a0">serverrec::serverrec</a>()
00013 {
00014 strcpy(name,<span class="stringliteral">""</span>);
00015 <a class="code" href="classserverrec.html#m1">pingtime</a> = 0;
00016 <a class="code" href="classconnection.html#m12">lastping</a> = time(NULL);
00017 <a class="code" href="classserverrec.html#m2">usercount_i</a> = <a class="code" href="classserverrec.html#m3">usercount</a> = <a class="code" href="classserverrec.html#m4">opercount</a> = <a class="code" href="classserverrec.html#m6">version</a> = 0;
00018 <a class="code" href="classserverrec.html#m5">hops_away</a> = 1;
00019 <a class="code" href="classconnection.html#m13">signon</a> = time(NULL);
00020 <a class="code" href="classserverrec.html#m7">jupiter</a> = <span class="keyword">false</span>;
00021 <a class="code" href="classconnection.html#m1">fd</a> = 0;
00022 }
00023
00024
<a name="l00025"></a><a class="code" href="classserverrec.html#a2">00025</a> <a class="code" href="classserverrec.html#a2">serverrec::~serverrec</a>()
00026 {
00027 }
00028
<a name="l00029"></a><a class="code" href="classserverrec.html#a1">00029</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)
00030 {
00031 strcpy(name,n);
00032 <a class="code" href="classconnection.html#m12">lastping</a> = time(NULL);
00033 <a class="code" href="classserverrec.html#m2">usercount_i</a> = <a class="code" href="classserverrec.html#m3">usercount</a> = <a class="code" href="classserverrec.html#m4">opercount</a> = 0;
00034 <a class="code" href="classserverrec.html#m6">version</a> = ver;
00035 <a class="code" href="classserverrec.html#m5">hops_away</a> = 1;
00036 <a class="code" href="classconnection.html#m13">signon</a> = time(NULL);
00037 <a class="code" href="classserverrec.html#m7">jupiter</a> = jupe;
00038 <a class="code" href="classconnection.html#m1">fd</a> = 0;
00039 }
00040
</pre></div><hr><address style="align: right;"><small>Generated on Sun Feb 9 12:48:16 2003 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc2 </small></address>

View File

@ -16,7 +16,7 @@
<a href="servers_8cpp-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
</table>
<hr><address style="align: right;"><small>Generated on Mon Jan 27 00:23:11 2003 for InspIRCd by
<hr><address style="align: right;"><small>Generated on Sun Feb 9 12:48:16 2003 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc2 </small></address>

View File

@ -8,62 +8,45 @@
<a class="qindex" href="main.html">Main Page</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>servers.h</h1><a href="servers_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*</span>
00002 <span class="comment"></span>
00003 <span class="comment">$Log$
00003 <span class="comment">Revision 1.3 2003/01/27 00:28:57 brain
00003 <span class="comment">...
00003 <span class="comment"></span>
00004 <span class="comment">Revision 1.2 2003/01/26 23:52:59 brain</span>
00005 <span class="comment">Modified documentation for base classes</span>
00006 <span class="comment">Added base classes</span>
00007 <span class="comment"></span>
00008 <span class="comment">Revision 1.1 2003/01/26 20:15:00 brain</span>
00009 <span class="comment">Added server classes for linking</span>
00010 <span class="comment"></span>
00011 <span class="comment"></span>
00012 <span class="comment">*/</span>
00013
00014 <span class="preprocessor">#include "inspircd_config.h"</span>
00015 <span class="preprocessor">#include "<a class="code" href="connection_8h.html">connection.h</a>"</span>
00016 <span class="preprocessor">#include &lt;string&gt;</span>
00017 <span class="preprocessor">#include &lt;map.h&gt;</span>
00018
00019 <span class="preprocessor">#ifndef __SERVERS_H__ </span>
00020 <span class="preprocessor"></span><span class="preprocessor">#define __SERVERS_H__ </span>
00021 <span class="preprocessor"></span>
<a name="l00022"></a><a class="code" href="servers_8h.html#a0">00022</a> <span class="preprocessor">#define LINK_ACTIVE 1</span>
<a name="l00023"></a><a class="code" href="servers_8h.html#a1">00023</a> <span class="preprocessor"></span><span class="preprocessor">#define LINK_INACTIVE 0</span>
00024 <span class="preprocessor"></span>
<a name="l00025"></a><a class="code" href="classserverrec.html">00025</a> <span class="keyword">class </span><a class="code" href="classserverrec.html">serverrec</a> : <span class="keyword">public</span> <a class="code" href="classconnection.html">connection</a>
00026 {
00027 <span class="keyword">private</span>:
<a name="l00028"></a><a class="code" href="classserverrec.html#o0">00028</a> map&lt;string, serverrec*&gt; <a class="code" href="classserverrec.html#o0">leaf</a>; <span class="comment">// list of child servers (leaves)</span>
00029 <span class="keyword">public</span>:
<a name="l00030"></a><a class="code" href="classserverrec.html#m0">00030</a> <span class="keywordtype">char</span> <a class="code" href="classserverrec.html#m0">name</a>[MAXBUF]; <span class="comment">// server name</span>
<a name="l00031"></a><a class="code" href="classserverrec.html#m1">00031</a> <span class="keywordtype">int</span> <a class="code" href="classserverrec.html#m1">pingtime</a>; <span class="comment">// last ping response (ms)</span>
<a name="l00032"></a><a class="code" href="classserverrec.html#m2">00032</a> <span class="keywordtype">int</span> <a class="code" href="classserverrec.html#m2">linktype</a>; <span class="comment">// link type, LINK_ACTIVE or LINK_INACTIVE</span>
<a name="l00033"></a><a class="code" href="classserverrec.html#m3">00033</a> time_t <a class="code" href="classserverrec.html#m3">lastping</a>; <span class="comment">// time the link was last pinged</span>
<a name="l00034"></a><a class="code" href="classserverrec.html#m4">00034</a> <span class="keywordtype">long</span> <a class="code" href="classserverrec.html#m4">usercount_i</a>; <span class="comment">// invisible users on server</span>
<a name="l00035"></a><a class="code" href="classserverrec.html#m5">00035</a> <span class="keywordtype">long</span> <a class="code" href="classserverrec.html#m5">usercount</a>; <span class="comment">// non-invisible users on server</span>
<a name="l00036"></a><a class="code" href="classserverrec.html#m6">00036</a> <span class="keywordtype">long</span> <a class="code" href="classserverrec.html#m6">opercount</a>; <span class="comment">// opers on server</span>
<a name="l00037"></a><a class="code" href="classserverrec.html#m7">00037</a> time_t <a class="code" href="classserverrec.html#m7">connected_at</a>; <span class="comment">// time server was connected into the network</span>
<a name="l00038"></a><a class="code" href="classserverrec.html#m8">00038</a> time_t <a class="code" href="classserverrec.html#m8">hops_away</a>; <span class="comment">// number of hops away (for quick access)</span>
<a name="l00039"></a><a class="code" href="classserverrec.html#m9">00039</a> <span class="keywordtype">long</span> <a class="code" href="classserverrec.html#m9">version</a>; <span class="comment">// ircd version</span>
<a name="l00040"></a><a class="code" href="classserverrec.html#m10">00040</a> <span class="keywordtype">bool</span> <a class="code" href="classserverrec.html#m10">jupiter</a>; <span class="comment">// is a JUPE server (faked to enforce a server ban)</span>
00041
00042 <a class="code" href="classserverrec.html#a0">serverrec</a>();
00043 <a class="code" href="classserverrec.html#a0">serverrec</a>(<span class="keywordtype">char</span>* n, <span class="keywordtype">int</span> link_t, <span class="keywordtype">long</span> ver, <span class="keywordtype">bool</span> jupe);
00044 <a class="code" href="classserverrec.html#a2">~serverrec</a>();
00045 <span class="keywordtype">void</span> <a class="code" href="classserverrec.html#a3">AddLeaf</a>(<a class="code" href="classserverrec.html">serverrec</a> *child);
00046 <span class="keywordtype">void</span> <a class="code" href="classserverrec.html#a4">DelLeaf</a>(string n);
00047 };
00048
00049
00050
<a name="l00051"></a><a class="code" href="servers_8h.html#a2">00051</a> <span class="keyword">typedef</span> map&lt;string, serverrec*&gt; <a class="code" href="servers_8h.html#a2">server_list</a>;
00052
00053 <span class="preprocessor">#endif</span>
00054 <span class="preprocessor"></span>
</pre></div><hr><address style="align: right;"><small>Generated on Mon Jan 27 00:23:11 2003 for InspIRCd by
00004 <span class="comment">*/</span>
00005
00006 <span class="preprocessor">#include "inspircd_config.h"</span>
00007 <span class="preprocessor">#include "<a class="code" href="connection_8h.html">connection.h</a>"</span>
00008 <span class="preprocessor">#include &lt;string&gt;</span>
00009 <span class="preprocessor">#include &lt;map.h&gt;</span>
00010
00011 <span class="preprocessor">#ifndef __SERVERS_H__ </span>
00012 <span class="preprocessor"></span><span class="preprocessor">#define __SERVERS_H__ </span>
00013 <span class="preprocessor"></span>
<a name="l00014"></a><a class="code" href="servers_8h.html#a0">00014</a> <span class="preprocessor">#define LINK_ACTIVE 1</span>
<a name="l00015"></a><a class="code" href="servers_8h.html#a1">00015</a> <span class="preprocessor"></span><span class="preprocessor">#define LINK_INACTIVE 0</span>
00016 <span class="preprocessor"></span>
<a name="l00019"></a><a class="code" href="classserverrec.html">00019</a> <span class="keyword">class </span><a class="code" href="classserverrec.html">serverrec</a> : <span class="keyword">public</span> <a class="code" href="classconnection.html">connection</a>
00020 {
00021 <span class="keyword">private</span>:
00022 <span class="keyword">public</span>:
<a name="l00025"></a><a class="code" href="classserverrec.html#m0">00025</a> <span class="keywordtype">char</span> <a class="code" href="classserverrec.html#m0">name</a>[MAXBUF];
<a name="l00028"></a><a class="code" href="classserverrec.html#m1">00028</a> <span class="keywordtype">long</span> <a class="code" href="classserverrec.html#m1">pingtime</a>;
<a name="l00031"></a><a class="code" href="classserverrec.html#m2">00031</a> <span class="keywordtype">long</span> <a class="code" href="classserverrec.html#m2">usercount_i</a>;
<a name="l00034"></a><a class="code" href="classserverrec.html#m3">00034</a> <span class="keywordtype">long</span> <a class="code" href="classserverrec.html#m3">usercount</a>;
<a name="l00037"></a><a class="code" href="classserverrec.html#m4">00037</a> <span class="keywordtype">long</span> <a class="code" href="classserverrec.html#m4">opercount</a>;
<a name="l00040"></a><a class="code" href="classserverrec.html#m5">00040</a> <span class="keywordtype">int</span> <a class="code" href="classserverrec.html#m5">hops_away</a>;
<a name="l00043"></a><a class="code" href="classserverrec.html#m6">00043</a> <span class="keywordtype">long</span> <a class="code" href="classserverrec.html#m6">version</a>;
<a name="l00046"></a><a class="code" href="classserverrec.html#m7">00046</a> <span class="keywordtype">bool</span> <a class="code" href="classserverrec.html#m7">jupiter</a>;
00047
00050 <a class="code" href="classserverrec.html#a0">serverrec</a>();
00053 <a class="code" href="classserverrec.html#a0">serverrec</a>(<span class="keywordtype">char</span>* n, <span class="keywordtype">long</span> ver, <span class="keywordtype">bool</span> jupe);
00056 <a class="code" href="classserverrec.html#a2">~serverrec</a>();
00057 };
00058
00059
00060
<a name="l00061"></a><a class="code" href="servers_8h.html#a2">00061</a> <span class="keyword">typedef</span> map&lt;string, serverrec*&gt; <a class="code" href="servers_8h.html#a2">server_list</a>;
00062
00063 <span class="preprocessor">#endif</span>
00064 <span class="preprocessor"></span>
</pre></div><hr><address style="align: right;"><small>Generated on Sun Feb 9 12:48:16 2003 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc2 </small></address>

View File

@ -16,6 +16,7 @@
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Compounds</h2></td></tr>
<tr><td nowrap align=right valign=top>class &nbsp;</td><td valign=bottom><a class="el" href="classserverrec.html">serverrec</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>A class that defines the local server or a remote server.</em> <a href="classserverrec.html#_details">More...</a><em></em></font><br><br></td></tr>
<tr><td colspan=2><br><h2>Defines</h2></td></tr>
<tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="servers_8h.html#a0">LINK_ACTIVE</a>&nbsp;&nbsp;&nbsp;1</td></tr>
<tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="servers_8h.html#a1">LINK_INACTIVE</a>&nbsp;&nbsp;&nbsp;0</td></tr>
@ -44,9 +45,7 @@
<p>
<p>
Definition at line <a class="el" href="servers_8h-source.html#l00022">22</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#l00020">serverrec::serverrec()</a>. </td>
Definition at line <a class="el" href="servers_8h-source.html#l00014">14</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>. </td>
</tr>
</table>
<a name="a1" doxytag="servers.h::LINK_INACTIVE"></a><p>
@ -70,7 +69,7 @@ Referenced by <a class="el" href="servers_8cpp-source.html#l00020">serverrec::se
<p>
<p>
Definition at line <a class="el" href="servers_8h-source.html#l00023">23</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>. </td>
Definition at line <a class="el" href="servers_8h-source.html#l00015">15</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>. </td>
</tr>
</table>
<hr><h2>Typedef Documentation</h2>
@ -95,10 +94,10 @@ Definition at line <a class="el" href="servers_8h-source.html#l00023">23</a> of
<p>
<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>. </td>
Definition at line <a class="el" href="servers_8h-source.html#l00061">61</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>. </td>
</tr>
</table>
<hr><address style="align: right;"><small>Generated on Mon Jan 27 00:23:11 2003 for InspIRCd by
<hr><address style="align: right;"><small>Generated on Sun Feb 9 12:48:16 2003 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc2 </small></address>

View File

@ -27,6 +27,7 @@ aux1 = insFld(foldersTree, gFld("Compound List", "", "annotated.html"))
insDoc(aux1, gLnk("InviteItem", "", "classInviteItem.html"))
insDoc(aux1, gLnk("Module", "", "classModule.html"))
insDoc(aux1, gLnk("ModuleFactory", "", "classModuleFactory.html"))
insDoc(aux1, gLnk("packet", "", "classpacket.html"))
insDoc(aux1, gLnk("Server", "", "classServer.html"))
insDoc(aux1, gLnk("serverrec", "", "classserverrec.html"))
insDoc(aux1, gLnk("ucrec", "", "classucrec.html"))
@ -50,6 +51,7 @@ aux1 = insFld(foldersTree, gFld("Class Hierarchy", "", "hierarchy.html"))
insDoc(aux2, gLnk("Invited", "", "classInvited.html"))
insDoc(aux2, gLnk("Module", "", "classModule.html"))
insDoc(aux2, gLnk("ModuleFactory", "", "classModuleFactory.html"))
insDoc(aux2, gLnk("packet", "", "classpacket.html"))
insDoc(aux2, gLnk("Server", "", "classServer.html"))
insDoc(aux2, gLnk("ucrec", "", "classucrec.html"))
insDoc(aux2, gLnk("Version", "", "classVersion.html"))

View File

@ -8,100 +8,82 @@
<a class="qindex" href="main.html">Main Page</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>users.cpp</h1><a href="users_8cpp.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*</span>
00002 <span class="comment"></span>
00003 <span class="comment">$Log$
00003 <span class="comment">Revision 1.5 2003/01/27 00:28:57 brain
00003 <span class="comment">...
00003 <span class="comment"></span>
00004 <span class="comment">Revision 1.1.1.1 2003/01/23 19:45:58 brain</span>
00005 <span class="comment">InspIRCd second source tree</span>
00006 <span class="comment"></span>
00007 <span class="comment">Revision 1.3 2003/01/17 13:21:38 brain</span>
00008 <span class="comment">Added CONNECT ALLOW and CONNECT DENY config tags</span>
00009 <span class="comment">Added PASS command</span>
00010 <span class="comment"></span>
00011 <span class="comment">Revision 1.2 2003/01/17 10:37:55 brain</span>
00012 <span class="comment">Added /INVITE command and relevent structures</span>
00013 <span class="comment"></span>
00014 <span class="comment">Revision 1.1 2003/01/16 01:10:04 brain</span>
00015 <span class="comment">forgot to add this</span>
00016 <span class="comment"></span>
00017 <span class="comment"></span>
00018 <span class="comment">*/</span>
00019
00020 <span class="preprocessor">#include "inspircd_config.h"</span>
00021 <span class="preprocessor">#include "<a class="code" href="channels_8h.html">channels.h</a>"</span>
00022 <span class="preprocessor">#include "<a class="code" href="users_8h.html">users.h</a>"</span>
00023 <span class="preprocessor">#include "inspircd.h"</span>
00024 <span class="preprocessor">#include &lt;stdio.h&gt;</span>
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(nick,<span class="stringliteral">""</span>);
00030 <a class="code" href="classconnection.html#m2">ip</a> = 0;
00031 strcpy(ident,<span class="stringliteral">""</span>);
00032 strcpy(host,<span class="stringliteral">""</span>);
00033 strcpy(dhost,<span class="stringliteral">""</span>);
00034 strcpy(fullname,<span class="stringliteral">""</span>);
00035 strcpy(modes,<span class="stringliteral">""</span>);
00036 strcpy(inbuf,<span class="stringliteral">""</span>);
00037 strcpy(server,<span class="stringliteral">""</span>);
00038 strcpy(awaymsg,<span class="stringliteral">""</span>);
00039 <a class="code" href="classconnection.html#m0">fd</a> = <a class="code" href="classconnection.html#m11">lastping</a> = <a class="code" href="classconnection.html#m12">signon</a> = <a class="code" href="classconnection.html#m13">idle_lastmsg</a> = <a class="code" href="classconnection.html#m14">nping</a> = <a class="code" href="classconnection.html#m10">registered</a> = 0;
00040 <a class="code" href="classconnection.html#m9">port</a> = <a class="code" href="classconnection.html#m4">bytes_in</a> = <a class="code" href="classconnection.html#m5">bytes_out</a> = <a class="code" href="classconnection.html#m6">cmds_in</a> = <a class="code" href="classconnection.html#m7">cmds_out</a> = 0;
00041 <a class="code" href="classconnection.html#m8">haspassed</a> = <span class="keyword">false</span>;
00042 strcpy(result,<span class="stringliteral">""</span>);
00043 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; MAXCHANS; i++)
00044 {
00045 <a class="code" href="classuserrec.html#m5">chans</a>[i].<a class="code" href="classucrec.html#m1">channel</a> = NULL;
00046 }
00047 <a class="code" href="classuserrec.html#o0">invites</a>.clear();
00048 }
00049
00050
<a name="l00051"></a><a class="code" href="classuserrec.html#a2">00051</a> <span class="keywordtype">char</span>* <a class="code" href="classuserrec.html#a2">userrec::GetFullHost</a>()
00052 {
00053 sprintf(result,<span class="stringliteral">"%s!%s@%s"</span>,nick,ident,dhost);
00054 <span class="keywordflow">return</span> <a class="code" href="classuserrec.html#m8">result</a>;
00055 }
00056
00057
<a name="l00058"></a><a class="code" href="classuserrec.html#a3">00058</a> <span class="keywordtype">char</span>* <a class="code" href="classuserrec.html#a3">userrec::GetFullRealHost</a>()
00059 {
00060 sprintf(result,<span class="stringliteral">"%s!%s@%s"</span>,nick,ident,host);
00061 <span class="keywordflow">return</span> <a class="code" href="classuserrec.html#m8">result</a>;
00062 }
00063
<a name="l00064"></a><a class="code" href="classuserrec.html#a4">00064</a> <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#a4">userrec::IsInvited</a>(<span class="keywordtype">char</span>* channel)
00065 {
00066 <span class="keywordflow">for</span> (InvitedList::iterator i = <a class="code" href="classuserrec.html#o0">invites</a>.begin(); i != <a class="code" href="classuserrec.html#o0">invites</a>.end(); i++)
00067 {
00068 <span class="keywordflow">if</span> (!strcasecmp(i-&gt;channel,channel))
00069 {
00070 <span class="keywordflow">return</span> <span class="keyword">true</span>;
00071 }
00072 }
00073 }
00074
<a name="l00075"></a><a class="code" href="classuserrec.html#a5">00075</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a5">userrec::InviteTo</a>(<span class="keywordtype">char</span>* channel)
00076 {
00077 <a class="code" href="classInvited.html">Invited</a> i;
00078 strcpy(i.<a class="code" href="classInvited.html#m0">channel</a>,channel);
00079 <a class="code" href="classuserrec.html#o0">invites</a>.push_back(i);
00080 }
00081
<a name="l00082"></a><a class="code" href="classuserrec.html#a6">00082</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a6">userrec::RemoveInvite</a>(<span class="keywordtype">char</span>* channel)
00083 {
00084 <span class="keywordflow">for</span> (InvitedList::iterator i = <a class="code" href="classuserrec.html#o0">invites</a>.begin(); i != <a class="code" href="classuserrec.html#o0">invites</a>.end(); i++)
00085 {
00086 <span class="keywordflow">if</span> (!strcasecmp(i-&gt;channel,channel))
00087 {
00088 <a class="code" href="classuserrec.html#o0">invites</a>.erase(i);
00089 <span class="keywordflow">return</span>;
00090 }
00091 }
00092 }
</pre></div><hr><address style="align: right;"><small>Generated on Mon Jan 27 00:23:11 2003 for InspIRCd by
00003 <span class="comment">*/</span>
00004
00005 <span class="preprocessor">#include "inspircd_config.h"</span>
00006 <span class="preprocessor">#include "<a class="code" href="channels_8h.html">channels.h</a>"</span>
00007 <span class="preprocessor">#include "<a class="code" href="users_8h.html">users.h</a>"</span>
00008 <span class="preprocessor">#include "inspircd.h"</span>
00009 <span class="preprocessor">#include &lt;stdio.h&gt;</span>
00010
<a name="l00011"></a><a class="code" href="classuserrec.html#a0">00011</a> <a class="code" href="classuserrec.html#a0">userrec::userrec</a>()
00012 {
00013 <span class="comment">// the PROPER way to do it, AVOID bzero at *ALL* costs</span>
00014 strcpy(nick,<span class="stringliteral">""</span>);
00015 <a class="code" href="classconnection.html#m3">ip</a> = 0;
00016 strcpy(ident,<span class="stringliteral">""</span>);
00017 strcpy(host,<span class="stringliteral">""</span>);
00018 strcpy(dhost,<span class="stringliteral">""</span>);
00019 strcpy(fullname,<span class="stringliteral">""</span>);
00020 strcpy(modes,<span class="stringliteral">""</span>);
00021 strcpy(inbuf,<span class="stringliteral">""</span>);
00022 strcpy(server,<span class="stringliteral">""</span>);
00023 strcpy(awaymsg,<span class="stringliteral">""</span>);
00024 <a class="code" href="classconnection.html#m1">fd</a> = <a class="code" href="classconnection.html#m12">lastping</a> = <a class="code" href="classconnection.html#m13">signon</a> = <a class="code" href="classconnection.html#m14">idle_lastmsg</a> = <a class="code" href="classconnection.html#m15">nping</a> = <a class="code" href="classconnection.html#m11">registered</a> = 0;
00025 <a class="code" href="classconnection.html#m10">port</a> = <a class="code" href="classconnection.html#m5">bytes_in</a> = <a class="code" href="classconnection.html#m6">bytes_out</a> = <a class="code" href="classconnection.html#m7">cmds_in</a> = <a class="code" href="classconnection.html#m8">cmds_out</a> = 0;
00026 <a class="code" href="classconnection.html#m9">haspassed</a> = <span class="keyword">false</span>;
00027 strcpy(result,<span class="stringliteral">""</span>);
00028 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; MAXCHANS; i++)
00029 {
00030 <a class="code" href="classuserrec.html#m5">chans</a>[i].<a class="code" href="classucrec.html#m1">channel</a> = NULL;
00031 }
00032 <a class="code" href="classuserrec.html#o0">invites</a>.clear();
00033 }
00034
00035
<a name="l00036"></a><a class="code" href="classuserrec.html#a2">00036</a> <span class="keywordtype">char</span>* <a class="code" href="classuserrec.html#a2">userrec::GetFullHost</a>()
00037 {
00038 sprintf(result,<span class="stringliteral">"%s!%s@%s"</span>,nick,ident,dhost);
00039 <span class="keywordflow">return</span> <a class="code" href="classuserrec.html#m8">result</a>;
00040 }
00041
00042
<a name="l00043"></a><a class="code" href="classuserrec.html#a3">00043</a> <span class="keywordtype">char</span>* <a class="code" href="classuserrec.html#a3">userrec::GetFullRealHost</a>()
00044 {
00045 sprintf(result,<span class="stringliteral">"%s!%s@%s"</span>,nick,ident,host);
00046 <span class="keywordflow">return</span> <a class="code" href="classuserrec.html#m8">result</a>;
00047 }
00048
<a name="l00049"></a><a class="code" href="classuserrec.html#a4">00049</a> <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#a4">userrec::IsInvited</a>(<span class="keywordtype">char</span>* channel)
00050 {
00051 <span class="keywordflow">for</span> (InvitedList::iterator i = <a class="code" href="classuserrec.html#o0">invites</a>.begin(); i != <a class="code" href="classuserrec.html#o0">invites</a>.end(); i++)
00052 {
00053 <span class="keywordflow">if</span> (!strcasecmp(i-&gt;channel,channel))
00054 {
00055 <span class="keywordflow">return</span> <span class="keyword">true</span>;
00056 }
00057 }
00058 }
00059
<a name="l00060"></a><a class="code" href="classuserrec.html#a5">00060</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a5">userrec::InviteTo</a>(<span class="keywordtype">char</span>* channel)
00061 {
00062 <a class="code" href="classInvited.html">Invited</a> i;
00063 strcpy(i.<a class="code" href="classInvited.html#m0">channel</a>,channel);
00064 <a class="code" href="classuserrec.html#o0">invites</a>.push_back(i);
00065 }
00066
<a name="l00067"></a><a class="code" href="classuserrec.html#a6">00067</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a6">userrec::RemoveInvite</a>(<span class="keywordtype">char</span>* channel)
00068 {
00069 <span class="keywordflow">for</span> (InvitedList::iterator i = <a class="code" href="classuserrec.html#o0">invites</a>.begin(); i != <a class="code" href="classuserrec.html#o0">invites</a>.end(); i++)
00070 {
00071 <span class="keywordflow">if</span> (!strcasecmp(i-&gt;channel,channel))
00072 {
00073 <a class="code" href="classuserrec.html#o0">invites</a>.erase(i);
00074 <span class="keywordflow">return</span>;
00075 }
00076 }
00077 }
</pre></div><hr><address style="align: right;"><small>Generated on Sun Feb 9 12:48:16 2003 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc2 </small></address>

View File

@ -16,7 +16,7 @@
<a href="users_8cpp-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
</table>
<hr><address style="align: right;"><small>Generated on Mon Jan 27 00:23:11 2003 for InspIRCd by
<hr><address style="align: right;"><small>Generated on Sun Feb 9 12:48:16 2003 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc2 </small></address>

View File

@ -8,128 +8,91 @@
<a class="qindex" href="main.html">Main Page</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>users.h</h1><a href="users_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*</span>
00002 <span class="comment"></span>
00003 <span class="comment">$Log$
00003 <span class="comment">Revision 1.5 2003/01/27 00:28:57 brain
00003 <span class="comment">...
00003 <span class="comment"></span>
00004 <span class="comment">Revision 1.3 2003/01/27 00:22:53 brain</span>
00005 <span class="comment">Modified documentation</span>
00006 <span class="comment">Moved some classes below base class</span>
00007 <span class="comment"></span>
00008 <span class="comment">Revision 1.2 2003/01/26 23:52:59 brain</span>
00009 <span class="comment">Modified documentation for base classes</span>
00010 <span class="comment">Added base classes</span>
00011 <span class="comment"></span>
00012 <span class="comment">Revision 1.1.1.1 2003/01/23 19:45:58 brain</span>
00013 <span class="comment">InspIRCd second source tree</span>
00014 <span class="comment"></span>
00015 <span class="comment">Revision 1.9 2003/01/22 00:44:26 brain</span>
00016 <span class="comment">Added documentation comments</span>
00017 <span class="comment"></span>
00018 <span class="comment">Revision 1.8 2003/01/21 21:11:17 brain</span>
00019 <span class="comment">Added documentation</span>
00020 <span class="comment"></span>
00021 <span class="comment">Revision 1.7 2003/01/17 13:21:38 brain</span>
00022 <span class="comment">Added CONNECT ALLOW and CONNECT DENY config tags</span>
00023 <span class="comment">Added PASS command</span>
00024 <span class="comment"></span>
00025 <span class="comment">Revision 1.6 2003/01/17 10:37:55 brain</span>
00026 <span class="comment">Added /INVITE command and relevent structures</span>
00027 <span class="comment"></span>
00028 <span class="comment">Revision 1.5 2003/01/16 20:11:56 brain</span>
00029 <span class="comment">fixed some ugly pointer bugs (thanks dblack and a|KK|y!)</span>
00030 <span class="comment"></span>
00031 <span class="comment">Revision 1.4 2003/01/15 22:47:44 brain</span>
00032 <span class="comment">Changed user and channel structs to classes (finally)</span>
00033 <span class="comment"></span>
00034 <span class="comment">Revision 1.3 2003/01/14 21:14:30 brain</span>
00035 <span class="comment">added /ISON command (for mIRC etc basic notify)</span>
00036 <span class="comment"></span>
00037 <span class="comment"></span>
00038 <span class="comment">*/</span>
00039
00040 <span class="preprocessor">#include "inspircd_config.h"</span>
00041 <span class="preprocessor">#include "<a class="code" href="channels_8h.html">channels.h</a>"</span>
00042 <span class="preprocessor">#include "<a class="code" href="connection_8h.html">connection.h</a>"</span>
00043
00044 <span class="preprocessor">#include &lt;string&gt;</span>
00045
00046 <span class="preprocessor">#ifndef __USERS_H__ </span>
00047 <span class="preprocessor"></span><span class="preprocessor">#define __USERS_H__ </span>
00048 <span class="preprocessor"></span>
<a name="l00049"></a><a class="code" href="users_8h.html#a0">00049</a> <span class="preprocessor">#define STATUS_OP 4</span>
<a name="l00050"></a><a class="code" href="users_8h.html#a1">00050</a> <span class="preprocessor"></span><span class="preprocessor">#define STATUS_HOP 2</span>
<a name="l00051"></a><a class="code" href="users_8h.html#a2">00051</a> <span class="preprocessor"></span><span class="preprocessor">#define STATUS_VOICE 1</span>
<a name="l00052"></a><a class="code" href="users_8h.html#a3">00052</a> <span class="preprocessor"></span><span class="preprocessor">#define STATUS_NORMAL 0</span>
00053 <span class="preprocessor"></span>
<a name="l00054"></a><a class="code" href="users_8h.html#a4">00054</a> <span class="preprocessor">#define CC_ALLOW 0</span>
<a name="l00055"></a><a class="code" href="users_8h.html#a5">00055</a> <span class="preprocessor"></span><span class="preprocessor">#define CC_DENY 1</span>
00056 <span class="preprocessor"></span>
<a name="l00059"></a><a class="code" href="classInvited.html">00059</a> <span class="keyword">class </span><a class="code" href="classInvited.html">Invited</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a>
00060 {
00061 <span class="keyword">public</span>:
<a name="l00062"></a><a class="code" href="classInvited.html#m0">00062</a> <span class="keywordtype">char</span> <a class="code" href="classInvited.html#m0">channel</a>[CHANMAX];
00063 };
00064
00065
<a name="l00068"></a><a class="code" href="classConnectClass.html">00068</a> <span class="keyword">class </span><a class="code" href="classConnectClass.html">ConnectClass</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a>
00069 {
00070 <span class="keyword">public</span>:
<a name="l00071"></a><a class="code" href="classConnectClass.html#m0">00071</a> <span class="keywordtype">int</span> <a class="code" href="classConnectClass.html#m0">type</a>;
<a name="l00072"></a><a class="code" href="classConnectClass.html#m1">00072</a> <span class="keywordtype">char</span> <a class="code" href="classConnectClass.html#m1">host</a>[MAXBUF];
<a name="l00073"></a><a class="code" href="classConnectClass.html#m2">00073</a> <span class="keywordtype">char</span> <a class="code" href="classConnectClass.html#m2">pass</a>[MAXBUF];
00074 };
00075
<a name="l00078"></a><a class="code" href="users_8h.html#a6">00078</a> <span class="keyword">typedef</span> vector&lt;Invited&gt; <a class="code" href="users_8h.html#a6">InvitedList</a>;
00079
00080
00081
<a name="l00084"></a><a class="code" href="users_8h.html#a7">00084</a> <span class="keyword">typedef</span> vector&lt;ConnectClass&gt; <a class="code" href="users_8h.html#a7">ClassVector</a>;
00085
<a name="l00092"></a><a class="code" href="classuserrec.html">00092</a> <span class="keyword">class </span><a class="code" href="classuserrec.html">userrec</a> : <span class="keyword">public</span> <a class="code" href="classconnection.html">connection</a>
00093 {
00094 <span class="keyword">private</span>:
00095
<a name="l00098"></a><a class="code" href="classuserrec.html#o0">00098</a> <a class="code" href="users_8h.html#a6">InvitedList</a> <a class="code" href="classuserrec.html#o0">invites</a>;
00099 <span class="keyword">public</span>:
00100
<a name="l00105"></a><a class="code" href="classuserrec.html#m0">00105</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#m0">nick</a>[NICKMAX];
00106
<a name="l00109"></a><a class="code" href="classuserrec.html#m1">00109</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#m1">ident</a>[64];
00110
<a name="l00114"></a><a class="code" href="classuserrec.html#m2">00114</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#m2">dhost</a>[256];
00115
<a name="l00118"></a><a class="code" href="classuserrec.html#m3">00118</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#m3">fullname</a>[128];
00119
<a name="l00124"></a><a class="code" href="classuserrec.html#m4">00124</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#m4">modes</a>[32];
00125
<a name="l00126"></a><a class="code" href="classuserrec.html#m5">00126</a> <a class="code" href="classucrec.html">ucrec</a> <a class="code" href="classuserrec.html#m5">chans</a>[MAXCHANS];
00127
<a name="l00130"></a><a class="code" href="classuserrec.html#m6">00130</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#m6">server</a>[256];
00131
<a name="l00135"></a><a class="code" href="classuserrec.html#m7">00135</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#m7">awaymsg</a>[512];
00136
<a name="l00140"></a><a class="code" href="classuserrec.html#m8">00140</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#m8">result</a>[256];
00141
00142 <a class="code" href="classuserrec.html#a0">userrec</a>();
00143
<a name="l00144"></a><a class="code" href="classuserrec.html#a1">00144</a> <span class="keyword">virtual</span> <a class="code" href="classuserrec.html#a1">~userrec</a>() { }
00145
00150 <span class="keyword">virtual</span> <span class="keywordtype">char</span>* <a class="code" href="classuserrec.html#a2">GetFullHost</a>();
00151
00157 <span class="keyword">virtual</span> <span class="keywordtype">char</span>* <a class="code" href="classuserrec.html#a3">GetFullRealHost</a>();
00158
00161 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#a4">IsInvited</a>(<span class="keywordtype">char</span>* channel);
00162
00165 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a5">InviteTo</a>(<span class="keywordtype">char</span>* channel);
00166
00171 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a6">RemoveInvite</a>(<span class="keywordtype">char</span>* channel);
00172
00173 };
00174
00175
00176 <span class="preprocessor">#endif</span>
</pre></div><hr><address style="align: right;"><small>Generated on Mon Jan 27 00:23:11 2003 for InspIRCd by
00004 <span class="comment">*/</span>
00005
00006 <span class="preprocessor">#include "inspircd_config.h"</span>
00007 <span class="preprocessor">#include "<a class="code" href="channels_8h.html">channels.h</a>"</span>
00008 <span class="preprocessor">#include "<a class="code" href="connection_8h.html">connection.h</a>"</span>
00009
00010 <span class="preprocessor">#include &lt;string&gt;</span>
00011
00012 <span class="preprocessor">#ifndef __USERS_H__ </span>
00013 <span class="preprocessor"></span><span class="preprocessor">#define __USERS_H__ </span>
00014 <span class="preprocessor"></span>
<a name="l00015"></a><a class="code" href="users_8h.html#a0">00015</a> <span class="preprocessor">#define STATUS_OP 4</span>
<a name="l00016"></a><a class="code" href="users_8h.html#a1">00016</a> <span class="preprocessor"></span><span class="preprocessor">#define STATUS_HOP 2</span>
<a name="l00017"></a><a class="code" href="users_8h.html#a2">00017</a> <span class="preprocessor"></span><span class="preprocessor">#define STATUS_VOICE 1</span>
<a name="l00018"></a><a class="code" href="users_8h.html#a3">00018</a> <span class="preprocessor"></span><span class="preprocessor">#define STATUS_NORMAL 0</span>
00019 <span class="preprocessor"></span>
<a name="l00020"></a><a class="code" href="users_8h.html#a4">00020</a> <span class="preprocessor">#define CC_ALLOW 0</span>
<a name="l00021"></a><a class="code" href="users_8h.html#a5">00021</a> <span class="preprocessor"></span><span class="preprocessor">#define CC_DENY 1</span>
00022 <span class="preprocessor"></span>
<a name="l00025"></a><a class="code" href="classInvited.html">00025</a> <span class="keyword">class </span><a class="code" href="classInvited.html">Invited</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a>
00026 {
00027 <span class="keyword">public</span>:
<a name="l00028"></a><a class="code" href="classInvited.html#m0">00028</a> <span class="keywordtype">char</span> <a class="code" href="classInvited.html#m0">channel</a>[CHANMAX];
00029 };
00030
00031
<a name="l00034"></a><a class="code" href="classConnectClass.html">00034</a> <span class="keyword">class </span><a class="code" href="classConnectClass.html">ConnectClass</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a>
00035 {
00036 <span class="keyword">public</span>:
<a name="l00037"></a><a class="code" href="classConnectClass.html#m0">00037</a> <span class="keywordtype">int</span> <a class="code" href="classConnectClass.html#m0">type</a>;
<a name="l00038"></a><a class="code" href="classConnectClass.html#m1">00038</a> <span class="keywordtype">char</span> <a class="code" href="classConnectClass.html#m1">host</a>[MAXBUF];
<a name="l00039"></a><a class="code" href="classConnectClass.html#m2">00039</a> <span class="keywordtype">char</span> <a class="code" href="classConnectClass.html#m2">pass</a>[MAXBUF];
00040 };
00041
<a name="l00044"></a><a class="code" href="users_8h.html#a6">00044</a> <span class="keyword">typedef</span> vector&lt;Invited&gt; <a class="code" href="users_8h.html#a6">InvitedList</a>;
00045
00046
00047
<a name="l00050"></a><a class="code" href="users_8h.html#a7">00050</a> <span class="keyword">typedef</span> vector&lt;ConnectClass&gt; <a class="code" href="users_8h.html#a7">ClassVector</a>;
00051
<a name="l00058"></a><a class="code" href="classuserrec.html">00058</a> <span class="keyword">class </span><a class="code" href="classuserrec.html">userrec</a> : <span class="keyword">public</span> <a class="code" href="classconnection.html">connection</a>
00059 {
00060 <span class="keyword">private</span>:
00061
<a name="l00064"></a><a class="code" href="classuserrec.html#o0">00064</a> <a class="code" href="users_8h.html#a6">InvitedList</a> <a class="code" href="classuserrec.html#o0">invites</a>;
00065 <span class="keyword">public</span>:
00066
<a name="l00071"></a><a class="code" href="classuserrec.html#m0">00071</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#m0">nick</a>[NICKMAX];
00072
<a name="l00075"></a><a class="code" href="classuserrec.html#m1">00075</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#m1">ident</a>[64];
00076
<a name="l00080"></a><a class="code" href="classuserrec.html#m2">00080</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#m2">dhost</a>[256];
00081
<a name="l00084"></a><a class="code" href="classuserrec.html#m3">00084</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#m3">fullname</a>[128];
00085
<a name="l00090"></a><a class="code" href="classuserrec.html#m4">00090</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#m4">modes</a>[32];
00091
<a name="l00092"></a><a class="code" href="classuserrec.html#m5">00092</a> <a class="code" href="classucrec.html">ucrec</a> <a class="code" href="classuserrec.html#m5">chans</a>[MAXCHANS];
00093
<a name="l00096"></a><a class="code" href="classuserrec.html#m6">00096</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#m6">server</a>[256];
00097
<a name="l00101"></a><a class="code" href="classuserrec.html#m7">00101</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#m7">awaymsg</a>[512];
00102
<a name="l00106"></a><a class="code" href="classuserrec.html#m8">00106</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#m8">result</a>[256];
00107
00108 <a class="code" href="classuserrec.html#a0">userrec</a>();
00109
<a name="l00110"></a><a class="code" href="classuserrec.html#a1">00110</a> <span class="keyword">virtual</span> <a class="code" href="classuserrec.html#a1">~userrec</a>() { }
00111
00116 <span class="keyword">virtual</span> <span class="keywordtype">char</span>* <a class="code" href="classuserrec.html#a2">GetFullHost</a>();
00117
00123 <span class="keyword">virtual</span> <span class="keywordtype">char</span>* <a class="code" href="classuserrec.html#a3">GetFullRealHost</a>();
00124
00127 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#a4">IsInvited</a>(<span class="keywordtype">char</span>* channel);
00128
00131 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a5">InviteTo</a>(<span class="keywordtype">char</span>* channel);
00132
00137 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a6">RemoveInvite</a>(<span class="keywordtype">char</span>* channel);
00138
00139 };
00140
00141
00142 <span class="preprocessor">#endif</span>
</pre></div><hr><address style="align: right;"><small>Generated on Sun Feb 9 12:48:16 2003 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc2 </small></address>

View File

@ -56,7 +56,7 @@
<p>
<p>
Definition at line <a class="el" href="users_8h-source.html#l00054">54</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
Definition at line <a class="el" href="users_8h-source.html#l00020">20</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
</tr>
</table>
<a name="a5" doxytag="users.h::CC_DENY"></a><p>
@ -80,7 +80,7 @@ Definition at line <a class="el" href="users_8h-source.html#l00054">54</a> of fi
<p>
<p>
Definition at line <a class="el" href="users_8h-source.html#l00055">55</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
Definition at line <a class="el" href="users_8h-source.html#l00021">21</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
</tr>
</table>
<a name="a1" doxytag="users.h::STATUS_HOP"></a><p>
@ -104,7 +104,7 @@ Definition at line <a class="el" href="users_8h-source.html#l00055">55</a> of fi
<p>
<p>
Definition at line <a class="el" href="users_8h-source.html#l00050">50</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
Definition at line <a class="el" href="users_8h-source.html#l00016">16</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
</tr>
</table>
<a name="a3" doxytag="users.h::STATUS_NORMAL"></a><p>
@ -128,7 +128,7 @@ Definition at line <a class="el" href="users_8h-source.html#l00050">50</a> of fi
<p>
<p>
Definition at line <a class="el" href="users_8h-source.html#l00052">52</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
Definition at line <a class="el" href="users_8h-source.html#l00018">18</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
</tr>
</table>
<a name="a0" doxytag="users.h::STATUS_OP"></a><p>
@ -152,7 +152,7 @@ Definition at line <a class="el" href="users_8h-source.html#l00052">52</a> of fi
<p>
<p>
Definition at line <a class="el" href="users_8h-source.html#l00049">49</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
Definition at line <a class="el" href="users_8h-source.html#l00015">15</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
</tr>
</table>
<a name="a2" doxytag="users.h::STATUS_VOICE"></a><p>
@ -176,7 +176,7 @@ Definition at line <a class="el" href="users_8h-source.html#l00049">49</a> of fi
<p>
<p>
Definition at line <a class="el" href="users_8h-source.html#l00051">51</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
Definition at line <a class="el" href="users_8h-source.html#l00017">17</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
</tr>
</table>
<hr><h2>Typedef Documentation</h2>
@ -203,7 +203,7 @@ Holds a complete list of all allow and deny tags from the configuration file (co
<p>
<p>
Definition at line <a class="el" href="users_8h-source.html#l00084">84</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
Definition at line <a class="el" href="users_8h-source.html#l00050">50</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
</tr>
</table>
<a name="a6" doxytag="users.h::InvitedList"></a><p>
@ -229,10 +229,10 @@ Holds a complete list of all channels to which a user has been invited and has n
<p>
<p>
Definition at line <a class="el" href="users_8h-source.html#l00078">78</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
Definition at line <a class="el" href="users_8h-source.html#l00044">44</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
</tr>
</table>
<hr><address style="align: right;"><small>Generated on Mon Jan 27 00:23:11 2003 for InspIRCd by
<hr><address style="align: right;"><small>Generated on Sun Feb 9 12:48:16 2003 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc2 </small></address>

View File

@ -8,12 +8,20 @@
#ifndef __BASE_H__
#define __BASE_H__
/** The base class for all inspircd classes
*/
class classbase
{
public:
/** Time that the object was instantiated (used for TS calculation etc)
*/
time_t age;
/** Constructor,
* Sets the object's time
*/
classbase() { age = time(NULL); }
~classbase() { }
};

View File

@ -22,17 +22,29 @@
typedef void (handlerfunc) (char**, int, userrec*);
/* a structure that defines a command */
/** A structure that defines a command
*/
class command_t : public classbase
{
public:
char command[MAXBUF]; /* command name */
handlerfunc *handler_function; /* handler function as in typedef */
char flags_needed; /* user flags needed to execute the command or 0 */
int min_params; /* minimum number of parameters command takes */
long use_count; /* used by /stats m */
long total_bytes; /* used by /stats m */
/** Command name
*/
char command[MAXBUF];
/** Handler function as in typedef
*/
handlerfunc *handler_function;
/** User flags needed to execute the command or 0
*/
char flags_needed;
/** Minimum number of parameters command takes
*/
int min_params;
/** used by /stats m
*/
long use_count;
/** used by /stats m
*/
long total_bytes;
};
#endif

View File

@ -14,21 +14,45 @@
#define LINK_ACTIVE 1
#define LINK_INACTIVE 0
/** A class that defines the local server or a remote server
*/
class serverrec : public connection
{
private:
public:
char name[MAXBUF]; // server name
long pingtime; // last ping response (ms)
long usercount_i; // invisible users on server
long usercount; // non-invisible users on server
long opercount; // opers on server
int hops_away; // number of hops away (for quick access)
long version; // ircd version
bool jupiter; // is a JUPE server (faked to enforce a server ban)
/** server name
*/
char name[MAXBUF];
/** last ping response (ms)
*/
long pingtime;
/** invisible users on server
*/
long usercount_i;
/** non-invisible users on server
*/
long usercount;
/** opers on server
*/
long opercount;
/** number of hops away (for quick access)
*/
int hops_away;
/** ircd version
*/
long version;
/** is a JUPE server (faked to enforce a server ban)
*/
bool jupiter;
/** Constructor
*/
serverrec();
/** Constructor which initialises some of the main variables
*/
serverrec(char* n, long ver, bool jupe);
/** Destructor
*/
~serverrec();
};