diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2003-01-23 20:38:00 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2003-01-23 20:38:00 +0000 |
commit | cc61d20faae9a29422d34a367db9ac54d8de3d0e (patch) | |
tree | 681496826918a1f42518133a9000e4992e3e3e98 /docs/module-doc/channels_8h-source.html | |
parent | 984035c87f0bb7baf327c2a5ecd6c8d5fe07ce07 (diff) |
Updated documentation scripts
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@143 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'docs/module-doc/channels_8h-source.html')
-rw-r--r-- | docs/module-doc/channels_8h-source.html | 244 |
1 files changed, 122 insertions, 122 deletions
diff --git a/docs/module-doc/channels_8h-source.html b/docs/module-doc/channels_8h-source.html index ba7592c81..e7ec3e226 100644 --- a/docs/module-doc/channels_8h-source.html +++ b/docs/module-doc/channels_8h-source.html @@ -9,136 +9,136 @@ <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.1 2003/01/23 19:45:57 brain -00003 <span class="comment">Initial revision -00003 <span class="comment"> -00003 <span class="comment">Revision 1.6 2003/01/22 20:59:12 brain -00003 <span class="comment">Added FileReader class documentation +00003 <span class="comment">Revision 1.2 2003/01/23 20:38:00 brain +00003 <span class="comment">Updated documentation scripts 00003 <span class="comment"></span> -00004 <span class="comment">Revision 1.7 2003/01/22 00:44:26 brain</span> -00005 <span class="comment">Added documentation comments</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.6 2003/01/21 21:11:17 brain</span> -00008 <span class="comment">Added documentation</span> +00007 <span class="comment">Revision 1.7 2003/01/22 00:44:26 brain</span> +00008 <span class="comment">Added documentation comments</span> 00009 <span class="comment"></span> -00010 <span class="comment">Revision 1.5 2003/01/16 20:11:55 brain</span> -00011 <span class="comment">fixed some ugly pointer bugs (thanks dblack and a|KK|y!)</span> +00010 <span class="comment">Revision 1.6 2003/01/21 21:11:17 brain</span> +00011 <span class="comment">Added documentation</span> 00012 <span class="comment"></span> -00013 <span class="comment">Revision 1.4 2003/01/15 22:47:44 brain</span> -00014 <span class="comment">Changed user and channel structs to classes (finally)</span> +00013 <span class="comment">Revision 1.5 2003/01/16 20:11:55 brain</span> +00014 <span class="comment">fixed some ugly pointer bugs (thanks dblack and a|KK|y!)</span> 00015 <span class="comment"></span> -00016 <span class="comment"> </span> -00017 <span class="comment">*/</span> -00018 -00019 <span class="preprocessor">#include "inspircd_config.h"</span> -00020 <span class="preprocessor">#include <time.h></span> -00021 <span class="preprocessor">#include <vector></span> -00022 -00023 <span class="preprocessor">#ifndef __CHANNELS_H__</span> -00024 <span class="preprocessor"></span><span class="preprocessor">#define __CHANNELS_H__</span> -00025 <span class="preprocessor"></span> -<a name="l00029"></a><a class="code" href="classHostItem.html">00029</a> <span class="keyword">class </span><a class="code" href="classHostItem.html">HostItem</a> -00030 { -00031 <span class="keyword">public</span>: -<a name="l00032"></a><a class="code" href="classHostItem.html#m0">00032</a> time_t <a class="code" href="classHostItem.html#m0">set_time</a>; -<a name="l00033"></a><a class="code" href="classHostItem.html#m1">00033</a> <span class="keywordtype">char</span> <a class="code" href="classHostItem.html#m1">set_by</a>[NICKMAX]; -<a name="l00034"></a><a class="code" href="classHostItem.html#m2">00034</a> <span class="keywordtype">char</span> <a class="code" href="classHostItem.html#m2">data</a>[MAXBUF]; -00035 -<a name="l00036"></a><a class="code" href="classHostItem.html#a0">00036</a> <a class="code" href="classHostItem.html#a0">HostItem</a>() { <span class="comment">/* stub */</span> } -<a name="l00037"></a><a class="code" href="classHostItem.html#a1">00037</a> <span class="keyword">virtual</span> <a class="code" href="classHostItem.html#a1">~HostItem</a>() { <span class="comment">/* stub */</span> } -00038 }; -00039 -00040 <span class="comment">// banlist is inherited from HostList mainly for readability</span> -00041 <span class="comment">// reasons only</span> +00016 <span class="comment">Revision 1.4 2003/01/15 22:47:44 brain</span> +00017 <span class="comment">Changed user and channel structs to classes (finally)</span> +00018 <span class="comment"></span> +00019 <span class="comment"> </span> +00020 <span class="comment">*/</span> +00021 +00022 <span class="preprocessor">#include "inspircd_config.h"</span> +00023 <span class="preprocessor">#include <time.h></span> +00024 <span class="preprocessor">#include <vector></span> +00025 +00026 <span class="preprocessor">#ifndef __CHANNELS_H__</span> +00027 <span class="preprocessor"></span><span class="preprocessor">#define __CHANNELS_H__</span> +00028 <span class="preprocessor"></span> +<a name="l00032"></a><a class="code" href="classHostItem.html">00032</a> <span class="keyword">class </span><a class="code" href="classHostItem.html">HostItem</a> +00033 { +00034 <span class="keyword">public</span>: +<a name="l00035"></a><a class="code" href="classHostItem.html#m0">00035</a> time_t <a class="code" href="classHostItem.html#m0">set_time</a>; +<a name="l00036"></a><a class="code" href="classHostItem.html#m1">00036</a> <span class="keywordtype">char</span> <a class="code" href="classHostItem.html#m1">set_by</a>[NICKMAX]; +<a name="l00037"></a><a class="code" href="classHostItem.html#m2">00037</a> <span class="keywordtype">char</span> <a class="code" href="classHostItem.html#m2">data</a>[MAXBUF]; +00038 +<a name="l00039"></a><a class="code" href="classHostItem.html#a0">00039</a> <a class="code" href="classHostItem.html#a0">HostItem</a>() { <span class="comment">/* stub */</span> } +<a name="l00040"></a><a class="code" href="classHostItem.html#a1">00040</a> <span class="keyword">virtual</span> <a class="code" href="classHostItem.html#a1">~HostItem</a>() { <span class="comment">/* stub */</span> } +00041 }; 00042 -<a name="l00045"></a><a class="code" href="classBanItem.html">00045</a> <span class="keyword">class </span><a class="code" href="classBanItem.html">BanItem</a> : <span class="keyword">public</span> <a class="code" href="classHostItem.html">HostItem</a> -00046 { -00047 }; -00048 -00049 <span class="comment">// same with this...</span> -00050 -<a name="l00053"></a><a class="code" href="classExemptItem.html">00053</a> <span class="keyword">class </span><a class="code" href="classExemptItem.html">ExemptItem</a> : <span class="keyword">public</span> <a class="code" href="classHostItem.html">HostItem</a> -00054 { -00055 }; -00056 -00057 <span class="comment">// and this...</span> -00058 -<a name="l00061"></a><a class="code" href="classInviteItem.html">00061</a> <span class="keyword">class </span><a class="code" href="classInviteItem.html">InviteItem</a> : <span class="keyword">public</span> <a class="code" href="classHostItem.html">HostItem</a> -00062 { -00063 }; -00064 -00065 -<a name="l00068"></a><a class="code" href="channels_8h.html#a5">00068</a> <span class="keyword">typedef</span> vector<BanItem> <a class="code" href="channels_8h.html#a5">BanList</a>; -00069 -<a name="l00072"></a><a class="code" href="channels_8h.html#a6">00072</a> <span class="keyword">typedef</span> vector<ExemptItem> <a class="code" href="channels_8h.html#a6">ExemptList</a>; -00073 -<a name="l00076"></a><a class="code" href="channels_8h.html#a7">00076</a> <span class="keyword">typedef</span> vector<InviteItem> <a class="code" href="channels_8h.html#a7">InviteList</a>; -00077 -<a name="l00082"></a><a class="code" href="classchanrec.html">00082</a> <span class="keyword">class </span><a class="code" href="classchanrec.html">chanrec</a> -00083 { -00084 <span class="keyword">public</span>: -<a name="l00087"></a><a class="code" href="classchanrec.html#m0">00087</a> <span class="keywordtype">char</span> <a class="code" href="classchanrec.html#m0">name</a>[CHANMAX]; <span class="comment">/* channel name */</span> -<a name="l00091"></a><a class="code" href="classchanrec.html#m1">00091</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="l00095"></a><a class="code" href="classchanrec.html#m2">00095</a> <span class="keywordtype">char</span> <a class="code" href="classchanrec.html#m2">topic</a>[MAXBUF]; -<a name="l00098"></a><a class="code" href="classchanrec.html#m3">00098</a> time_t <a class="code" href="classchanrec.html#m3">created</a>; -<a name="l00102"></a><a class="code" href="classchanrec.html#m4">00102</a> time_t <a class="code" href="classchanrec.html#m4">topicset</a>; -<a name="l00106"></a><a class="code" href="classchanrec.html#m5">00106</a> <span class="keywordtype">char</span> <a class="code" href="classchanrec.html#m5">setby</a>[NICKMAX]; -00107 -<a name="l00111"></a><a class="code" href="classchanrec.html#m6">00111</a> <span class="keywordtype">long</span> <a class="code" href="classchanrec.html#m6">limit</a>; -00112 -<a name="l00116"></a><a class="code" href="classchanrec.html#m7">00116</a> <span class="keywordtype">char</span> <a class="code" href="classchanrec.html#m7">key</a>[32]; -00117 -<a name="l00120"></a><a class="code" href="classchanrec.html#m8">00120</a> <span class="keywordtype">short</span> <span class="keywordtype">int</span> <a class="code" href="classchanrec.html#m8">topiclock</a>; -00121 -<a name="l00124"></a><a class="code" href="classchanrec.html#m9">00124</a> <span class="keywordtype">short</span> <span class="keywordtype">int</span> <a class="code" href="classchanrec.html#m9">noexternal</a>; -00125 -<a name="l00128"></a><a class="code" href="classchanrec.html#m10">00128</a> <span class="keywordtype">short</span> <span class="keywordtype">int</span> <a class="code" href="classchanrec.html#m10">inviteonly</a>; -00129 -<a name="l00132"></a><a class="code" href="classchanrec.html#m11">00132</a> <span class="keywordtype">short</span> <span class="keywordtype">int</span> <a class="code" href="classchanrec.html#m11">moderated</a>; -00133 -<a name="l00137"></a><a class="code" href="classchanrec.html#m12">00137</a> <span class="keywordtype">short</span> <span class="keywordtype">int</span> <a class="code" href="classchanrec.html#m12">secret</a>; -00138 -<a name="l00142"></a><a class="code" href="classchanrec.html#m13">00142</a> <span class="keywordtype">short</span> <span class="keywordtype">int</span> <a class="code" href="classchanrec.html#m13">c_private</a>; -00143 -<a name="l00146"></a><a class="code" href="classchanrec.html#m14">00146</a> <a class="code" href="channels_8h.html#a5">BanList</a> <a class="code" href="classchanrec.html#m14">bans</a>; -00147 -<a name="l00150"></a><a class="code" href="classchanrec.html#a0">00150</a> <a class="code" href="classchanrec.html#a0">chanrec</a>() -00151 { -00152 strcpy(name,<span class="stringliteral">""</span>); -00153 strcpy(custom_modes,<span class="stringliteral">""</span>); -00154 strcpy(topic,<span class="stringliteral">""</span>); -00155 strcpy(setby,<span class="stringliteral">""</span>); -00156 strcpy(key,<span class="stringliteral">""</span>); -00157 created = topicset = limit = 0; -00158 topiclock = noexternal = inviteonly = moderated = secret = c_private = <span class="keyword">false</span>; -00159 } -00160 -<a name="l00161"></a><a class="code" href="classchanrec.html#a1">00161</a> <span class="keyword">virtual</span> <a class="code" href="classchanrec.html#a1">~chanrec</a>() { <span class="comment">/* stub */</span> } -00162 }; +00043 <span class="comment">// banlist is inherited from HostList mainly for readability</span> +00044 <span class="comment">// reasons only</span> +00045 +<a name="l00048"></a><a class="code" href="classBanItem.html">00048</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> +00049 { +00050 }; +00051 +00052 <span class="comment">// same with this...</span> +00053 +<a name="l00056"></a><a class="code" href="classExemptItem.html">00056</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> +00057 { +00058 }; +00059 +00060 <span class="comment">// and this...</span> +00061 +<a name="l00064"></a><a class="code" href="classInviteItem.html">00064</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> +00065 { +00066 }; +00067 +00068 +<a name="l00071"></a><a class="code" href="channels_8h.html#a5">00071</a> <span class="keyword">typedef</span> vector<BanItem> <a class="code" href="channels_8h.html#a5">BanList</a>; +00072 +<a name="l00075"></a><a class="code" href="channels_8h.html#a6">00075</a> <span class="keyword">typedef</span> vector<ExemptItem> <a class="code" href="channels_8h.html#a6">ExemptList</a>; +00076 +<a name="l00079"></a><a class="code" href="channels_8h.html#a7">00079</a> <span class="keyword">typedef</span> vector<InviteItem> <a class="code" href="channels_8h.html#a7">InviteList</a>; +00080 +<a name="l00085"></a><a class="code" href="classchanrec.html">00085</a> <span class="keyword">class </span><a class="code" href="classchanrec.html">chanrec</a> +00086 { +00087 <span class="keyword">public</span>: +<a name="l00090"></a><a class="code" href="classchanrec.html#m0">00090</a> <span class="keywordtype">char</span> <a class="code" href="classchanrec.html#m0">name</a>[CHANMAX]; <span class="comment">/* channel name */</span> +<a name="l00094"></a><a class="code" href="classchanrec.html#m1">00094</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="l00098"></a><a class="code" href="classchanrec.html#m2">00098</a> <span class="keywordtype">char</span> <a class="code" href="classchanrec.html#m2">topic</a>[MAXBUF]; +<a name="l00101"></a><a class="code" href="classchanrec.html#m3">00101</a> time_t <a class="code" href="classchanrec.html#m3">created</a>; +<a name="l00105"></a><a class="code" href="classchanrec.html#m4">00105</a> time_t <a class="code" href="classchanrec.html#m4">topicset</a>; +<a name="l00109"></a><a class="code" href="classchanrec.html#m5">00109</a> <span class="keywordtype">char</span> <a class="code" href="classchanrec.html#m5">setby</a>[NICKMAX]; +00110 +<a name="l00114"></a><a class="code" href="classchanrec.html#m6">00114</a> <span class="keywordtype">long</span> <a class="code" href="classchanrec.html#m6">limit</a>; +00115 +<a name="l00119"></a><a class="code" href="classchanrec.html#m7">00119</a> <span class="keywordtype">char</span> <a class="code" href="classchanrec.html#m7">key</a>[32]; +00120 +<a name="l00123"></a><a class="code" href="classchanrec.html#m8">00123</a> <span class="keywordtype">short</span> <span class="keywordtype">int</span> <a class="code" href="classchanrec.html#m8">topiclock</a>; +00124 +<a name="l00127"></a><a class="code" href="classchanrec.html#m9">00127</a> <span class="keywordtype">short</span> <span class="keywordtype">int</span> <a class="code" href="classchanrec.html#m9">noexternal</a>; +00128 +<a name="l00131"></a><a class="code" href="classchanrec.html#m10">00131</a> <span class="keywordtype">short</span> <span class="keywordtype">int</span> <a class="code" href="classchanrec.html#m10">inviteonly</a>; +00132 +<a name="l00135"></a><a class="code" href="classchanrec.html#m11">00135</a> <span class="keywordtype">short</span> <span class="keywordtype">int</span> <a class="code" href="classchanrec.html#m11">moderated</a>; +00136 +<a name="l00140"></a><a class="code" href="classchanrec.html#m12">00140</a> <span class="keywordtype">short</span> <span class="keywordtype">int</span> <a class="code" href="classchanrec.html#m12">secret</a>; +00141 +<a name="l00145"></a><a class="code" href="classchanrec.html#m13">00145</a> <span class="keywordtype">short</span> <span class="keywordtype">int</span> <a class="code" href="classchanrec.html#m13">c_private</a>; +00146 +<a name="l00149"></a><a class="code" href="classchanrec.html#m14">00149</a> <a class="code" href="channels_8h.html#a5">BanList</a> <a class="code" href="classchanrec.html#m14">bans</a>; +00150 +<a name="l00153"></a><a class="code" href="classchanrec.html#a0">00153</a> <a class="code" href="classchanrec.html#a0">chanrec</a>() +00154 { +00155 strcpy(name,<span class="stringliteral">""</span>); +00156 strcpy(custom_modes,<span class="stringliteral">""</span>); +00157 strcpy(topic,<span class="stringliteral">""</span>); +00158 strcpy(setby,<span class="stringliteral">""</span>); +00159 strcpy(key,<span class="stringliteral">""</span>); +00160 created = topicset = limit = 0; +00161 topiclock = noexternal = inviteonly = moderated = secret = c_private = <span class="keyword">false</span>; +00162 } 00163 -00164 <span class="comment">/* used to hold a channel and a users modes on that channel, e.g. +v, +h, +o</span> -00165 <span class="comment"> * needs to come AFTER struct chanrec */</span> +<a name="l00164"></a><a class="code" href="classchanrec.html#a1">00164</a> <span class="keyword">virtual</span> <a class="code" href="classchanrec.html#a1">~chanrec</a>() { <span class="comment">/* stub */</span> } +00165 }; 00166 -<a name="l00167"></a><a class="code" href="channels_8h.html#a0">00167</a> <span class="preprocessor">#define UCMODE_OP 1</span> -<a name="l00168"></a><a class="code" href="channels_8h.html#a1">00168</a> <span class="preprocessor"></span><span class="preprocessor">#define UCMODE_VOICE 2</span> -<a name="l00169"></a><a class="code" href="channels_8h.html#a2">00169</a> <span class="preprocessor"></span><span class="preprocessor">#define UCMODE_HOP 4</span> -<a name="l00170"></a><a class="code" href="channels_8h.html#a3">00170</a> <span class="preprocessor"></span><span class="preprocessor">#define UCMODE_PROTECT 8</span> -<a name="l00171"></a><a class="code" href="channels_8h.html#a4">00171</a> <span class="preprocessor"></span><span class="preprocessor">#define UCMODE_FOUNDER 16</span> -00172 <span class="preprocessor"></span> -<a name="l00178"></a><a class="code" href="classucrec.html">00178</a> <span class="keyword">class </span><a class="code" href="classucrec.html">ucrec</a> -00179 { -00180 <span class="keyword">public</span>: -<a name="l00184"></a><a class="code" href="classucrec.html#m0">00184</a> <span class="keywordtype">long</span> <a class="code" href="classucrec.html#m0">uc_modes</a>; -00185 -<a name="l00189"></a><a class="code" href="classucrec.html#m1">00189</a> <a class="code" href="classchanrec.html">chanrec</a> *<a class="code" href="classucrec.html#m1">channel</a>; -00190 -<a name="l00191"></a><a class="code" href="classucrec.html#a0">00191</a> <a class="code" href="classucrec.html#a0">ucrec</a>() { <span class="comment">/* stub */</span> } -<a name="l00192"></a><a class="code" href="classucrec.html#a1">00192</a> <span class="keyword">virtual</span> <a class="code" href="classucrec.html#a1">~ucrec</a>() { <span class="comment">/* stub */</span> } -00193 }; -00194 -00195 <span class="preprocessor">#endif</span> -00196 <span class="preprocessor"></span> -</pre></div><hr><address style="align: right;"><small>Generated on Wed Jan 22 20:56:46 2003 for InspIRCd by +00167 <span class="comment">/* used to hold a channel and a users modes on that channel, e.g. +v, +h, +o</span> +00168 <span class="comment"> * needs to come AFTER struct chanrec */</span> +00169 +<a name="l00170"></a><a class="code" href="channels_8h.html#a0">00170</a> <span class="preprocessor">#define UCMODE_OP 1</span> +<a name="l00171"></a><a class="code" href="channels_8h.html#a1">00171</a> <span class="preprocessor"></span><span class="preprocessor">#define UCMODE_VOICE 2</span> +<a name="l00172"></a><a class="code" href="channels_8h.html#a2">00172</a> <span class="preprocessor"></span><span class="preprocessor">#define UCMODE_HOP 4</span> +<a name="l00173"></a><a class="code" href="channels_8h.html#a3">00173</a> <span class="preprocessor"></span><span class="preprocessor">#define UCMODE_PROTECT 8</span> +<a name="l00174"></a><a class="code" href="channels_8h.html#a4">00174</a> <span class="preprocessor"></span><span class="preprocessor">#define UCMODE_FOUNDER 16</span> +00175 <span class="preprocessor"></span> +<a name="l00181"></a><a class="code" href="classucrec.html">00181</a> <span class="keyword">class </span><a class="code" href="classucrec.html">ucrec</a> +00182 { +00183 <span class="keyword">public</span>: +<a name="l00187"></a><a class="code" href="classucrec.html#m0">00187</a> <span class="keywordtype">long</span> <a class="code" href="classucrec.html#m0">uc_modes</a>; +00188 +<a name="l00192"></a><a class="code" href="classucrec.html#m1">00192</a> <a class="code" href="classchanrec.html">chanrec</a> *<a class="code" href="classucrec.html#m1">channel</a>; +00193 +<a name="l00194"></a><a class="code" href="classucrec.html#a0">00194</a> <a class="code" href="classucrec.html#a0">ucrec</a>() { <span class="comment">/* stub */</span> } +<a name="l00195"></a><a class="code" href="classucrec.html#a1">00195</a> <span class="keyword">virtual</span> <a class="code" href="classucrec.html#a1">~ucrec</a>() { <span class="comment">/* stub */</span> } +00196 }; +00197 +00198 <span class="preprocessor">#endif</span> +00199 <span class="preprocessor"></span> +</pre></div><hr><address style="align: right;"><small>Generated on Thu Jan 23 20:28:57 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> |