1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3 <title>InspIRCd: modules.h File Reference</title>
4 <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css">
6 <!-- Generated by Doxygen 1.4.4-20050815 -->
7 <div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a></div>
9 <a class="el" href="dir_000000.html">home</a> » <a class="el" href="dir_000001.html">brain</a> » <a class="el" href="dir_000002.html">inspircd-cvs</a> » <a class="el" href="dir_000003.html">inspircd</a> » <a class="el" href="dir_000004.html">include</a></div>
10 <h1>modules.h File Reference</h1><code>#include "dynamic.h"</code><br>
11 <code>#include "<a class="el" href="base_8h-source.html">base.h</a>"</code><br>
12 <code>#include "<a class="el" href="ctables_8h-source.html">ctables.h</a>"</code><br>
13 <code>#include "<a class="el" href="socket_8h-source.html">socket.h</a>"</code><br>
14 <code>#include <string></code><br>
15 <code>#include <deque></code><br>
16 <code>#include <sstream></code><br>
19 Include dependency graph for modules.h:<p><center><img src="modules_8h__incl.gif" border="0" usemap="#modules.h_map" alt=""></center>
20 <map name="modules.h_map">
21 <area href="base_8h-source.html" shape="rect" coords="152,159,214,185" alt="">
22 <area href="ctables_8h-source.html" shape="rect" coords="146,108,220,135" alt="">
23 <area href="socket_8h-source.html" shape="rect" coords="147,336,219,363" alt="">
27 This graph shows which files directly or indirectly include this file:<p><center><img src="modules_8h__dep__incl.gif" border="0" usemap="#modules.hdep_map" alt=""></center>
28 <map name="modules.hdep_map">
29 <area href="channels_8cpp-source.html" shape="rect" coords="288,57,387,84" alt="">
30 <area href="modules_8cpp-source.html" shape="rect" coords="288,108,387,135" alt="">
31 <area href="inspircd__io_8h-source.html" shape="rect" coords="142,57,238,84" alt="">
32 <area href="typedefs_8h-source.html" shape="rect" coords="147,108,232,135" alt="">
36 <a href="modules_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
38 <tr><td colspan="2"><br><h2>Classes</h2></td></tr>
39 <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classVersion.html">Version</a></td></tr>
41 <tr><td class="mdescLeft"> </td><td class="mdescRight">Holds a module's Version information The four members (set by the constructor only) indicate details as to the version number of a module. <a href="classVersion.html#_details">More...</a><br></td></tr>
42 <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classAdmin.html">Admin</a></td></tr>
44 <tr><td class="mdescLeft"> </td><td class="mdescRight">Holds /ADMIN data This class contains the admin details of the local server. <a href="classAdmin.html#_details">More...</a><br></td></tr>
45 <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classModuleMessage.html">ModuleMessage</a></td></tr>
47 <tr><td class="mdescLeft"> </td><td class="mdescRight">The ModuleMessage class is the base class of <a class="el" href="classRequest.html">Request</a> and <a class="el" href="classEvent.html">Event</a> This class is used to represent a basic data structure which is passed between modules for safe inter-module communications. <a href="classModuleMessage.html#_details">More...</a><br></td></tr>
48 <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classRequest.html">Request</a></td></tr>
50 <tr><td class="mdescLeft"> </td><td class="mdescRight">The Request class is a unicast message directed at a given module. <a href="classRequest.html#_details">More...</a><br></td></tr>
51 <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classEvent.html">Event</a></td></tr>
53 <tr><td class="mdescLeft"> </td><td class="mdescRight">The Event class is a unicast message directed at all modules. <a href="classEvent.html#_details">More...</a><br></td></tr>
54 <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classExtMode.html">ExtMode</a></td></tr>
56 <tr><td class="mdescLeft"> </td><td class="mdescRight">Holds an extended mode's details. <a href="classExtMode.html#_details">More...</a><br></td></tr>
57 <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classModule.html">Module</a></td></tr>
59 <tr><td class="mdescLeft"> </td><td class="mdescRight">Base class for all <a class="el" href="classInspIRCd.html">InspIRCd</a> modules This class is the base class for <a class="el" href="classInspIRCd.html">InspIRCd</a> modules. <a href="classModule.html#_details">More...</a><br></td></tr>
60 <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classServer.html">Server</a></td></tr>
62 <tr><td class="mdescLeft"> </td><td class="mdescRight">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. <a href="classServer.html#_details">More...</a><br></td></tr>
63 <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classConfigReader.html">ConfigReader</a></td></tr>
65 <tr><td class="mdescLeft"> </td><td class="mdescRight">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. <a href="classConfigReader.html#_details">More...</a><br></td></tr>
66 <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classFileReader.html">FileReader</a></td></tr>
68 <tr><td class="mdescLeft"> </td><td class="mdescRight">Caches a text file into memory and can be used to retrieve lines from it. <a href="classFileReader.html#_details">More...</a><br></td></tr>
69 <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classModuleFactory.html">ModuleFactory</a></td></tr>
71 <tr><td class="mdescLeft"> </td><td class="mdescRight">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. <a href="classModuleFactory.html#_details">More...</a><br></td></tr>
72 <tr><td colspan="2"><br><h2>Defines</h2></td></tr>
73 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#DEBUG">DEBUG</a> 10</td></tr>
75 <tr><td class="mdescLeft"> </td><td class="mdescRight">log levels <a href="#DEBUG"></a><br></td></tr>
76 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#VERBOSE">VERBOSE</a> 20</td></tr>
78 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#DEFAULT">DEFAULT</a> 30</td></tr>
80 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#SPARSE">SPARSE</a> 40</td></tr>
82 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#NONE">NONE</a> 50</td></tr>
84 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#MT_5FCHANNEL">MT_CHANNEL</a> 1</td></tr>
86 <tr><td class="mdescLeft"> </td><td class="mdescRight">Used with OnExtendedMode() method of modules. <a href="#MT_5FCHANNEL"></a><br></td></tr>
87 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#MT_5FCLIENT">MT_CLIENT</a> 2</td></tr>
89 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#MT_5FSERVER">MT_SERVER</a> 3</td></tr>
91 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#ACR_5FDEFAULT">ACR_DEFAULT</a> 0</td></tr>
93 <tr><td class="mdescLeft"> </td><td class="mdescRight">Used with OnAccessCheck() method of modules. <a href="#ACR_5FDEFAULT"></a><br></td></tr>
94 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#ACR_5FDENY">ACR_DENY</a> 1</td></tr>
96 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#ACR_5FALLOW">ACR_ALLOW</a> 2</td></tr>
98 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#AC_5FKICK">AC_KICK</a> 0</td></tr>
100 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#AC_5FDEOP">AC_DEOP</a> 1</td></tr>
102 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#AC_5FOP">AC_OP</a> 2</td></tr>
104 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#AC_5FVOICE">AC_VOICE</a> 3</td></tr>
106 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#AC_5FDEVOICE">AC_DEVOICE</a> 4</td></tr>
108 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#AC_5FHALFOP">AC_HALFOP</a> 5</td></tr>
110 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#AC_5FDEHALFOP">AC_DEHALFOP</a> 6</td></tr>
112 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#AC_5FINVITE">AC_INVITE</a> 7</td></tr>
114 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#AC_5FGENERAL_5FMODE">AC_GENERAL_MODE</a> 8</td></tr>
116 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#VF_5FSTATIC">VF_STATIC</a> 1</td></tr>
118 <tr><td class="mdescLeft"> </td><td class="mdescRight">Used to define a set of behavior bits for a module. <a href="#VF_5FSTATIC"></a><br></td></tr>
119 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#VF_5FVENDOR">VF_VENDOR</a> 2</td></tr>
121 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#VF_5FSERVICEPROVIDER">VF_SERVICEPROVIDER</a> 4</td></tr>
123 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#VF_5FCOMMON">VF_COMMON</a> 8</td></tr>
125 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#FOREACH_5FMOD">FOREACH_MOD</a> for (int _i = 0; _i <= <a class="el" href="users_8cpp.html#MODCOUNT">MODCOUNT</a>; _i++) modules[_i]-></td></tr>
127 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#FOREACH_5FRESULT_28x_29">FOREACH_RESULT</a>(x)</td></tr>
129 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#FD_5FMAGIC_5FNUMBER">FD_MAGIC_NUMBER</a> -42</td></tr>
131 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#IS_5FLOCAL_28x_29">IS_LOCAL</a>(x) (x->fd > -1)</td></tr>
133 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#IS_5FREMOTE_28x_29">IS_REMOTE</a>(x) (x->fd < 0)</td></tr>
135 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#IS_5FMODULE_5FCREATED_28x_29">IS_MODULE_CREATED</a>(x) (x->fd == FD_MAGIC_NUMBER)</td></tr>
137 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#WM_5FAND">WM_AND</a> 1</td></tr>
139 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#WM_5FOR">WM_OR</a> 2</td></tr>
141 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#TYPE_5FUSER">TYPE_USER</a> 1</td></tr>
143 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#TYPE_5FCHANNEL">TYPE_CHANNEL</a> 2</td></tr>
145 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#TYPE_5FSERVER">TYPE_SERVER</a> 3</td></tr>
147 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#CONF_5FNOT_5FA_5FNUMBER">CONF_NOT_A_NUMBER</a> 0x000010</td></tr>
149 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#CONF_5FNOT_5FUNSIGNED">CONF_NOT_UNSIGNED</a> 0x000080</td></tr>
151 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#CONF_5FVALUE_5FNOT_5FFOUND">CONF_VALUE_NOT_FOUND</a> 0x000100</td></tr>
153 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#CONF_5FFILE_5FNOT_5FFOUND">CONF_FILE_NOT_FOUND</a> 0x000200</td></tr>
155 <tr><td colspan="2"><br><h2>Typedefs</h2></td></tr>
156 <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef std::deque< <a class="el" href="namespaceirc.html#string">std::string</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#file_5Fcache">file_cache</a></td></tr>
158 <tr><td class="mdescLeft"> </td><td class="mdescRight">Low level definition of a <a class="el" href="classFileReader.html">FileReader</a> classes file cache area. <a href="#file_5Fcache"></a><br></td></tr>
159 <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="typedefs_8h.html#file_5Fcache">file_cache</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#string_5Flist">string_list</a></td></tr>
161 <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef std::deque< <a class="el" href="classuserrec.html">userrec</a> * > </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#chanuserlist">chanuserlist</a></td></tr>
163 <tr><td class="mdescLeft"> </td><td class="mdescRight">Holds a list of users in a channel. <a href="#chanuserlist"></a><br></td></tr>
164 <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef DLLFactory< <a class="el" href="classModuleFactory.html">ModuleFactory</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#ircd_5Fmodule">ircd_module</a></td></tr>
166 <tr><td colspan="2"><br><h2>Functions</h2></td></tr>
167 <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#ModeDefined_28char_20c_2C_20int_20i_29">ModeDefined</a> (char c, int i)</td></tr>
169 <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#ModeDefinedOper_28char_20c_2C_20int_20i_29">ModeDefinedOper</a> (char c, int i)</td></tr>
171 <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#ModeDefinedOn_28char_20c_2C_20int_20i_29">ModeDefinedOn</a> (char c, int i)</td></tr>
173 <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#ModeDefinedOff_28char_20c_2C_20int_20i_29">ModeDefinedOff</a> (char c, int i)</td></tr>
175 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#ModeMakeList_28char_20modechar_29">ModeMakeList</a> (char modechar)</td></tr>
177 <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#ModeIsListMode_28char_20modechar_2C_20int_20type_29">ModeIsListMode</a> (char modechar, int type)</td></tr>
180 <hr><h2>Define Documentation</h2>
181 <a class="anchor" name="AC_5FDEHALFOP"></a><!-- doxytag: member="modules.h::AC_DEHALFOP" ref="AC_5FDEHALFOP" args="" --><p>
182 <table class="mdTable" cellpadding="2" cellspacing="0">
185 <table cellpadding="0" cellspacing="0" border="0">
187 <td class="md" nowrap valign="top">#define AC_DEHALFOP 6 </td>
193 <table cellspacing="5" cellpadding="0" border="0">
203 Definition at line <a class="el" href="modules_8h-source.html#l00046">46</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
206 <a class="anchor" name="AC_5FDEOP"></a><!-- doxytag: member="modules.h::AC_DEOP" ref="AC_5FDEOP" args="" --><p>
207 <table class="mdTable" cellpadding="2" cellspacing="0">
210 <table cellpadding="0" cellspacing="0" border="0">
212 <td class="md" nowrap valign="top">#define AC_DEOP 1 </td>
218 <table cellspacing="5" cellpadding="0" border="0">
228 Definition at line <a class="el" href="modules_8h-source.html#l00041">41</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
231 <a class="anchor" name="AC_5FDEVOICE"></a><!-- doxytag: member="modules.h::AC_DEVOICE" ref="AC_5FDEVOICE" args="" --><p>
232 <table class="mdTable" cellpadding="2" cellspacing="0">
235 <table cellpadding="0" cellspacing="0" border="0">
237 <td class="md" nowrap valign="top">#define AC_DEVOICE 4 </td>
243 <table cellspacing="5" cellpadding="0" border="0">
253 Definition at line <a class="el" href="modules_8h-source.html#l00044">44</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
256 <a class="anchor" name="AC_5FGENERAL_5FMODE"></a><!-- doxytag: member="modules.h::AC_GENERAL_MODE" ref="AC_5FGENERAL_5FMODE" args="" --><p>
257 <table class="mdTable" cellpadding="2" cellspacing="0">
260 <table cellpadding="0" cellspacing="0" border="0">
262 <td class="md" nowrap valign="top">#define AC_GENERAL_MODE 8 </td>
268 <table cellspacing="5" cellpadding="0" border="0">
278 Definition at line <a class="el" href="modules_8h-source.html#l00048">48</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
281 <a class="anchor" name="AC_5FHALFOP"></a><!-- doxytag: member="modules.h::AC_HALFOP" ref="AC_5FHALFOP" args="" --><p>
282 <table class="mdTable" cellpadding="2" cellspacing="0">
285 <table cellpadding="0" cellspacing="0" border="0">
287 <td class="md" nowrap valign="top">#define AC_HALFOP 5 </td>
293 <table cellspacing="5" cellpadding="0" border="0">
303 Definition at line <a class="el" href="modules_8h-source.html#l00045">45</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
306 <a class="anchor" name="AC_5FINVITE"></a><!-- doxytag: member="modules.h::AC_INVITE" ref="AC_5FINVITE" args="" --><p>
307 <table class="mdTable" cellpadding="2" cellspacing="0">
310 <table cellpadding="0" cellspacing="0" border="0">
312 <td class="md" nowrap valign="top">#define AC_INVITE 7 </td>
318 <table cellspacing="5" cellpadding="0" border="0">
328 Definition at line <a class="el" href="modules_8h-source.html#l00047">47</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
331 <a class="anchor" name="AC_5FKICK"></a><!-- doxytag: member="modules.h::AC_KICK" ref="AC_5FKICK" args="" --><p>
332 <table class="mdTable" cellpadding="2" cellspacing="0">
335 <table cellpadding="0" cellspacing="0" border="0">
337 <td class="md" nowrap valign="top">#define AC_KICK 0 </td>
343 <table cellspacing="5" cellpadding="0" border="0">
353 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>.
355 Referenced by <a class="el" href="channels_8cpp-source.html#l00459">kick_channel()</a>. </td>
358 <a class="anchor" name="AC_5FOP"></a><!-- doxytag: member="modules.h::AC_OP" ref="AC_5FOP" args="" --><p>
359 <table class="mdTable" cellpadding="2" cellspacing="0">
362 <table cellpadding="0" cellspacing="0" border="0">
364 <td class="md" nowrap valign="top">#define AC_OP 2 </td>
370 <table cellspacing="5" cellpadding="0" border="0">
380 Definition at line <a class="el" href="modules_8h-source.html#l00042">42</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
383 <a class="anchor" name="AC_5FVOICE"></a><!-- doxytag: member="modules.h::AC_VOICE" ref="AC_5FVOICE" args="" --><p>
384 <table class="mdTable" cellpadding="2" cellspacing="0">
387 <table cellpadding="0" cellspacing="0" border="0">
389 <td class="md" nowrap valign="top">#define AC_VOICE 3 </td>
395 <table cellspacing="5" cellpadding="0" border="0">
405 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>
408 <a class="anchor" name="ACR_5FALLOW"></a><!-- doxytag: member="modules.h::ACR_ALLOW" ref="ACR_5FALLOW" args="" --><p>
409 <table class="mdTable" cellpadding="2" cellspacing="0">
412 <table cellpadding="0" cellspacing="0" border="0">
414 <td class="md" nowrap valign="top">#define ACR_ALLOW 2 </td>
420 <table cellspacing="5" cellpadding="0" border="0">
430 Definition at line <a class="el" href="modules_8h-source.html#l00039">39</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
433 <a class="anchor" name="ACR_5FDEFAULT"></a><!-- doxytag: member="modules.h::ACR_DEFAULT" ref="ACR_5FDEFAULT" args="" --><p>
434 <table class="mdTable" cellpadding="2" cellspacing="0">
437 <table cellpadding="0" cellspacing="0" border="0">
439 <td class="md" nowrap valign="top">#define ACR_DEFAULT 0 </td>
445 <table cellspacing="5" cellpadding="0" border="0">
453 Used with OnAccessCheck() method of modules.
457 Definition at line <a class="el" href="modules_8h-source.html#l00037">37</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.
459 Referenced by <a class="el" href="channels_8cpp-source.html#l00459">kick_channel()</a>, and <a class="el" href="modules_8cpp-source.html#l00240">Module::OnAccessCheck()</a>. </td>
462 <a class="anchor" name="ACR_5FDENY"></a><!-- doxytag: member="modules.h::ACR_DENY" ref="ACR_5FDENY" args="" --><p>
463 <table class="mdTable" cellpadding="2" cellspacing="0">
466 <table cellpadding="0" cellspacing="0" border="0">
468 <td class="md" nowrap valign="top">#define ACR_DENY 1 </td>
474 <table cellspacing="5" cellpadding="0" border="0">
484 Definition at line <a class="el" href="modules_8h-source.html#l00038">38</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.
486 Referenced by <a class="el" href="channels_8cpp-source.html#l00459">kick_channel()</a>. </td>
489 <a class="anchor" name="CONF_5FFILE_5FNOT_5FFOUND"></a><!-- doxytag: member="modules.h::CONF_FILE_NOT_FOUND" ref="CONF_5FFILE_5FNOT_5FFOUND" args="" --><p>
490 <table class="mdTable" cellpadding="2" cellspacing="0">
493 <table cellpadding="0" cellspacing="0" border="0">
495 <td class="md" nowrap valign="top">#define CONF_FILE_NOT_FOUND 0x000200 </td>
501 <table cellspacing="5" cellpadding="0" border="0">
511 Definition at line <a class="el" href="modules_8h-source.html#l01541">1541</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.
513 Referenced by <a class="el" href="modules_8cpp-source.html#l00735">ConfigReader::ConfigReader()</a>. </td>
516 <a class="anchor" name="CONF_5FNOT_5FA_5FNUMBER"></a><!-- doxytag: member="modules.h::CONF_NOT_A_NUMBER" ref="CONF_5FNOT_5FA_5FNUMBER" args="" --><p>
517 <table class="mdTable" cellpadding="2" cellspacing="0">
520 <table cellpadding="0" cellspacing="0" border="0">
522 <td class="md" nowrap valign="top">#define CONF_NOT_A_NUMBER 0x000010 </td>
528 <table cellspacing="5" cellpadding="0" border="0">
538 Definition at line <a class="el" href="modules_8h-source.html#l01538">1538</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.
540 Referenced by <a class="el" href="modules_8cpp-source.html#l00798">ConfigReader::ReadInteger()</a>. </td>
543 <a class="anchor" name="CONF_5FNOT_5FUNSIGNED"></a><!-- doxytag: member="modules.h::CONF_NOT_UNSIGNED" ref="CONF_5FNOT_5FUNSIGNED" args="" --><p>
544 <table class="mdTable" cellpadding="2" cellspacing="0">
547 <table cellpadding="0" cellspacing="0" border="0">
549 <td class="md" nowrap valign="top">#define CONF_NOT_UNSIGNED 0x000080 </td>
555 <table cellspacing="5" cellpadding="0" border="0">
565 Definition at line <a class="el" href="modules_8h-source.html#l01539">1539</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.
567 Referenced by <a class="el" href="modules_8cpp-source.html#l00798">ConfigReader::ReadInteger()</a>. </td>
570 <a class="anchor" name="CONF_5FVALUE_5FNOT_5FFOUND"></a><!-- doxytag: member="modules.h::CONF_VALUE_NOT_FOUND" ref="CONF_5FVALUE_5FNOT_5FFOUND" args="" --><p>
571 <table class="mdTable" cellpadding="2" cellspacing="0">
574 <table cellpadding="0" cellspacing="0" border="0">
576 <td class="md" nowrap valign="top">#define CONF_VALUE_NOT_FOUND 0x000100 </td>
582 <table cellspacing="5" cellpadding="0" border="0">
592 Definition at line <a class="el" href="modules_8h-source.html#l01540">1540</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.
594 Referenced by <a class="el" href="modules_8cpp-source.html#l00781">ConfigReader::ReadFlag()</a>, <a class="el" href="modules_8cpp-source.html#l00798">ConfigReader::ReadInteger()</a>, and <a class="el" href="modules_8cpp-source.html#l00765">ConfigReader::ReadValue()</a>. </td>
597 <a class="anchor" name="DEBUG"></a><!-- doxytag: member="modules.h::DEBUG" ref="DEBUG" args="" --><p>
598 <table class="mdTable" cellpadding="2" cellspacing="0">
601 <table cellpadding="0" cellspacing="0" border="0">
603 <td class="md" nowrap valign="top">#define DEBUG 10 </td>
609 <table cellspacing="5" cellpadding="0" border="0">
621 Definition at line <a class="el" href="modules_8h-source.html#l00023">23</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
624 <a class="anchor" name="DEFAULT"></a><!-- doxytag: member="modules.h::DEFAULT" ref="DEFAULT" args="" --><p>
625 <table class="mdTable" cellpadding="2" cellspacing="0">
628 <table cellpadding="0" cellspacing="0" border="0">
630 <td class="md" nowrap valign="top">#define DEFAULT 30 </td>
636 <table cellspacing="5" cellpadding="0" border="0">
646 Definition at line <a class="el" href="modules_8h-source.html#l00025">25</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
649 <a class="anchor" name="FD_5FMAGIC_5FNUMBER"></a><!-- doxytag: member="modules.h::FD_MAGIC_NUMBER" ref="FD_5FMAGIC_5FNUMBER" args="" --><p>
650 <table class="mdTable" cellpadding="2" cellspacing="0">
653 <table cellpadding="0" cellspacing="0" border="0">
655 <td class="md" nowrap valign="top">#define FD_MAGIC_NUMBER -42 </td>
661 <table cellspacing="5" cellpadding="0" border="0">
671 Definition at line <a class="el" href="modules_8h-source.html#l00102">102</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.
673 Referenced by <a class="el" href="modules_8cpp-source.html#l00609">Server::PseudoToUser()</a>, and <a class="el" href="modules_8cpp-source.html#l00597">Server::UserToPseudo()</a>. </td>
676 <a class="anchor" name="FOREACH_5FMOD"></a><!-- doxytag: member="modules.h::FOREACH_MOD" ref="FOREACH_5FMOD" args="" --><p>
677 <table class="mdTable" cellpadding="2" cellspacing="0">
680 <table cellpadding="0" cellspacing="0" border="0">
682 <td class="md" nowrap valign="top">#define FOREACH_MOD for (int _i = 0; _i <= <a class="el" href="users_8cpp.html#MODCOUNT">MODCOUNT</a>; _i++) modules[_i]-> </td>
688 <table cellspacing="5" cellpadding="0" border="0">
698 Definition at line <a class="el" href="modules_8h-source.html#l00082">82</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.
700 Referenced by <a class="el" href="channels_8cpp-source.html#l00401">del_channel()</a>, <a class="el" href="channels_8cpp-source.html#l00372">ForceChan()</a>, <a class="el" href="users_8cpp-source.html#l00647">FullConnectUser()</a>, <a class="el" href="channels_8cpp-source.html#l00459">kick_channel()</a>, <a class="el" href="users_8cpp-source.html#l00349">kill_link()</a>, <a class="el" href="users_8cpp-source.html#l00412">kill_link_silent()</a>, and <a class="el" href="modules_8cpp-source.html#l00205">Event::Send()</a>. </td>
703 <a class="anchor" name="FOREACH_5FRESULT_28x_29"></a><!-- doxytag: member="modules.h::FOREACH_RESULT" ref="FOREACH_5FRESULT_28x_29" args="(x)" --><p>
704 <table class="mdTable" cellpadding="2" cellspacing="0">
707 <table cellpadding="0" cellspacing="0" border="0">
709 <td class="md" nowrap valign="top">#define FOREACH_RESULT </td>
710 <td class="md" valign="top">( </td>
711 <td class="md" nowrap valign="top">x </td>
712 <td class="mdname1" valign="top" nowrap> </td>
713 <td class="md" valign="top"> ) </td>
714 <td class="md" nowrap></td>
720 <table cellspacing="5" cellpadding="0" border="0">
728 <b>Value:</b><div class="fragment"><pre class="fragment">{ MOD_RESULT = 0; \
729 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> _i = 0; _i <= <a class="code" href="channels_8cpp.html#MODCOUNT">MODCOUNT</a>; _i++) { \
730 <span class="keywordtype">int</span> res = <a class="code" href="channels_8cpp.html#modules">modules</a>[_i]->x ; \
731 <span class="keywordflow">if</span> (res != 0) { \
733 <span class="keywordflow">break</span>; \
739 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>.
741 Referenced by <a class="el" href="channels_8cpp-source.html#l00194">add_channel()</a>, <a class="el" href="users_8cpp-source.html#l00769">force_nickchange()</a>, and <a class="el" href="channels_8cpp-source.html#l00459">kick_channel()</a>. </td>
744 <a class="anchor" name="IS_5FLOCAL_28x_29"></a><!-- doxytag: member="modules.h::IS_LOCAL" ref="IS_5FLOCAL_28x_29" args="(x)" --><p>
745 <table class="mdTable" cellpadding="2" cellspacing="0">
748 <table cellpadding="0" cellspacing="0" border="0">
750 <td class="md" nowrap valign="top">#define IS_LOCAL </td>
751 <td class="md" valign="top">( </td>
752 <td class="md" nowrap valign="top">x </td>
753 <td class="mdname1" valign="top" nowrap> </td>
754 <td class="md" valign="top"> ) </td>
755 <td class="md" nowrap> (x->fd > -1)</td>
761 <table cellspacing="5" cellpadding="0" border="0">
771 Definition at line <a class="el" href="modules_8h-source.html#l00106">106</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
774 <a class="anchor" name="IS_5FMODULE_5FCREATED_28x_29"></a><!-- doxytag: member="modules.h::IS_MODULE_CREATED" ref="IS_5FMODULE_5FCREATED_28x_29" args="(x)" --><p>
775 <table class="mdTable" cellpadding="2" cellspacing="0">
778 <table cellpadding="0" cellspacing="0" border="0">
780 <td class="md" nowrap valign="top">#define IS_MODULE_CREATED </td>
781 <td class="md" valign="top">( </td>
782 <td class="md" nowrap valign="top">x </td>
783 <td class="mdname1" valign="top" nowrap> </td>
784 <td class="md" valign="top"> ) </td>
785 <td class="md" nowrap> (x->fd == FD_MAGIC_NUMBER)</td>
791 <table cellspacing="5" cellpadding="0" border="0">
801 Definition at line <a class="el" href="modules_8h-source.html#l00108">108</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
804 <a class="anchor" name="IS_5FREMOTE_28x_29"></a><!-- doxytag: member="modules.h::IS_REMOTE" ref="IS_5FREMOTE_28x_29" args="(x)" --><p>
805 <table class="mdTable" cellpadding="2" cellspacing="0">
808 <table cellpadding="0" cellspacing="0" border="0">
810 <td class="md" nowrap valign="top">#define IS_REMOTE </td>
811 <td class="md" valign="top">( </td>
812 <td class="md" nowrap valign="top">x </td>
813 <td class="mdname1" valign="top" nowrap> </td>
814 <td class="md" valign="top"> ) </td>
815 <td class="md" nowrap> (x->fd < 0)</td>
821 <table cellspacing="5" cellpadding="0" border="0">
831 Definition at line <a class="el" href="modules_8h-source.html#l00107">107</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
834 <a class="anchor" name="MT_5FCHANNEL"></a><!-- doxytag: member="modules.h::MT_CHANNEL" ref="MT_5FCHANNEL" args="" --><p>
835 <table class="mdTable" cellpadding="2" cellspacing="0">
838 <table cellpadding="0" cellspacing="0" border="0">
840 <td class="md" nowrap valign="top">#define MT_CHANNEL 1 </td>
846 <table cellspacing="5" cellpadding="0" border="0">
854 Used with OnExtendedMode() method of modules.
858 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>.
860 Referenced by <a class="el" href="modules_8cpp-source.html#l00583">Server::AddExtendedListMode()</a>, and <a class="el" href="modules_8cpp-source.html#l00143">ModeMakeList()</a>. </td>
863 <a class="anchor" name="MT_5FCLIENT"></a><!-- doxytag: member="modules.h::MT_CLIENT" ref="MT_5FCLIENT" args="" --><p>
864 <table class="mdTable" cellpadding="2" cellspacing="0">
867 <table cellpadding="0" cellspacing="0" border="0">
869 <td class="md" nowrap valign="top">#define MT_CLIENT 2 </td>
875 <table cellspacing="5" cellpadding="0" border="0">
885 Definition at line <a class="el" href="modules_8h-source.html#l00032">32</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.
887 Referenced by <a class="el" href="modules_8cpp-source.html#l00555">Server::AddExtendedMode()</a>. </td>
890 <a class="anchor" name="MT_5FSERVER"></a><!-- doxytag: member="modules.h::MT_SERVER" ref="MT_5FSERVER" args="" --><p>
891 <table class="mdTable" cellpadding="2" cellspacing="0">
894 <table cellpadding="0" cellspacing="0" border="0">
896 <td class="md" nowrap valign="top">#define MT_SERVER 3 </td>
902 <table cellspacing="5" cellpadding="0" border="0">
912 Definition at line <a class="el" href="modules_8h-source.html#l00033">33</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.
914 Referenced by <a class="el" href="modules_8cpp-source.html#l00555">Server::AddExtendedMode()</a>. </td>
917 <a class="anchor" name="NONE"></a><!-- doxytag: member="modules.h::NONE" ref="NONE" args="" --><p>
918 <table class="mdTable" cellpadding="2" cellspacing="0">
921 <table cellpadding="0" cellspacing="0" border="0">
923 <td class="md" nowrap valign="top">#define NONE 50 </td>
929 <table cellspacing="5" cellpadding="0" border="0">
939 Definition at line <a class="el" href="modules_8h-source.html#l00027">27</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
942 <a class="anchor" name="SPARSE"></a><!-- doxytag: member="modules.h::SPARSE" ref="SPARSE" args="" --><p>
943 <table class="mdTable" cellpadding="2" cellspacing="0">
946 <table cellpadding="0" cellspacing="0" border="0">
948 <td class="md" nowrap valign="top">#define SPARSE 40 </td>
954 <table cellspacing="5" cellpadding="0" border="0">
964 Definition at line <a class="el" href="modules_8h-source.html#l00026">26</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
967 <a class="anchor" name="TYPE_5FCHANNEL"></a><!-- doxytag: member="modules.h::TYPE_CHANNEL" ref="TYPE_5FCHANNEL" args="" --><p>
968 <table class="mdTable" cellpadding="2" cellspacing="0">
971 <table cellpadding="0" cellspacing="0" border="0">
973 <td class="md" nowrap valign="top">#define TYPE_CHANNEL 2 </td>
979 <table cellspacing="5" cellpadding="0" border="0">
989 Definition at line <a class="el" href="modules_8h-source.html#l00118">118</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
992 <a class="anchor" name="TYPE_5FSERVER"></a><!-- doxytag: member="modules.h::TYPE_SERVER" ref="TYPE_5FSERVER" args="" --><p>
993 <table class="mdTable" cellpadding="2" cellspacing="0">
996 <table cellpadding="0" cellspacing="0" border="0">
998 <td class="md" nowrap valign="top">#define TYPE_SERVER 3 </td>
1004 <table cellspacing="5" cellpadding="0" border="0">
1014 Definition at line <a class="el" href="modules_8h-source.html#l00119">119</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
1017 <a class="anchor" name="TYPE_5FUSER"></a><!-- doxytag: member="modules.h::TYPE_USER" ref="TYPE_5FUSER" args="" --><p>
1018 <table class="mdTable" cellpadding="2" cellspacing="0">
1021 <table cellpadding="0" cellspacing="0" border="0">
1023 <td class="md" nowrap valign="top">#define TYPE_USER 1 </td>
1029 <table cellspacing="5" cellpadding="0" border="0">
1039 Definition at line <a class="el" href="modules_8h-source.html#l00117">117</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
1042 <a class="anchor" name="VERBOSE"></a><!-- doxytag: member="modules.h::VERBOSE" ref="VERBOSE" args="" --><p>
1043 <table class="mdTable" cellpadding="2" cellspacing="0">
1046 <table cellpadding="0" cellspacing="0" border="0">
1048 <td class="md" nowrap valign="top">#define VERBOSE 20 </td>
1054 <table cellspacing="5" cellpadding="0" border="0">
1064 Definition at line <a class="el" href="modules_8h-source.html#l00024">24</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
1067 <a class="anchor" name="VF_5FCOMMON"></a><!-- doxytag: member="modules.h::VF_COMMON" ref="VF_5FCOMMON" args="" --><p>
1068 <table class="mdTable" cellpadding="2" cellspacing="0">
1071 <table cellpadding="0" cellspacing="0" border="0">
1073 <td class="md" nowrap valign="top">#define VF_COMMON 8 </td>
1079 <table cellspacing="5" cellpadding="0" border="0">
1089 Definition at line <a class="el" href="modules_8h-source.html#l00055">55</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
1092 <a class="anchor" name="VF_5FSERVICEPROVIDER"></a><!-- doxytag: member="modules.h::VF_SERVICEPROVIDER" ref="VF_5FSERVICEPROVIDER" args="" --><p>
1093 <table class="mdTable" cellpadding="2" cellspacing="0">
1096 <table cellpadding="0" cellspacing="0" border="0">
1098 <td class="md" nowrap valign="top">#define VF_SERVICEPROVIDER 4 </td>
1104 <table cellspacing="5" cellpadding="0" border="0">
1114 Definition at line <a class="el" href="modules_8h-source.html#l00054">54</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
1117 <a class="anchor" name="VF_5FSTATIC"></a><!-- doxytag: member="modules.h::VF_STATIC" ref="VF_5FSTATIC" args="" --><p>
1118 <table class="mdTable" cellpadding="2" cellspacing="0">
1121 <table cellpadding="0" cellspacing="0" border="0">
1123 <td class="md" nowrap valign="top">#define VF_STATIC 1 </td>
1129 <table cellspacing="5" cellpadding="0" border="0">
1137 Used to define a set of behavior bits for a module.
1141 Definition at line <a class="el" href="modules_8h-source.html#l00052">52</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
1144 <a class="anchor" name="VF_5FVENDOR"></a><!-- doxytag: member="modules.h::VF_VENDOR" ref="VF_5FVENDOR" args="" --><p>
1145 <table class="mdTable" cellpadding="2" cellspacing="0">
1148 <table cellpadding="0" cellspacing="0" border="0">
1150 <td class="md" nowrap valign="top">#define VF_VENDOR 2 </td>
1156 <table cellspacing="5" cellpadding="0" border="0">
1166 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>.
1168 Referenced by <a class="el" href="modules_8cpp-source.html#l00231">Module::GetVersion()</a>. </td>
1171 <a class="anchor" name="WM_5FAND"></a><!-- doxytag: member="modules.h::WM_AND" ref="WM_5FAND" args="" --><p>
1172 <table class="mdTable" cellpadding="2" cellspacing="0">
1175 <table cellpadding="0" cellspacing="0" border="0">
1177 <td class="md" nowrap valign="top">#define WM_AND 1 </td>
1183 <table cellspacing="5" cellpadding="0" border="0">
1193 Definition at line <a class="el" href="modules_8h-source.html#l00112">112</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
1196 <a class="anchor" name="WM_5FOR"></a><!-- doxytag: member="modules.h::WM_OR" ref="WM_5FOR" args="" --><p>
1197 <table class="mdTable" cellpadding="2" cellspacing="0">
1200 <table cellpadding="0" cellspacing="0" border="0">
1202 <td class="md" nowrap valign="top">#define WM_OR 2 </td>
1208 <table cellspacing="5" cellpadding="0" border="0">
1218 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>. </td>
1221 <hr><h2>Typedef Documentation</h2>
1222 <a class="anchor" name="chanuserlist"></a><!-- doxytag: member="modules.h::chanuserlist" ref="chanuserlist" args="" --><p>
1223 <table class="mdTable" cellpadding="2" cellspacing="0">
1226 <table cellpadding="0" cellspacing="0" border="0">
1228 <td class="md" nowrap valign="top">typedef std::deque<<a class="el" href="classuserrec.html">userrec</a>*> <a class="el" href="modules_8h.html#chanuserlist">chanuserlist</a> </td>
1234 <table cellspacing="5" cellpadding="0" border="0">
1242 Holds a list of users in a channel.
1246 Definition at line <a class="el" href="modules_8h-source.html#l00075">75</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
1249 <a class="anchor" name="file_5Fcache"></a><!-- doxytag: member="modules.h::file_cache" ref="file_5Fcache" args="" --><p>
1250 <table class="mdTable" cellpadding="2" cellspacing="0">
1253 <table cellpadding="0" cellspacing="0" border="0">
1255 <td class="md" nowrap valign="top">typedef std::deque<<a class="el" href="namespaceirc.html#string">std::string</a>> <a class="el" href="typedefs_8h.html#file_5Fcache">file_cache</a> </td>
1261 <table cellspacing="5" cellpadding="0" border="0">
1269 Low level definition of a <a class="el" href="classFileReader.html">FileReader</a> classes file cache area.
1273 Definition at line <a class="el" href="modules_8h-source.html#l00066">66</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
1276 <a class="anchor" name="ircd_5Fmodule"></a><!-- doxytag: member="modules.h::ircd_module" ref="ircd_5Fmodule" args="" --><p>
1277 <table class="mdTable" cellpadding="2" cellspacing="0">
1280 <table cellpadding="0" cellspacing="0" border="0">
1282 <td class="md" nowrap valign="top">typedef DLLFactory<<a class="el" href="classModuleFactory.html">ModuleFactory</a>> <a class="el" href="modules_8h.html#ircd_5Fmodule">ircd_module</a> </td>
1288 <table cellspacing="5" cellpadding="0" border="0">
1298 Definition at line <a class="el" href="modules_8h-source.html#l01707">1707</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
1301 <a class="anchor" name="string_5Flist"></a><!-- doxytag: member="modules.h::string_list" ref="string_5Flist" args="" --><p>
1302 <table class="mdTable" cellpadding="2" cellspacing="0">
1305 <table cellpadding="0" cellspacing="0" border="0">
1307 <td class="md" nowrap valign="top">typedef <a class="el" href="typedefs_8h.html#file_5Fcache">file_cache</a> <a class="el" href="modules_8h.html#string_5Flist">string_list</a> </td>
1313 <table cellspacing="5" cellpadding="0" border="0">
1323 Definition at line <a class="el" href="modules_8h-source.html#l00071">71</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
1326 <hr><h2>Function Documentation</h2>
1327 <a class="anchor" name="ModeDefined_28char_20c_2C_20int_20i_29"></a><!-- doxytag: member="modules.h::ModeDefined" ref="ModeDefined_28char_20c_2C_20int_20i_29" args="(char c, int i)" --><p>
1328 <table class="mdTable" cellpadding="2" cellspacing="0">
1331 <table cellpadding="0" cellspacing="0" border="0">
1333 <td class="md" nowrap valign="top">bool ModeDefined </td>
1334 <td class="md" valign="top">( </td>
1335 <td class="md" nowrap valign="top">char </td>
1336 <td class="mdname" nowrap> <em>c</em>, </td>
1339 <td class="md" nowrap align="right"></td>
1340 <td class="md"></td>
1341 <td class="md" nowrap>int </td>
1342 <td class="mdname" nowrap> <em>i</em></td>
1345 <td class="md"></td>
1346 <td class="md">) </td>
1347 <td class="md" colspan="2"></td>
1353 <table cellspacing="5" cellpadding="0" border="0">
1363 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>.
1365 References <a class="el" href="modules_8cpp-source.html#l00067">EMode</a>.
1367 Referenced by <a class="el" href="modules_8cpp-source.html#l00133">DoAddExtendedMode()</a>.<div class="fragment"><pre class="fragment"><a name="l00071"></a>00071 {
1368 <a name="l00072"></a>00072 <span class="keywordflow">for</span> (<a class="code" href="typedefs_8h.html#ExtModeListIter">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#EMode">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#EMode">EMode</a>.end(); i++)
1369 <a name="l00073"></a>00073 {
1370 <a name="l00074"></a>00074 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type))
1371 <a name="l00075"></a>00075 {
1372 <a name="l00076"></a>00076 <span class="keywordflow">return</span> <span class="keyword">true</span>;
1373 <a name="l00077"></a>00077 }
1374 <a name="l00078"></a>00078 }
1375 <a name="l00079"></a>00079 <span class="keywordflow">return</span> <span class="keyword">false</span>;
1376 <a name="l00080"></a>00080 }
1382 <a class="anchor" name="ModeDefinedOff_28char_20c_2C_20int_20i_29"></a><!-- doxytag: member="modules.h::ModeDefinedOff" ref="ModeDefinedOff_28char_20c_2C_20int_20i_29" args="(char c, int i)" --><p>
1383 <table class="mdTable" cellpadding="2" cellspacing="0">
1386 <table cellpadding="0" cellspacing="0" border="0">
1388 <td class="md" nowrap valign="top">int ModeDefinedOff </td>
1389 <td class="md" valign="top">( </td>
1390 <td class="md" nowrap valign="top">char </td>
1391 <td class="mdname" nowrap> <em>c</em>, </td>
1394 <td class="md" nowrap align="right"></td>
1395 <td class="md"></td>
1396 <td class="md" nowrap>int </td>
1397 <td class="mdname" nowrap> <em>i</em></td>
1400 <td class="md"></td>
1401 <td class="md">) </td>
1402 <td class="md" colspan="2"></td>
1408 <table cellspacing="5" cellpadding="0" border="0">
1418 Definition at line <a class="el" href="modules_8cpp-source.html#l00120">120</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
1420 References <a class="el" href="modules_8cpp-source.html#l00067">EMode</a>.<div class="fragment"><pre class="fragment"><a name="l00121"></a>00121 {
1421 <a name="l00122"></a>00122 <span class="keywordflow">for</span> (<a class="code" href="typedefs_8h.html#ExtModeListIter">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#EMode">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#EMode">EMode</a>.end(); i++)
1422 <a name="l00123"></a>00123 {
1423 <a name="l00124"></a>00124 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type))
1424 <a name="l00125"></a>00125 {
1425 <a name="l00126"></a>00126 <span class="keywordflow">return</span> i->params_when_off;
1426 <a name="l00127"></a>00127 }
1427 <a name="l00128"></a>00128 }
1428 <a name="l00129"></a>00129 <span class="keywordflow">return</span> 0;
1429 <a name="l00130"></a>00130 }
1435 <a class="anchor" name="ModeDefinedOn_28char_20c_2C_20int_20i_29"></a><!-- doxytag: member="modules.h::ModeDefinedOn" ref="ModeDefinedOn_28char_20c_2C_20int_20i_29" args="(char c, int i)" --><p>
1436 <table class="mdTable" cellpadding="2" cellspacing="0">
1439 <table cellpadding="0" cellspacing="0" border="0">
1441 <td class="md" nowrap valign="top">int ModeDefinedOn </td>
1442 <td class="md" valign="top">( </td>
1443 <td class="md" nowrap valign="top">char </td>
1444 <td class="mdname" nowrap> <em>c</em>, </td>
1447 <td class="md" nowrap align="right"></td>
1448 <td class="md"></td>
1449 <td class="md" nowrap>int </td>
1450 <td class="mdname" nowrap> <em>i</em></td>
1453 <td class="md"></td>
1454 <td class="md">) </td>
1455 <td class="md" colspan="2"></td>
1461 <table cellspacing="5" cellpadding="0" border="0">
1471 Definition at line <a class="el" href="modules_8cpp-source.html#l00107">107</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
1473 References <a class="el" href="modules_8cpp-source.html#l00067">EMode</a>.<div class="fragment"><pre class="fragment"><a name="l00108"></a>00108 {
1474 <a name="l00109"></a>00109 <span class="keywordflow">for</span> (<a class="code" href="typedefs_8h.html#ExtModeListIter">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#EMode">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#EMode">EMode</a>.end(); i++)
1475 <a name="l00110"></a>00110 {
1476 <a name="l00111"></a>00111 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type))
1477 <a name="l00112"></a>00112 {
1478 <a name="l00113"></a>00113 <span class="keywordflow">return</span> i->params_when_on;
1479 <a name="l00114"></a>00114 }
1480 <a name="l00115"></a>00115 }
1481 <a name="l00116"></a>00116 <span class="keywordflow">return</span> 0;
1482 <a name="l00117"></a>00117 }
1488 <a class="anchor" name="ModeDefinedOper_28char_20c_2C_20int_20i_29"></a><!-- doxytag: member="modules.h::ModeDefinedOper" ref="ModeDefinedOper_28char_20c_2C_20int_20i_29" args="(char c, int i)" --><p>
1489 <table class="mdTable" cellpadding="2" cellspacing="0">
1492 <table cellpadding="0" cellspacing="0" border="0">
1494 <td class="md" nowrap valign="top">bool ModeDefinedOper </td>
1495 <td class="md" valign="top">( </td>
1496 <td class="md" nowrap valign="top">char </td>
1497 <td class="mdname" nowrap> <em>c</em>, </td>
1500 <td class="md" nowrap align="right"></td>
1501 <td class="md"></td>
1502 <td class="md" nowrap>int </td>
1503 <td class="mdname" nowrap> <em>i</em></td>
1506 <td class="md"></td>
1507 <td class="md">) </td>
1508 <td class="md" colspan="2"></td>
1514 <table cellspacing="5" cellpadding="0" border="0">
1524 Definition at line <a class="el" href="modules_8cpp-source.html#l00094">94</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
1526 References <a class="el" href="modules_8cpp-source.html#l00067">EMode</a>.<div class="fragment"><pre class="fragment"><a name="l00095"></a>00095 {
1527 <a name="l00096"></a>00096 <span class="keywordflow">for</span> (<a class="code" href="typedefs_8h.html#ExtModeListIter">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#EMode">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#EMode">EMode</a>.end(); i++)
1528 <a name="l00097"></a>00097 {
1529 <a name="l00098"></a>00098 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type) && (i->needsoper == <span class="keyword">true</span>))
1530 <a name="l00099"></a>00099 {
1531 <a name="l00100"></a>00100 <span class="keywordflow">return</span> <span class="keyword">true</span>;
1532 <a name="l00101"></a>00101 }
1533 <a name="l00102"></a>00102 }
1534 <a name="l00103"></a>00103 <span class="keywordflow">return</span> <span class="keyword">false</span>;
1535 <a name="l00104"></a>00104 }
1541 <a class="anchor" name="ModeIsListMode_28char_20modechar_2C_20int_20type_29"></a><!-- doxytag: member="modules.h::ModeIsListMode" ref="ModeIsListMode_28char_20modechar_2C_20int_20type_29" args="(char modechar, int type)" --><p>
1542 <table class="mdTable" cellpadding="2" cellspacing="0">
1545 <table cellpadding="0" cellspacing="0" border="0">
1547 <td class="md" nowrap valign="top">bool ModeIsListMode </td>
1548 <td class="md" valign="top">( </td>
1549 <td class="md" nowrap valign="top">char </td>
1550 <td class="mdname" nowrap> <em>modechar</em>, </td>
1553 <td class="md" nowrap align="right"></td>
1554 <td class="md"></td>
1555 <td class="md" nowrap>int </td>
1556 <td class="mdname" nowrap> <em>type</em></td>
1559 <td class="md"></td>
1560 <td class="md">) </td>
1561 <td class="md" colspan="2"></td>
1567 <table cellspacing="5" cellpadding="0" border="0">
1577 Definition at line <a class="el" href="modules_8cpp-source.html#l00082">82</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
1579 References <a class="el" href="modules_8cpp-source.html#l00067">EMode</a>.<div class="fragment"><pre class="fragment"><a name="l00083"></a>00083 {
1580 <a name="l00084"></a>00084 <span class="keywordflow">for</span> (<a class="code" href="typedefs_8h.html#ExtModeListIter">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#EMode">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#EMode">EMode</a>.end(); i++)
1581 <a name="l00085"></a>00085 {
1582 <a name="l00086"></a>00086 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type) && (i->list == <span class="keyword">true</span>))
1583 <a name="l00087"></a>00087 {
1584 <a name="l00088"></a>00088 <span class="keywordflow">return</span> <span class="keyword">true</span>;
1585 <a name="l00089"></a>00089 }
1586 <a name="l00090"></a>00090 }
1587 <a name="l00091"></a>00091 <span class="keywordflow">return</span> <span class="keyword">false</span>;
1588 <a name="l00092"></a>00092 }
1594 <a class="anchor" name="ModeMakeList_28char_20modechar_29"></a><!-- doxytag: member="modules.h::ModeMakeList" ref="ModeMakeList_28char_20modechar_29" args="(char modechar)" --><p>
1595 <table class="mdTable" cellpadding="2" cellspacing="0">
1598 <table cellpadding="0" cellspacing="0" border="0">
1600 <td class="md" nowrap valign="top">void ModeMakeList </td>
1601 <td class="md" valign="top">( </td>
1602 <td class="md" nowrap valign="top">char </td>
1603 <td class="mdname1" valign="top" nowrap> <em>modechar</em> </td>
1604 <td class="md" valign="top"> ) </td>
1605 <td class="md" nowrap></td>
1611 <table cellspacing="5" cellpadding="0" border="0">
1621 Definition at line <a class="el" href="modules_8cpp-source.html#l00143">143</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
1623 References <a class="el" href="modules_8cpp-source.html#l00067">EMode</a>, and <a class="el" href="modules_8h-source.html#l00031">MT_CHANNEL</a>.
1625 Referenced by <a class="el" href="modules_8cpp-source.html#l00583">Server::AddExtendedListMode()</a>.<div class="fragment"><pre class="fragment"><a name="l00144"></a>00144 {
1626 <a name="l00145"></a>00145 <span class="keywordflow">for</span> (<a class="code" href="typedefs_8h.html#ExtModeListIter">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#EMode">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#EMode">EMode</a>.end(); i++)
1627 <a name="l00146"></a>00146 {
1628 <a name="l00147"></a>00147 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == <a class="code" href="modules_8h.html#MT_5FCHANNEL">MT_CHANNEL</a>))
1629 <a name="l00148"></a>00148 {
1630 <a name="l00149"></a>00149 i->list = <span class="keyword">true</span>;
1631 <a name="l00150"></a>00150 <span class="keywordflow">return</span>;
1632 <a name="l00151"></a>00151 }
1633 <a name="l00152"></a>00152 }
1634 <a name="l00153"></a>00153 <span class="keywordflow">return</span>;
1635 <a name="l00154"></a>00154 }
1641 <hr size="1"><address style="align: right;"><small>Generated on Mon Dec 19 18:02:14 2005 for InspIRCd by
1642 <a href="http://www.doxygen.org/index.html">
1643 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>