From 4d5a17380bc71cabe544b41c7c8a26a292384f3d Mon Sep 17 00:00:00 2001
From: brain
Date: Sun, 15 May 2005 17:05:15 +0000
Subject: Added docs for hashcomp
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1396 e03df62e-2008-0410-955e-edbf42e46eb7
---
docs/module-doc/modules_8cpp.html | 698 ++++++++++++++++++--------------------
1 file changed, 330 insertions(+), 368 deletions(-)
(limited to 'docs/module-doc/modules_8cpp.html')
diff --git a/docs/module-doc/modules_8cpp.html b/docs/module-doc/modules_8cpp.html
index 0f38ceb30..b43b1f7af 100644
--- a/docs/module-doc/modules_8cpp.html
+++ b/docs/module-doc/modules_8cpp.html
@@ -4,26 +4,20 @@
-
+
modules.cpp File Reference
#include "inspircd.h"
#include "inspircd_io.h"
#include "inspircd_util.h"
#include "inspircd_config.h"
#include <unistd.h>
-#include <fcntl.h>
#include <sys/errno.h>
-#include <sys/ioctl.h>
-#include <sys/utsname.h>
-#include <cstdio>
#include <time.h>
#include <string>
#include <hash_map>
#include <map>
#include <sstream>
#include <vector>
-#include <errno.h>
#include <deque>
-#include <sched.h>
#include "connection.h"
#include "users.h"
#include "servers.h"
@@ -37,206 +31,174 @@
#include "xline.h"
#include "commands.h"
#include "inspstring.h"
+#include "helperfuncs.h"
+#include "hashcomp.h"
Include dependency graph for modules.cpp:
Go to the source code of this file.
|
-
Namespaces |
-| namespace | nspace |
-
Compounds |
| class | ExtMode |
-| struct | InAddr_HashComp |
-
-| struct | StrHashComp |
-
-
Defines |
-| #define | nspace std |
-
Typedefs |
typedef nspace::hash_map<
std::string, userrec *, nspace::hash<
- string >, StrHashComp > | user_hash |
+ string >, StrHashComp > user_hash |
typedef nspace::hash_map<
std::string, chanrec *, nspace::hash<
- string >, StrHashComp > | chan_hash |
+ string >, StrHashComp > chan_hash |
typedef nspace::hash_map<
in_addr, string *, nspace::hash<
- in_addr >, InAddr_HashComp > | address_cache |
+ in_addr >, InAddr_HashComp > address_cache |
typedef nspace::hash_map<
std::string, WhoWasUser *,
- nspace::hash< string >, StrHashComp > | whowas_hash |
+ nspace::hash< string >, StrHashComp > whowas_hash |
-| typedef std::deque< command_t > | command_table |
+| typedef std::deque< command_t > | command_table |
-| typedef std::vector< ExtMode > | ExtModeList |
+| typedef std::vector< ExtMode > | ExtModeList |
-| typedef ExtModeList::iterator | ExtModeListIter |
+| typedef ExtModeList::iterator | ExtModeListIter |
Functions |
-| bool | ModeDefined (char modechar, int type) |
+| bool | ModeDefined (char modechar, int type) |
-| bool | ModeIsListMode (char modechar, int type) |
+| bool | ModeIsListMode (char modechar, int type) |
-| bool | ModeDefinedOper (char modechar, int type) |
+| bool | ModeDefinedOper (char modechar, int type) |
-| int | ModeDefinedOn (char modechar, int type) |
+| int | ModeDefinedOn (char modechar, int type) |
-| int | ModeDefinedOff (char modechar, int type) |
+| int | ModeDefinedOff (char modechar, int type) |
-| bool | DoAddExtendedMode (char modechar, int type, bool requires_oper, int params_on, int params_off) |
+| bool | DoAddExtendedMode (char modechar, int type, bool requires_oper, int params_on, int params_off) |
-| void | ModeMakeList (char modechar) |
+| void | ModeMakeList (char modechar) |
-| std::vector< Module * > | modules (255) |
+| std::vector< Module * > | modules (255) |
-| std::vector< ircd_module * > | factory (255) |
+| std::vector< ircd_module * > | factory (255) |
Variables |
-| int | MODCOUNT = -1 |
+| int | MODCOUNT = -1 |
-| std::vector< Module * > | modules |
+| std::vector< Module * > | modules |
-| std::vector< ircd_module * > | factory |
+| std::vector< ircd_module * > | factory |
-| time_t | TIME |
+| time_t | TIME |
-| int | LogLevel |
+| int | LogLevel |
-| char | ServerName [MAXBUF] |
+| char | ServerName [MAXBUF] |
-| char | Network [MAXBUF] |
+| char | Network [MAXBUF] |
-| char | ServerDesc [MAXBUF] |
+| char | ServerDesc [MAXBUF] |
-| char | AdminName [MAXBUF] |
+| char | AdminName [MAXBUF] |
-| char | AdminEmail [MAXBUF] |
+| char | AdminEmail [MAXBUF] |
-| char | AdminNick [MAXBUF] |
+| char | AdminNick [MAXBUF] |
-| char | diepass [MAXBUF] |
+| char | diepass [MAXBUF] |
-| char | restartpass [MAXBUF] |
+| char | restartpass [MAXBUF] |
-| char | motd [MAXBUF] |
+| char | motd [MAXBUF] |
-| char | rules [MAXBUF] |
+| char | rules [MAXBUF] |
-| char | list [MAXBUF] |
+| char | list [MAXBUF] |
-| char | PrefixQuit [MAXBUF] |
+| char | PrefixQuit [MAXBUF] |
-| char | DieValue [MAXBUF] |
+| char | DieValue [MAXBUF] |
-| int | debugging |
+| int | debugging |
-| int | WHOWAS_STALE |
+| int | WHOWAS_STALE |
-| int | WHOWAS_MAX |
+| int | WHOWAS_MAX |
-| int | DieDelay |
+| int | DieDelay |
-| time_t | startup_time |
+| time_t | startup_time |
-| int | NetBufferSize |
+| int | NetBufferSize |
-| int | MaxWhoResults |
+| int | MaxWhoResults |
-| time_t | nb_start |
+| time_t | nb_start |
-| std::vector< int > | fd_reap |
+| std::vector< int > | fd_reap |
-| std::vector< std::string > | module_names |
+| std::vector< std::string > | module_names |
-| int | boundPortCount |
+| int | boundPortCount |
-| int | portCount |
+| int | portCount |
-| int | SERVERportCount |
+| int | SERVERportCount |
-| int | ports [MAXSOCKS] |
+| int | ports [MAXSOCKS] |
-| int | defaultRoute |
+| int | defaultRoute |
-| std::vector< long > | auth_cookies |
+| std::vector< long > | auth_cookies |
-| std::stringstream | config_f |
+| std::stringstream | config_f |
-| serverrec * | me [32] |
+| serverrec * | me [32] |
-| FILE * | log_file |
+| FILE * | log_file |
-| userrec * | fd_ref_table [65536] |
+| userrec * | fd_ref_table [65536] |
-| user_hash | clientlist |
+| user_hash | clientlist |
-| chan_hash | chanlist |
+| chan_hash | chanlist |
-| whowas_hash | whowas |
+| whowas_hash | whowas |
-| command_table | cmdlist |
+| command_table | cmdlist |
-| file_cache | MOTD |
+| file_cache | MOTD |
-| file_cache | RULES |
+| file_cache | RULES |
-| address_cache | IP |
+| address_cache | IP |
-| ExtModeList | EMode |
+| ExtModeList | EMode |
-
-
Define Documentation
-
-
-
Typedef Documentation
-
+
-
+
-
+
-
+
-
+
|
|
@@ -347,18 +309,18 @@ Definition at line 215
-Definition at line 216 of file modules.cpp.
+Definition at line 140 of file modules.cpp.
-Referenced by ModeDefined(), ModeDefinedOff(), ModeDefinedOn(), ModeDefinedOper(), ModeIsListMode(), and ModeMakeList().
+Referenced by ModeDefined(), ModeDefinedOff(), ModeDefinedOn(), ModeDefinedOper(), ModeIsListMode(), and ModeMakeList().
-
+
-
+
Function Documentation
-
+
|
@@ -456,23 +418,23 @@ Definition at line 188
-Definition at line 285 of file modules.cpp.
+Definition at line 209 of file modules.cpp.
-References EMode, and ModeDefined().
+References EMode, and ModeDefined().
-Referenced by Server::AddExtendedListMode(), and Server::AddExtendedMode().
+Referenced by Server::AddExtendedListMode(), and Server::AddExtendedMode().
- 00286 {
-00287 if (ModeDefined(modechar,type)) {
-00288 return false;
-00289 }
-00290 EMode.push_back(ExtMode(modechar,type,requires_oper,params_on,params_off));
-00291 return true;
-00292 }
+00210 {
+00211 if (ModeDefined(modechar,type)) {
+00212 return false;
+00213 }
+00214 EMode.push_back(ExtMode(modechar,type,requires_oper,params_on,params_off));
+00215 return true;
+00216 }
|
-
+
-
+
-
+
-
+
|
@@ -648,24 +610,24 @@ References EMode, and <
-Definition at line 259 of file modules.cpp.
+Definition at line 183 of file modules.cpp.
-References EMode, and ExtModeListIter.
+References EMode, and ExtModeListIter.
- 00260 {
-00261 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++)
-00262 {
-00263 if ((i->modechar == modechar) && (i->type == type))
-00264 {
-00265 return i->params_when_on;
-00266 }
-00267 }
-00268 return 0;
-00269 }
+00184 {
+00185 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++)
+00186 {
+00187 if ((i->modechar == modechar) && (i->type == type))
+00188 {
+00189 return i->params_when_on;
+00190 }
+00191 }
+00192 return 0;
+00193 }
|
-
+
|
@@ -702,24 +664,24 @@ References EMode, and <
-Definition at line 246 of file modules.cpp.
+Definition at line 170 of file modules.cpp.
-References EMode, and ExtModeListIter.
+References EMode, and ExtModeListIter.
- 00247 {
-00248 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++)
-00249 {
-00250 if ((i->modechar == modechar) && (i->type == type) && (i->needsoper == true))
-00251 {
-00252 return true;
-00253 }
-00254 }
-00255 return false;
-00256 }
+00171 {
+00172 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++)
+00173 {
+00174 if ((i->modechar == modechar) && (i->type == type) && (i->needsoper == true))
+00175 {
+00176 return true;
+00177 }
+00178 }
+00179 return false;
+00180 }
|
-
+
|
@@ -756,24 +718,24 @@ References EMode, and <
-Definition at line 234 of file modules.cpp.
+Definition at line 158 of file modules.cpp.
-References EMode, and ExtModeListIter.
+References EMode, and ExtModeListIter.
- 00235 {
-00236 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++)
-00237 {
-00238 if ((i->modechar == modechar) && (i->type == type) && (i->list == true))
-00239 {
-00240 return true;
-00241 }
-00242 }
-00243 return false;
-00244 }
+00159 {
+00160 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++)
+00161 {
+00162 if ((i->modechar == modechar) && (i->type == type) && (i->list == true))
+00163 {
+00164 return true;
+00165 }
+00166 }
+00167 return false;
+00168 }
|
-
+
-
+
Variable Documentation
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
|
|
@@ -1208,12 +1170,12 @@ Definition at line 92 o
-Definition at line 219 of file modules.cpp.
+Definition at line 143 of file modules.cpp.
-Referenced by DoAddExtendedMode(), ModeDefined(), ModeDefinedOff(), ModeDefinedOn(), ModeDefinedOper(), ModeIsListMode(), and ModeMakeList().
+Referenced by DoAddExtendedMode(), ModeDefined(), ModeDefinedOff(), ModeDefinedOn(), ModeDefinedOper(), ModeIsListMode(), and ModeMakeList().
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
Generated on Fri May 13 15:49:09 2005 for InspIRCd by
+
Generated on Sun May 15 17:02:42 2005 for InspIRCd by
1.3.3
--
cgit v1.3.1-10-gc9f91