1 .TH "modules.h" 3 "30 Apr 2004" "InspIRCd" \" -*- nroff -*-
9 \fC#include 'dynamic.h'\fP
11 \fC#include 'base.h'\fP
13 \fC#include 'ctables.h'\fP
15 \fC#include <string>\fP
17 \fC#include <deque>\fP
19 \fC#include <sstream>\fP
26 .RI "class \fBAdmin\fP"
28 .RI "\fIHolds /ADMIN data This class contains the admin details of the local server.\fP"
30 .RI "class \fBConfigReader\fP"
32 .RI "\fIAllows 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.\fP"
34 .RI "class \fBFileReader\fP"
36 .RI "\fICaches a text file into memory and can be used to retrieve lines from it.\fP"
38 .RI "class \fBModule\fP"
40 .RI "\fIBase class for all InspIRCd modules This class is the base class for InspIRCd modules.\fP"
42 .RI "class \fBModuleFactory\fP"
44 .RI "\fIInstantiates classes inherited from \fBModule\fP This class creates a class inherited from type \fBModule\fP, using new.\fP"
46 .RI "class \fBServer\fP"
48 .RI "\fIAllows 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.\fP"
50 .RI "class \fBVersion\fP"
52 .RI "\fIHolds a module's Version information The four members (set by the constructor only) indicate details as to the version number of a module.\fP"
58 .RI "#define \fBDEBUG\fP 10"
61 .RI "#define \fBVERBOSE\fP 20"
64 .RI "#define \fBDEFAULT\fP 30"
67 .RI "#define \fBSPARSE\fP 40"
70 .RI "#define \fBNONE\fP 50"
73 .RI "#define \fBMT_CHANNEL\fP 1"
76 .RI "#define \fBMT_CLIENT\fP 2"
79 .RI "#define \fBMT_SERVER\fP 3"
82 .RI "#define \fBFOREACH_MOD\fP for (int i = 0; i <= \fBMODCOUNT\fP; i++) modules[i]->"
85 .RI "#define \fBFOREACH_RESULT\fP(x)"
92 .RI "typedef std::deque< std::string > \fBfile_cache\fP"
94 .RI "\fILow level definition of a \fBFileReader\fP classes file cache area.\fP"
96 .RI "typedef \fBfile_cache\fP \fBstring_list\fP"
99 .RI "typedef DLLFactory< \fBModuleFactory\fP > \fBircd_module\fP"
106 .RI "void \fBcreatecommand\fP (char *cmd, handlerfunc f, char flags, int minparams)"
109 .RI "void \fBserver_mode\fP (char **parameters, int pcnt, \fBuserrec\fP *user)"
112 .SH "Define Documentation"
114 .SS "#define DEBUG 10"
116 Definition at line 11 of file modules.h.
117 .SS "#define DEFAULT 30"
119 Definition at line 13 of file modules.h.
120 .SS "#define FOREACH_MOD for (int i = 0; i <= \fBMODCOUNT\fP; i++) modules[i]->"
122 Definition at line 38 of file modules.h.
123 .SS "#define FOREACH_RESULT(x)"
127 for (int i = 0; i <= MODCOUNT; i++) { \
128 int res = modules[i]->x ; \
137 Definition at line 46 of file modules.h.
138 .SS "#define MT_CHANNEL 1"
140 Definition at line 17 of file modules.h.
141 .SS "#define MT_CLIENT 2"
143 Definition at line 18 of file modules.h.
145 Referenced by Server::AddExtendedMode().
146 .SS "#define MT_SERVER 3"
148 Definition at line 19 of file modules.h.
150 Referenced by Server::AddExtendedMode().
151 .SS "#define NONE 50"
153 Definition at line 15 of file modules.h.
154 .SS "#define SPARSE 40"
156 Definition at line 14 of file modules.h.
157 .SS "#define VERBOSE 20"
159 Definition at line 12 of file modules.h.
160 .SH "Typedef Documentation"
162 .SS "typedef std::deque<std::string> file_cache"
164 Low level definition of a \fBFileReader\fP classes file cache area.Definition at line 30 of file modules.h.
166 Referenced by FileReader::FileReader(), and FileReader::LoadFile().
167 .SS "typedef DLLFactory<\fBModuleFactory\fP> ircd_module"
169 Definition at line 646 of file modules.h.
170 .SS "typedef \fBfile_cache\fP string_list"
172 Definition at line 31 of file modules.h.
173 .SH "Function Documentation"
175 .SS "void createcommand (char * cmd, handlerfunc f, char flags, int minparams)"
177 Referenced by Server::AddCommand().
178 .SS "void server_mode (char ** parameters, int pcnt, \fBuserrec\fP * user)"
180 Referenced by Server::SendMode().
183 Generated automatically by Doxygen for InspIRCd from the source code.