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">FD_MAGIC_NUMBER</a> -42</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_A_NUMBER</a> 0x000010</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_NOT_UNSIGNED</a> 0x000080</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_VALUE_NOT_FOUND</a> 0x000100</td></tr>
101 <tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8h.html#a30">CONF_FILE_NOT_FOUND</a> 0x000200</td></tr>
103 <tr><td colspan=2><br><h2>Typedefs</h2></td></tr>
104 <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#a31">file_cache</a></td></tr>
106 <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="#a31"></a><em><br><br></td></tr>
107 <tr><td class="memItemLeft" nowrap align=right valign=top>typedef <a class="el" href="modules_8h.html#a31">file_cache</a> </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8h.html#a32">string_list</a></td></tr>
109 <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#a33">chanuserlist</a></td></tr>
111 <tr><td class="mdescLeft"> </td><td class="mdescRight">Holds a list of users in a channel. </em> <a href="#a33"></a><em><br><br></td></tr>
112 <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#a34">ircd_module</a></td></tr>
114 <tr><td colspan=2><br><h2>Functions</h2></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">createcommand</a> (char *cmd, handlerfunc f, char flags, int minparams, char *source)</td></tr>
117 <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8h.html#a36">server_mode</a> (char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr>
120 <hr><h2>Define Documentation</h2>
121 <a name="a17" doxytag="modules.h::AC_DEHALFOP"></a><p>
122 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
125 <table cellpadding="0" cellspacing="0" border="0">
127 <td class="md" nowrap valign="top"> #define AC_DEHALFOP 6
132 <table cellspacing=5 cellpadding=0 border=0>
142 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>
145 <a name="a12" doxytag="modules.h::AC_DEOP"></a><p>
146 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
149 <table cellpadding="0" cellspacing="0" border="0">
151 <td class="md" nowrap valign="top"> #define AC_DEOP 1
156 <table cellspacing=5 cellpadding=0 border=0>
166 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>
169 <a name="a15" doxytag="modules.h::AC_DEVOICE"></a><p>
170 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
173 <table cellpadding="0" cellspacing="0" border="0">
175 <td class="md" nowrap valign="top"> #define AC_DEVOICE 4
180 <table cellspacing=5 cellpadding=0 border=0>
190 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>
193 <a name="a19" doxytag="modules.h::AC_GENERAL_MODE"></a><p>
194 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
197 <table cellpadding="0" cellspacing="0" border="0">
199 <td class="md" nowrap valign="top"> #define AC_GENERAL_MODE 8
204 <table cellspacing=5 cellpadding=0 border=0>
214 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>
217 <a name="a16" doxytag="modules.h::AC_HALFOP"></a><p>
218 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
221 <table cellpadding="0" cellspacing="0" border="0">
223 <td class="md" nowrap valign="top"> #define AC_HALFOP 5
228 <table cellspacing=5 cellpadding=0 border=0>
238 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>
241 <a name="a18" doxytag="modules.h::AC_INVITE"></a><p>
242 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
245 <table cellpadding="0" cellspacing="0" border="0">
247 <td class="md" nowrap valign="top"> #define AC_INVITE 7
252 <table cellspacing=5 cellpadding=0 border=0>
262 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>
265 <a name="a11" doxytag="modules.h::AC_KICK"></a><p>
266 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
269 <table cellpadding="0" cellspacing="0" border="0">
271 <td class="md" nowrap valign="top"> #define AC_KICK 0
276 <table cellspacing=5 cellpadding=0 border=0>
286 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>
289 <a name="a13" doxytag="modules.h::AC_OP"></a><p>
290 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
293 <table cellpadding="0" cellspacing="0" border="0">
295 <td class="md" nowrap valign="top"> #define AC_OP 2
300 <table cellspacing=5 cellpadding=0 border=0>
310 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>
313 <a name="a14" doxytag="modules.h::AC_VOICE"></a><p>
314 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
317 <table cellpadding="0" cellspacing="0" border="0">
319 <td class="md" nowrap valign="top"> #define AC_VOICE 3
324 <table cellspacing=5 cellpadding=0 border=0>
334 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>
337 <a name="a10" doxytag="modules.h::ACR_ALLOW"></a><p>
338 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
341 <table cellpadding="0" cellspacing="0" border="0">
343 <td class="md" nowrap valign="top"> #define ACR_ALLOW 2
348 <table cellspacing=5 cellpadding=0 border=0>
358 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>
361 <a name="a8" doxytag="modules.h::ACR_DEFAULT"></a><p>
362 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
365 <table cellpadding="0" cellspacing="0" border="0">
367 <td class="md" nowrap valign="top"> #define ACR_DEFAULT 0
372 <table cellspacing=5 cellpadding=0 border=0>
382 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>.
384 Referenced by <a class="el" href="modules_8cpp-source.html#l00327">Module::OnAccessCheck()</a>. </td>
387 <a name="a9" doxytag="modules.h::ACR_DENY"></a><p>
388 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
391 <table cellpadding="0" cellspacing="0" border="0">
393 <td class="md" nowrap valign="top"> #define ACR_DENY 1
398 <table cellspacing=5 cellpadding=0 border=0>
408 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>
411 <a name="a30" doxytag="modules.h::CONF_FILE_NOT_FOUND"></a><p>
412 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
415 <table cellpadding="0" cellspacing="0" border="0">
417 <td class="md" nowrap valign="top"> #define CONF_FILE_NOT_FOUND 0x000200
422 <table cellspacing=5 cellpadding=0 border=0>
432 Definition at line <a class="el" href="modules_8h-source.html#l00782">782</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.
434 Referenced by <a class="el" href="modules_8cpp-source.html#l00675">ConfigReader::ConfigReader()</a>. </td>
437 <a name="a27" doxytag="modules.h::CONF_NOT_A_NUMBER"></a><p>
438 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
441 <table cellpadding="0" cellspacing="0" border="0">
443 <td class="md" nowrap valign="top"> #define CONF_NOT_A_NUMBER 0x000010
448 <table cellspacing=5 cellpadding=0 border=0>
458 Definition at line <a class="el" href="modules_8h-source.html#l00779">779</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.
460 Referenced by <a class="el" href="modules_8cpp-source.html#l00736">ConfigReader::ReadInteger()</a>. </td>
463 <a name="a28" doxytag="modules.h::CONF_NOT_UNSIGNED"></a><p>
464 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
467 <table cellpadding="0" cellspacing="0" border="0">
469 <td class="md" nowrap valign="top"> #define CONF_NOT_UNSIGNED 0x000080
474 <table cellspacing=5 cellpadding=0 border=0>
484 Definition at line <a class="el" href="modules_8h-source.html#l00780">780</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.
486 Referenced by <a class="el" href="modules_8cpp-source.html#l00736">ConfigReader::ReadInteger()</a>. </td>
489 <a name="a29" doxytag="modules.h::CONF_VALUE_NOT_FOUND"></a><p>
490 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
493 <table cellpadding="0" cellspacing="0" border="0">
495 <td class="md" nowrap valign="top"> #define CONF_VALUE_NOT_FOUND 0x000100
500 <table cellspacing=5 cellpadding=0 border=0>
510 Definition at line <a class="el" href="modules_8h-source.html#l00781">781</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.
512 Referenced by <a class="el" href="modules_8cpp-source.html#l00719">ConfigReader::ReadFlag()</a>, <a class="el" href="modules_8cpp-source.html#l00736">ConfigReader::ReadInteger()</a>, and <a class="el" href="modules_8cpp-source.html#l00703">ConfigReader::ReadValue()</a>. </td>
515 <a name="a0" doxytag="modules.h::DEBUG"></a><p>
516 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
519 <table cellpadding="0" cellspacing="0" border="0">
521 <td class="md" nowrap valign="top"> #define DEBUG 10
526 <table cellspacing=5 cellpadding=0 border=0>
536 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>.
538 Referenced by <a class="el" href="modules_8cpp-source.html#l00546">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>
541 <a name="a2" doxytag="modules.h::DEFAULT"></a><p>
542 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
545 <table cellpadding="0" cellspacing="0" border="0">
547 <td class="md" nowrap valign="top"> #define DEFAULT 30
552 <table cellspacing=5 cellpadding=0 border=0>
562 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>
565 <a name="a26" doxytag="modules.h::FD_MAGIC_NUMBER"></a><p>
566 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
569 <table cellpadding="0" cellspacing="0" border="0">
571 <td class="md" nowrap valign="top"> #define FD_MAGIC_NUMBER -42
576 <table cellspacing=5 cellpadding=0 border=0>
586 Definition at line <a class="el" href="modules_8h-source.html#l00099">99</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.
588 Referenced by <a class="el" href="modules_8cpp-source.html#l00589">Server::PseudoToUser()</a>, and <a class="el" href="modules_8cpp-source.html#l00580">Server::UserToPseudo()</a>. </td>
591 <a name="a24" doxytag="modules.h::FOREACH_MOD"></a><p>
592 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
595 <table cellpadding="0" cellspacing="0" border="0">
597 <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]->
602 <table cellspacing=5 cellpadding=0 border=0>
612 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>
615 <a name="a25" doxytag="modules.h::FOREACH_RESULT"></a><p>
616 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
619 <table cellpadding="0" cellspacing="0" border="0">
621 <td class="md" nowrap valign="top"> #define FOREACH_RESULT</td>
622 <td class="md" valign="top">( </td>
623 <td class="md" nowrap valign="top">x </td>
624 <td class="mdname1" valign="top" nowrap> </td>
625 <td class="md" valign="top"> ) </td>
626 <td class="md" nowrap>
631 <table cellspacing=5 cellpadding=0 border=0>
639 <b>Value:</b><div class="fragment"><pre>{ MOD_RESULT = 0; \
640 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i <= <a class="code" href="modules_8cpp.html#a1">MODCOUNT</a>; i++) { \
641 <span class="keywordtype">int</span> res = <a class="code" href="channels_8cpp.html#a2">modules</a>[i]->x ; \
642 <span class="keywordflow">if</span> (res != 0) { \
644 <span class="keywordflow">break</span>; \
650 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>
653 <a name="a5" doxytag="modules.h::MT_CHANNEL"></a><p>
654 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
657 <table cellpadding="0" cellspacing="0" border="0">
659 <td class="md" nowrap valign="top"> #define MT_CHANNEL 1
664 <table cellspacing=5 cellpadding=0 border=0>
674 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>.
676 Referenced by <a class="el" href="modules_8cpp-source.html#l00566">Server::AddExtendedListMode()</a>, and <a class="el" href="modules_8cpp-source.html#l00285">ModeMakeList()</a>. </td>
679 <a name="a6" doxytag="modules.h::MT_CLIENT"></a><p>
680 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
683 <table cellpadding="0" cellspacing="0" border="0">
685 <td class="md" nowrap valign="top"> #define MT_CLIENT 2
690 <table cellspacing=5 cellpadding=0 border=0>
700 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>.
702 Referenced by <a class="el" href="modules_8cpp-source.html#l00546">Server::AddExtendedMode()</a>. </td>
705 <a name="a7" doxytag="modules.h::MT_SERVER"></a><p>
706 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
709 <table cellpadding="0" cellspacing="0" border="0">
711 <td class="md" nowrap valign="top"> #define MT_SERVER 3
716 <table cellspacing=5 cellpadding=0 border=0>
726 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>.
728 Referenced by <a class="el" href="modules_8cpp-source.html#l00546">Server::AddExtendedMode()</a>. </td>
731 <a name="a4" doxytag="modules.h::NONE"></a><p>
732 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
735 <table cellpadding="0" cellspacing="0" border="0">
737 <td class="md" nowrap valign="top"> #define NONE 50
742 <table cellspacing=5 cellpadding=0 border=0>
752 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>
755 <a name="a3" doxytag="modules.h::SPARSE"></a><p>
756 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
759 <table cellpadding="0" cellspacing="0" border="0">
761 <td class="md" nowrap valign="top"> #define SPARSE 40
766 <table cellspacing=5 cellpadding=0 border=0>
776 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>
779 <a name="a1" doxytag="modules.h::VERBOSE"></a><p>
780 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
783 <table cellpadding="0" cellspacing="0" border="0">
785 <td class="md" nowrap valign="top"> #define VERBOSE 20
790 <table cellspacing=5 cellpadding=0 border=0>
800 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>
803 <a name="a23" doxytag="modules.h::VF_COMMON"></a><p>
804 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
807 <table cellpadding="0" cellspacing="0" border="0">
809 <td class="md" nowrap valign="top"> #define VF_COMMON 8
814 <table cellspacing=5 cellpadding=0 border=0>
824 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>
827 <a name="a22" doxytag="modules.h::VF_SERVICEPROVIDER"></a><p>
828 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
831 <table cellpadding="0" cellspacing="0" border="0">
833 <td class="md" nowrap valign="top"> #define VF_SERVICEPROVIDER 4
838 <table cellspacing=5 cellpadding=0 border=0>
848 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>
851 <a name="a20" doxytag="modules.h::VF_STATIC"></a><p>
852 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
855 <table cellpadding="0" cellspacing="0" border="0">
857 <td class="md" nowrap valign="top"> #define VF_STATIC 1
862 <table cellspacing=5 cellpadding=0 border=0>
872 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>
875 <a name="a21" doxytag="modules.h::VF_VENDOR"></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"> #define VF_VENDOR 2
886 <table cellspacing=5 cellpadding=0 border=0>
896 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>.
898 Referenced by <a class="el" href="modules_8cpp-source.html#l00318">Module::GetVersion()</a>. </td>
901 <hr><h2>Typedef Documentation</h2>
902 <a name="a33" doxytag="modules.h::chanuserlist"></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<<a class="el" href="classuserrec.html">userrec</a>*> <a class="el" href="modules_8h.html#a33">chanuserlist</a>
913 <table cellspacing=5 cellpadding=0 border=0>
921 Holds a list of users in a channel.
925 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>.
927 Referenced by <a class="el" href="modules_8cpp-source.html#l00376">Server::GetUsers()</a>. </td>
930 <a name="a31" doxytag="modules.h::file_cache"></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 std::deque<std::string> <a class="el" href="modules_8h.html#a31">file_cache</a>
941 <table cellspacing=5 cellpadding=0 border=0>
949 Low level definition of a <a class="el" href="classFileReader.html">FileReader</a> classes file cache area.
953 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>.
955 Referenced by <a class="el" href="modules_8cpp-source.html#l00821">FileReader::FileReader()</a>, and <a class="el" href="modules_8cpp-source.html#l00832">FileReader::LoadFile()</a>. </td>
958 <a name="a34" doxytag="modules.h::ircd_module"></a><p>
959 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
962 <table cellpadding="0" cellspacing="0" border="0">
964 <td class="md" nowrap valign="top"> typedef DLLFactory<<a class="el" href="classModuleFactory.html">ModuleFactory</a>> <a class="el" href="modules_8h.html#a34">ircd_module</a>
969 <table cellspacing=5 cellpadding=0 border=0>
979 Definition at line <a class="el" href="modules_8h-source.html#l00947">947</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
982 <a name="a32" doxytag="modules.h::string_list"></a><p>
983 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
986 <table cellpadding="0" cellspacing="0" border="0">
988 <td class="md" nowrap valign="top"> typedef <a class="el" href="modules_8h.html#a31">file_cache</a> <a class="el" href="modules_8h.html#a32">string_list</a>
993 <table cellspacing=5 cellpadding=0 border=0>
1003 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>.
1005 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>
1008 <hr><h2>Function Documentation</h2>
1009 <a name="a35" doxytag="modules.h::createcommand"></a><p>
1010 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1013 <table cellpadding="0" cellspacing="0" border="0">
1015 <td class="md" nowrap valign="top"> void createcommand </td>
1016 <td class="md" valign="top">( </td>
1017 <td class="md" nowrap valign="top">char * </td>
1018 <td class="mdname" nowrap> <em>cmd</em>, </td>
1023 <td class="md" nowrap>handlerfunc </td>
1024 <td class="mdname" nowrap> <em>f</em>, </td>
1029 <td class="md" nowrap>char </td>
1030 <td class="mdname" nowrap> <em>flags</em>, </td>
1035 <td class="md" nowrap>int </td>
1036 <td class="mdname" nowrap> <em>minparams</em>, </td>
1041 <td class="md" nowrap>char * </td>
1042 <td class="mdname" nowrap> <em>source</em></td>
1046 <td class="md">) </td>
1047 <td class="md" colspan="2"></td>
1054 <table cellspacing=5 cellpadding=0 border=0>
1064 Referenced by <a class="el" href="modules_8cpp-source.html#l00421">Server::AddCommand()</a>. </td>
1067 <a name="a36" doxytag="modules.h::server_mode"></a><p>
1068 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1071 <table cellpadding="0" cellspacing="0" border="0">
1073 <td class="md" nowrap valign="top"> void server_mode </td>
1074 <td class="md" valign="top">( </td>
1075 <td class="md" nowrap valign="top">char ** </td>
1076 <td class="mdname" nowrap> <em>parameters</em>, </td>
1081 <td class="md" nowrap>int </td>
1082 <td class="mdname" nowrap> <em>pcnt</em>, </td>
1087 <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td>
1088 <td class="mdname" nowrap> <em>user</em></td>
1092 <td class="md">) </td>
1093 <td class="md" colspan="2"></td>
1100 <table cellspacing=5 cellpadding=0 border=0>
1110 Referenced by <a class="el" href="modules_8cpp-source.html#l00426">Server::SendMode()</a>. </td>
1113 <hr size="1"><address style="align: right;"><small>Generated on Wed Apr 13 13:06:58 2005 for InspIRCd by
1114 <a href="http://www.doxygen.org/index.html">
1115 <img src="doxygen.png" alt="doxygen" align="middle" border=0 >
1116 </a>1.3.3 </small></address>