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">VF_STATIC</a> 1</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">VF_VENDOR</a> 2</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">VF_SERVICEPROVIDER</a> 4</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">VF_COMMON</a> 8</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">FOREACH_MOD</a> for (int i = 0; i <= <a class="el" href="modules_8cpp.html#a1">MODCOUNT</a>; i++) modules[i]-></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">FOREACH_RESULT</a>(x)</td></tr>
93 <tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8h.html#a26">CONF_NOT_A_NUMBER</a> 0x000010</td></tr>
95 <tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8h.html#a27">CONF_NOT_UNSIGNED</a> 0x000080</td></tr>
97 <tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8h.html#a28">CONF_VALUE_NOT_FOUND</a> 0x000100</td></tr>
99 <tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8h.html#a29">CONF_FILE_NOT_FOUND</a> 0x000200</td></tr>
101 <tr><td colspan=2><br><h2>Typedefs</h2></td></tr>
102 <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#a30">file_cache</a></td></tr>
104 <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="#a30"></a><em><br><br></td></tr>
105 <tr><td class="memItemLeft" nowrap align=right valign=top>typedef <a class="el" href="modules_8h.html#a30">file_cache</a> </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8h.html#a31">string_list</a></td></tr>
107 <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#a32">chanuserlist</a></td></tr>
109 <tr><td class="mdescLeft"> </td><td class="mdescRight">Holds a list of users in a channel. </em> <a href="#a32"></a><em><br><br></td></tr>
110 <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#a33">ircd_module</a></td></tr>
112 <tr><td colspan=2><br><h2>Functions</h2></td></tr>
113 <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8h.html#a34">createcommand</a> (char *cmd, handlerfunc f, char flags, int minparams, char *source)</td></tr>
115 <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8h.html#a35">server_mode</a> (char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr>
118 <hr><h2>Define Documentation</h2>
119 <a name="a17" doxytag="modules.h::AC_DEHALFOP"></a><p>
120 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
123 <table cellpadding="0" cellspacing="0" border="0">
125 <td class="md" nowrap valign="top"> #define AC_DEHALFOP 6
130 <table cellspacing=5 cellpadding=0 border=0>
140 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>
143 <a name="a12" doxytag="modules.h::AC_DEOP"></a><p>
144 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
147 <table cellpadding="0" cellspacing="0" border="0">
149 <td class="md" nowrap valign="top"> #define AC_DEOP 1
154 <table cellspacing=5 cellpadding=0 border=0>
164 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>
167 <a name="a15" doxytag="modules.h::AC_DEVOICE"></a><p>
168 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
171 <table cellpadding="0" cellspacing="0" border="0">
173 <td class="md" nowrap valign="top"> #define AC_DEVOICE 4
178 <table cellspacing=5 cellpadding=0 border=0>
188 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>
191 <a name="a19" doxytag="modules.h::AC_GENERAL_MODE"></a><p>
192 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
195 <table cellpadding="0" cellspacing="0" border="0">
197 <td class="md" nowrap valign="top"> #define AC_GENERAL_MODE 8
202 <table cellspacing=5 cellpadding=0 border=0>
212 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>
215 <a name="a16" doxytag="modules.h::AC_HALFOP"></a><p>
216 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
219 <table cellpadding="0" cellspacing="0" border="0">
221 <td class="md" nowrap valign="top"> #define AC_HALFOP 5
226 <table cellspacing=5 cellpadding=0 border=0>
236 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>
239 <a name="a18" doxytag="modules.h::AC_INVITE"></a><p>
240 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
243 <table cellpadding="0" cellspacing="0" border="0">
245 <td class="md" nowrap valign="top"> #define AC_INVITE 7
250 <table cellspacing=5 cellpadding=0 border=0>
260 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>
263 <a name="a11" doxytag="modules.h::AC_KICK"></a><p>
264 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
267 <table cellpadding="0" cellspacing="0" border="0">
269 <td class="md" nowrap valign="top"> #define AC_KICK 0
274 <table cellspacing=5 cellpadding=0 border=0>
284 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>
287 <a name="a13" doxytag="modules.h::AC_OP"></a><p>
288 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
291 <table cellpadding="0" cellspacing="0" border="0">
293 <td class="md" nowrap valign="top"> #define AC_OP 2
298 <table cellspacing=5 cellpadding=0 border=0>
308 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>
311 <a name="a14" doxytag="modules.h::AC_VOICE"></a><p>
312 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
315 <table cellpadding="0" cellspacing="0" border="0">
317 <td class="md" nowrap valign="top"> #define AC_VOICE 3
322 <table cellspacing=5 cellpadding=0 border=0>
332 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>
335 <a name="a10" doxytag="modules.h::ACR_ALLOW"></a><p>
336 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
339 <table cellpadding="0" cellspacing="0" border="0">
341 <td class="md" nowrap valign="top"> #define ACR_ALLOW 2
346 <table cellspacing=5 cellpadding=0 border=0>
356 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>
359 <a name="a8" doxytag="modules.h::ACR_DEFAULT"></a><p>
360 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
363 <table cellpadding="0" cellspacing="0" border="0">
365 <td class="md" nowrap valign="top"> #define ACR_DEFAULT 0
370 <table cellspacing=5 cellpadding=0 border=0>
380 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>.
382 Referenced by <a class="el" href="modules_8cpp-source.html#l00327">Module::OnAccessCheck()</a>. </td>
385 <a name="a9" doxytag="modules.h::ACR_DENY"></a><p>
386 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
389 <table cellpadding="0" cellspacing="0" border="0">
391 <td class="md" nowrap valign="top"> #define ACR_DENY 1
396 <table cellspacing=5 cellpadding=0 border=0>
406 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>
409 <a name="a29" doxytag="modules.h::CONF_FILE_NOT_FOUND"></a><p>
410 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
413 <table cellpadding="0" cellspacing="0" border="0">
415 <td class="md" nowrap valign="top"> #define CONF_FILE_NOT_FOUND 0x000200
420 <table cellspacing=5 cellpadding=0 border=0>
430 Definition at line <a class="el" href="modules_8h-source.html#l00677">677</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.
432 Referenced by <a class="el" href="modules_8cpp-source.html#l00579">ConfigReader::ConfigReader()</a>. </td>
435 <a name="a26" doxytag="modules.h::CONF_NOT_A_NUMBER"></a><p>
436 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
439 <table cellpadding="0" cellspacing="0" border="0">
441 <td class="md" nowrap valign="top"> #define CONF_NOT_A_NUMBER 0x000010
446 <table cellspacing=5 cellpadding=0 border=0>
456 Definition at line <a class="el" href="modules_8h-source.html#l00674">674</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.
458 Referenced by <a class="el" href="modules_8cpp-source.html#l00640">ConfigReader::ReadInteger()</a>. </td>
461 <a name="a27" doxytag="modules.h::CONF_NOT_UNSIGNED"></a><p>
462 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
465 <table cellpadding="0" cellspacing="0" border="0">
467 <td class="md" nowrap valign="top"> #define CONF_NOT_UNSIGNED 0x000080
472 <table cellspacing=5 cellpadding=0 border=0>
482 Definition at line <a class="el" href="modules_8h-source.html#l00675">675</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.
484 Referenced by <a class="el" href="modules_8cpp-source.html#l00640">ConfigReader::ReadInteger()</a>. </td>
487 <a name="a28" doxytag="modules.h::CONF_VALUE_NOT_FOUND"></a><p>
488 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
491 <table cellpadding="0" cellspacing="0" border="0">
493 <td class="md" nowrap valign="top"> #define CONF_VALUE_NOT_FOUND 0x000100
498 <table cellspacing=5 cellpadding=0 border=0>
508 Definition at line <a class="el" href="modules_8h-source.html#l00676">676</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.
510 Referenced by <a class="el" href="modules_8cpp-source.html#l00623">ConfigReader::ReadFlag()</a>, <a class="el" href="modules_8cpp-source.html#l00640">ConfigReader::ReadInteger()</a>, and <a class="el" href="modules_8cpp-source.html#l00607">ConfigReader::ReadValue()</a>. </td>
513 <a name="a0" doxytag="modules.h::DEBUG"></a><p>
514 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
517 <table cellpadding="0" cellspacing="0" border="0">
519 <td class="md" nowrap valign="top"> #define DEBUG 10
524 <table cellspacing=5 cellpadding=0 border=0>
534 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>.
536 Referenced by <a class="el" href="modules_8cpp-source.html#l00545">Server::AddExtendedMode()</a>, <a class="el" href="users_8cpp-source.html#l00114">userrec::HasPermission()</a>, <a class="el" href="channels_8cpp-source.html#l00180">chanrec::IsCustomModeSet()</a>, <a class="el" href="modules_8cpp-source.html#l00209">ModeDefined()</a>, <a class="el" href="modules_8cpp-source.html#l00235">ModeDefinedOper()</a>, <a class="el" href="modules_8cpp-source.html#l00222">ModeIsListMode()</a>, <a class="el" href="users_8cpp-source.html#l00092">userrec::RemoveInvite()</a>, <a class="el" href="channels_8cpp-source.html#l00124">chanrec::SetCustomMode()</a>, and <a class="el" href="channels_8cpp-source.html#l00149">chanrec::SetCustomModeParam()</a>. </td>
539 <a name="a2" doxytag="modules.h::DEFAULT"></a><p>
540 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
543 <table cellpadding="0" cellspacing="0" border="0">
545 <td class="md" nowrap valign="top"> #define DEFAULT 30
550 <table cellspacing=5 cellpadding=0 border=0>
560 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>
563 <a name="a24" doxytag="modules.h::FOREACH_MOD"></a><p>
564 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
567 <table cellpadding="0" cellspacing="0" border="0">
569 <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]->
574 <table cellspacing=5 cellpadding=0 border=0>
584 Definition at line <a class="el" href="modules_8h-source.html#l00079">79</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
587 <a name="a25" doxytag="modules.h::FOREACH_RESULT"></a><p>
588 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
591 <table cellpadding="0" cellspacing="0" border="0">
593 <td class="md" nowrap valign="top"> #define FOREACH_RESULT</td>
594 <td class="md" valign="top">( </td>
595 <td class="md" nowrap valign="top">x </td>
596 <td class="mdname1" valign="top" nowrap> </td>
597 <td class="md" valign="top"> ) </td>
598 <td class="md" nowrap>
603 <table cellspacing=5 cellpadding=0 border=0>
611 <b>Value:</b><div class="fragment"><pre>{ MOD_RESULT = 0; \
612 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i <= <a class="code" href="modules_8cpp.html#a1">MODCOUNT</a>; i++) { \
613 <span class="keywordtype">int</span> res = <a class="code" href="channels_8cpp.html#a2">modules</a>[i]->x ; \
614 <span class="keywordflow">if</span> (res != 0) { \
616 <span class="keywordflow">break</span>; \
622 Definition at line <a class="el" href="modules_8h-source.html#l00087">87</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
625 <a name="a5" doxytag="modules.h::MT_CHANNEL"></a><p>
626 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
629 <table cellpadding="0" cellspacing="0" border="0">
631 <td class="md" nowrap valign="top"> #define MT_CHANNEL 1
636 <table cellspacing=5 cellpadding=0 border=0>
646 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>.
648 Referenced by <a class="el" href="modules_8cpp-source.html#l00565">Server::AddExtendedListMode()</a>, and <a class="el" href="modules_8cpp-source.html#l00285">ModeMakeList()</a>. </td>
651 <a name="a6" doxytag="modules.h::MT_CLIENT"></a><p>
652 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
655 <table cellpadding="0" cellspacing="0" border="0">
657 <td class="md" nowrap valign="top"> #define MT_CLIENT 2
662 <table cellspacing=5 cellpadding=0 border=0>
672 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>.
674 Referenced by <a class="el" href="modules_8cpp-source.html#l00545">Server::AddExtendedMode()</a>. </td>
677 <a name="a7" doxytag="modules.h::MT_SERVER"></a><p>
678 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
681 <table cellpadding="0" cellspacing="0" border="0">
683 <td class="md" nowrap valign="top"> #define MT_SERVER 3
688 <table cellspacing=5 cellpadding=0 border=0>
698 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>.
700 Referenced by <a class="el" href="modules_8cpp-source.html#l00545">Server::AddExtendedMode()</a>. </td>
703 <a name="a4" doxytag="modules.h::NONE"></a><p>
704 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
707 <table cellpadding="0" cellspacing="0" border="0">
709 <td class="md" nowrap valign="top"> #define NONE 50
714 <table cellspacing=5 cellpadding=0 border=0>
724 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>
727 <a name="a3" doxytag="modules.h::SPARSE"></a><p>
728 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
731 <table cellpadding="0" cellspacing="0" border="0">
733 <td class="md" nowrap valign="top"> #define SPARSE 40
738 <table cellspacing=5 cellpadding=0 border=0>
748 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>
751 <a name="a1" doxytag="modules.h::VERBOSE"></a><p>
752 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
755 <table cellpadding="0" cellspacing="0" border="0">
757 <td class="md" nowrap valign="top"> #define VERBOSE 20
762 <table cellspacing=5 cellpadding=0 border=0>
772 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>
775 <a name="a23" doxytag="modules.h::VF_COMMON"></a><p>
776 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
779 <table cellpadding="0" cellspacing="0" border="0">
781 <td class="md" nowrap valign="top"> #define VF_COMMON 8
786 <table cellspacing=5 cellpadding=0 border=0>
796 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>
799 <a name="a22" doxytag="modules.h::VF_SERVICEPROVIDER"></a><p>
800 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
803 <table cellpadding="0" cellspacing="0" border="0">
805 <td class="md" nowrap valign="top"> #define VF_SERVICEPROVIDER 4
810 <table cellspacing=5 cellpadding=0 border=0>
820 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>
823 <a name="a20" doxytag="modules.h::VF_STATIC"></a><p>
824 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
827 <table cellpadding="0" cellspacing="0" border="0">
829 <td class="md" nowrap valign="top"> #define VF_STATIC 1
834 <table cellspacing=5 cellpadding=0 border=0>
844 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>
847 <a name="a21" doxytag="modules.h::VF_VENDOR"></a><p>
848 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
851 <table cellpadding="0" cellspacing="0" border="0">
853 <td class="md" nowrap valign="top"> #define VF_VENDOR 2
858 <table cellspacing=5 cellpadding=0 border=0>
868 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>.
870 Referenced by <a class="el" href="modules_8cpp-source.html#l00318">Module::GetVersion()</a>. </td>
873 <hr><h2>Typedef Documentation</h2>
874 <a name="a32" doxytag="modules.h::chanuserlist"></a><p>
875 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
878 <table cellpadding="0" cellspacing="0" border="0">
880 <td class="md" nowrap valign="top"> typedef std::deque<<a class="el" href="classuserrec.html">userrec</a>*> <a class="el" href="modules_8h.html#a32">chanuserlist</a>
885 <table cellspacing=5 cellpadding=0 border=0>
893 Holds a list of users in a channel.
897 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>.
899 Referenced by <a class="el" href="modules_8cpp-source.html#l00375">Server::GetUsers()</a>. </td>
902 <a name="a30" doxytag="modules.h::file_cache"></a><p>
903 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
906 <table cellpadding="0" cellspacing="0" border="0">
908 <td class="md" nowrap valign="top"> typedef std::deque<std::string> <a class="el" href="modules_8h.html#a30">file_cache</a>
913 <table cellspacing=5 cellpadding=0 border=0>
921 Low level definition of a <a class="el" href="classFileReader.html">FileReader</a> classes file cache area.
925 Definition at line <a class="el" href="modules_8h-source.html#l00067">67</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.
927 Referenced by <a class="el" href="modules_8cpp-source.html#l00725">FileReader::FileReader()</a>, and <a class="el" href="modules_8cpp-source.html#l00736">FileReader::LoadFile()</a>. </td>
930 <a name="a33" doxytag="modules.h::ircd_module"></a><p>
931 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
934 <table cellpadding="0" cellspacing="0" border="0">
936 <td class="md" nowrap valign="top"> typedef DLLFactory<<a class="el" href="classModuleFactory.html">ModuleFactory</a>> <a class="el" href="modules_8h.html#a33">ircd_module</a>
941 <table cellspacing=5 cellpadding=0 border=0>
951 Definition at line <a class="el" href="modules_8h-source.html#l00842">842</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
954 <a name="a31" doxytag="modules.h::string_list"></a><p>
955 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
958 <table cellpadding="0" cellspacing="0" border="0">
960 <td class="md" nowrap valign="top"> typedef <a class="el" href="modules_8h.html#a30">file_cache</a> <a class="el" href="modules_8h.html#a31">string_list</a>
965 <table cellspacing=5 cellpadding=0 border=0>
975 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>.
977 Referenced by <a class="el" href="modules_8cpp-source.html#l00329">Module::OnChannelSync()</a>, and <a class="el" href="modules_8cpp-source.html#l00328">Module::OnUserSync()</a>. </td>
980 <hr><h2>Function Documentation</h2>
981 <a name="a34" doxytag="modules.h::createcommand"></a><p>
982 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
985 <table cellpadding="0" cellspacing="0" border="0">
987 <td class="md" nowrap valign="top"> void createcommand </td>
988 <td class="md" valign="top">( </td>
989 <td class="md" nowrap valign="top">char * </td>
990 <td class="mdname" nowrap> <em>cmd</em>, </td>
995 <td class="md" nowrap>handlerfunc </td>
996 <td class="mdname" nowrap> <em>f</em>, </td>
1001 <td class="md" nowrap>char </td>
1002 <td class="mdname" nowrap> <em>flags</em>, </td>
1007 <td class="md" nowrap>int </td>
1008 <td class="mdname" nowrap> <em>minparams</em>, </td>
1013 <td class="md" nowrap>char * </td>
1014 <td class="mdname" nowrap> <em>source</em></td>
1018 <td class="md">) </td>
1019 <td class="md" colspan="2"></td>
1026 <table cellspacing=5 cellpadding=0 border=0>
1036 Referenced by <a class="el" href="modules_8cpp-source.html#l00420">Server::AddCommand()</a>. </td>
1039 <a name="a35" doxytag="modules.h::server_mode"></a><p>
1040 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1043 <table cellpadding="0" cellspacing="0" border="0">
1045 <td class="md" nowrap valign="top"> void server_mode </td>
1046 <td class="md" valign="top">( </td>
1047 <td class="md" nowrap valign="top">char ** </td>
1048 <td class="mdname" nowrap> <em>parameters</em>, </td>
1053 <td class="md" nowrap>int </td>
1054 <td class="mdname" nowrap> <em>pcnt</em>, </td>
1059 <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td>
1060 <td class="mdname" nowrap> <em>user</em></td>
1064 <td class="md">) </td>
1065 <td class="md" colspan="2"></td>
1072 <table cellspacing=5 cellpadding=0 border=0>
1082 Referenced by <a class="el" href="modules_8cpp-source.html#l00425">Server::SendMode()</a>. </td>
1085 <hr size="1"><address style="align: right;"><small>Generated on Thu Apr 7 20:14:22 2005 for InspIRCd by
1086 <a href="http://www.doxygen.org/index.html">
1087 <img src="doxygen.png" alt="doxygen" align="middle" border=0 >
1088 </a>1.3.3 </small></address>