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="291,44,352,71" alt="">
22 <area href="ctables_8h-source.html" shape="rect" coords="146,145,220,172" alt="">
23 <area href="socket_8h-source.html" shape="rect" coords="147,323,219,349" 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="141,7,240,34" alt="">
30 <area href="modules_8cpp-source.html" shape="rect" coords="141,58,240,84" alt="">
34 <a href="modules_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
36 <tr><td colspan="2"><br><h2>Classes</h2></td></tr>
37 <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>
39 <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>
40 <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>
42 <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>
43 <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>
45 <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>
46 <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>
48 <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>
49 <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>
51 <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>
52 <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>
54 <tr><td class="mdescLeft"> </td><td class="mdescRight">Base class for all InspIRCd modules This class is the base class for InspIRCd modules. <a href="classModule.html#_details">More...</a><br></td></tr>
55 <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>
57 <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>
58 <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>
60 <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>
61 <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>
63 <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>
64 <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>
66 <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>
67 <tr><td colspan="2"><br><h2>Defines</h2></td></tr>
68 <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>
70 <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>
72 <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>
74 <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>
76 <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>
78 <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>
80 <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>
82 <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>
84 <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>
86 <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>
88 <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>
90 <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>
92 <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>
94 <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>
96 <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>
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_5FDEVOICE">AC_DEVOICE</a> 4</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_5FHALFOP">AC_HALFOP</a> 5</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_5FDEHALFOP">AC_DEHALFOP</a> 6</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_5FINVITE">AC_INVITE</a> 7</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_5FGENERAL_5FMODE">AC_GENERAL_MODE</a> 8</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#VF_5FSTATIC">VF_STATIC</a> 1</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#VF_5FVENDOR">VF_VENDOR</a> 2</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#VF_5FSERVICEPROVIDER">VF_SERVICEPROVIDER</a> 4</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#VF_5FCOMMON">VF_COMMON</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#FOREACH_5FMOD">FOREACH_MOD</a> for (int _i = 0; _i <= <a class="el" href="modules_8cpp.html#MODCOUNT">MODCOUNT</a>; _i++) modules[_i]-></td></tr>
118 <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>
120 <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>
122 <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>
124 <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>
126 <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>
128 <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>
130 <tr><td colspan="2"><br><h2>Typedefs</h2></td></tr>
131 <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>
133 <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>
134 <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="modules_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>
136 <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>
138 <tr><td class="mdescLeft"> </td><td class="mdescRight">Holds a list of users in a channel. <a href="#chanuserlist"></a><br></td></tr>
139 <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>
141 <tr><td colspan="2"><br><h2>Functions</h2></td></tr>
142 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#createcommand_28char_20_2Acmd_2C_20handlerfunc_20f_2C_20char_20flags_2C_20int_20minparams_2C_20char_20_2Asource_29">createcommand</a> (char *cmd, handlerfunc f, char flags, int minparams, char *source)</td></tr>
144 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#server_5Fmode_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">server_mode</a> (char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr>
147 <hr><h2>Define Documentation</h2>
148 <a class="anchor" name="AC_5FDEHALFOP"></a><!-- doxytag: member="modules.h::AC_DEHALFOP" ref="AC_5FDEHALFOP" args="" --><p>
149 <table class="mdTable" cellpadding="2" cellspacing="0">
152 <table cellpadding="0" cellspacing="0" border="0">
154 <td class="md" nowrap valign="top">#define AC_DEHALFOP 6 </td>
160 <table cellspacing="5" cellpadding="0" border="0">
170 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>
173 <a class="anchor" name="AC_5FDEOP"></a><!-- doxytag: member="modules.h::AC_DEOP" ref="AC_5FDEOP" args="" --><p>
174 <table class="mdTable" cellpadding="2" cellspacing="0">
177 <table cellpadding="0" cellspacing="0" border="0">
179 <td class="md" nowrap valign="top">#define AC_DEOP 1 </td>
185 <table cellspacing="5" cellpadding="0" border="0">
195 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>
198 <a class="anchor" name="AC_5FDEVOICE"></a><!-- doxytag: member="modules.h::AC_DEVOICE" ref="AC_5FDEVOICE" args="" --><p>
199 <table class="mdTable" cellpadding="2" cellspacing="0">
202 <table cellpadding="0" cellspacing="0" border="0">
204 <td class="md" nowrap valign="top">#define AC_DEVOICE 4 </td>
210 <table cellspacing="5" cellpadding="0" border="0">
220 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>
223 <a class="anchor" name="AC_5FGENERAL_5FMODE"></a><!-- doxytag: member="modules.h::AC_GENERAL_MODE" ref="AC_5FGENERAL_5FMODE" args="" --><p>
224 <table class="mdTable" cellpadding="2" cellspacing="0">
227 <table cellpadding="0" cellspacing="0" border="0">
229 <td class="md" nowrap valign="top">#define AC_GENERAL_MODE 8 </td>
235 <table cellspacing="5" cellpadding="0" border="0">
245 Definition at line <a class="el" href="modules_8h-source.html#l00049">49</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
248 <a class="anchor" name="AC_5FHALFOP"></a><!-- doxytag: member="modules.h::AC_HALFOP" ref="AC_5FHALFOP" args="" --><p>
249 <table class="mdTable" cellpadding="2" cellspacing="0">
252 <table cellpadding="0" cellspacing="0" border="0">
254 <td class="md" nowrap valign="top">#define AC_HALFOP 5 </td>
260 <table cellspacing="5" cellpadding="0" border="0">
270 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>
273 <a class="anchor" name="AC_5FINVITE"></a><!-- doxytag: member="modules.h::AC_INVITE" ref="AC_5FINVITE" args="" --><p>
274 <table class="mdTable" cellpadding="2" cellspacing="0">
277 <table cellpadding="0" cellspacing="0" border="0">
279 <td class="md" nowrap valign="top">#define AC_INVITE 7 </td>
285 <table cellspacing="5" cellpadding="0" border="0">
295 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>
298 <a class="anchor" name="AC_5FKICK"></a><!-- doxytag: member="modules.h::AC_KICK" ref="AC_5FKICK" args="" --><p>
299 <table class="mdTable" cellpadding="2" cellspacing="0">
302 <table cellpadding="0" cellspacing="0" border="0">
304 <td class="md" nowrap valign="top">#define AC_KICK 0 </td>
310 <table cellspacing="5" cellpadding="0" border="0">
320 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>
323 <a class="anchor" name="AC_5FOP"></a><!-- doxytag: member="modules.h::AC_OP" ref="AC_5FOP" args="" --><p>
324 <table class="mdTable" cellpadding="2" cellspacing="0">
327 <table cellpadding="0" cellspacing="0" border="0">
329 <td class="md" nowrap valign="top">#define AC_OP 2 </td>
335 <table cellspacing="5" cellpadding="0" border="0">
345 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>
348 <a class="anchor" name="AC_5FVOICE"></a><!-- doxytag: member="modules.h::AC_VOICE" ref="AC_5FVOICE" args="" --><p>
349 <table class="mdTable" cellpadding="2" cellspacing="0">
352 <table cellpadding="0" cellspacing="0" border="0">
354 <td class="md" nowrap valign="top">#define AC_VOICE 3 </td>
360 <table cellspacing="5" cellpadding="0" border="0">
370 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>
373 <a class="anchor" name="ACR_5FALLOW"></a><!-- doxytag: member="modules.h::ACR_ALLOW" ref="ACR_5FALLOW" args="" --><p>
374 <table class="mdTable" cellpadding="2" cellspacing="0">
377 <table cellpadding="0" cellspacing="0" border="0">
379 <td class="md" nowrap valign="top">#define ACR_ALLOW 2 </td>
385 <table cellspacing="5" cellpadding="0" border="0">
395 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>
398 <a class="anchor" name="ACR_5FDEFAULT"></a><!-- doxytag: member="modules.h::ACR_DEFAULT" ref="ACR_5FDEFAULT" args="" --><p>
399 <table class="mdTable" cellpadding="2" cellspacing="0">
402 <table cellpadding="0" cellspacing="0" border="0">
404 <td class="md" nowrap valign="top">#define ACR_DEFAULT 0 </td>
410 <table cellspacing="5" cellpadding="0" border="0">
420 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>.
422 Referenced by <a class="el" href="modules_8cpp-source.html#l00328">Module::OnAccessCheck()</a>. </td>
425 <a class="anchor" name="ACR_5FDENY"></a><!-- doxytag: member="modules.h::ACR_DENY" ref="ACR_5FDENY" args="" --><p>
426 <table class="mdTable" cellpadding="2" cellspacing="0">
429 <table cellpadding="0" cellspacing="0" border="0">
431 <td class="md" nowrap valign="top">#define ACR_DENY 1 </td>
437 <table cellspacing="5" cellpadding="0" border="0">
447 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>. </td>
450 <a class="anchor" name="CONF_5FFILE_5FNOT_5FFOUND"></a><!-- doxytag: member="modules.h::CONF_FILE_NOT_FOUND" ref="CONF_5FFILE_5FNOT_5FFOUND" args="" --><p>
451 <table class="mdTable" cellpadding="2" cellspacing="0">
454 <table cellpadding="0" cellspacing="0" border="0">
456 <td class="md" nowrap valign="top">#define CONF_FILE_NOT_FOUND 0x000200 </td>
462 <table cellspacing="5" cellpadding="0" border="0">
472 Definition at line <a class="el" href="modules_8h-source.html#l01112">1112</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.
474 Referenced by <a class="el" href="modules_8cpp-source.html#l00796">ConfigReader::ConfigReader()</a>. </td>
477 <a class="anchor" name="CONF_5FNOT_5FA_5FNUMBER"></a><!-- doxytag: member="modules.h::CONF_NOT_A_NUMBER" ref="CONF_5FNOT_5FA_5FNUMBER" args="" --><p>
478 <table class="mdTable" cellpadding="2" cellspacing="0">
481 <table cellpadding="0" cellspacing="0" border="0">
483 <td class="md" nowrap valign="top">#define CONF_NOT_A_NUMBER 0x000010 </td>
489 <table cellspacing="5" cellpadding="0" border="0">
499 Definition at line <a class="el" href="modules_8h-source.html#l01109">1109</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.
501 Referenced by <a class="el" href="modules_8cpp-source.html#l00858">ConfigReader::ReadInteger()</a>. </td>
504 <a class="anchor" name="CONF_5FNOT_5FUNSIGNED"></a><!-- doxytag: member="modules.h::CONF_NOT_UNSIGNED" ref="CONF_5FNOT_5FUNSIGNED" args="" --><p>
505 <table class="mdTable" cellpadding="2" cellspacing="0">
508 <table cellpadding="0" cellspacing="0" border="0">
510 <td class="md" nowrap valign="top">#define CONF_NOT_UNSIGNED 0x000080 </td>
516 <table cellspacing="5" cellpadding="0" border="0">
526 Definition at line <a class="el" href="modules_8h-source.html#l01110">1110</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.
528 Referenced by <a class="el" href="modules_8cpp-source.html#l00858">ConfigReader::ReadInteger()</a>. </td>
531 <a class="anchor" name="CONF_5FVALUE_5FNOT_5FFOUND"></a><!-- doxytag: member="modules.h::CONF_VALUE_NOT_FOUND" ref="CONF_5FVALUE_5FNOT_5FFOUND" args="" --><p>
532 <table class="mdTable" cellpadding="2" cellspacing="0">
535 <table cellpadding="0" cellspacing="0" border="0">
537 <td class="md" nowrap valign="top">#define CONF_VALUE_NOT_FOUND 0x000100 </td>
543 <table cellspacing="5" cellpadding="0" border="0">
553 Definition at line <a class="el" href="modules_8h-source.html#l01111">1111</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.
555 Referenced by <a class="el" href="modules_8cpp-source.html#l00841">ConfigReader::ReadFlag()</a>, <a class="el" href="modules_8cpp-source.html#l00858">ConfigReader::ReadInteger()</a>, and <a class="el" href="modules_8cpp-source.html#l00825">ConfigReader::ReadValue()</a>. </td>
558 <a class="anchor" name="DEBUG"></a><!-- doxytag: member="modules.h::DEBUG" ref="DEBUG" args="" --><p>
559 <table class="mdTable" cellpadding="2" cellspacing="0">
562 <table cellpadding="0" cellspacing="0" border="0">
564 <td class="md" nowrap valign="top">#define DEBUG 10 </td>
570 <table cellspacing="5" cellpadding="0" border="0">
580 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>.
582 Referenced by <a class="el" href="modules_8cpp-source.html#l00597">Server::AddExtendedMode()</a>, <a class="el" href="channels_8cpp-source.html#l00195">chanrec::AddUser()</a>, <a class="el" href="channels_8cpp-source.html#l00201">chanrec::DelUser()</a>, <a class="el" href="users_8cpp-source.html#l00142">userrec::HasPermission()</a>, <a class="el" href="socket_8cpp-source.html#l00057">InspSocket::InspSocket()</a>, <a class="el" href="channels_8cpp-source.html#l00169">chanrec::IsCustomModeSet()</a>, <a class="el" href="socket_8cpp-source.html#l00141">InspSocket::Read()</a>, <a class="el" href="users_8cpp-source.html#l00076">userrec::ReadData()</a>, <a class="el" href="users_8cpp-source.html#l00120">userrec::RemoveInvite()</a>, <a class="el" href="channels_8cpp-source.html#l00113">chanrec::SetCustomMode()</a>, <a class="el" href="channels_8cpp-source.html#l00138">chanrec::SetCustomModeParam()</a>, <a class="el" href="socket_8cpp-source.html#l00227">InspSocket::SetState()</a>, <a class="el" href="users_8cpp-source.html#l00288">userrec::SetWriteError()</a>, and <a class="el" href="modules_8cpp-source.html#l00639">Server::UserToPseudo()</a>. </td>
585 <a class="anchor" name="DEFAULT"></a><!-- doxytag: member="modules.h::DEFAULT" ref="DEFAULT" args="" --><p>
586 <table class="mdTable" cellpadding="2" cellspacing="0">
589 <table cellpadding="0" cellspacing="0" border="0">
591 <td class="md" nowrap valign="top">#define DEFAULT 30 </td>
597 <table cellspacing="5" cellpadding="0" border="0">
607 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>
610 <a class="anchor" name="FD_5FMAGIC_5FNUMBER"></a><!-- doxytag: member="modules.h::FD_MAGIC_NUMBER" ref="FD_5FMAGIC_5FNUMBER" args="" --><p>
611 <table class="mdTable" cellpadding="2" cellspacing="0">
614 <table cellpadding="0" cellspacing="0" border="0">
616 <td class="md" nowrap valign="top">#define FD_MAGIC_NUMBER -42 </td>
622 <table cellspacing="5" cellpadding="0" border="0">
632 Definition at line <a class="el" href="modules_8h-source.html#l00100">100</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.
634 Referenced by <a class="el" href="modules_8cpp-source.html#l00670">Server::PseudoToUser()</a>, and <a class="el" href="modules_8cpp-source.html#l00639">Server::UserToPseudo()</a>. </td>
637 <a class="anchor" name="FOREACH_5FMOD"></a><!-- doxytag: member="modules.h::FOREACH_MOD" ref="FOREACH_5FMOD" args="" --><p>
638 <table class="mdTable" cellpadding="2" cellspacing="0">
641 <table cellpadding="0" cellspacing="0" border="0">
643 <td class="md" nowrap valign="top">#define FOREACH_MOD for (int _i = 0; _i <= <a class="el" href="modules_8cpp.html#MODCOUNT">MODCOUNT</a>; _i++) modules[_i]-> </td>
649 <table cellspacing="5" cellpadding="0" border="0">
659 Definition at line <a class="el" href="modules_8h-source.html#l00080">80</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.
661 Referenced by <a class="el" href="modules_8cpp-source.html#l00293">Event::Send()</a>. </td>
664 <a class="anchor" name="FOREACH_5FRESULT_28x_29"></a><!-- doxytag: member="modules.h::FOREACH_RESULT" ref="FOREACH_5FRESULT_28x_29" args="(x)" --><p>
665 <table class="mdTable" cellpadding="2" cellspacing="0">
668 <table cellpadding="0" cellspacing="0" border="0">
670 <td class="md" nowrap valign="top">#define FOREACH_RESULT </td>
671 <td class="md" valign="top">( </td>
672 <td class="md" nowrap valign="top">x </td>
673 <td class="mdname1" valign="top" nowrap> </td>
674 <td class="md" valign="top"> ) </td>
675 <td class="md" nowrap></td>
681 <table cellspacing="5" cellpadding="0" border="0">
689 <b>Value:</b><div class="fragment"><pre class="fragment">{ MOD_RESULT = 0; \
690 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> _i = 0; _i <= <a class="code" href="channels_8cpp.html#MODCOUNT">MODCOUNT</a>; _i++) { \
691 <span class="keywordtype">int</span> res = <a class="code" href="channels_8cpp.html#modules">modules</a>[_i]->x ; \
692 <span class="keywordflow">if</span> (res != 0) { \
694 <span class="keywordflow">break</span>; \
700 Definition at line <a class="el" href="modules_8h-source.html#l00088">88</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
703 <a class="anchor" name="MT_5FCHANNEL"></a><!-- doxytag: member="modules.h::MT_CHANNEL" ref="MT_5FCHANNEL" args="" --><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 MT_CHANNEL 1 </td>
715 <table cellspacing="5" cellpadding="0" border="0">
725 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>.
727 Referenced by <a class="el" href="modules_8cpp-source.html#l00625">Server::AddExtendedListMode()</a>, and <a class="el" href="modules_8cpp-source.html#l00231">ModeMakeList()</a>. </td>
730 <a class="anchor" name="MT_5FCLIENT"></a><!-- doxytag: member="modules.h::MT_CLIENT" ref="MT_5FCLIENT" args="" --><p>
731 <table class="mdTable" cellpadding="2" cellspacing="0">
734 <table cellpadding="0" cellspacing="0" border="0">
736 <td class="md" nowrap valign="top">#define MT_CLIENT 2 </td>
742 <table cellspacing="5" cellpadding="0" border="0">
752 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>.
754 Referenced by <a class="el" href="modules_8cpp-source.html#l00597">Server::AddExtendedMode()</a>. </td>
757 <a class="anchor" name="MT_5FSERVER"></a><!-- doxytag: member="modules.h::MT_SERVER" ref="MT_5FSERVER" args="" --><p>
758 <table class="mdTable" cellpadding="2" cellspacing="0">
761 <table cellpadding="0" cellspacing="0" border="0">
763 <td class="md" nowrap valign="top">#define MT_SERVER 3 </td>
769 <table cellspacing="5" cellpadding="0" border="0">
779 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>.
781 Referenced by <a class="el" href="modules_8cpp-source.html#l00597">Server::AddExtendedMode()</a>. </td>
784 <a class="anchor" name="NONE"></a><!-- doxytag: member="modules.h::NONE" ref="NONE" args="" --><p>
785 <table class="mdTable" cellpadding="2" cellspacing="0">
788 <table cellpadding="0" cellspacing="0" border="0">
790 <td class="md" nowrap valign="top">#define NONE 50 </td>
796 <table cellspacing="5" cellpadding="0" border="0">
806 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>
809 <a class="anchor" name="SPARSE"></a><!-- doxytag: member="modules.h::SPARSE" ref="SPARSE" args="" --><p>
810 <table class="mdTable" cellpadding="2" cellspacing="0">
813 <table cellpadding="0" cellspacing="0" border="0">
815 <td class="md" nowrap valign="top">#define SPARSE 40 </td>
821 <table cellspacing="5" cellpadding="0" border="0">
831 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>
834 <a class="anchor" name="VERBOSE"></a><!-- doxytag: member="modules.h::VERBOSE" ref="VERBOSE" 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 VERBOSE 20 </td>
846 <table cellspacing="5" cellpadding="0" border="0">
856 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>
859 <a class="anchor" name="VF_5FCOMMON"></a><!-- doxytag: member="modules.h::VF_COMMON" ref="VF_5FCOMMON" args="" --><p>
860 <table class="mdTable" cellpadding="2" cellspacing="0">
863 <table cellpadding="0" cellspacing="0" border="0">
865 <td class="md" nowrap valign="top">#define VF_COMMON 8 </td>
871 <table cellspacing="5" cellpadding="0" border="0">
881 Definition at line <a class="el" href="modules_8h-source.html#l00056">56</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
884 <a class="anchor" name="VF_5FSERVICEPROVIDER"></a><!-- doxytag: member="modules.h::VF_SERVICEPROVIDER" ref="VF_5FSERVICEPROVIDER" args="" --><p>
885 <table class="mdTable" cellpadding="2" cellspacing="0">
888 <table cellpadding="0" cellspacing="0" border="0">
890 <td class="md" nowrap valign="top">#define VF_SERVICEPROVIDER 4 </td>
896 <table cellspacing="5" cellpadding="0" border="0">
906 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>
909 <a class="anchor" name="VF_5FSTATIC"></a><!-- doxytag: member="modules.h::VF_STATIC" ref="VF_5FSTATIC" args="" --><p>
910 <table class="mdTable" cellpadding="2" cellspacing="0">
913 <table cellpadding="0" cellspacing="0" border="0">
915 <td class="md" nowrap valign="top">#define VF_STATIC 1 </td>
921 <table cellspacing="5" cellpadding="0" border="0">
931 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>. </td>
934 <a class="anchor" name="VF_5FVENDOR"></a><!-- doxytag: member="modules.h::VF_VENDOR" ref="VF_5FVENDOR" args="" --><p>
935 <table class="mdTable" cellpadding="2" cellspacing="0">
938 <table cellpadding="0" cellspacing="0" border="0">
940 <td class="md" nowrap valign="top">#define VF_VENDOR 2 </td>
946 <table cellspacing="5" cellpadding="0" border="0">
956 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>.
958 Referenced by <a class="el" href="modules_8cpp-source.html#l00319">Module::GetVersion()</a>. </td>
961 <hr><h2>Typedef Documentation</h2>
962 <a class="anchor" name="chanuserlist"></a><!-- doxytag: member="modules.h::chanuserlist" ref="chanuserlist" args="" --><p>
963 <table class="mdTable" cellpadding="2" cellspacing="0">
966 <table cellpadding="0" cellspacing="0" border="0">
968 <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>
974 <table cellspacing="5" cellpadding="0" border="0">
982 Holds a list of users in a channel.
986 Definition at line <a class="el" href="modules_8h-source.html#l00073">73</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
989 <a class="anchor" name="file_5Fcache"></a><!-- doxytag: member="modules.h::file_cache" ref="file_5Fcache" args="" --><p>
990 <table class="mdTable" cellpadding="2" cellspacing="0">
993 <table cellpadding="0" cellspacing="0" border="0">
995 <td class="md" nowrap valign="top">typedef std::deque<<a class="el" href="namespaceirc.html#string">std::string</a>> <a class="el" href="modules_8h.html#file_5Fcache">file_cache</a> </td>
1001 <table cellspacing="5" cellpadding="0" border="0">
1009 Low level definition of a <a class="el" href="classFileReader.html">FileReader</a> classes file cache area.
1013 Definition at line <a class="el" href="modules_8h-source.html#l00068">68</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
1016 <a class="anchor" name="ircd_5Fmodule"></a><!-- doxytag: member="modules.h::ircd_module" ref="ircd_5Fmodule" args="" --><p>
1017 <table class="mdTable" cellpadding="2" cellspacing="0">
1020 <table cellpadding="0" cellspacing="0" border="0">
1022 <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>
1028 <table cellspacing="5" cellpadding="0" border="0">
1038 Definition at line <a class="el" href="modules_8h-source.html#l01278">1278</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
1041 <a class="anchor" name="string_5Flist"></a><!-- doxytag: member="modules.h::string_list" ref="string_5Flist" args="" --><p>
1042 <table class="mdTable" cellpadding="2" cellspacing="0">
1045 <table cellpadding="0" cellspacing="0" border="0">
1047 <td class="md" nowrap valign="top">typedef <a class="el" href="modules_8h.html#file_5Fcache">file_cache</a> <a class="el" href="modules_8h.html#string_5Flist">string_list</a> </td>
1053 <table cellspacing="5" cellpadding="0" border="0">
1063 Definition at line <a class="el" href="modules_8h-source.html#l00069">69</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
1066 <hr><h2>Function Documentation</h2>
1067 <a class="anchor" name="createcommand_28char_20_2Acmd_2C_20handlerfunc_20f_2C_20char_20flags_2C_20int_20minparams_2C_20char_20_2Asource_29"></a><!-- doxytag: member="modules.h::createcommand" ref="createcommand_28char_20_2Acmd_2C_20handlerfunc_20f_2C_20char_20flags_2C_20int_20minparams_2C_20char_20_2Asource_29" args="(char *cmd, handlerfunc f, char flags, int minparams, char *source)" --><p>
1068 <table class="mdTable" cellpadding="2" cellspacing="0">
1071 <table cellpadding="0" cellspacing="0" border="0">
1073 <td class="md" nowrap valign="top">void createcommand </td>
1074 <td class="md" valign="top">( </td>
1075 <td class="md" nowrap valign="top">char * </td>
1076 <td class="mdname" nowrap> <em>cmd</em>, </td>
1079 <td class="md" nowrap align="right"></td>
1080 <td class="md"></td>
1081 <td class="md" nowrap>handlerfunc </td>
1082 <td class="mdname" nowrap> <em>f</em>, </td>
1085 <td class="md" nowrap align="right"></td>
1086 <td class="md"></td>
1087 <td class="md" nowrap>char </td>
1088 <td class="mdname" nowrap> <em>flags</em>, </td>
1091 <td class="md" nowrap align="right"></td>
1092 <td class="md"></td>
1093 <td class="md" nowrap>int </td>
1094 <td class="mdname" nowrap> <em>minparams</em>, </td>
1097 <td class="md" nowrap align="right"></td>
1098 <td class="md"></td>
1099 <td class="md" nowrap>char * </td>
1100 <td class="mdname" nowrap> <em>source</em></td>
1103 <td class="md"></td>
1104 <td class="md">) </td>
1105 <td class="md" colspan="2"></td>
1111 <table cellspacing="5" cellpadding="0" border="0">
1121 Referenced by <a class="el" href="modules_8cpp-source.html#l00457">Server::AddCommand()</a>. </td>
1124 <a class="anchor" name="server_5Fmode_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29"></a><!-- doxytag: member="modules.h::server_mode" ref="server_5Fmode_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29" args="(char **parameters, int pcnt, userrec *user)" --><p>
1125 <table class="mdTable" cellpadding="2" cellspacing="0">
1128 <table cellpadding="0" cellspacing="0" border="0">
1130 <td class="md" nowrap valign="top">void server_mode </td>
1131 <td class="md" valign="top">( </td>
1132 <td class="md" nowrap valign="top">char ** </td>
1133 <td class="mdname" nowrap> <em>parameters</em>, </td>
1136 <td class="md" nowrap align="right"></td>
1137 <td class="md"></td>
1138 <td class="md" nowrap>int </td>
1139 <td class="mdname" nowrap> <em>pcnt</em>, </td>
1142 <td class="md" nowrap align="right"></td>
1143 <td class="md"></td>
1144 <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td>
1145 <td class="mdname" nowrap> <em>user</em></td>
1148 <td class="md"></td>
1149 <td class="md">) </td>
1150 <td class="md" colspan="2"></td>
1156 <table cellspacing="5" cellpadding="0" border="0">
1167 <hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:24 2005 for InspIRCd by
1168 <a href="http://www.doxygen.org/index.html">
1169 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>