diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-03-25 03:51:56 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-03-25 03:51:56 +0000 |
commit | 52899de0ff2d62ca0542b243c41626010bf62083 (patch) | |
tree | b9c92bbdb7d65a7467cbd6ebcbc31dc2f96e09e3 /docs/module-doc/users_8h-source.html | |
parent | 0340f1a432d684347d8dbc3aa85c8436c56d4039 (diff) |
Documentation update
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@899 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'docs/module-doc/users_8h-source.html')
-rw-r--r-- | docs/module-doc/users_8h-source.html | 224 |
1 files changed, 117 insertions, 107 deletions
diff --git a/docs/module-doc/users_8h-source.html b/docs/module-doc/users_8h-source.html index 3ddc7cbc5..ff6eefab1 100644 --- a/docs/module-doc/users_8h-source.html +++ b/docs/module-doc/users_8h-source.html @@ -1,118 +1,128 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> -<title>users.h Source File</title> +<title>InspIRCd: users.h Source File</title> <link href="inspircd.css" rel="stylesheet" type="text/css"> </head><body> -<!-- Generated by Doxygen 1.3-rc3 --> -<center> -<a class="qindex" href="main.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </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"></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="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 <string></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="l00039"></a><a class="code" href="classConnectClass.html#m0">00039</a> <span class="keywordtype">int</span> <a class="code" href="classConnectClass.html#m0">type</a>; -<a name="l00042"></a><a class="code" href="classConnectClass.html#m1">00042</a> <span class="keywordtype">int</span> <a class="code" href="classConnectClass.html#m1">registration_timeout</a>; -<a name="l00045"></a><a class="code" href="classConnectClass.html#m2">00045</a> <span class="keywordtype">int</span> <a class="code" href="classConnectClass.html#m2">flood</a>; -<a name="l00048"></a><a class="code" href="classConnectClass.html#m3">00048</a> <span class="keywordtype">char</span> <a class="code" href="classConnectClass.html#m3">host</a>[MAXBUF]; -<a name="l00051"></a><a class="code" href="classConnectClass.html#m4">00051</a> <span class="keywordtype">char</span> <a class="code" href="classConnectClass.html#m4">pass</a>[MAXBUF]; -00052 -<a name="l00053"></a><a class="code" href="classConnectClass.html#a0">00053</a> <a class="code" href="classConnectClass.html#a0">ConnectClass</a>() -00054 { -00055 registration_timeout = 0; -00056 flood = 0; -00057 strcpy(host,<span class="stringliteral">""</span>); -00058 strcpy(pass,<span class="stringliteral">""</span>); -00059 } -00060 }; -00061 -<a name="l00064"></a><a class="code" href="users_8h.html#a6">00064</a> <span class="keyword">typedef</span> std::vector<Invited> <a class="code" href="users_8h.html#a6">InvitedList</a>; -00065 -00066 -00067 -<a name="l00070"></a><a class="code" href="users_8h.html#a7">00070</a> <span class="keyword">typedef</span> std::vector<ConnectClass> <a class="code" href="users_8h.html#a7">ClassVector</a>; -00071 -<a name="l00078"></a><a class="code" href="classuserrec.html">00078</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> -00079 { -00080 <span class="keyword">private</span>: -00081 -<a name="l00084"></a><a class="code" href="classuserrec.html#o0">00084</a> <a class="code" href="users_8h.html#a6">InvitedList</a> <a class="code" href="classuserrec.html#o0">invites</a>; -00085 <span class="keyword">public</span>: -00086 -<a name="l00091"></a><a class="code" href="classuserrec.html#m0">00091</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#m0">nick</a>[NICKMAX]; -00092 -<a name="l00095"></a><a class="code" href="classuserrec.html#m1">00095</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#m1">ident</a>[64]; -00096 -<a name="l00100"></a><a class="code" href="classuserrec.html#m2">00100</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#m2">dhost</a>[256]; -00101 -<a name="l00104"></a><a class="code" href="classuserrec.html#m3">00104</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#m3">fullname</a>[128]; -00105 -<a name="l00110"></a><a class="code" href="classuserrec.html#m4">00110</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#m4">modes</a>[MAXBUF]; -00111 -<a name="l00112"></a><a class="code" href="classuserrec.html#m5">00112</a> <a class="code" href="classucrec.html">ucrec</a> <a class="code" href="classuserrec.html#m5">chans</a>[MAXCHANS]; -00113 -<a name="l00116"></a><a class="code" href="classuserrec.html#m6">00116</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#m6">server</a>[256]; -00117 -<a name="l00121"></a><a class="code" href="classuserrec.html#m7">00121</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#m7">awaymsg</a>[512]; +<!-- Generated by Doxygen 1.3.3 --> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<h1>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"> * | Inspire Internet Relay Chat Daemon |</span> +00003 <span class="comment"> * +------------------------------------+</span> +00004 <span class="comment"> *</span> +00005 <span class="comment"> * Inspire is copyright (C) 2002-2004 ChatSpike-Dev.</span> +00006 <span class="comment"> * E-mail:</span> +00007 <span class="comment"> * <brain@chatspike.net></span> +00008 <span class="comment"> * <Craig@chatspike.net></span> +00009 <span class="comment"> * </span> +00010 <span class="comment"> * Written by Craig Edwards, Craig McLure, and others.</span> +00011 <span class="comment"> * This program is free but copyrighted software; see</span> +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 +00017 <span class="preprocessor">#include "inspircd_config.h"</span> +00018 <span class="preprocessor">#include "<a class="code" href="channels_8h.html">channels.h</a>"</span> +00019 <span class="preprocessor">#include "<a class="code" href="connection_8h.html">connection.h</a>"</span> +00020 +00021 <span class="preprocessor">#include <string></span> +00022 +00023 <span class="preprocessor">#ifndef __USERS_H__ </span> +00024 <span class="preprocessor"></span><span class="preprocessor">#define __USERS_H__ </span> +00025 <span class="preprocessor"></span> +<a name="l00026"></a><a class="code" href="users_8h.html#a0">00026</a> <span class="preprocessor">#define STATUS_OP 4</span> +<a name="l00027"></a><a class="code" href="users_8h.html#a1">00027</a> <span class="preprocessor"></span><span class="preprocessor">#define STATUS_HOP 2</span> +<a name="l00028"></a><a class="code" href="users_8h.html#a2">00028</a> <span class="preprocessor"></span><span class="preprocessor">#define STATUS_VOICE 1</span> +<a name="l00029"></a><a class="code" href="users_8h.html#a3">00029</a> <span class="preprocessor"></span><span class="preprocessor">#define STATUS_NORMAL 0</span> +00030 <span class="preprocessor"></span> +<a name="l00031"></a><a class="code" href="users_8h.html#a4">00031</a> <span class="preprocessor">#define CC_ALLOW 0</span> +<a name="l00032"></a><a class="code" href="users_8h.html#a5">00032</a> <span class="preprocessor"></span><span class="preprocessor">#define CC_DENY 1</span> +00033 <span class="preprocessor"></span> +<a name="l00036"></a><a class="code" href="classInvited.html">00036</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> +00037 { +00038 <span class="keyword">public</span>: +<a name="l00039"></a><a class="code" href="classInvited.html#o0">00039</a> <span class="keywordtype">char</span> <a class="code" href="classInvited.html#o0">channel</a>[CHANMAX]; +00040 }; +00041 +00042 +<a name="l00045"></a><a class="code" href="classConnectClass.html">00045</a> <span class="keyword">class </span><a class="code" href="classConnectClass.html">ConnectClass</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> +00046 { +00047 <span class="keyword">public</span>: +<a name="l00050"></a><a class="code" href="classConnectClass.html#o0">00050</a> <span class="keywordtype">int</span> <a class="code" href="classConnectClass.html#o0">type</a>; +<a name="l00053"></a><a class="code" href="classConnectClass.html#o1">00053</a> <span class="keywordtype">int</span> <a class="code" href="classConnectClass.html#o1">registration_timeout</a>; +<a name="l00056"></a><a class="code" href="classConnectClass.html#o2">00056</a> <span class="keywordtype">int</span> <a class="code" href="classConnectClass.html#o2">flood</a>; +<a name="l00059"></a><a class="code" href="classConnectClass.html#o3">00059</a> <span class="keywordtype">char</span> <a class="code" href="classConnectClass.html#o3">host</a>[MAXBUF]; +<a name="l00062"></a><a class="code" href="classConnectClass.html#o4">00062</a> <span class="keywordtype">char</span> <a class="code" href="classConnectClass.html#o4">pass</a>[MAXBUF]; +00063 +<a name="l00064"></a><a class="code" href="classConnectClass.html#a0">00064</a> <a class="code" href="classConnectClass.html#a0">ConnectClass</a>() +00065 { +00066 <a class="code" href="classConnectClass.html#o1">registration_timeout</a> = 0; +00067 <a class="code" href="classConnectClass.html#o2">flood</a> = 0; +00068 strlcpy(<a class="code" href="classConnectClass.html#o3">host</a>,<span class="stringliteral">""</span>,MAXBUF); +00069 strlcpy(<a class="code" href="classConnectClass.html#o4">pass</a>,<span class="stringliteral">""</span>,MAXBUF); +00070 } +00071 }; +00072 +<a name="l00075"></a><a class="code" href="users_8h.html#a6">00075</a> <span class="keyword">typedef</span> std::vector<Invited> <a class="code" href="users_8h.html#a6">InvitedList</a>; +00076 +00077 +00078 +<a name="l00081"></a><a class="code" href="users_8h.html#a7">00081</a> <span class="keyword">typedef</span> std::vector<ConnectClass> <a class="code" href="users_8h.html#a7">ClassVector</a>; +00082 +<a name="l00089"></a><a class="code" href="classuserrec.html">00089</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> +00090 { +00091 <span class="keyword">private</span>: +00092 +<a name="l00095"></a><a class="code" href="classuserrec.html#r0">00095</a> <a class="code" href="users_8h.html#a6">InvitedList</a> <a class="code" href="classuserrec.html#r0">invites</a>; +00096 <span class="keyword">public</span>: +00097 +<a name="l00102"></a><a class="code" href="classuserrec.html#o0">00102</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#o0">nick</a>[NICKMAX]; +00103 +<a name="l00106"></a><a class="code" href="classuserrec.html#o1">00106</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#o1">ident</a>[64]; +00107 +<a name="l00111"></a><a class="code" href="classuserrec.html#o2">00111</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#o2">dhost</a>[256]; +00112 +<a name="l00115"></a><a class="code" href="classuserrec.html#o3">00115</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#o3">fullname</a>[128]; +00116 +<a name="l00121"></a><a class="code" href="classuserrec.html#o4">00121</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#o4">modes</a>[MAXBUF]; 00122 -<a name="l00126"></a><a class="code" href="classuserrec.html#m8">00126</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#m8">result</a>[256]; -00127 -<a name="l00132"></a><a class="code" href="classuserrec.html#m9">00132</a> <span class="keywordtype">int</span> <a class="code" href="classuserrec.html#m9">flood</a>; +<a name="l00123"></a><a class="code" href="classuserrec.html#o5">00123</a> <a class="code" href="classucrec.html">ucrec</a> <a class="code" href="classuserrec.html#o5">chans</a>[MAXCHANS]; +00124 +<a name="l00127"></a><a class="code" href="classuserrec.html#o6">00127</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#o6">server</a>[256]; +00128 +<a name="l00132"></a><a class="code" href="classuserrec.html#o7">00132</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#o7">awaymsg</a>[512]; 00133 -<a name="l00138"></a><a class="code" href="classuserrec.html#m10">00138</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code" href="classuserrec.html#m10">timeout</a>; -00139 -<a name="l00145"></a><a class="code" href="classuserrec.html#m11">00145</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#m11">oper</a>[NICKMAX]; -00146 -00147 <a class="code" href="classuserrec.html#a0">userrec</a>(); -00148 -<a name="l00149"></a><a class="code" href="classuserrec.html#a1">00149</a> <span class="keyword">virtual</span> <a class="code" href="classuserrec.html#a1">~userrec</a>() { } +<a name="l00137"></a><a class="code" href="classuserrec.html#o8">00137</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#o8">result</a>[256]; +00138 +<a name="l00143"></a><a class="code" href="classuserrec.html#o9">00143</a> <span class="keywordtype">int</span> <a class="code" href="classuserrec.html#o9">flood</a>; +00144 +<a name="l00149"></a><a class="code" href="classuserrec.html#o10">00149</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code" href="classuserrec.html#o10">timeout</a>; 00150 -00155 <span class="keyword">virtual</span> <span class="keywordtype">char</span>* <a class="code" href="classuserrec.html#a2">GetFullHost</a>(); -00156 -00162 <span class="keyword">virtual</span> <span class="keywordtype">char</span>* <a class="code" href="classuserrec.html#a3">GetFullRealHost</a>(); -00163 -00166 <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); +<a name="l00156"></a><a class="code" href="classuserrec.html#o11">00156</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#o11">oper</a>[NICKMAX]; +00157 +00158 <a class="code" href="classuserrec.html#a0">userrec</a>(); +00159 +<a name="l00160"></a><a class="code" href="classuserrec.html#a1">00160</a> <span class="keyword">virtual</span> <a class="code" href="classuserrec.html#a1">~userrec</a>() { } +00161 +00166 <span class="keyword">virtual</span> <span class="keywordtype">char</span>* <a class="code" href="classuserrec.html#a2">GetFullHost</a>(); 00167 -00170 <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); -00171 -00176 <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); -00177 -00182 <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#a7">HasPermission</a>(<span class="keywordtype">char</span>* command); -00183 -00184 }; -00185 -00186 -00187 <span class="preprocessor">#endif</span> -</pre></div><hr><address style="align: right;"><small>Generated on Sun May 2 00:09:18 2004 for InspIRCd by +00173 <span class="keyword">virtual</span> <span class="keywordtype">char</span>* <a class="code" href="classuserrec.html#a3">GetFullRealHost</a>(); +00174 +00177 <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); +00178 +00181 <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); +00182 +00187 <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); +00188 +00193 <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#a7">HasPermission</a>(<span class="keywordtype">char</span>* command); +00194 +00195 }; +00196 +00197 +00198 <span class="preprocessor">#endif</span> +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Mar 25 03:49:29 2005 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-rc3 </small></address> +<img src="doxygen.png" alt="doxygen" align="middle" border=0 > +</a>1.3.3 </small></address> </body> </html> |