1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 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.css" rel="stylesheet" type="text/css">
6 <!-- Generated by Doxygen 1.3.3 -->
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">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div>
8 <h1>modules.h File Reference</h1><code>#include "dynamic.h"</code><br>
9 <code>#include "<a class="el" href="base_8h-source.html">base.h</a>"</code><br>
10 <code>#include "<a class="el" href="ctables_8h-source.html">ctables.h</a>"</code><br>
11 <code>#include <string></code><br>
12 <code>#include <deque></code><br>
13 <code>#include <sstream></code><br>
16 <a href="modules_8h-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0>
18 <tr><td colspan=2><br><h2>Compounds</h2></td></tr>
19 <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>
21 <tr><td class="mdescLeft"> </td><td class="mdescRight">Holds /ADMIN data This class contains the admin details of the local server. </em> <a href="classAdmin.html#_details">More...</a><em><br><br></td></tr>
22 <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>
24 <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. </em> <a href="classConfigReader.html#_details">More...</a><em><br><br></td></tr>
25 <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>
27 <tr><td class="mdescLeft"> </td><td class="mdescRight">Caches a text file into memory and can be used to retrieve lines from it. </em> <a href="classFileReader.html#_details">More...</a><em><br><br></td></tr>
28 <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>
30 <tr><td class="mdescLeft"> </td><td class="mdescRight">Base class for all InspIRCd modules This class is the base class for InspIRCd modules. </em> <a href="classModule.html#_details">More...</a><em><br><br></td></tr>
31 <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>
33 <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. </em> <a href="classModuleFactory.html#_details">More...</a><em><br><br></td></tr>
34 <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>
36 <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. </em> <a href="classServer.html#_details">More...</a><em><br><br></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. </em> <a href="classVersion.html#_details">More...</a><em><br><br></td></tr>
40 <tr><td colspan=2><br><h2>Defines</h2></td></tr>
41 <tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8h.html#a0">DEBUG</a> 10</td></tr>
43 <tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8h.html#a1">VERBOSE</a> 20</td></tr>
45 <tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8h.html#a2">DEFAULT</a> 30</td></tr>
47 <tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8h.html#a3">SPARSE</a> 40</td></tr>
49 <tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8h.html#a4">NONE</a> 50</td></tr>
51 <tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8h.html#a5">MT_CHANNEL</a> 1</td></tr>
53 <tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8h.html#a6">MT_CLIENT</a> 2</td></tr>
55 <tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8h.html#a7">MT_SERVER</a> 3</td></tr>
57 <tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8h.html#a8">ACR_DEFAULT</a> 0</td></tr>
59 <tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8h.html#a9">ACR_DENY</a> 1</td></tr>
61 <tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8h.html#a10">ACR_ALLOW</a> 2</td></tr>
63 <tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8h.html#a11">AC_KICK</a> 0</td></tr>
65 <tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8h.html#a12">AC_DEOP</a> 1</td></tr>
67 <tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8h.html#a13">AC_OP</a> 2</td></tr>
69 <tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8h.html#a14">AC_VOICE</a> 3</td></tr>
71 <tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8h.html#a15">AC_DEVOICE</a> 4</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#a16">AC_HALFOP</a> 5</td></tr>
75 <tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8h.html#a17">AC_DEHALFOP</a> 6</td></tr>
77 <tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8h.html#a18">AC_INVITE</a> 7</td></tr>
79 <tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8h.html#a19">AC_GENERAL_MODE</a> 8</td></tr>
81 <tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8h.html#a20">FOREACH_MOD</a> for (int i = 0; i <= <a class="el" href="modules_8cpp.html#a1">MODCOUNT</a>; i++) modules[i]-></td></tr>
83 <tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8h.html#a21">FOREACH_RESULT</a>(x)</td></tr>
85 <tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8h.html#a22">CONF_NOT_A_NUMBER</a> 0x000010</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#a23">CONF_NOT_UNSIGNED</a> 0x000080</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#a24">CONF_VALUE_NOT_FOUND</a> 0x000100</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#a25">CONF_FILE_NOT_FOUND</a> 0x000200</td></tr>
93 <tr><td colspan=2><br><h2>Typedefs</h2></td></tr>
94 <tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::deque< std::string > </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8h.html#a26">file_cache</a></td></tr>
96 <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. </em> <a href="#a26"></a><em><br><br></td></tr>
97 <tr><td class="memItemLeft" nowrap align=right valign=top>typedef <a class="el" href="modules_8h.html#a26">file_cache</a> </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8h.html#a27">string_list</a></td></tr>
99 <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#a28">chanuserlist</a></td></tr>
101 <tr><td class="mdescLeft"> </td><td class="mdescRight">Holds a list of users in a channel. </em> <a href="#a28"></a><em><br><br></td></tr>
102 <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#a29">ircd_module</a></td></tr>
104 <tr><td colspan=2><br><h2>Functions</h2></td></tr>
105 <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8h.html#a30">createcommand</a> (char *cmd, handlerfunc f, char flags, int minparams)</td></tr>
107 <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8h.html#a31">server_mode</a> (char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr>
110 <hr><h2>Define Documentation</h2>
111 <a name="a17" doxytag="modules.h::AC_DEHALFOP"></a><p>
112 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
115 <table cellpadding="0" cellspacing="0" border="0">
117 <td class="md" nowrap valign="top"> #define AC_DEHALFOP 6
122 <table cellspacing=5 cellpadding=0 border=0>
132 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>
135 <a name="a12" doxytag="modules.h::AC_DEOP"></a><p>
136 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
139 <table cellpadding="0" cellspacing="0" border="0">
141 <td class="md" nowrap valign="top"> #define AC_DEOP 1
146 <table cellspacing=5 cellpadding=0 border=0>
156 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>
159 <a name="a15" doxytag="modules.h::AC_DEVOICE"></a><p>
160 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
163 <table cellpadding="0" cellspacing="0" border="0">
165 <td class="md" nowrap valign="top"> #define AC_DEVOICE 4
170 <table cellspacing=5 cellpadding=0 border=0>
180 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>
183 <a name="a19" doxytag="modules.h::AC_GENERAL_MODE"></a><p>
184 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
187 <table cellpadding="0" cellspacing="0" border="0">
189 <td class="md" nowrap valign="top"> #define AC_GENERAL_MODE 8
194 <table cellspacing=5 cellpadding=0 border=0>
204 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>
207 <a name="a16" doxytag="modules.h::AC_HALFOP"></a><p>
208 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
211 <table cellpadding="0" cellspacing="0" border="0">
213 <td class="md" nowrap valign="top"> #define AC_HALFOP 5
218 <table cellspacing=5 cellpadding=0 border=0>
228 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>
231 <a name="a18" doxytag="modules.h::AC_INVITE"></a><p>
232 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
235 <table cellpadding="0" cellspacing="0" border="0">
237 <td class="md" nowrap valign="top"> #define AC_INVITE 7
242 <table cellspacing=5 cellpadding=0 border=0>
252 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>
255 <a name="a11" doxytag="modules.h::AC_KICK"></a><p>
256 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
259 <table cellpadding="0" cellspacing="0" border="0">
261 <td class="md" nowrap valign="top"> #define AC_KICK 0
266 <table cellspacing=5 cellpadding=0 border=0>
276 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>
279 <a name="a13" doxytag="modules.h::AC_OP"></a><p>
280 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
283 <table cellpadding="0" cellspacing="0" border="0">
285 <td class="md" nowrap valign="top"> #define AC_OP 2
290 <table cellspacing=5 cellpadding=0 border=0>
300 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>
303 <a name="a14" doxytag="modules.h::AC_VOICE"></a><p>
304 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
307 <table cellpadding="0" cellspacing="0" border="0">
309 <td class="md" nowrap valign="top"> #define AC_VOICE 3
314 <table cellspacing=5 cellpadding=0 border=0>
324 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>
327 <a name="a10" doxytag="modules.h::ACR_ALLOW"></a><p>
328 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
331 <table cellpadding="0" cellspacing="0" border="0">
333 <td class="md" nowrap valign="top"> #define ACR_ALLOW 2
338 <table cellspacing=5 cellpadding=0 border=0>
348 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>
351 <a name="a8" doxytag="modules.h::ACR_DEFAULT"></a><p>
352 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
355 <table cellpadding="0" cellspacing="0" border="0">
357 <td class="md" nowrap valign="top"> #define ACR_DEFAULT 0
362 <table cellspacing=5 cellpadding=0 border=0>
372 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>.
374 Referenced by <a class="el" href="modules_8cpp-source.html#l00324">Module::OnAccessCheck()</a>. </td>
377 <a name="a9" doxytag="modules.h::ACR_DENY"></a><p>
378 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
381 <table cellpadding="0" cellspacing="0" border="0">
383 <td class="md" nowrap valign="top"> #define ACR_DENY 1
388 <table cellspacing=5 cellpadding=0 border=0>
398 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>
401 <a name="a25" doxytag="modules.h::CONF_FILE_NOT_FOUND"></a><p>
402 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
405 <table cellpadding="0" cellspacing="0" border="0">
407 <td class="md" nowrap valign="top"> #define CONF_FILE_NOT_FOUND 0x000200
412 <table cellspacing=5 cellpadding=0 border=0>
422 Definition at line <a class="el" href="modules_8h-source.html#l00661">661</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.
424 Referenced by <a class="el" href="modules_8cpp-source.html#l00576">ConfigReader::ConfigReader()</a>. </td>
427 <a name="a22" doxytag="modules.h::CONF_NOT_A_NUMBER"></a><p>
428 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
431 <table cellpadding="0" cellspacing="0" border="0">
433 <td class="md" nowrap valign="top"> #define CONF_NOT_A_NUMBER 0x000010
438 <table cellspacing=5 cellpadding=0 border=0>
448 Definition at line <a class="el" href="modules_8h-source.html#l00658">658</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.
450 Referenced by <a class="el" href="modules_8cpp-source.html#l00637">ConfigReader::ReadInteger()</a>. </td>
453 <a name="a23" doxytag="modules.h::CONF_NOT_UNSIGNED"></a><p>
454 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
457 <table cellpadding="0" cellspacing="0" border="0">
459 <td class="md" nowrap valign="top"> #define CONF_NOT_UNSIGNED 0x000080
464 <table cellspacing=5 cellpadding=0 border=0>
474 Definition at line <a class="el" href="modules_8h-source.html#l00659">659</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.
476 Referenced by <a class="el" href="modules_8cpp-source.html#l00637">ConfigReader::ReadInteger()</a>. </td>
479 <a name="a24" doxytag="modules.h::CONF_VALUE_NOT_FOUND"></a><p>
480 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
483 <table cellpadding="0" cellspacing="0" border="0">
485 <td class="md" nowrap valign="top"> #define CONF_VALUE_NOT_FOUND 0x000100
490 <table cellspacing=5 cellpadding=0 border=0>
500 Definition at line <a class="el" href="modules_8h-source.html#l00660">660</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.
502 Referenced by <a class="el" href="modules_8cpp-source.html#l00620">ConfigReader::ReadFlag()</a>, <a class="el" href="modules_8cpp-source.html#l00637">ConfigReader::ReadInteger()</a>, and <a class="el" href="modules_8cpp-source.html#l00604">ConfigReader::ReadValue()</a>. </td>
505 <a name="a0" doxytag="modules.h::DEBUG"></a><p>
506 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
509 <table cellpadding="0" cellspacing="0" border="0">
511 <td class="md" nowrap valign="top"> #define DEBUG 10
516 <table cellspacing=5 cellpadding=0 border=0>
526 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>.
528 Referenced by <a class="el" href="modules_8cpp-source.html#l00542">Server::AddExtendedMode()</a>, <a class="el" href="users_8cpp-source.html#l00112">userrec::HasPermission()</a>, <a class="el" href="channels_8cpp-source.html#l00179">chanrec::IsCustomModeSet()</a>, <a class="el" href="modules_8cpp-source.html#l00207">ModeDefined()</a>, <a class="el" href="modules_8cpp-source.html#l00233">ModeDefinedOper()</a>, <a class="el" href="modules_8cpp-source.html#l00220">ModeIsListMode()</a>, <a class="el" href="users_8cpp-source.html#l00090">userrec::RemoveInvite()</a>, <a class="el" href="channels_8cpp-source.html#l00123">chanrec::SetCustomMode()</a>, and <a class="el" href="channels_8cpp-source.html#l00148">chanrec::SetCustomModeParam()</a>. </td>
531 <a name="a2" doxytag="modules.h::DEFAULT"></a><p>
532 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
535 <table cellpadding="0" cellspacing="0" border="0">
537 <td class="md" nowrap valign="top"> #define DEFAULT 30
542 <table cellspacing=5 cellpadding=0 border=0>
552 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>
555 <a name="a20" doxytag="modules.h::FOREACH_MOD"></a><p>
556 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
559 <table cellpadding="0" cellspacing="0" border="0">
561 <td class="md" nowrap valign="top"> #define FOREACH_MOD for (int i = 0; i <= <a class="el" href="modules_8cpp.html#a1">MODCOUNT</a>; i++) modules[i]->
566 <table cellspacing=5 cellpadding=0 border=0>
576 Definition at line <a class="el" href="modules_8h-source.html#l00072">72</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
579 <a name="a21" doxytag="modules.h::FOREACH_RESULT"></a><p>
580 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
583 <table cellpadding="0" cellspacing="0" border="0">
585 <td class="md" nowrap valign="top"> #define FOREACH_RESULT</td>
586 <td class="md" valign="top">( </td>
587 <td class="md" nowrap valign="top">x </td>
588 <td class="mdname1" valign="top" nowrap> </td>
589 <td class="md" valign="top"> ) </td>
590 <td class="md" nowrap>
595 <table cellspacing=5 cellpadding=0 border=0>
603 <b>Value:</b><div class="fragment"><pre>{ MOD_RESULT = 0; \
604 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i <= <a class="code" href="modules_8cpp.html#a1">MODCOUNT</a>; i++) { \
605 <span class="keywordtype">int</span> res = <a class="code" href="channels_8cpp.html#a2">modules</a>[i]->x ; \
606 <span class="keywordflow">if</span> (res != 0) { \
608 <span class="keywordflow">break</span>; \
614 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>. </td>
617 <a name="a5" doxytag="modules.h::MT_CHANNEL"></a><p>
618 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
621 <table cellpadding="0" cellspacing="0" border="0">
623 <td class="md" nowrap valign="top"> #define MT_CHANNEL 1
628 <table cellspacing=5 cellpadding=0 border=0>
638 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>.
640 Referenced by <a class="el" href="modules_8cpp-source.html#l00562">Server::AddExtendedListMode()</a>, and <a class="el" href="modules_8cpp-source.html#l00283">ModeMakeList()</a>. </td>
643 <a name="a6" doxytag="modules.h::MT_CLIENT"></a><p>
644 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
647 <table cellpadding="0" cellspacing="0" border="0">
649 <td class="md" nowrap valign="top"> #define MT_CLIENT 2
654 <table cellspacing=5 cellpadding=0 border=0>
664 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>.
666 Referenced by <a class="el" href="modules_8cpp-source.html#l00542">Server::AddExtendedMode()</a>. </td>
669 <a name="a7" doxytag="modules.h::MT_SERVER"></a><p>
670 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
673 <table cellpadding="0" cellspacing="0" border="0">
675 <td class="md" nowrap valign="top"> #define MT_SERVER 3
680 <table cellspacing=5 cellpadding=0 border=0>
690 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>.
692 Referenced by <a class="el" href="modules_8cpp-source.html#l00542">Server::AddExtendedMode()</a>. </td>
695 <a name="a4" doxytag="modules.h::NONE"></a><p>
696 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
699 <table cellpadding="0" cellspacing="0" border="0">
701 <td class="md" nowrap valign="top"> #define NONE 50
706 <table cellspacing=5 cellpadding=0 border=0>
716 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>
719 <a name="a3" doxytag="modules.h::SPARSE"></a><p>
720 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
723 <table cellpadding="0" cellspacing="0" border="0">
725 <td class="md" nowrap valign="top"> #define SPARSE 40
730 <table cellspacing=5 cellpadding=0 border=0>
740 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>
743 <a name="a1" doxytag="modules.h::VERBOSE"></a><p>
744 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
747 <table cellpadding="0" cellspacing="0" border="0">
749 <td class="md" nowrap valign="top"> #define VERBOSE 20
754 <table cellspacing=5 cellpadding=0 border=0>
764 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>
767 <hr><h2>Typedef Documentation</h2>
768 <a name="a28" doxytag="modules.h::chanuserlist"></a><p>
769 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
772 <table cellpadding="0" cellspacing="0" border="0">
774 <td class="md" nowrap valign="top"> typedef std::deque<<a class="el" href="classuserrec.html">userrec</a>*> <a class="el" href="modules_8h.html#a28">chanuserlist</a>
779 <table cellspacing=5 cellpadding=0 border=0>
787 Holds a list of users in a channel.
791 Definition at line <a class="el" href="modules_8h-source.html#l00065">65</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.
793 Referenced by <a class="el" href="modules_8cpp-source.html#l00372">Server::GetUsers()</a>. </td>
796 <a name="a26" doxytag="modules.h::file_cache"></a><p>
797 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
800 <table cellpadding="0" cellspacing="0" border="0">
802 <td class="md" nowrap valign="top"> typedef std::deque<std::string> <a class="el" href="modules_8h.html#a26">file_cache</a>
807 <table cellspacing=5 cellpadding=0 border=0>
815 Low level definition of a <a class="el" href="classFileReader.html">FileReader</a> classes file cache area.
819 Definition at line <a class="el" href="modules_8h-source.html#l00060">60</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.
821 Referenced by <a class="el" href="modules_8cpp-source.html#l00722">FileReader::FileReader()</a>, and <a class="el" href="modules_8cpp-source.html#l00733">FileReader::LoadFile()</a>. </td>
824 <a name="a29" doxytag="modules.h::ircd_module"></a><p>
825 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
828 <table cellpadding="0" cellspacing="0" border="0">
830 <td class="md" nowrap valign="top"> typedef DLLFactory<<a class="el" href="classModuleFactory.html">ModuleFactory</a>> <a class="el" href="modules_8h.html#a29">ircd_module</a>
835 <table cellspacing=5 cellpadding=0 border=0>
845 Definition at line <a class="el" href="modules_8h-source.html#l00826">826</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
848 <a name="a27" doxytag="modules.h::string_list"></a><p>
849 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
852 <table cellpadding="0" cellspacing="0" border="0">
854 <td class="md" nowrap valign="top"> typedef <a class="el" href="modules_8h.html#a26">file_cache</a> <a class="el" href="modules_8h.html#a27">string_list</a>
859 <table cellspacing=5 cellpadding=0 border=0>
869 Definition at line <a class="el" href="modules_8h-source.html#l00061">61</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.
871 Referenced by <a class="el" href="modules_8cpp-source.html#l00326">Module::OnChannelSync()</a>, and <a class="el" href="modules_8cpp-source.html#l00325">Module::OnUserSync()</a>. </td>
874 <hr><h2>Function Documentation</h2>
875 <a name="a30" doxytag="modules.h::createcommand"></a><p>
876 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
879 <table cellpadding="0" cellspacing="0" border="0">
881 <td class="md" nowrap valign="top"> void createcommand </td>
882 <td class="md" valign="top">( </td>
883 <td class="md" nowrap valign="top">char * </td>
884 <td class="mdname" nowrap> <em>cmd</em>, </td>
889 <td class="md" nowrap>handlerfunc </td>
890 <td class="mdname" nowrap> <em>f</em>, </td>
895 <td class="md" nowrap>char </td>
896 <td class="mdname" nowrap> <em>flags</em>, </td>
901 <td class="md" nowrap>int </td>
902 <td class="mdname" nowrap> <em>minparams</em></td>
906 <td class="md">) </td>
907 <td class="md" colspan="2"></td>
914 <table cellspacing=5 cellpadding=0 border=0>
924 Referenced by <a class="el" href="modules_8cpp-source.html#l00417">Server::AddCommand()</a>. </td>
927 <a name="a31" doxytag="modules.h::server_mode"></a><p>
928 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
931 <table cellpadding="0" cellspacing="0" border="0">
933 <td class="md" nowrap valign="top"> void server_mode </td>
934 <td class="md" valign="top">( </td>
935 <td class="md" nowrap valign="top">char ** </td>
936 <td class="mdname" nowrap> <em>parameters</em>, </td>
941 <td class="md" nowrap>int </td>
942 <td class="mdname" nowrap> <em>pcnt</em>, </td>
947 <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td>
948 <td class="mdname" nowrap> <em>user</em></td>
952 <td class="md">) </td>
953 <td class="md" colspan="2"></td>
960 <table cellspacing=5 cellpadding=0 border=0>
970 Referenced by <a class="el" href="modules_8cpp-source.html#l00422">Server::SendMode()</a>. </td>
973 <hr size="1"><address style="align: right;"><small>Generated on Sat Apr 2 19:27:03 2005 for InspIRCd by
974 <a href="http://www.doxygen.org/index.html">
975 <img src="doxygen.png" alt="doxygen" align="middle" border=0 >
976 </a>1.3.3 </small></address>