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>modules.h File Reference</title>
4 <link href="doxygen.css" rel="stylesheet" type="text/css">
6 <!-- Generated by Doxygen 1.3-rc3 -->
8 <a class="qindex" href="main.html">Main Page</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> </center>
9 <hr><h1>modules.h File Reference</h1><code>#include "dynamic.h"</code><br>
10 <code>#include "<a class="el" href="base_8h-source.html">base.h</a>"</code><br>
11 <code>#include "<a class="el" href="ctables_8h-source.html">ctables.h</a>"</code><br>
12 <code>#include <string></code><br>
13 <code>#include <deque></code><br>
16 Include dependency graph for modules.h:<p><center><img src="modules_8h__incl.gif" border="0" usemap="#modules.h_map" alt="Include dependency graph"></center>
17 <map name="modules.h_map">
18 <area href="base_8h.html" shape="rect" coords="91,86,139,107" alt="">
19 <area href="ctables_8h.html" shape="rect" coords="151,155,212,176" alt="">
23 This graph shows which files directly or indirectly include this file:<p><center><img src="modules_8h__dep__incl.gif" border="0" usemap="#modules.hdep_map" alt="Included by dependency graph"></center>
24 <map name="modules.hdep_map">
25 <area href="modules_8cpp.html" shape="rect" coords="7,16,89,37" alt="">
29 <a href="modules_8h-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0>
31 <tr><td colspan=2><br><h2>Compounds</h2></td></tr>
32 <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classAdmin.html">Admin</a></td></tr>
33 <tr><td> </td><td><font size=-1><em>Holds /ADMIN data This class contains the admin details of the local server.</em> <a href="classAdmin.html#_details">More...</a><em></em></font><br><br></td></tr>
34 <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classConfigReader.html">ConfigReader</a></td></tr>
35 <tr><td> </td><td><font size=-1><em>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></em></font><br><br></td></tr>
36 <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classFileReader.html">FileReader</a></td></tr>
37 <tr><td> </td><td><font size=-1><em>Caches a text file into memory and can be used to retrieve lines from it.</em> <a href="classFileReader.html#_details">More...</a><em></em></font><br><br></td></tr>
38 <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classModule.html">Module</a></td></tr>
39 <tr><td> </td><td><font size=-1><em>Base class for all InspIRCd modules This class is the base class for InspIRCd modules.</em> <a href="classModule.html#_details">More...</a><em></em></font><br><br></td></tr>
40 <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classModuleFactory.html">ModuleFactory</a></td></tr>
41 <tr><td> </td><td><font size=-1><em>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></em></font><br><br></td></tr>
42 <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classServer.html">Server</a></td></tr>
43 <tr><td> </td><td><font size=-1><em>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></em></font><br><br></td></tr>
44 <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classVersion.html">Version</a></td></tr>
45 <tr><td> </td><td><font size=-1><em>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></em></font><br><br></td></tr>
46 <tr><td colspan=2><br><h2>Defines</h2></td></tr>
47 <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="modules_8h.html#a0">DEBUG</a> 10</td></tr>
48 <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="modules_8h.html#a1">VERBOSE</a> 20</td></tr>
49 <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="modules_8h.html#a2">DEFAULT</a> 30</td></tr>
50 <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="modules_8h.html#a3">SPARSE</a> 40</td></tr>
51 <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="modules_8h.html#a4">NONE</a> 50</td></tr>
52 <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="modules_8h.html#a5">MT_CHANNEL</a> 1</td></tr>
53 <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="modules_8h.html#a6">MT_CLIENT</a> 2</td></tr>
54 <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="modules_8h.html#a7">MT_SERVER</a> 3</td></tr>
55 <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="modules_8h.html#a8">FOREACH_MOD</a> for (int i = 0; i <= <a class="el" href="modules_8cpp.html#a3">MODCOUNT</a>; i++) modules[i]-></td></tr>
56 <tr><td colspan=2><br><h2>Typedefs</h2></td></tr>
57 <tr><td nowrap align=right valign=top>typedef std::deque< std::string > </td><td valign=bottom><a class="el" href="modules_8h.html#a9">file_cache</a></td></tr>
58 <tr><td> </td><td><font size=-1><em>Low level definition of a <a class="el" href="classFileReader.html">FileReader</a> classes file cache area.</em> <a href="#a9"></a><em></em></font><br><br></td></tr>
59 <tr><td nowrap align=right valign=top>typedef <a class="el" href="modules_8h.html#a9">file_cache</a> </td><td valign=bottom><a class="el" href="modules_8h.html#a10">string_list</a></td></tr>
60 <tr><td nowrap align=right valign=top>typedef DLLFactory< <a class="el" href="classModuleFactory.html">ModuleFactory</a> > </td><td valign=bottom><a class="el" href="modules_8h.html#a11">ircd_module</a></td></tr>
61 <tr><td colspan=2><br><h2>Functions</h2></td></tr>
62 <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="modules_8h.html#a12">createcommand</a> (char *cmd, <a class="el" href="ctables_8h.html#a0">handlerfunc</a> f, char flags, int minparams)</td></tr>
64 <hr><h2>Define Documentation</h2>
65 <a name="a0" doxytag="modules.h::DEBUG"></a><p>
66 <table width="100%" cellpadding="2" cellspacing="0" border="0">
69 <table cellpadding="0" cellspacing="0" border="0">
71 <td class="md" nowrap valign="top"> #define DEBUG 10
76 <table cellspacing=5 cellpadding=0 border=0>
86 Definition at line <a class="el" href="modules_8h-source.html#l00011">11</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
89 <a name="a2" doxytag="modules.h::DEFAULT"></a><p>
90 <table width="100%" cellpadding="2" cellspacing="0" border="0">
93 <table cellpadding="0" cellspacing="0" border="0">
95 <td class="md" nowrap valign="top"> #define DEFAULT 30
100 <table cellspacing=5 cellpadding=0 border=0>
110 Definition at line <a class="el" href="modules_8h-source.html#l00013">13</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
113 <a name="a8" doxytag="modules.h::FOREACH_MOD"></a><p>
114 <table width="100%" cellpadding="2" cellspacing="0" border="0">
117 <table cellpadding="0" cellspacing="0" border="0">
119 <td class="md" nowrap valign="top"> #define FOREACH_MOD for (int i = 0; i <= <a class="el" href="modules_8cpp.html#a3">MODCOUNT</a>; i++) modules[i]->
124 <table cellspacing=5 cellpadding=0 border=0>
134 Definition at line <a class="el" href="modules_8h-source.html#l00036">36</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
137 <a name="a5" doxytag="modules.h::MT_CHANNEL"></a><p>
138 <table width="100%" cellpadding="2" cellspacing="0" border="0">
141 <table cellpadding="0" cellspacing="0" border="0">
143 <td class="md" nowrap valign="top"> #define MT_CHANNEL 1
148 <table cellspacing=5 cellpadding=0 border=0>
158 Definition at line <a class="el" href="modules_8h-source.html#l00017">17</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
161 <a name="a6" doxytag="modules.h::MT_CLIENT"></a><p>
162 <table width="100%" cellpadding="2" cellspacing="0" border="0">
165 <table cellpadding="0" cellspacing="0" border="0">
167 <td class="md" nowrap valign="top"> #define MT_CLIENT 2
172 <table cellspacing=5 cellpadding=0 border=0>
182 Definition at line <a class="el" href="modules_8h-source.html#l00018">18</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
185 <a name="a7" doxytag="modules.h::MT_SERVER"></a><p>
186 <table width="100%" cellpadding="2" cellspacing="0" border="0">
189 <table cellpadding="0" cellspacing="0" border="0">
191 <td class="md" nowrap valign="top"> #define MT_SERVER 3
196 <table cellspacing=5 cellpadding=0 border=0>
206 Definition at line <a class="el" href="modules_8h-source.html#l00019">19</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
209 <a name="a4" doxytag="modules.h::NONE"></a><p>
210 <table width="100%" cellpadding="2" cellspacing="0" border="0">
213 <table cellpadding="0" cellspacing="0" border="0">
215 <td class="md" nowrap valign="top"> #define NONE 50
220 <table cellspacing=5 cellpadding=0 border=0>
230 Definition at line <a class="el" href="modules_8h-source.html#l00015">15</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
233 <a name="a3" doxytag="modules.h::SPARSE"></a><p>
234 <table width="100%" cellpadding="2" cellspacing="0" border="0">
237 <table cellpadding="0" cellspacing="0" border="0">
239 <td class="md" nowrap valign="top"> #define SPARSE 40
244 <table cellspacing=5 cellpadding=0 border=0>
254 Definition at line <a class="el" href="modules_8h-source.html#l00014">14</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
257 <a name="a1" doxytag="modules.h::VERBOSE"></a><p>
258 <table width="100%" cellpadding="2" cellspacing="0" border="0">
261 <table cellpadding="0" cellspacing="0" border="0">
263 <td class="md" nowrap valign="top"> #define VERBOSE 20
268 <table cellspacing=5 cellpadding=0 border=0>
278 Definition at line <a class="el" href="modules_8h-source.html#l00012">12</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
281 <hr><h2>Typedef Documentation</h2>
282 <a name="a9" doxytag="modules.h::file_cache"></a><p>
283 <table width="100%" cellpadding="2" cellspacing="0" border="0">
286 <table cellpadding="0" cellspacing="0" border="0">
288 <td class="md" nowrap valign="top"> typedef std::deque<std::string> file_cache
293 <table cellspacing=5 cellpadding=0 border=0>
301 Low level definition of a <a class="el" href="classFileReader.html">FileReader</a> classes file cache area.
305 Definition at line <a class="el" href="modules_8h-source.html#l00029">29</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.
307 Referenced by <a class="el" href="modules_8cpp-source.html#l00258">FileReader::FileReader()</a>, and <a class="el" href="modules_8cpp-source.html#l00269">FileReader::LoadFile()</a>. </td>
310 <a name="a11" doxytag="modules.h::ircd_module"></a><p>
311 <table width="100%" cellpadding="2" cellspacing="0" border="0">
314 <table cellpadding="0" cellspacing="0" border="0">
316 <td class="md" nowrap valign="top"> typedef DLLFactory<<a class="el" href="classModuleFactory.html">ModuleFactory</a>> ircd_module
321 <table cellspacing=5 cellpadding=0 border=0>
331 Definition at line <a class="el" href="modules_8h-source.html#l00406">406</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
334 <a name="a10" doxytag="modules.h::string_list"></a><p>
335 <table width="100%" cellpadding="2" cellspacing="0" border="0">
338 <table cellpadding="0" cellspacing="0" border="0">
340 <td class="md" nowrap valign="top"> typedef <a class="el" href="modules_8h.html#a9">file_cache</a> string_list
345 <table cellspacing=5 cellpadding=0 border=0>
355 Definition at line <a class="el" href="modules_8h-source.html#l00030">30</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
358 <hr><h2>Function Documentation</h2>
359 <a name="a12" doxytag="modules.h::createcommand"></a><p>
360 <table width="100%" cellpadding="2" cellspacing="0" border="0">
363 <table cellpadding="0" cellspacing="0" border="0">
365 <td class="md" nowrap valign="top"> void createcommand </td>
366 <td class="md" valign="top">( </td>
367 <td class="md" nowrap valign="top">char * </td>
368 <td class="mdname" nowrap> <em>cmd</em>, </td>
373 <td class="md" nowrap><a class="el" href="ctables_8h.html#a0">handlerfunc</a> </td>
374 <td class="mdname" nowrap> <em>f</em>, </td>
379 <td class="md" nowrap>char </td>
380 <td class="mdname" nowrap> <em>flags</em>, </td>
385 <td class="md" nowrap>int </td>
386 <td class="mdname" nowrap> <em>minparams</em></td>
390 <td class="md">) </td>
391 <td class="md" colspan="2"></td>
398 <table cellspacing=5 cellpadding=0 border=0>
408 Referenced by <a class="el" href="modules_8cpp-source.html#l00123">Server::AddCommand()</a>. </td>
411 <hr><address style="align: right;"><small>Generated on Fri Apr 2 13:37:31 2004 for InspIRCd by
412 <a href="http://www.doxygen.org/index.html">
413 <img src="doxygen.png" alt="doxygen" align="middle" border=0
414 width=110 height=53></a>1.3-rc3 </small></address>