From 66f0cd6469d2643858c2fcd14726d362696bd68d Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 24 May 2005 02:34:33 +0000 Subject: New methods, new docs git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1484 e03df62e-2008-0410-955e-edbf42e46eb7 --- docs/module-doc/modules_8cpp.html | 498 ++++++++++++++++++-------------------- 1 file changed, 236 insertions(+), 262 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 f7c0e4c3c..f1dbc24f0 100644 --- a/docs/module-doc/modules_8cpp.html +++ b/docs/module-doc/modules_8cpp.html @@ -58,44 +58,44 @@ Include dependency graph for modules.cpp:

typedef nspace::hash_map<
std::string, userrec *, nspace::hash<
- string >, irc::StrHashCompuser_hash + string >, irc::StrHashCompuser_hash typedef nspace::hash_map<
std::string, chanrec *, nspace::hash<
- string >, irc::StrHashCompchan_hash + string >, irc::StrHashCompchan_hash typedef nspace::hash_map<
in_addr, string *, nspace::hash<
- in_addr >, irc::InAddr_HashCompaddress_cache + in_addr >, irc::InAddr_HashCompaddress_cache typedef nspace::hash_map<
std::string, WhoWasUser *,
- nspace::hash< string >, irc::StrHashCompwhowas_hash + nspace::hash< string >, irc::StrHashCompwhowas_hash -typedef std::deque< command_tcommand_table +typedef std::deque< command_tcommand_table -typedef std::vector< ExtModeExtModeList +typedef std::vector< ExtModeExtModeList -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 @@ -150,55 +150,53 @@ Include dependency graph for modules.cpp:

time_t nb_start -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 +serverrecme [32] -serverrecme [32] +FILE * log_file -FILE * log_file +userrecfd_ref_table [65536] -userrecfd_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

Typedef Documentation

-

+

@@ -213,16 +211,16 @@ Include dependency graph for modules.cpp:

111 of file modules.cpp. +Definition at line 120 of file modules.cpp.
-
typedef nspace::hash_map<in_addr,string*, nspace::hash<in_addr>, irc::InAddr_HashComp> address_cache + typedef nspace::hash_map<in_addr,string*, nspace::hash<in_addr>, irc::InAddr_HashComp> address_cache
-

+

@@ -237,16 +235,16 @@ Definition at line 111

-Definition at line 110 of file modules.cpp. +Definition at line 119 of file modules.cpp.

-
typedef nspace::hash_map<std::string, chanrec*, nspace::hash<string>, irc::StrHashComp> chan_hash + typedef nspace::hash_map<std::string, chanrec*, nspace::hash<string>, irc::StrHashComp> chan_hash
-

+

@@ -261,16 +259,16 @@ Definition at line 110

-Definition at line 113 of file modules.cpp. +Definition at line 122 of file modules.cpp.

-
typedef std::deque<command_t> command_table + typedef std::deque<command_t> command_table
-

+

@@ -285,16 +283,16 @@ Definition at line 113

-Definition at line 139 of file modules.cpp. +Definition at line 148 of file modules.cpp.

-
typedef std::vector<ExtMode> ExtModeList + typedef std::vector<ExtMode> ExtModeList
-

+

@@ -309,18 +307,18 @@ Definition at line 139

-Definition at line 140 of file modules.cpp. +Definition at line 149 of file modules.cpp.

-Referenced by ModeDefined(), ModeDefinedOff(), ModeDefinedOn(), ModeDefinedOper(), ModeIsListMode(), and ModeMakeList(). +Referenced by ModeDefined(), ModeDefinedOff(), ModeDefinedOn(), ModeDefinedOper(), ModeIsListMode(), and ModeMakeList().

-
typedef ExtModeList::iterator ExtModeListIter + typedef ExtModeList::iterator ExtModeListIter
-

+

@@ -335,16 +333,16 @@ Referenced by ModeDefined()

-Definition at line 109 of file modules.cpp. +Definition at line 118 of file modules.cpp.

-
typedef nspace::hash_map<std::string, userrec*, nspace::hash<string>, irc::StrHashComp> user_hash + typedef nspace::hash_map<std::string, userrec*, nspace::hash<string>, irc::StrHashComp> user_hash
-

+

@@ -359,11 +357,11 @@ Definition at line 109

-Definition at line 112 of file modules.cpp. +Definition at line 121 of file modules.cpp.

-
typedef nspace::hash_map<std::string, WhoWasUser*, nspace::hash<string>, irc::StrHashComp> whowas_hash + typedef nspace::hash_map<std::string, WhoWasUser*, nspace::hash<string>, irc::StrHashComp> whowas_hash


Function Documentation

-

+

@@ -418,23 +416,23 @@ Definition at line 112

-Definition at line 209 of file modules.cpp. +Definition at line 218 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().

-

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 }
+
00219 {
+00220         if (ModeDefined(modechar,type)) {
+00221                 return false;
+00222         }
+00223         EMode.push_back(ExtMode(modechar,type,requires_oper,params_on,params_off));
+00224         return true;
+00225 }
 
-

+

@@ -463,7 +461,7 @@ Referenced by Server::AddEx
-

+

@@ -500,26 +498,26 @@ Referenced by Server::AddEx

-Definition at line 146 of file modules.cpp. +Definition at line 155 of file modules.cpp.

-References EMode, and ExtModeListIter. +References EMode, and ExtModeListIter.

-Referenced by DoAddExtendedMode(). +Referenced by DoAddExtendedMode().

-

00147 {
-00148         for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++)
-00149         {
-00150                 if ((i->modechar == modechar) && (i->type == type))
-00151                 {
-00152                         return true;
-00153                 }
-00154         }
-00155         return false;
-00156 }
+
00156 {
+00157         for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++)
+00158         {
+00159                 if ((i->modechar == modechar) && (i->type == type))
+00160                 {
+00161                         return true;
+00162                 }
+00163         }
+00164         return false;
+00165 }
 
-

+

@@ -556,24 +554,24 @@ Referenced by DoAddExtended

-Definition at line 196 of file modules.cpp. +Definition at line 205 of file modules.cpp.

-References EMode, and ExtModeListIter. +References EMode, and ExtModeListIter.

-

00197 {
-00198         for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++)
-00199         {
-00200                 if ((i->modechar == modechar) && (i->type == type))
-00201                 {
-00202                         return i->params_when_off;
-00203                 }
-00204         }
-00205         return 0;
-00206 }
+
00206 {
+00207         for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++)
+00208         {
+00209                 if ((i->modechar == modechar) && (i->type == type))
+00210                 {
+00211                         return i->params_when_off;
+00212                 }
+00213         }
+00214         return 0;
+00215 }
 
-

+

@@ -610,24 +608,24 @@ References EMode, and <

-Definition at line 183 of file modules.cpp. +Definition at line 192 of file modules.cpp.

-References EMode, and ExtModeListIter. +References EMode, and ExtModeListIter.

-

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 }
+
00193 {
+00194         for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++)
+00195         {
+00196                 if ((i->modechar == modechar) && (i->type == type))
+00197                 {
+00198                         return i->params_when_on;
+00199                 }
+00200         }
+00201         return 0;
+00202 }
 
-

+

@@ -664,24 +662,24 @@ References EMode, and <

-Definition at line 170 of file modules.cpp. +Definition at line 179 of file modules.cpp.

-References EMode, and ExtModeListIter. +References EMode, and ExtModeListIter.

-

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 }
+
00180 {
+00181         for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++)
+00182         {
+00183                 if ((i->modechar == modechar) && (i->type == type) && (i->needsoper == true))
+00184                 {
+00185                         return true;
+00186                 }
+00187         }
+00188         return false;
+00189 }
 
-

+

@@ -718,24 +716,24 @@ References EMode, and <

-Definition at line 158 of file modules.cpp. +Definition at line 167 of file modules.cpp.

-References EMode, and ExtModeListIter. +References EMode, and ExtModeListIter.

-

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 }
+
00168 {
+00169         for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++)
+00170         {
+00171                 if ((i->modechar == modechar) && (i->type == type) && (i->list == true))
+00172                 {
+00173                         return true;
+00174                 }
+00175         }
+00176         return false;
+00177 }
 
-

+

@@ -763,27 +761,27 @@ References EMode, and <

-Definition at line 219 of file modules.cpp. +Definition at line 228 of file modules.cpp.

-References EMode, ExtModeListIter, and MT_CHANNEL. +References EMode, ExtModeListIter, and MT_CHANNEL.

-Referenced by Server::AddExtendedListMode(). +Referenced by Server::AddExtendedListMode().

-

00220 {
-00221         for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++)
-00222         {
-00223                 if ((i->modechar == modechar) && (i->type == MT_CHANNEL))
-00224                 {
-00225                         i->list = true;
-00226                         return;
-00227                 }
-00228         }
-00229         return;
-00230 }
+
00229 {
+00230         for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++)
+00231         {
+00232                 if ((i->modechar == modechar) && (i->type == MT_CHANNEL))
+00233                 {
+00234                         i->list = true;
+00235                         return;
+00236                 }
+00237         }
+00238         return;
+00239 }
 
-

+

+Definition at line 82 of file modules.cpp.
@@ -834,7 +832,7 @@ Referenced by Server::AddEx

-Definition at line 72 of file modules.cpp.

@@ -858,7 +856,7 @@ Definition at line 72 o

-Definition at line 71 of file modules.cpp. +Definition at line 81 of file modules.cpp.

@@ -882,16 +880,16 @@ Definition at line 71 o

-Definition at line 73 of file modules.cpp. +Definition at line 83 of file modules.cpp. -

+

@@ -906,16 +904,16 @@ Definition at line 73 o

-Definition at line 100 of file modules.cpp. +Definition at line 109 of file modules.cpp.

-
std::vector<long> auth_cookies + std::vector<long> auth_cookies
-

+

@@ -930,16 +928,16 @@ Definition at line 100

-Definition at line 94 of file modules.cpp. +Definition at line 103 of file modules.cpp.

-
int boundPortCount + int boundPortCount
-

+

@@ -954,16 +952,16 @@ Definition at line 94 o

-Definition at line 117 of file modules.cpp. +Definition at line 126 of file modules.cpp.

-
chan_hash chanlist + chan_hash chanlist
-

+

@@ -978,16 +976,16 @@ Definition at line 117

-Definition at line 116 of file modules.cpp. +Definition at line 125 of file modules.cpp.

-
user_hash clientlist + user_hash clientlist
-

+

@@ -1002,10 +1000,10 @@ Definition at line 116

-Definition at line 119 of file modules.cpp. +Definition at line 128 of file modules.cpp.

-
command_table cmdlist + command_table cmdlist
-

+

+Definition at line 110 of file modules.cpp.
@@ -1026,7 +1024,7 @@ Definition at line 119

-Definition at line 101 of file modules.cpp.

@@ -1050,16 +1048,16 @@ Definition at line 101

-Definition at line 82 of file modules.cpp. +Definition at line 92 of file modules.cpp. -

+

@@ -1074,7 +1072,7 @@ Definition at line 82 o

-Definition at line 98 of file modules.cpp. +Definition at line 107 of file modules.cpp.

-
int defaultRoute + int defaultRoute

@@ -1098,7 +1096,7 @@ Definition at line 98 o

-Definition at line 85 of file modules.cpp. +Definition at line 95 of file modules.cpp.

@@ -1122,7 +1120,7 @@ Definition at line 85 o

-Definition at line 74 of file modules.cpp. +Definition at line 84 of file modules.cpp.

@@ -1146,16 +1144,16 @@ Definition at line 74 o

-Definition at line 80 of file modules.cpp. +Definition at line 90 of file modules.cpp. -

+

@@ -1170,9 +1168,9 @@ Definition at line 80 o

-Definition at line 143 of file modules.cpp. +Definition at line 152 of file modules.cpp.

-Referenced by DoAddExtendedMode(), ModeDefined(), ModeDefinedOff(), ModeDefinedOn(), ModeDefinedOper(), ModeIsListMode(), and ModeMakeList(). +Referenced by DoAddExtendedMode(), ModeDefined(), ModeDefinedOff(), ModeDefinedOn(), ModeDefinedOper(), ModeIsListMode(), and ModeMakeList().

-
ExtModeList EMode + ExtModeList EMode

@@ -1196,40 +1194,16 @@ Referenced by DoAddExtended

-Definition at line 63 of file modules.cpp. - - -

- - - - -
- - -
std::vector<int> fd_reap -
-
- - - - +Definition at line 73 of file modules.cpp.
-   - - -

- -

-Definition at line 91 of file modules.cpp.

-

+

@@ -1244,18 +1218,18 @@ Definition at line 91 o

-Definition at line 107 of file modules.cpp. +Definition at line 116 of file modules.cpp.

-Referenced by Server::FindDescriptor(), and Server::PseudoToUser(). +Referenced by Server::FindDescriptor(), and Server::PseudoToUser().

-
userrec* fd_ref_table[65536] + userrec* fd_ref_table[65536]
-

+

@@ -1270,7 +1244,7 @@ Referenced by Server::FindD

-Definition at line 122 of file modules.cpp. +Definition at line 131 of file modules.cpp.

-
address_cache IP + address_cache IP

@@ -1294,16 +1268,16 @@ Definition at line 122

-Definition at line 78 of file modules.cpp. +Definition at line 88 of file modules.cpp. -

+

@@ -1318,7 +1292,7 @@ Definition at line 78 o

-Definition at line 105 of file modules.cpp. +Definition at line 114 of file modules.cpp.

-
FILE* log_file + FILE* log_file

@@ -1342,7 +1316,7 @@ Definition at line 105

-Definition at line 67 of file modules.cpp. +Definition at line 77 of file modules.cpp.

@@ -1366,16 +1340,16 @@ Definition at line 67 o

-Definition at line 88 of file modules.cpp. +Definition at line 98 of file modules.cpp. -

+

@@ -1390,7 +1364,7 @@ Definition at line 88 o

-Definition at line 103 of file modules.cpp. +Definition at line 112 of file modules.cpp.

-
serverrec* me[32] + serverrec* me[32]

@@ -1414,16 +1388,16 @@ Definition at line 103

-Definition at line 996 of file modules.cpp. +Definition at line 1016 of file modules.cpp. -

+

@@ -1438,7 +1412,7 @@ Definition at line 996

-Definition at line 92 of file modules.cpp. +Definition at line 101 of file modules.cpp.

-
std::vector<std::string> module_names + std::vector<std::string> module_names

@@ -1462,16 +1436,16 @@ Definition at line 92 o

-Definition at line 62 of file modules.cpp. +Definition at line 72 of file modules.cpp. -

+

@@ -1486,7 +1460,7 @@ Definition at line 62 o

-Definition at line 120 of file modules.cpp. +Definition at line 129 of file modules.cpp.

-
file_cache MOTD + file_cache MOTD

@@ -1510,7 +1484,7 @@ Definition at line 120

-Definition at line 76 of file modules.cpp. +Definition at line 86 of file modules.cpp.

@@ -1534,7 +1508,7 @@ Definition at line 76 o

-Definition at line 89 of file modules.cpp. +Definition at line 99 of file modules.cpp.

@@ -1558,7 +1532,7 @@ Definition at line 89 o

-Definition at line 87 of file modules.cpp. +Definition at line 97 of file modules.cpp.

@@ -1582,16 +1556,16 @@ Definition at line 87 o

-Definition at line 69 of file modules.cpp. +Definition at line 79 of file modules.cpp. -

+

@@ -1606,16 +1580,16 @@ Definition at line 69 o

-Definition at line 95 of file modules.cpp. +Definition at line 104 of file modules.cpp.

-
int portCount + int portCount
-

+

@@ -1630,7 +1604,7 @@ Definition at line 95 o

-Definition at line 97 of file modules.cpp. +Definition at line 106 of file modules.cpp.

-
int ports[MAXSOCKS] + int ports[MAXSOCKS]

@@ -1654,7 +1628,7 @@ Definition at line 97 o

-Definition at line 79 of file modules.cpp. +Definition at line 89 of file modules.cpp.

@@ -1678,16 +1652,16 @@ Definition at line 79 o

-Definition at line 75 of file modules.cpp. +Definition at line 85 of file modules.cpp. -

+

@@ -1702,7 +1676,7 @@ Definition at line 75 o

-Definition at line 121 of file modules.cpp. +Definition at line 130 of file modules.cpp.

-
file_cache RULES + file_cache RULES

@@ -1726,7 +1700,7 @@ Definition at line 121

-Definition at line 77 of file modules.cpp. +Definition at line 87 of file modules.cpp.

@@ -1750,7 +1724,7 @@ Definition at line 77 o

-Definition at line 70 of file modules.cpp. +Definition at line 80 of file modules.cpp.

@@ -1774,16 +1748,16 @@ Definition at line 70 o

-Definition at line 68 of file modules.cpp. +Definition at line 78 of file modules.cpp. -

+

@@ -1798,7 +1772,7 @@ Definition at line 68 o

-Definition at line 96 of file modules.cpp. +Definition at line 105 of file modules.cpp.

-
int SERVERportCount + int SERVERportCount

@@ -1822,7 +1796,7 @@ Definition at line 96 o

-Definition at line 86 of file modules.cpp. +Definition at line 96 of file modules.cpp.

@@ -1846,16 +1820,16 @@ Definition at line 86 o

-Definition at line 65 of file modules.cpp. +Definition at line 75 of file modules.cpp. -

+

@@ -1870,7 +1844,7 @@ Definition at line 65 o

-Definition at line 118 of file modules.cpp. +Definition at line 127 of file modules.cpp.

-
whowas_hash whowas + whowas_hash whowas

@@ -1894,7 +1868,7 @@ Definition at line 118

-Definition at line 84 of file modules.cpp. +Definition at line 94 of file modules.cpp.

@@ -1918,10 +1892,10 @@ Definition at line 84 o

-Definition at line 83 of file modules.cpp. +Definition at line 93 of file modules.cpp. -


Generated on Sun May 15 18:37:18 2005 for InspIRCd by +
Generated on Tue May 24 02:31:08 2005 for InspIRCd by doxygen 1.3.3
-- cgit v1.3.1-10-gc9f91