diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2003-01-27 00:22:39 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2003-01-27 00:22:39 +0000 |
commit | d9b89849e032c9b114136274bdcb8be698e9a71c (patch) | |
tree | 0fcfcfac5166bb3ce8f08e4f40f8ad42e8019136 /docs/module-doc/ctables_8h-source.html | |
parent | e3da49f5884e7d9c6919b73c6207bff3e6da965b (diff) |
Modified documentation
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@155 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'docs/module-doc/ctables_8h-source.html')
-rw-r--r-- | docs/module-doc/ctables_8h-source.html | 88 |
1 files changed, 46 insertions, 42 deletions
diff --git a/docs/module-doc/ctables_8h-source.html b/docs/module-doc/ctables_8h-source.html index 78126d420..9dcd266ed 100644 --- a/docs/module-doc/ctables_8h-source.html +++ b/docs/module-doc/ctables_8h-source.html @@ -22,50 +22,54 @@ 00014 <span class="comment"> * ---------------------------------------------------</span> 00015 <span class="comment"> </span> 00016 <span class="comment"> $Log$ -00016 <span class="comment"> Revision 1.1 2003/01/26 23:52:48 brain -00016 <span class="comment"> Modified documentation for base classes +00016 <span class="comment"> Revision 1.2 2003/01/27 00:22:39 brain +00016 <span class="comment"> Modified documentation 00016 <span class="comment"></span> -00017 <span class="comment"> Revision 1.1.1.1 2003/01/23 19:45:58 brain</span> -00018 <span class="comment"> InspIRCd second source tree</span> -00019 <span class="comment"></span> -00020 <span class="comment"> Revision 1.3 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"> Revision 1.2 2003/01/09 21:09:50 brain</span> -00024 <span class="comment"> added '/stats M' command</span> -00025 <span class="comment"></span> -00026 <span class="comment"> Revision 1.1 2003/01/07 01:02:14 brain</span> -00027 <span class="comment"></span> -00028 <span class="comment"> definitions for command table types</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"></span> -00031 <span class="comment"> * ---------------------------------------------------</span> -00032 <span class="comment"> */</span> -00033 <span class="preprocessor">#include "inspircd_config.h"</span> -00034 <span class="preprocessor">#include "inspircd.h"</span> -00035 <span class="preprocessor">#include "<a class="code" href="base_8h.html">base.h</a>"</span> -00036 -00037 <span class="preprocessor">#ifndef __CTABLES_H__</span> -00038 <span class="preprocessor"></span><span class="preprocessor">#define __CTABLES_H__</span> -00039 <span class="preprocessor"></span> -<a name="l00040"></a><a class="code" href="ctables_8h.html#a0">00040</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>*); -00041 -00042 <span class="comment">/* a structure that defines a command */</span> -00043 -<a name="l00044"></a><a class="code" href="classcommand__t.html">00044</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> -00045 { -00046 <span class="keyword">public</span>: -<a name="l00047"></a><a class="code" href="classcommand__t.html#m0">00047</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="l00048"></a><a class="code" href="classcommand__t.html#m1">00048</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="l00049"></a><a class="code" href="classcommand__t.html#m2">00049</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="l00050"></a><a class="code" href="classcommand__t.html#m3">00050</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="l00051"></a><a class="code" href="classcommand__t.html#m4">00051</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="l00052"></a><a class="code" href="classcommand__t.html#m5">00052</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> -00053 }; -00054 -00055 <span class="preprocessor">#endif</span> -00056 <span class="preprocessor"></span> -</pre></div><hr><address style="align: right;"><small>Generated on Sun Jan 26 23:45:47 2003 for InspIRCd by +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:16:40 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> |