From 755d67224f033aaa9b4ef3d2dd00f46bb8c19dc2 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 7 Apr 2005 20:15:05 +0000 Subject: New docs to match extra module Version class stuff, etc git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1008 e03df62e-2008-0410-955e-edbf42e46eb7 --- docs/module-doc/annotated.html | 2 +- docs/module-doc/base_8h-source.html | 2 +- docs/module-doc/base_8h.html | 2 +- docs/module-doc/channels_8cpp-source.html | 185 +-- docs/module-doc/channels_8cpp.html | 112 +- docs/module-doc/channels_8h-source.html | 2 +- docs/module-doc/channels_8h.html | 2 +- docs/module-doc/classAdmin-members.html | 2 +- docs/module-doc/classAdmin.html | 14 +- docs/module-doc/classBanItem-members.html | 2 +- docs/module-doc/classBanItem.html | 2 +- docs/module-doc/classConfigReader-members.html | 2 +- docs/module-doc/classConfigReader.html | 320 ++--- docs/module-doc/classConnectClass-members.html | 2 +- docs/module-doc/classConnectClass.html | 2 +- docs/module-doc/classDNS-members.html | 2 +- docs/module-doc/classDNS.html | 2 +- docs/module-doc/classELine-members.html | 2 +- docs/module-doc/classELine.html | 2 +- docs/module-doc/classExemptItem-members.html | 2 +- docs/module-doc/classExemptItem.html | 2 +- docs/module-doc/classExtMode-members.html | 2 +- docs/module-doc/classExtMode.html | 30 +- docs/module-doc/classExtensible-members.html | 2 +- docs/module-doc/classExtensible.html | 2 +- docs/module-doc/classFileReader-members.html | 2 +- docs/module-doc/classFileReader.html | 100 +- docs/module-doc/classGLine-members.html | 2 +- docs/module-doc/classGLine.html | 2 +- docs/module-doc/classHostItem-members.html | 2 +- docs/module-doc/classHostItem.html | 2 +- docs/module-doc/classInviteItem-members.html | 2 +- docs/module-doc/classInviteItem.html | 2 +- docs/module-doc/classInvited-members.html | 2 +- docs/module-doc/classInvited.html | 4 +- docs/module-doc/classKLine-members.html | 2 +- docs/module-doc/classKLine.html | 2 +- docs/module-doc/classModeParameter-members.html | 2 +- docs/module-doc/classModeParameter.html | 8 +- docs/module-doc/classModule-members.html | 2 +- docs/module-doc/classModule.html | 130 +- docs/module-doc/classModuleFactory-members.html | 2 +- docs/module-doc/classModuleFactory.html | 12 +- docs/module-doc/classQLine-members.html | 2 +- docs/module-doc/classQLine.html | 2 +- docs/module-doc/classServer-members.html | 4 +- docs/module-doc/classServer.html | 448 +++---- docs/module-doc/classVersion-members.html | 5 +- docs/module-doc/classVersion.html | 52 +- docs/module-doc/classXLine-members.html | 2 +- docs/module-doc/classXLine.html | 2 +- docs/module-doc/classZLine-members.html | 2 +- docs/module-doc/classZLine.html | 2 +- docs/module-doc/classchanrec-members.html | 2 +- docs/module-doc/classchanrec.html | 216 +-- docs/module-doc/classclassbase-members.html | 2 +- docs/module-doc/classclassbase.html | 2 +- docs/module-doc/classcommand__t-members.html | 3 +- docs/module-doc/classcommand__t.html | 31 +- docs/module-doc/classconnection-members.html | 2 +- docs/module-doc/classconnection.html | 32 +- docs/module-doc/classes.html | 2 +- docs/module-doc/classircd__connector-members.html | 2 +- docs/module-doc/classircd__connector.html | 2 +- docs/module-doc/classpacket-members.html | 2 +- docs/module-doc/classpacket.html | 2 +- docs/module-doc/classserverrec-members.html | 2 +- docs/module-doc/classserverrec.html | 88 +- docs/module-doc/classucrec-members.html | 2 +- docs/module-doc/classucrec.html | 6 +- docs/module-doc/classuserrec-members.html | 2 +- docs/module-doc/classuserrec.html | 286 ++-- docs/module-doc/commands_8h-source.html | 64 +- docs/module-doc/commands_8h.html | 202 ++- docs/module-doc/connection_8h-source.html | 2 +- docs/module-doc/connection_8h.html | 2 +- docs/module-doc/ctables_8h-source.html | 11 +- docs/module-doc/ctables_8h.html | 2 +- docs/module-doc/dns_8h-source.html | 2 +- docs/module-doc/dns_8h.html | 2 +- docs/module-doc/files.html | 2 +- docs/module-doc/functions.html | 13 +- docs/module-doc/functions_func.html | 2 +- docs/module-doc/functions_vars.html | 7 +- docs/module-doc/globals.html | 207 +-- docs/module-doc/globals_defs.html | 20 +- docs/module-doc/globals_func.html | 82 +- docs/module-doc/globals_type.html | 22 +- docs/module-doc/globals_vars.html | 96 +- docs/module-doc/hierarchy.html | 2 +- docs/module-doc/main.html | 2 +- docs/module-doc/message_8h-source.html | 2 +- docs/module-doc/message_8h.html | 16 +- docs/module-doc/mode_8h-source.html | 4 +- docs/module-doc/mode_8h.html | 2 +- docs/module-doc/modules_8cpp-source.html | 1398 ++++++++++---------- docs/module-doc/modules_8cpp.html | 624 ++++----- docs/module-doc/modules_8h-source.html | 471 +++---- docs/module-doc/modules_8h.html | 224 +++- docs/module-doc/namespacenspace.html | 2 +- docs/module-doc/namespaces.html | 2 +- docs/module-doc/namespacestd.html | 2 +- docs/module-doc/servers_8cpp-source.html | 70 +- docs/module-doc/servers_8cpp.html | 30 +- docs/module-doc/servers_8h-source.html | 2 +- docs/module-doc/servers_8h.html | 2 +- .../module-doc/structInAddr__HashComp-members.html | 2 +- docs/module-doc/structInAddr__HashComp.html | 22 +- docs/module-doc/structStrHashComp-members.html | 2 +- docs/module-doc/structStrHashComp.html | 16 +- docs/module-doc/structdns__ip4list-members.html | 2 +- docs/module-doc/structdns__ip4list.html | 2 +- ..._1nspace_1_1hash_3_01in__addr_01_4-members.html | 2 +- ...nspace_1_1nspace_1_1hash_3_01in__addr_01_4.html | 14 +- ..._1_1nspace_1_1hash_3_01string_01_4-members.html | 2 +- ...ctnspace_1_1nspace_1_1hash_3_01string_01_4.html | 18 +- docs/module-doc/users_8cpp-source.html | 282 ++-- docs/module-doc/users_8cpp.html | 28 +- docs/module-doc/users_8h-source.html | 2 +- docs/module-doc/users_8h.html | 2 +- docs/module-doc/xline_8h-source.html | 2 +- docs/module-doc/xline_8h.html | 2 +- 122 files changed, 3300 insertions(+), 2881 deletions(-) (limited to 'docs/module-doc') diff --git a/docs/module-doc/annotated.html b/docs/module-doc/annotated.html index 4cd59f25a..1438f3cb2 100644 --- a/docs/module-doc/annotated.html +++ b/docs/module-doc/annotated.html @@ -44,7 +44,7 @@
1.3.3
diff --git a/docs/module-doc/base_8h-source.html b/docs/module-doc/base_8h-source.html
index 48cb44eb5..af71f42fa 100644
--- a/docs/module-doc/base_8h-source.html
+++ b/docs/module-doc/base_8h-source.html
@@ -55,7 +55,7 @@
00079
00080 #endif
00081
-
1.3.3
diff --git a/docs/module-doc/base_8h.html b/docs/module-doc/base_8h.html
index b59c1eabb..b063e805d 100644
--- a/docs/module-doc/base_8h.html
+++ b/docs/module-doc/base_8h.html
@@ -49,7 +49,7 @@
Definition at line 25 of file base.h.
-
1.3.3
diff --git a/docs/module-doc/channels_8cpp-source.html b/docs/module-doc/channels_8cpp-source.html
index cf89697dc..d95edbda6 100644
--- a/docs/module-doc/channels_8cpp-source.html
+++ b/docs/module-doc/channels_8cpp-source.html
@@ -111,99 +111,100 @@
00104
00105 extern FILE *log_file;
00106
-00107
-00108 using namespace std;
-00109
-00110 std::vector<ModeParameter> custom_mode_params;
-00111
-00112 chanrec::chanrec()
-00113 {
-00114 strcpy(name,"");
-00115 strcpy(custom_modes,"");
-00116 strcpy(topic,"");
-00117 strcpy(setby,"");
-00118 strcpy(key,"");
-00119 created = topicset = limit = 0;
-00120 topiclock = noexternal = inviteonly = moderated = secret = c_private = false;
-00121 }
-00122
-00123 void chanrec::SetCustomMode(char mode,bool mode_on)
-00124 {
-00125 if (mode_on) {
-00126 char m[3];
-00127 m[0] = mode;
-00128 m[1] = '\0';
-00129 if (!strchr(this->custom_modes,mode))
-00130 {
-00131 strlcat(custom_modes,m,MAXMODES);
-00132 }
-00133 log(DEBUG,"Custom mode %c set",mode);
-00134 }
-00135 else {
-00136
-00137 std::string a = this->custom_modes;
-00138 int pos = a.find(mode);
-00139 a.erase(pos,1);
-00140 strncpy(this->custom_modes,a.c_str(),MAXMODES);
-00141
-00142 log(DEBUG,"Custom mode %c removed: modelist='%s'",mode,this->custom_modes);
-00143 this->SetCustomModeParam(mode,"",false);
-00144 }
-00145 }
-00146
+00107 extern time_t TIME;
+00108
+00109 using namespace std;
+00110
+00111 std::vector<ModeParameter> custom_mode_params;
+00112
+00113 chanrec::chanrec()
+00114 {
+00115 strcpy(name,"");
+00116 strcpy(custom_modes,"");
+00117 strcpy(topic,"");
+00118 strcpy(setby,"");
+00119 strcpy(key,"");
+00120 created = topicset = limit = 0;
+00121 topiclock = noexternal = inviteonly = moderated = secret = c_private = false;
+00122 }
+00123
+00124 void chanrec::SetCustomMode(char mode,bool mode_on)
+00125 {
+00126 if (mode_on) {
+00127 char m[3];
+00128 m[0] = mode;
+00129 m[1] = '\0';
+00130 if (!strchr(this->custom_modes,mode))
+00131 {
+00132 strlcat(custom_modes,m,MAXMODES);
+00133 }
+00134 log(DEBUG,"Custom mode %c set",mode);
+00135 }
+00136 else {
+00137
+00138 std::string a = this->custom_modes;
+00139 int pos = a.find(mode);
+00140 a.erase(pos,1);
+00141 strncpy(this->custom_modes,a.c_str(),MAXMODES);
+00142
+00143 log(DEBUG,"Custom mode %c removed: modelist='%s'",mode,this->custom_modes);
+00144 this->SetCustomModeParam(mode,"",false);
+00145 }
+00146 }
00147
-00148 void chanrec::SetCustomModeParam(char mode,char* parameter,bool mode_on)
-00149 {
-00150
-00151 log(DEBUG,"SetCustomModeParam called");
-00152 ModeParameter M;
-00153 M.mode = mode;
-00154 strlcpy(M.channel,this->name,CHANMAX);
-00155 strlcpy(M.parameter,parameter,MAXBUF);
-00156 if (mode_on)
-00157 {
-00158 log(DEBUG,"Custom mode parameter %c %s added",mode,parameter);
-00159 custom_mode_params.push_back(M);
-00160 }
-00161 else
-00162 {
-00163 if (custom_mode_params.size())
-00164 {
-00165 for (vector<ModeParameter>::iterator i = custom_mode_params.begin(); i < custom_mode_params.end(); i++)
-00166 {
-00167 if ((i->mode == mode) && (!strcasecmp(this->name,i->channel)))
-00168 {
-00169 log(DEBUG,"Custom mode parameter %c %s removed",mode,parameter);
-00170 custom_mode_params.erase(i);
-00171 return;
-00172 }
-00173 }
-00174 }
-00175 log(DEBUG,"*** BUG *** Attempt to remove non-existent mode parameter!");
-00176 }
-00177 }
-00178
-00179 bool chanrec::IsCustomModeSet(char mode)
-00180 {
-00181 log(DEBUG,"Checking ISCustomModeSet: %c %s",mode,this->custom_modes);
-00182 return (strchr(this->custom_modes,mode) != 0);
-00183 }
-00184
-00185 std::string chanrec::GetModeParameter(char mode)
-00186 {
-00187 if (custom_mode_params.size())
-00188 {
-00189 for (vector<ModeParameter>::iterator i = custom_mode_params.begin(); i < custom_mode_params.end(); i++)
-00190 {
-00191 if ((i->mode == mode) && (!strcasecmp(this->name,i->channel)))
-00192 {
-00193 return std::string(i->parameter);
-00194 }
-00195 }
-00196 }
-00197 return std::string("");
-00198 }
-
1.3.3
diff --git a/docs/module-doc/channels_8cpp.html b/docs/module-doc/channels_8cpp.html
index f83023011..2fac5b2e9 100644
--- a/docs/module-doc/channels_8cpp.html
+++ b/docs/module-doc/channels_8cpp.html
@@ -51,7 +51,7 @@
| char AdminEmail[MAXBUF] + | char AdminEmail[MAXBUF] |
| char AdminName[MAXBUF] + | char AdminName[MAXBUF] |
| char AdminNick[MAXBUF] + | char AdminNick[MAXBUF] |
| std::vector<long> auth_cookies + | std::vector<long> auth_cookies |
| int boundPortCount + | int boundPortCount |
Definition at line 101 of file channels.cpp.
-Referenced by userrec::HasPermission(). +Referenced by userrec::HasPermission(). -
@@ -326,7 +328,7 @@ Referenced by chanrec::Get
| int debugging + | int debugging |
| int defaultRoute + | int defaultRoute |
| int DieDelay + | int DieDelay |
| char diepass[MAXBUF] + | char diepass[MAXBUF] |
| char DieValue[MAXBUF] + | char DieValue[MAXBUF] |
| std::vector<ircd_module*> factory + | std::vector<ircd_module*> factory |
| std::vector<int> fd_reap + | std::vector<int> fd_reap |
| char list[MAXBUF] + | char list[MAXBUF] |
| FILE* log_file + | FILE* log_file |
| int LogLevel + | int LogLevel |
| int MaxWhoResults + | int MaxWhoResults |
| serverrec* me[32] + | serverrec* me[32] |
-Definition at line 774 of file modules.cpp. +Definition at line 776 of file modules.cpp.
@@ -638,7 +640,7 @@ Definition at line 774
| std::vector<std::string> module_names + | std::vector<std::string> module_names |
| char motd[MAXBUF] + | char motd[MAXBUF] |
| time_t nb_start + | time_t nb_start |
| int NetBufferSize + | int NetBufferSize |
| char Network[MAXBUF] + | char Network[MAXBUF] |
| int portCount + | int portCount |
| int ports[MAXSOCKS] + | int ports[MAXSOCKS] |
| char PrefixQuit[MAXBUF] + | char PrefixQuit[MAXBUF] |
| char restartpass[MAXBUF] + | char restartpass[MAXBUF] |
| char rules[MAXBUF] + | char rules[MAXBUF] |
| char ServerDesc[MAXBUF] + | char ServerDesc[MAXBUF] |
| char ServerName[MAXBUF] + | char ServerName[MAXBUF] |
| time_t startup_time + | time_t startup_time |
+
+
|
+
| + + | +
+
+ + + +Definition at line 107 of file channels.cpp. + +Referenced by serverrec::serverrec(). |
+
|
|
@@ -1022,7 +1050,7 @@ Definition at line 84
|
@@ -1040,7 +1068,7 @@ Definition at line 84
Definition at line 83 of file channels.cpp.
1.3.3
diff --git a/docs/module-doc/channels_8h-source.html b/docs/module-doc/channels_8h-source.html
index 4f24f617b..66c796da2 100644
--- a/docs/module-doc/channels_8h-source.html
+++ b/docs/module-doc/channels_8h-source.html
@@ -139,7 +139,7 @@
00218
00219 #endif
00220
-
1.3.3
diff --git a/docs/module-doc/channels_8h.html b/docs/module-doc/channels_8h.html
index 42434f60e..b168d6565 100644
--- a/docs/module-doc/channels_8h.html
+++ b/docs/module-doc/channels_8h.html
@@ -258,7 +258,7 @@ Holds a complete invite list.
Definition at line 88 of file channels.h.
-
1.3.3
diff --git a/docs/module-doc/classAdmin-members.html b/docs/module-doc/classAdmin-members.html
index 82d9ab2bb..66fbe5327 100644
--- a/docs/module-doc/classAdmin-members.html
+++ b/docs/module-doc/classAdmin-members.html
@@ -13,7 +13,7 @@
[inline]
1.3.3
diff --git a/docs/module-doc/classAdmin.html b/docs/module-doc/classAdmin.html
index 6fa6ccd7d..a86dcdd4d 100644
--- a/docs/module-doc/classAdmin.html
+++ b/docs/module-doc/classAdmin.html
@@ -32,7 +32,7 @@ It is constructed by class Server, and
-Definition at line 114 of file modules.h.
-Definition at line 117 of file modules.h. +Definition at line 124 of file modules.h.
@@ -128,7 +128,7 @@ Definition at line 117 of
-Definition at line 117 of file modules.h. +Definition at line 124 of file modules.h.
@@ -152,12 +152,12 @@ Definition at line 117 of
-Definition at line 117 of file modules.h. +Definition at line 124 of file modules.h.
1.3.3
diff --git a/docs/module-doc/classBanItem-members.html b/docs/module-doc/classBanItem-members.html
index 6e5a2d10b..855c7f10b 100644
--- a/docs/module-doc/classBanItem-members.html
+++ b/docs/module-doc/classBanItem-members.html
@@ -14,7 +14,7 @@
[inline] [inline, virtual]
1.3.3
diff --git a/docs/module-doc/classBanItem.html b/docs/module-doc/classBanItem.html
index 59ad4e0d0..772b1277b 100644
--- a/docs/module-doc/classBanItem.html
+++ b/docs/module-doc/classBanItem.html
@@ -22,7 +22,7 @@ A subclass of HostItem designed to h
Definition at line 45 of file channels.h.
1.3.3
diff --git a/docs/module-doc/classConfigReader-members.html b/docs/module-doc/classConfigReader-members.html
index fd9766ec8..525b690ae 100644
--- a/docs/module-doc/classConfigReader-members.html
+++ b/docs/module-doc/classConfigReader-members.html
@@ -24,7 +24,7 @@
[inline]
1.3.3
diff --git a/docs/module-doc/classConfigReader.html b/docs/module-doc/classConfigReader.html
index f5785a066..7ece1927f 100644
--- a/docs/module-doc/classConfigReader.html
+++ b/docs/module-doc/classConfigReader.html
@@ -67,7 +67,7 @@ It may either be instantiated with one parameter or none. Constructing the class
-Definition at line 675 of file modules.h.
This constructor initialises the ConfigReader class to read a user-specified config file
-Definition at line 596 of file modules.cpp. +Definition at line 598 of file modules.cpp.
-References cache, CONF_FILE_NOT_FOUND, error, errorlog, and readerror. +References cache, CONF_FILE_NOT_FOUND, error, errorlog, and readerror.
-
00597 {
-00598 this->cache = new std::stringstream(std::stringstream::in | std::stringstream::out);
-00599 this->errorlog = new std::stringstream(std::stringstream::in | std::stringstream::out);
-00600 this->readerror = LoadConf(filename.c_str(),this->cache,this->errorlog);
-00601 if (!this->readerror)
-00602 this->error = CONF_FILE_NOT_FOUND;
-00603 };
+00599 {
+00600 this->cache = new std::stringstream(std::stringstream::in | std::stringstream::out);
+00601 this->errorlog = new std::stringstream(std::stringstream::in | std::stringstream::out);
+00602 this->readerror = LoadConf(filename.c_str(),this->cache,this->errorlog);
+00603 if (!this->readerror)
+00604 this->error = CONF_FILE_NOT_FOUND;
+00605 };
@@ -184,16 +184,16 @@ Default destructor.
This method destroys the ConfigReader class.
-Definition at line 587 of file modules.cpp.
+Definition at line 589 of file modules.cpp.
-References cache, and errorlog.
+References cache, and errorlog.
-
00588 {
-00589 if (this->cache)
-00590 delete this->cache;
-00591 if (this->errorlog)
-00592 delete this->errorlog;
-00593 }
+00590 {
+00591 if (this->cache)
+00592 delete this->cache;
+00593 if (this->errorlog)
+00594 delete this->errorlog;
+00595 }
@@ -237,40 +237,40 @@ Dumps the list of errors in a config file to an output location.
If bail is true, then the program will abort. If bail is false and user points to a valid user record, the error report will be spooled to the given user by means of NOTICE. if bool is false AND user is false, the error report will be spooled to all opers by means of a NOTICE to all opers.
-Definition at line 674 of file modules.cpp.
-
-References errorlog, connection::fd, and userrec::nick.
-
-
00675 {
-00676 if (bail)
-00677 {
-00678 printf("There were errors in your configuration:\n%s",errorlog->str().c_str());
-00679 exit(0);
-00680 }
-00681 else
-00682 {
-00683 char dataline[1024];
-00684 if (user)
-00685 {
-00686 WriteServ(user->fd,"NOTICE %s :There were errors in the configuration file:",user->nick);
-00687 while (!errorlog->eof())
-00688 {
-00689 errorlog->getline(dataline,1024);
-00690 WriteServ(user->fd,"NOTICE %s :%s",user->nick,dataline);
-00691 }
-00692 }
-00693 else
-00694 {
-00695 WriteOpers("There were errors in the configuration file:",user->nick);
-00696 while (!errorlog->eof())
-00697 {
-00698 errorlog->getline(dataline,1024);
-00699 WriteOpers(dataline);
-00700 }
-00701 }
-00702 return;
-00703 }
-00704 }
+Definition at line 676 of file modules.cpp.
+
+References errorlog, connection::fd, and userrec::nick.
+
+
00677 {
+00678 if (bail)
+00679 {
+00680 printf("There were errors in your configuration:\n%s",errorlog->str().c_str());
+00681 exit(0);
+00682 }
+00683 else
+00684 {
+00685 char dataline[1024];
+00686 if (user)
+00687 {
+00688 WriteServ(user->fd,"NOTICE %s :There were errors in the configuration file:",user->nick);
+00689 while (!errorlog->eof())
+00690 {
+00691 errorlog->getline(dataline,1024);
+00692 WriteServ(user->fd,"NOTICE %s :%s",user->nick,dataline);
+00693 }
+00694 }
+00695 else
+00696 {
+00697 WriteOpers("There were errors in the configuration file:",user->nick);
+00698 while (!errorlog->eof())
+00699 {
+00700 errorlog->getline(dataline,1024);
+00701 WriteOpers(dataline);
+00702 }
+00703 }
+00704 return;
+00705 }
+00706 }
@@ -304,13 +304,13 @@ Counts the number of times a given tag appears in the config file.
This method counts the number of times a tag appears in a config file, for use where there are several tags of the same kind, e.g. with opers and connect types. It can be used with the index value of ConfigReader::ReadValue to loop through all copies of a multiple instance tag.
-Definition at line 707 of file modules.cpp.
+Definition at line 709 of file modules.cpp.
-References cache.
+References cache.
-
00708 {
-00709 return EnumConf(cache,tag.c_str());
-00710 }
+00710 {
+00711 return EnumConf(cache,tag.c_str());
+00712 }
@@ -353,13 +353,13 @@ Returns the number of items within a tag.
For example if the tag was <test tag="blah" data="foo"> then this function would return 2. Spaces and newlines both qualify as valid seperators between values.
-Definition at line 712 of file modules.cpp.
+Definition at line 714 of file modules.cpp.
-References cache.
+References cache.
-
00713 {
-00714 return EnumValues(cache, tag.c_str(), index);
-00715 }
+00715 {
+00716 return EnumValues(cache, tag.c_str(), index);
+00717 }
@@ -392,15 +392,15 @@ Returns the last error to occur.
Valid errors can be found by looking in modules.h. Any nonzero value indicates an error condition. A call to GetError() resets the error flag back to 0.
-Definition at line 667 of file modules.cpp.
+Definition at line 669 of file modules.cpp.
-References error.
+References error.
-
00668 {
-00669 long olderr = this->error;
-00670 this->error = 0;
-00671 return olderr;
-00672 }
+00670 {
+00671 long olderr = this->error;
+00672 this->error = 0;
+00673 return olderr;
+00674 }
@@ -449,25 +449,25 @@ Retrieves a boolean value from the config file.
This method retrieves a boolean value from the config file. Where multiple copies of the tag exist in the config file, index indicates which of the values to retrieve. The values "1", "yes" and "true" in the config file count as true to ReadFlag, and any other value counts as false.
-Definition at line 621 of file modules.cpp.
-
-References cache, CONF_VALUE_NOT_FOUND, and error.
-
-
00622 {
-00623 char val[MAXBUF];
-00624 char t[MAXBUF];
-00625 char n[MAXBUF];
-00626 strlcpy(t,tag.c_str(),MAXBUF);
-00627 strlcpy(n,name.c_str(),MAXBUF);
-00628 int res = ReadConf(cache,t,n,index,val);
-00629 if (!res)
-00630 {
-00631 this->error = CONF_VALUE_NOT_FOUND;
-00632 return false;
-00633 }
-00634 std::string s = val;
-00635 return ((s == "yes") || (s == "YES") || (s == "true") || (s == "TRUE") || (s == "1"));
-00636 }
+Definition at line 623 of file modules.cpp.
+
+References cache, CONF_VALUE_NOT_FOUND, and error.
+
+
00624 {
+00625 char val[MAXBUF];
+00626 char t[MAXBUF];
+00627 char n[MAXBUF];
+00628 strlcpy(t,tag.c_str(),MAXBUF);
+00629 strlcpy(n,name.c_str(),MAXBUF);
+00630 int res = ReadConf(cache,t,n,index,val);
+00631 if (!res)
+00632 {
+00633 this->error = CONF_VALUE_NOT_FOUND;
+00634 return false;
+00635 }
+00636 std::string s = val;
+00637 return ((s == "yes") || (s == "YES") || (s == "true") || (s == "TRUE") || (s == "1"));
+00638 }
@@ -522,37 +522,37 @@ Retrieves an integer value from the config file.
This method retrieves an integer value from the config file. Where multiple copies of the tag exist in the config file, index indicates which of the values to retrieve. Any invalid integer values in the tag will cause the objects error value to be set, and any call to GetError() will return CONF_INVALID_NUMBER to be returned. needs_unsigned is set if the number must be unsigned. If a signed number is placed into a tag which is specified unsigned, 0 will be returned and GetError() will return CONF_NOT_UNSIGNED
-Definition at line 638 of file modules.cpp.
-
-References cache, CONF_NOT_A_NUMBER, CONF_NOT_UNSIGNED, CONF_VALUE_NOT_FOUND, and error.
-
-
00639 {
-00640 char val[MAXBUF];
-00641 char t[MAXBUF];
-00642 char n[MAXBUF];
-00643 strlcpy(t,tag.c_str(),MAXBUF);
-00644 strlcpy(n,name.c_str(),MAXBUF);
-00645 int res = ReadConf(cache,t,n,index,val);
-00646 if (!res)
-00647 {
-00648 this->error = CONF_VALUE_NOT_FOUND;
-00649 return 0;
-00650 }
-00651 for (int i = 0; i < strlen(val); i++)
-00652 {
-00653 if (!isdigit(val[i]))
-00654 {
-00655 this->error = CONF_NOT_A_NUMBER;
-00656 return 0;
-00657 }
-00658 }
-00659 if ((needs_unsigned) && (atoi(val)<0))
-00660 {
-00661 this->error = CONF_NOT_UNSIGNED;
-00662 return 0;
-00663 }
-00664 return atoi(val);
-00665 }
+Definition at line 640 of file modules.cpp.
+
+References cache, CONF_NOT_A_NUMBER, CONF_NOT_UNSIGNED, CONF_VALUE_NOT_FOUND, and error.
+
+
00641 {
+00642 char val[MAXBUF];
+00643 char t[MAXBUF];
+00644 char n[MAXBUF];
+00645 strlcpy(t,tag.c_str(),MAXBUF);
+00646 strlcpy(n,name.c_str(),MAXBUF);
+00647 int res = ReadConf(cache,t,n,index,val);
+00648 if (!res)
+00649 {
+00650 this->error = CONF_VALUE_NOT_FOUND;
+00651 return 0;
+00652 }
+00653 for (int i = 0; i < strlen(val); i++)
+00654 {
+00655 if (!isdigit(val[i]))
+00656 {
+00657 this->error = CONF_NOT_A_NUMBER;
+00658 return 0;
+00659 }
+00660 }
+00661 if ((needs_unsigned) && (atoi(val)<0))
+00662 {
+00663 this->error = CONF_NOT_UNSIGNED;
+00664 return 0;
+00665 }
+00666 return atoi(val);
+00667 }
@@ -601,24 +601,24 @@ Retrieves a value from the config file.
This method retrieves a value from the config file. Where multiple copies of the tag exist in the config file, index indicates which of the values to retrieve.
-Definition at line 605 of file modules.cpp.
-
-References cache, CONF_VALUE_NOT_FOUND, and error.
-
-
00606 {
-00607 char val[MAXBUF];
-00608 char t[MAXBUF];
-00609 char n[MAXBUF];
-00610 strlcpy(t,tag.c_str(),MAXBUF);
-00611 strlcpy(n,name.c_str(),MAXBUF);
-00612 int res = ReadConf(cache,t,n,index,val);
-00613 if (!res)
-00614 {
-00615 this->error = CONF_VALUE_NOT_FOUND;
-00616 return "";
-00617 }
-00618 return std::string(val);
-00619 }
+Definition at line 607 of file modules.cpp.
+
+References cache, CONF_VALUE_NOT_FOUND, and error.
+
+
00608 {
+00609 char val[MAXBUF];
+00610 char t[MAXBUF];
+00611 char n[MAXBUF];
+00612 strlcpy(t,tag.c_str(),MAXBUF);
+00613 strlcpy(n,name.c_str(),MAXBUF);
+00614 int res = ReadConf(cache,t,n,index,val);
+00615 if (!res)
+00616 {
+00617 this->error = CONF_VALUE_NOT_FOUND;
+00618 return "";
+00619 }
+00620 return std::string(val);
+00621 }
@@ -651,13 +651,13 @@ Returns true if a config file is valid.
This method is partially implemented and will only return false if the config file does not exist or could not be opened.
-Definition at line 717 of file modules.cpp.
+Definition at line 719 of file modules.cpp.
-References readerror.
+References readerror.
-
00718 {
-00719 return this->readerror;
-00720 }
+00720 {
+00721 return this->readerror;
+00722 }
@@ -685,9 +685,9 @@ The contents of the configuration file This protected member should never be acc
It will contain a pointer to the configuration file data with unneeded data (such as comments) stripped from it.
-Definition at line 683 of file modules.h.
+Definition at line 693 of file modules.h.
-Referenced by ConfigReader(), Enumerate(), EnumerateValues(), ReadFlag(), ReadInteger(), ReadValue(), and ~ConfigReader().
+Referenced by ConfigReader(), Enumerate(), EnumerateValues(), ReadFlag(), ReadInteger(), ReadValue(), and ~ConfigReader().
@@ -711,9 +711,9 @@ Referenced by ConfigReader(
-Definition at line 688 of file modules.h.
+Definition at line 698 of file modules.h.
-Referenced by ConfigReader(), GetError(), ReadFlag(), ReadInteger(), and ReadValue().
+Referenced by ConfigReader(), GetError(), ReadFlag(), ReadInteger(), and ReadValue().
@@ -737,9 +737,9 @@ Referenced by ConfigReader(
-Definition at line 684 of file modules.h.
+Definition at line 694 of file modules.h.
-Referenced by ConfigReader(), DumpErrors(), and ~ConfigReader().
+Referenced by ConfigReader(), DumpErrors(), and ~ConfigReader().
@@ -765,14 +765,14 @@ Used to store errors.
-Definition at line 687 of file modules.h.
+Definition at line 697 of file modules.h.
-Referenced by ConfigReader(), and Verify().
+Referenced by ConfigReader(), and Verify().
The documentation for this class was generated from the following files:
-
Generated on Mon Apr 4 18:12:51 2005 for InspIRCd by
+
Generated on Thu Apr 7 20:14:24 2005 for InspIRCd by
1.3.3
diff --git a/docs/module-doc/classConnectClass-members.html b/docs/module-doc/classConnectClass-members.html
index 2bc578f18..cc3585988 100644
--- a/docs/module-doc/classConnectClass-members.html
+++ b/docs/module-doc/classConnectClass-members.html
@@ -15,7 +15,7 @@
registration_timeout ConnectClass
type ConnectClass
~classbase() classbase [inline]
-
Generated on Mon Apr 4 18:12:51 2005 for InspIRCd by
+
Generated on Thu Apr 7 20:14:24 2005 for InspIRCd by
1.3.3
diff --git a/docs/module-doc/classConnectClass.html b/docs/module-doc/classConnectClass.html
index f0cb52875..67b9187fe 100644
--- a/docs/module-doc/classConnectClass.html
+++ b/docs/module-doc/classConnectClass.html
@@ -221,7 +221,7 @@ Definition at line 50 of fi
The documentation for this class was generated from the following file:
-
Generated on Mon Apr 4 18:12:51 2005 for InspIRCd by
+
Generated on Thu Apr 7 20:14:24 2005 for InspIRCd by
1.3.3
diff --git a/docs/module-doc/classDNS-members.html b/docs/module-doc/classDNS-members.html
index 0cffc538a..87a31deb7 100644
--- a/docs/module-doc/classDNS-members.html
+++ b/docs/module-doc/classDNS-members.html
@@ -33,7 +33,7 @@
ReverseLookup(std::string ip) DNS
t DNS [private]
~DNS() DNS
-
Generated on Mon Apr 4 18:12:51 2005 for InspIRCd by
+
Generated on Thu Apr 7 20:14:24 2005 for InspIRCd by
1.3.3
diff --git a/docs/module-doc/classDNS.html b/docs/module-doc/classDNS.html
index 13e92c334..4ae31e5bf 100644
--- a/docs/module-doc/classDNS.html
+++ b/docs/module-doc/classDNS.html
@@ -885,7 +885,7 @@ Definition at line 40 of file
The documentation for this class was generated from the following file:
-
Generated on Mon Apr 4 18:12:51 2005 for InspIRCd by
+
Generated on Thu Apr 7 20:14:24 2005 for InspIRCd by
1.3.3
diff --git a/docs/module-doc/classELine-members.html b/docs/module-doc/classELine-members.html
index 61d32e586..1fc38092c 100644
--- a/docs/module-doc/classELine-members.html
+++ b/docs/module-doc/classELine-members.html
@@ -15,7 +15,7 @@
set_time XLine
source XLine
~classbase() classbase [inline]
-
Generated on Mon Apr 4 18:12:51 2005 for InspIRCd by
+
Generated on Thu Apr 7 20:14:24 2005 for InspIRCd by
1.3.3
diff --git a/docs/module-doc/classELine.html b/docs/module-doc/classELine.html
index 115ba2bc8..155546871 100644
--- a/docs/module-doc/classELine.html
+++ b/docs/module-doc/classELine.html
@@ -45,7 +45,7 @@ Definition at line 88 of fi
The documentation for this class was generated from the following file:
-
Generated on Mon Apr 4 18:12:51 2005 for InspIRCd by
+
Generated on Thu Apr 7 20:14:24 2005 for InspIRCd by
1.3.3
diff --git a/docs/module-doc/classExemptItem-members.html b/docs/module-doc/classExemptItem-members.html
index 4724c1315..f8347d9ea 100644
--- a/docs/module-doc/classExemptItem-members.html
+++ b/docs/module-doc/classExemptItem-members.html
@@ -14,7 +14,7 @@
set_time HostItem
~classbase() classbase [inline]
~HostItem() HostItem [inline, virtual]
-
Generated on Mon Apr 4 18:12:51 2005 for InspIRCd by
+
Generated on Thu Apr 7 20:14:24 2005 for InspIRCd by
1.3.3
diff --git a/docs/module-doc/classExemptItem.html b/docs/module-doc/classExemptItem.html
index f1a540a50..d1860b10d 100644
--- a/docs/module-doc/classExemptItem.html
+++ b/docs/module-doc/classExemptItem.html
@@ -22,7 +22,7 @@ A subclass of HostItem designed to h
Definition at line 53 of file channels.h.
The documentation for this class was generated from the following file:
-
Generated on Mon Apr 4 18:12:51 2005 for InspIRCd by
+
Generated on Thu Apr 7 20:14:24 2005 for InspIRCd by
1.3.3
diff --git a/docs/module-doc/classExtMode-members.html b/docs/module-doc/classExtMode-members.html
index de190c242..4ada07153 100644
--- a/docs/module-doc/classExtMode-members.html
+++ b/docs/module-doc/classExtMode-members.html
@@ -16,7 +16,7 @@
params_when_on ExtMode
type ExtMode
~classbase() classbase [inline]
-
Generated on Mon Apr 4 18:12:51 2005 for InspIRCd by
+
Generated on Thu Apr 7 20:14:24 2005 for InspIRCd by
1.3.3
diff --git a/docs/module-doc/classExtMode.html b/docs/module-doc/classExtMode.html
index b10a04490..f89b5e606 100644
--- a/docs/module-doc/classExtMode.html
+++ b/docs/module-doc/classExtMode.html
@@ -82,11 +82,11 @@
-Definition at line 197 of file modules.cpp.
+Definition at line 199 of file modules.cpp.
-References modechar, needsoper, params_when_off, params_when_on, and type.
+References modechar, needsoper, params_when_off, params_when_on, and type.
-
00197 : modechar(mc), type(ty), needsoper(oper), params_when_on(p_on), params_when_off(p_off) { };
+00199 : modechar(mc), type(ty), needsoper(oper), params_when_on(p_on), params_when_off(p_off) { };
@@ -112,7 +112,7 @@ References modechar,
-Definition at line 196 of file modules.cpp.
+Definition at line 198 of file modules.cpp.
@@ -136,9 +136,9 @@ Definition at line 196
-Definition at line 191 of file modules.cpp.
+Definition at line 193 of file modules.cpp.
-Referenced by ExtMode().
+Referenced by ExtMode().
@@ -162,9 +162,9 @@ Referenced by ExtMode()
-Definition at line 195 of file modules.cpp.
+Definition at line 197 of file modules.cpp.
-Referenced by ExtMode().
+Referenced by ExtMode().
@@ -188,9 +188,9 @@ Referenced by ExtMode()
-Definition at line 194 of file modules.cpp.
+Definition at line 196 of file modules.cpp.
-Referenced by ExtMode().
+Referenced by ExtMode().
@@ -214,9 +214,9 @@ Referenced by ExtMode()
-Definition at line 193 of file modules.cpp.
+Definition at line 195 of file modules.cpp.
-Referenced by ExtMode().
+Referenced by ExtMode().
@@ -240,14 +240,14 @@ Referenced by ExtMode()
-Definition at line 192 of file modules.cpp.
+Definition at line 194 of file modules.cpp.
-Referenced by ExtMode().
+Referenced by ExtMode().
The documentation for this class was generated from the following file:
-
Generated on Mon Apr 4 18:12:51 2005 for InspIRCd by
+
Generated on Thu Apr 7 20:14:24 2005 for InspIRCd by
1.3.3
diff --git a/docs/module-doc/classExtensible-members.html b/docs/module-doc/classExtensible-members.html
index 32368b3f8..adf9debc0 100644
--- a/docs/module-doc/classExtensible-members.html
+++ b/docs/module-doc/classExtensible-members.html
@@ -13,7 +13,7 @@
GetExt(std::string key) Extensible
Shrink(std::string key) Extensible
~classbase() classbase [inline]
-
Generated on Mon Apr 4 18:12:51 2005 for InspIRCd by
+
Generated on Thu Apr 7 20:14:24 2005 for InspIRCd by
1.3.3
diff --git a/docs/module-doc/classExtensible.html b/docs/module-doc/classExtensible.html
index 60c2132c3..15857b812 100644
--- a/docs/module-doc/classExtensible.html
+++ b/docs/module-doc/classExtensible.html
@@ -170,7 +170,7 @@ Definition at line 54 of fil
The documentation for this class was generated from the following file:
-
Generated on Mon Apr 4 18:12:51 2005 for InspIRCd by
+
Generated on Thu Apr 7 20:14:24 2005 for InspIRCd by
1.3.3
diff --git a/docs/module-doc/classFileReader-members.html b/docs/module-doc/classFileReader-members.html
index 7e2ada15e..42da61751 100644
--- a/docs/module-doc/classFileReader-members.html
+++ b/docs/module-doc/classFileReader-members.html
@@ -17,7 +17,7 @@
LoadFile(std::string filename) FileReader
~classbase() classbase [inline]
~FileReader() FileReader
-
Generated on Mon Apr 4 18:12:52 2005 for InspIRCd by
+
Generated on Thu Apr 7 20:14:24 2005 for InspIRCd by
1.3.3
diff --git a/docs/module-doc/classFileReader.html b/docs/module-doc/classFileReader.html
index 3055133a9..486a4d4ab 100644
--- a/docs/module-doc/classFileReader.html
+++ b/docs/module-doc/classFileReader.html
@@ -37,7 +37,7 @@ Inherits classbase.
Returns the size of the file in lines.
Private Attributes
-file_cache fc
+file_cache fc
Detailed Description
@@ -47,7 +47,7 @@ This class contains methods for read-only manipulation of a text file in memory.
-Definition at line 764 of file modules.h.
Constructor & Destructor Documentation
+Definition at line 774 of file modules.h.
Constructor & Destructor Documentation
@@ -77,10 +77,10 @@ Default constructor.
This method does not load any file into memory, you must use the LoadFile method after constructing the class this way.
-Definition at line 730 of file modules.cpp.
+Definition at line 732 of file modules.cpp.
-
00731 {
-00732 }
+00733 {
+00734 }
@@ -114,15 +114,15 @@ Secondary constructor.
This method initialises the class with a file loaded into it ready for GetLine and and other methods to be called. If the file could not be loaded, FileReader::FileSize returns 0.
-Definition at line 723 of file modules.cpp.
+Definition at line 725 of file modules.cpp.
-References fc, and file_cache.
+References fc, and file_cache.
-
00724 {
-00725 file_cache c;
-00726 readfile(c,filename.c_str());
-00727 this->fc = c;
-00728 }
+00726 {
+00727 file_cache c;
+00728 readfile(c,filename.c_str());
+00729 this->fc = c;
+00730 }
@@ -155,10 +155,10 @@ Default destructor.
This deletes the memory allocated to the file.
-Definition at line 742 of file modules.cpp.
+Definition at line 744 of file modules.cpp.
-
00743 {
-00744 }
+00745 {
+00746 }
@@ -192,20 +192,20 @@ Returns true if the file exists This function will return false if the file coul
-Definition at line 746 of file modules.cpp.
+Definition at line 748 of file modules.cpp.
-References fc.
+References fc.
-
00747 {
-00748 if (fc.size() == 0)
-00749 {
-00750 return(false);
-00751 }
-00752 else
-00753 {
-00754 return(true);
-00755 }
-00756 }
+00749 {
+00750 if (fc.size() == 0)
+00751 {
+00752 return(false);
+00753 }
+00754 else
+00755 {
+00756 return(true);
+00757 }
+00758 }
@@ -238,13 +238,13 @@ Returns the size of the file in lines.
This method returns the number of lines in the read file. If it is 0, no lines have been read into memory, either because the file is empty or it does not exist, or cannot be opened due to permission problems.
-Definition at line 765 of file modules.cpp.
+Definition at line 767 of file modules.cpp.
-References fc.
+References fc.
-
00766 {
-00767 return fc.size();
-00768 }
+00768 {
+00769 return fc.size();
+00770 }
@@ -278,15 +278,15 @@ Retrieve one line from the file.
This method retrieves one line from the text file. If an empty non-NULL string is returned, the index was out of bounds, or the line had no data on it.
-Definition at line 758 of file modules.cpp.
+Definition at line 760 of file modules.cpp.
-References fc.
+References fc.
-
00759 {
-00760 if ((x<0) || (x>fc.size()))
-00761 return "";
-00762 return fc[x];
-00763 }
+
@@ -320,15 +320,15 @@ Used to load a file.
This method loads a file into the class ready for GetLine and and other methods to be called. If the file could not be loaded, FileReader::FileSize returns 0.
-Definition at line 734 of file modules.cpp.
+Definition at line 736 of file modules.cpp.
-References fc, and file_cache.
+References fc, and file_cache.
-
00735 {
-00736 file_cache c;
-00737 readfile(c,filename.c_str());
-00738 this->fc = c;
-00739 }
+00737 {
+00738 file_cache c;
+00739 readfile(c,filename.c_str());
+00740 this->fc = c;
+00741 }
@@ -339,7 +339,7 @@ References fc, and
- file_cache FileReader::fc [private]
+ file_cache FileReader::fc [private]
@@ -354,14 +354,14 @@ References fc, and
-Definition at line 766 of file modules.h.
+Definition at line 776 of file modules.h.
-Referenced by Exists(), FileReader(), FileSize(), GetLine(), and LoadFile().
+Referenced by Exists(), FileReader(), FileSize(), GetLine(), and LoadFile().
The documentation for this class was generated from the following files:
-
Generated on Mon Apr 4 18:12:52 2005 for InspIRCd by
+
Generated on Thu Apr 7 20:14:24 2005 for InspIRCd by
1.3.3
diff --git a/docs/module-doc/classGLine-members.html b/docs/module-doc/classGLine-members.html
index 447761d46..bc630fbca 100644
--- a/docs/module-doc/classGLine-members.html
+++ b/docs/module-doc/classGLine-members.html
@@ -15,7 +15,7 @@
set_time XLine
source XLine
~classbase() classbase [inline]
-
Generated on Mon Apr 4 18:12:52 2005 for InspIRCd by
+
Generated on Thu Apr 7 20:14:24 2005 for InspIRCd by
1.3.3
diff --git a/docs/module-doc/classGLine.html b/docs/module-doc/classGLine.html
index c7c328e9c..ad6d0ac46 100644
--- a/docs/module-doc/classGLine.html
+++ b/docs/module-doc/classGLine.html
@@ -53,7 +53,7 @@ Definition at line 79 of fi
The documentation for this class was generated from the following file:
-
Generated on Mon Apr 4 18:12:52 2005 for InspIRCd by
+
Generated on Thu Apr 7 20:14:24 2005 for InspIRCd by
1.3.3
diff --git a/docs/module-doc/classHostItem-members.html b/docs/module-doc/classHostItem-members.html
index 776db944b..119eeacf6 100644
--- a/docs/module-doc/classHostItem-members.html
+++ b/docs/module-doc/classHostItem-members.html
@@ -14,7 +14,7 @@
set_time HostItem
~classbase() classbase [inline]
~HostItem() HostItem [inline, virtual]
-
Generated on Mon Apr 4 18:12:52 2005 for InspIRCd by
+
Generated on Thu Apr 7 20:14:25 2005 for InspIRCd by
1.3.3
diff --git a/docs/module-doc/classHostItem.html b/docs/module-doc/classHostItem.html
index b5d48a2db..a0698360b 100644
--- a/docs/module-doc/classHostItem.html
+++ b/docs/module-doc/classHostItem.html
@@ -178,7 +178,7 @@ Definition at line 32 of
The documentation for this class was generated from the following file:
-
Generated on Mon Apr 4 18:12:52 2005 for InspIRCd by
+
Generated on Thu Apr 7 20:14:25 2005 for InspIRCd by
1.3.3
diff --git a/docs/module-doc/classInviteItem-members.html b/docs/module-doc/classInviteItem-members.html
index 252e99679..7275e3124 100644
--- a/docs/module-doc/classInviteItem-members.html
+++ b/docs/module-doc/classInviteItem-members.html
@@ -14,7 +14,7 @@
set_time HostItem
~classbase() classbase [inline]
~HostItem() HostItem [inline, virtual]
-
Generated on Mon Apr 4 18:12:52 2005 for InspIRCd by
+
Generated on Thu Apr 7 20:14:25 2005 for InspIRCd by
1.3.3
diff --git a/docs/module-doc/classInviteItem.html b/docs/module-doc/classInviteItem.html
index 2ebef6183..8ca096712 100644
--- a/docs/module-doc/classInviteItem.html
+++ b/docs/module-doc/classInviteItem.html
@@ -22,7 +22,7 @@ A subclass of HostItem designed to h
Definition at line 61 of file channels.h.
The documentation for this class was generated from the following file:
-
Generated on Mon Apr 4 18:12:52 2005 for InspIRCd by
+
Generated on Thu Apr 7 20:14:25 2005 for InspIRCd by
1.3.3
diff --git a/docs/module-doc/classInvited-members.html b/docs/module-doc/classInvited-members.html
index 6dbff63da..a6f7712f8 100644
--- a/docs/module-doc/classInvited-members.html
+++ b/docs/module-doc/classInvited-members.html
@@ -10,7 +10,7 @@
channel Invited
classbase() classbase [inline]
~classbase() classbase [inline]
-
Generated on Mon Apr 4 18:12:52 2005 for InspIRCd by
+
Generated on Thu Apr 7 20:14:25 2005 for InspIRCd by
1.3.3
diff --git a/docs/module-doc/classInvited.html b/docs/module-doc/classInvited.html
index c90c28b66..06d1b61a6 100644
--- a/docs/module-doc/classInvited.html
+++ b/docs/module-doc/classInvited.html
@@ -47,12 +47,12 @@ Definition at line 36 of fi
Definition at line 39 of file users.h.
-Referenced by userrec::InviteTo().
+Referenced by userrec::InviteTo().
The documentation for this class was generated from the following file:
-
Generated on Mon Apr 4 18:12:52 2005 for InspIRCd by
+
Generated on Thu Apr 7 20:14:25 2005 for InspIRCd by
1.3.3
diff --git a/docs/module-doc/classKLine-members.html b/docs/module-doc/classKLine-members.html
index 8ff604d55..0810cb873 100644
--- a/docs/module-doc/classKLine-members.html
+++ b/docs/module-doc/classKLine-members.html
@@ -15,7 +15,7 @@
set_time XLine
source XLine
~classbase() classbase [inline]
-
Generated on Mon Apr 4 18:12:52 2005 for InspIRCd by
+
Generated on Thu Apr 7 20:14:25 2005 for InspIRCd by
1.3.3
diff --git a/docs/module-doc/classKLine.html b/docs/module-doc/classKLine.html
index 89989fb0e..93f667d2a 100644
--- a/docs/module-doc/classKLine.html
+++ b/docs/module-doc/classKLine.html
@@ -53,7 +53,7 @@ Definition at line 68 of fi
The documentation for this class was generated from the following file:
-
Generated on Mon Apr 4 18:12:52 2005 for InspIRCd by
+
Generated on Thu Apr 7 20:14:25 2005 for InspIRCd by
1.3.3
diff --git a/docs/module-doc/classModeParameter-members.html b/docs/module-doc/classModeParameter-members.html
index 819e4cf6b..ecbde9365 100644
--- a/docs/module-doc/classModeParameter-members.html
+++ b/docs/module-doc/classModeParameter-members.html
@@ -12,7 +12,7 @@
mode ModeParameter
parameter ModeParameter
~classbase() classbase [inline]
-
Generated on Mon Apr 4 18:12:52 2005 for InspIRCd by
+
Generated on Thu Apr 7 20:14:25 2005 for InspIRCd by
1.3.3
diff --git a/docs/module-doc/classModeParameter.html b/docs/module-doc/classModeParameter.html
index 0cc47c796..079eab0cd 100644
--- a/docs/module-doc/classModeParameter.html
+++ b/docs/module-doc/classModeParameter.html
@@ -53,7 +53,7 @@ Definition at line 70 of
Definition at line 75 of file channels.h.
-Referenced by chanrec::SetCustomModeParam().
+Referenced by chanrec::SetCustomModeParam().
@@ -79,7 +79,7 @@ Referenced by chanrec::Set
Definition at line 73 of file channels.h.
-Referenced by chanrec::SetCustomModeParam().
+Referenced by chanrec::SetCustomModeParam().
@@ -105,12 +105,12 @@ Referenced by chanrec::Set
Definition at line 74 of file channels.h.
-Referenced by chanrec::SetCustomModeParam().
+Referenced by chanrec::SetCustomModeParam().
The documentation for this class was generated from the following file:
-
Generated on Mon Apr 4 18:12:52 2005 for InspIRCd by
+
Generated on Thu Apr 7 20:14:25 2005 for InspIRCd by
1.3.3
diff --git a/docs/module-doc/classModule-members.html b/docs/module-doc/classModule-members.html
index 2f3a78996..ed580f75a 100644
--- a/docs/module-doc/classModule-members.html
+++ b/docs/module-doc/classModule-members.html
@@ -36,7 +36,7 @@
OnWhois(userrec *source, userrec *dest) Module [virtual]
~classbase() classbase [inline]
~Module() Module [virtual]
-
Generated on Mon Apr 4 18:12:53 2005 for InspIRCd by
+
Generated on Thu Apr 7 20:14:25 2005 for InspIRCd by
1.3.3
diff --git a/docs/module-doc/classModule.html b/docs/module-doc/classModule.html
index 527a07eb2..1d3fc1699 100644
--- a/docs/module-doc/classModule.html
+++ b/docs/module-doc/classModule.html
@@ -48,7 +48,7 @@ Inherits classbase.
virtual void OnServerRaw (std::string &raw, bool inbound, userrec *user)
Called when a raw command is transmitted or received.
-virtual int OnExtendedMode (userrec *user, void *target, char modechar, int type, bool mode_on, string_list ¶ms)
+virtual int OnExtendedMode (userrec *user, void *target, char modechar, int type, bool mode_on, string_list ¶ms)
Called whenever an extended mode is to be processed.
virtual int OnUserPreJoin (userrec *user, chanrec *chan, const char *cname)
@@ -81,10 +81,10 @@ Inherits classbase.
virtual int OnAccessCheck (userrec *source, userrec *dest, chanrec *channel, int access_type)
Called before an action which requires a channel privilage check.
-virtual string_list OnUserSync (userrec *user)
+virtual string_list OnUserSync (userrec *user)
Called during a netburst to sync user data.
-virtual string_list OnChannelSync (chanrec *chan)
+virtual string_list OnChannelSync (chanrec *chan)
Called during a netburst to sync channel data.
virtual void On005Numeric (std::string &output)
@@ -104,7 +104,7 @@ All modules must inherit from this class, its methods will be called when irc se
-Definition at line 126 of file modules.h.
Constructor & Destructor Documentation
+Definition at line 133 of file modules.h.
Constructor & Destructor Documentation
@@ -134,9 +134,9 @@ Default constructor creates a module class.
-Definition at line 304 of file modules.cpp.
+Definition at line 306 of file modules.cpp.
-
00304 { }
+00306 { }
@@ -169,9 +169,9 @@ Default destructor destroys a module class.
-Definition at line 305 of file modules.cpp.
+Definition at line 307 of file modules.cpp.
-
00305 { }
+00307 { }
@@ -205,9 +205,11 @@ Returns the version number of a Module.
The method should return a Version object with its version information assigned via Version::Version
-Definition at line 316 of file modules.cpp.
+Definition at line 318 of file modules.cpp.
+
+References VF_VENDOR.
-
00316 { return Version(1,0,0,0); }
+00318 { return Version(1,0,0,0,VF_VENDOR); }
@@ -241,9 +243,9 @@ Called when a 005 numeric is about to be output.
The module should modify the 005 numeric if needed to indicate its features.
-Definition at line 328 of file modules.cpp.
+Definition at line 330 of file modules.cpp.
-
00328 { };
+00330 { };
@@ -310,11 +312,11 @@ This function is called before many functions which check a users status on a ch
Upon returning from your function you must return either ACR_DEFAULT, to indicate the module wishes to do nothing, or ACR_DENY where approprate to deny the action, and ACR_ALLOW where appropriate to allow the action. Please note that in the case of some access checks (such as AC_GENERAL_MODE) access may be denied 'upstream' causing other checks such as AC_DEOP to not be reached. Be very careful with use of the AC_GENERAL_MODE type, as it may inadvertently override the behaviour of other modules. When the access_type is AC_GENERAL_MODE, the destination of the mode will be NULL (as it has not yet been determined).
-Definition at line 325 of file modules.cpp.
+Definition at line 327 of file modules.cpp.
References ACR_DEFAULT.
-
00325 { return ACR_DEFAULT; };
+00327 { return ACR_DEFAULT; };
@@ -324,7 +326,7 @@ References ACR_DEFAULT.
- string_list Module::OnChannelSync
+ string_list Module::OnChannelSync
(
chanrec *
chan
@@ -348,11 +350,11 @@ Called during a netburst to sync channel data.
This is called during the netburst on a per-channel basis. You should use this call to up any special channel-related things which are implemented by your module, e.g. sending listmodes. You may return multiple commands in the string_list.
-Definition at line 327 of file modules.cpp.
+Definition at line 329 of file modules.cpp.
-References string_list.
+References string_list.
-
00327 { string_list empty; return empty; }
+00329 { string_list empty; return empty; }
@@ -394,7 +396,7 @@ References string_list.
- string_list &
+ string_list &
params
@@ -419,9 +421,9 @@ Called whenever an extended mode is to be processed.
The type parameter is MT_SERVER, MT_CLIENT or MT_CHANNEL, dependent on where the mode is being changed. mode_on is set when the mode is being set, in which case params contains a list of parameters for the mode as strings. If mode_on is false, the mode is being removed, and parameters may contain the parameters for the mode, dependent on wether they were defined when a mode handler was set up with Server::AddExtendedMode If the mode is a channel mode, target is a chanrec*, and if it is a user mode, target is a userrec*. You must cast this value yourself to make use of it.
-Definition at line 315 of file modules.cpp.
+Definition at line 317 of file modules.cpp.
-
00315 { return false; }
+00317 { return false; }
@@ -456,9 +458,9 @@ Called whenever a user types /INFO.
The userrec will contain the information of the user who typed the command. Modules may use this method to output their own credits in /INFO (which is the ircd's version of an about box). It is purposefully not possible to modify any info that has already been output, or halt the list. You must write a 371 numeric to the user, containing your info in the following format:
<nick> :information here
-Definition at line 318 of file modules.cpp.
+Definition at line 320 of file modules.cpp.
-
00318 { };
+00320 { };
@@ -507,9 +509,9 @@ Called when a client is disconnected by KILL.
If a client is killed by a server, e.g. a nickname collision or protocol error, source is NULL. Return 1 from this function to prevent the kill, and 0 from this function to allow it as normal. If you prevent the kill no output will be sent to the client, it is down to your module to generate this information. NOTE: It is NOT advisable to stop kills which originate from servers. If you do so youre risking race conditions, desyncs and worse!
-Definition at line 329 of file modules.cpp.
+Definition at line 331 of file modules.cpp.
-
00329 { return 0; };
+00331 { return 0; };
@@ -552,9 +554,9 @@ Called whenever a module is loaded.
mod will contain a pointer to the module, and string will contain its name, for example m_widgets.so. This function is primary for dependency checking, your module may decide to enable some extra features if it sees that you have for example loaded "m_killwidgets.so" with "m_makewidgets.so". It is highly recommended that modules do *NOT* bail if they cannot satisfy dependencies, but instead operate under reduced functionality, unless the dependency is absolutely neccessary (e.g. a module that extends the features of another module).
-Definition at line 330 of file modules.cpp.
+Definition at line 332 of file modules.cpp.
-
00330 { };
+00332 { };
@@ -588,9 +590,9 @@ Called whenever a user opers locally.
The userrec will contain the oper mode 'o' as this function is called after any modifications are made to the user's structure by the core.
-Definition at line 317 of file modules.cpp.
+Definition at line 319 of file modules.cpp.
-
00317 { };
+00319 { };
@@ -624,9 +626,9 @@ Called after a packet is received from another irc server.
The packet is represented as a char*, as it should be regarded as a buffer, and not a string. This allows you to easily represent it in the correct ways to implement encryption, compression, digital signatures and anything else you may want to add. This should be regarded as a pre-processor and will be called immediately after the packet is received but before any other operations with the core of the ircd.
-Definition at line 311 of file modules.cpp.
+Definition at line 313 of file modules.cpp.
-
00311 { }
+00313 { }
@@ -660,9 +662,9 @@ Called before a packet is transmitted across the irc network between two irc ser
The packet is represented as a char*, as it should be regarded as a buffer, and not a string. This allows you to easily represent it in the correct ways to implement encryption, compression, digital signatures and anything else you may want to add. This should be regarded as a pre-processor and will be called before ANY other operations within the ircd core program.
-Definition at line 310 of file modules.cpp.
+Definition at line 312 of file modules.cpp.
-
00310 { }
+00312 { }
@@ -695,9 +697,9 @@ Called on rehash.
This method is called prior to a /REHASH or when a SIGHUP is received from the operating system. You should use it to reload any files so that your module keeps in step with the rest of the application.
-Definition at line 312 of file modules.cpp.
+Definition at line 314 of file modules.cpp.
-
00312 { }
+00314 { }
@@ -746,9 +748,9 @@ Called when a raw command is transmitted or received.
This method is the lowest level of handler available to a module. It will be called with raw data which is passing through a connected socket. If you wish, you may munge this data by changing the string parameter "raw". If you do this, after your function exits it will immediately be cut down to 510 characters plus a carriage return and linefeed. For INBOUND messages only (where inbound is set to true) the value of user will be the userrec of the connection sending the data. This is not possible for outbound data because the data may be being routed to multiple targets.
-Definition at line 313 of file modules.cpp.
+Definition at line 315 of file modules.cpp.
-
00313 { }
+00315 { }
@@ -782,9 +784,9 @@ Called when a user connects.
The details of the connecting user are available to you in the parameter userrec *user
-Definition at line 306 of file modules.cpp.
+Definition at line 308 of file modules.cpp.
-
00306 { }
+00308 { }
@@ -827,9 +829,9 @@ Called when a user joins a channel.
The details of the joining user are available to you in the parameter userrec *user, and the details of the channel they have joined is available in the variable chanrec *channel
-Definition at line 308 of file modules.cpp.
+Definition at line 310 of file modules.cpp.
-
00308 { }
+00310 { }
@@ -872,9 +874,9 @@ Called when a user parts a channel.
The details of the leaving user are available to you in the parameter userrec *user, and the details of the channel they have left is available in the variable chanrec *channel
-Definition at line 309 of file modules.cpp.
+Definition at line 311 of file modules.cpp.
-
00309 { }
+00311 { }
@@ -917,9 +919,9 @@ Called after any nickchange, local or remote.
This can be used to track users after nickchanges have been applied. Please note that although you can see remote nickchanges through this function, you should NOT make any changes to the userrec if the user is a remote user as this may cause a desnyc. check user->server before taking any action (including returning nonzero from the method). Because this method is called after the nickchange is taken place, no return values are possible to indicate forbidding of the nick change. Use OnUserPreNick for this.
-Definition at line 324 of file modules.cpp.
+Definition at line 326 of file modules.cpp.
-
00324 { };
+00326 { };
@@ -968,9 +970,9 @@ Called whenever a user is about to invite another user into a channel, before an
Returning 1 from this function stops the process immediately, causing no output to be sent to the user by the core. If you do this you must produce your own numerics, notices etc. This is useful for modules which may want to filter invites to channels.
-Definition at line 320 of file modules.cpp.
+Definition at line 322 of file modules.cpp.
-
00320 { return 0; };
+00322 { return 0; };
@@ -1021,9 +1023,9 @@ Returning a value of 1 from this function stops the process immediately, causing
IMPORTANT NOTE!
If the user joins a NEW channel which does not exist yet, OnUserPreJoin will be called BEFORE the channel record is created. This will cause chanrec* chan to be NULL. There is very little you can do in form of processing on the actual channel record at this point, however the channel NAME will still be passed in char* cname, so that you could for example implement a channel blacklist or whitelist, etc.
-Definition at line 314 of file modules.cpp.
+Definition at line 316 of file modules.cpp.
-
00314 { return 0; }
+00316 { return 0; }
@@ -1078,9 +1080,9 @@ Called whenever a user is about to PRIVMSG A user or a channel, before any proce
Returning any nonzero value from this function stops the process immediately, causing no output to be sent to the user by the core. If you do this you must produce your own numerics, notices etc. This is useful for modules which may want to filter or redirect messages. target_type can be one of TYPE_USER or TYPE_CHANNEL. If the target_type value is a user, you must cast dest to a userrec* otherwise you must cast it to a chanrec*, this is the details of where the message is destined to be sent.
-Definition at line 321 of file modules.cpp.
+Definition at line 323 of file modules.cpp.
-
00321 { return 0; };
+00323 { return 0; };
@@ -1123,9 +1125,9 @@ Called before any nickchange, local or remote.
This can be used to implement Q-lines etc. Please note that although you can see remote nickchanges through this function, you should NOT make any changes to the userrec if the user is a remote user as this may cause a desnyc. check user->server before taking any action (including returning nonzero from the method). If your method returns nonzero, the nickchange is silently forbidden, and it is down to your module to generate some meaninful output.
-Definition at line 323 of file modules.cpp.
+Definition at line 325 of file modules.cpp.
-
00323 { return 0; };
+00325 { return 0; };
@@ -1180,9 +1182,9 @@ Called whenever a user is about to NOTICE A user or a channel, before any proces
Returning any nonzero value from this function stops the process immediately, causing no output to be sent to the user by the core. If you do this you must produce your own numerics, notices etc. This is useful for modules which may want to filter or redirect messages. target_type can be one of TYPE_USER or TYPE_CHANNEL. If the target_type value is a user, you must cast dest to a userrec* otherwise you must cast it to a chanrec*, this is the details of where the message is destined to be sent. You may alter the message text as you wish before relinquishing control to the next module in the chain, and if no other modules block the text this altered form of the text will be sent out to the user and possibly to other servers.
-Definition at line 322 of file modules.cpp.
+Definition at line 324 of file modules.cpp.
-
00322 { return 0; };
+00324 { return 0; };
@@ -1216,9 +1218,9 @@ Called when a user quits.
The details of the exiting user are available to you in the parameter userrec *user
-Definition at line 307 of file modules.cpp.
+Definition at line 309 of file modules.cpp.
-
00307 { }
+00309 { }
@@ -1228,7 +1230,7 @@ Definition at line 307
- string_list Module::OnUserSync
+ string_list Module::OnUserSync
(
userrec *
user
@@ -1252,11 +1254,11 @@ Called during a netburst to sync user data.
This is called during the netburst on a per-user basis. You should use this call to up any special user-related things which are implemented by your module, e.g. sending listmodes. You may return multiple commands in the string_list.
-Definition at line 326 of file modules.cpp.
+Definition at line 328 of file modules.cpp.
-References string_list.
+References string_list.
-
00326 { string_list empty; return empty; }
+00328 { string_list empty; return empty; }
@@ -1299,15 +1301,15 @@ Called whenever a /WHOIS is performed on a local user.
The source parameter contains the details of the user who issued the WHOIS command, and the dest parameter contains the information of the user they are whoising.
-Definition at line 319 of file modules.cpp.
+Definition at line 321 of file modules.cpp.
-
00319 { };
+00321 { };
The documentation for this class was generated from the following files:
-
Generated on Mon Apr 4 18:12:53 2005 for InspIRCd by
+
Generated on Thu Apr 7 20:14:25 2005 for InspIRCd by
1.3.3
diff --git a/docs/module-doc/classModuleFactory-members.html b/docs/module-doc/classModuleFactory-members.html
index 7f64a72c2..d22e64210 100644
--- a/docs/module-doc/classModuleFactory-members.html
+++ b/docs/module-doc/classModuleFactory-members.html
@@ -12,7 +12,7 @@
ModuleFactory() ModuleFactory [inline]
~classbase() classbase [inline]
~ModuleFactory() ModuleFactory [inline, virtual]
-
Generated on Mon Apr 4 18:12:53 2005 for InspIRCd by
+
Generated on Thu Apr 7 20:14:25 2005 for InspIRCd by
1.3.3
diff --git a/docs/module-doc/classModuleFactory.html b/docs/module-doc/classModuleFactory.html
index 2146d55b5..f7abc4b3f 100644
--- a/docs/module-doc/classModuleFactory.html
+++ b/docs/module-doc/classModuleFactory.html
@@ -30,7 +30,7 @@ This is to allow for modules to create many different variants of
-Definition at line 819 of file modules.h.
Constructor & Destructor Documentation
+Definition at line 829 of file modules.h.
Constructor & Destructor Documentation
@@ -58,9 +58,9 @@ Definition at line 819 of
-Definition at line 822 of file modules.h.
+Definition at line 832 of file modules.h.
-
00822 { }
+00832 { }
@@ -91,9 +91,9 @@ Definition at line 822 of
-Definition at line 823 of file modules.h.
+Definition at line 833 of file modules.h.
-
00823 { }
+00833 { }
@@ -130,7 +130,7 @@ Your inherited class of ModuleFactory must return a pointer to your modules.h
-
Generated on Mon Apr 4 18:12:53 2005 for InspIRCd by
+
Generated on Thu Apr 7 20:14:25 2005 for InspIRCd by
1.3.3
diff --git a/docs/module-doc/classQLine-members.html b/docs/module-doc/classQLine-members.html
index 65fabcd6d..a9e407220 100644
--- a/docs/module-doc/classQLine-members.html
+++ b/docs/module-doc/classQLine-members.html
@@ -16,7 +16,7 @@
set_time XLine
source XLine
~classbase() classbase [inline]
-
Generated on Mon Apr 4 18:12:53 2005 for InspIRCd by
+
Generated on Thu Apr 7 20:14:25 2005 for InspIRCd by
1.3.3
diff --git a/docs/module-doc/classQLine.html b/docs/module-doc/classQLine.html
index dfe01a725..9a5de4ee5 100644
--- a/docs/module-doc/classQLine.html
+++ b/docs/module-doc/classQLine.html
@@ -82,7 +82,7 @@ Definition at line 114 of f
The documentation for this class was generated from the following file:
-
Generated on Mon Apr 4 18:12:53 2005 for InspIRCd by
+
Generated on Thu Apr 7 20:14:25 2005 for InspIRCd by
1.3.3
diff --git a/docs/module-doc/classServer-members.html b/docs/module-doc/classServer-members.html
index 75226da12..b96842b07 100644
--- a/docs/module-doc/classServer-members.html
+++ b/docs/module-doc/classServer-members.html
@@ -6,7 +6,7 @@
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members
Server Member List
This is the complete list of members for Server, including all inherited members.
- AddCommand(char *cmd, handlerfunc f, char flags, int minparams) Server [virtual]
+ AddCommand(char *cmd, handlerfunc f, char flags, int minparams, char *source) Server [virtual]
AddExtendedListMode(char modechar) Server [virtual]
AddExtendedMode(char modechar, int type, bool requires_oper, int params_when_on, int params_when_off) Server [virtual]
age classbase
@@ -45,7 +45,7 @@
Server() Server
~classbase() classbase [inline]
~Server() Server [virtual]
-
Generated on Mon Apr 4 18:12:54 2005 for InspIRCd by
+
Generated on Thu Apr 7 20:14:26 2005 for InspIRCd by
1.3.3
diff --git a/docs/module-doc/classServer.html b/docs/module-doc/classServer.html
index 23971e233..c126dc81a 100644
--- a/docs/module-doc/classServer.html
+++ b/docs/module-doc/classServer.html
@@ -84,7 +84,7 @@ Inherits classbase.
virtual bool AddExtendedListMode (char modechar)
Adds an extended mode letter which is parsed by a module and handled in a list fashion.
-virtual void AddCommand (char *cmd, handlerfunc f, char flags, int minparams)
+virtual void AddCommand (char *cmd, handlerfunc f, char flags, int minparams, char *source)
Adds a command to the command table.
virtual void SendMode (char **parameters, int pcnt, userrec *user)
@@ -120,7 +120,7 @@ Inherits classbase.
virtual bool IsUlined (std::string server)
Returns true if the servername you give is ulined.
-virtual chanuserlist GetUsers (chanrec *chan)
+virtual chanuserlist GetUsers (chanrec *chan)
Fetches the userlist of a channel.
@@ -131,7 +131,7 @@ All modules should instantiate at least one copy of this class, and use its memb
-Definition at line 371 of file modules.h.
Constructor & Destructor Documentation
+Definition at line 378 of file modules.h.
Constructor & Destructor Documentation
@@ -161,10 +161,10 @@ Default constructor.
Creates a Server object.
-Definition at line 337 of file modules.cpp.
+Definition at line 339 of file modules.cpp.
-
00338 {
-00339 }
+00340 {
+00341 }
@@ -197,10 +197,10 @@ Default destructor.
Destroys a Server object.
-Definition at line 341 of file modules.cpp.
+Definition at line 343 of file modules.cpp.
-
00342 {
-00343 }
+00344 {
+00345 }
@@ -232,7 +232,13 @@ Definition at line 341
int
- minparams
+ minparams,
+
+
+
+
+ char *
+ source
@@ -256,15 +262,15 @@ Adds a command to the command table.
This allows modules to add extra commands into the command table. You must place a function within your module which is is of type handlerfunc:
typedef void (handlerfunc) (char**, int, userrec*); ... void handle_kill(char **parameters, int pcnt, userrec *user)
-When the command is typed, the parameters will be placed into the parameters array (similar to argv) and the parameter count will be placed into pcnt (similar to argv). There will never be any less parameters than the 'minparams' value you specified when creating the command. The *user parameter is the class of the user which caused the command to trigger, who will always have the flag you specified in 'flags' when creating the initial command. For example to create an oper only command create the commands with flags='o'.
+When the command is typed, the parameters will be placed into the parameters array (similar to argv) and the parameter count will be placed into pcnt (similar to argv). There will never be any less parameters than the 'minparams' value you specified when creating the command. The *user parameter is the class of the user which caused the command to trigger, who will always have the flag you specified in 'flags' when creating the initial command. For example to create an oper only command create the commands with flags='o'. The source parameter is used for resource tracking, and should contain the name of your module (with file extension) e.g. "m_blarp.so". If you place the wrong identifier here, you can cause crashes if your module is unloaded.
-Definition at line 418 of file modules.cpp.
+Definition at line 420 of file modules.cpp.
-References createcommand().
+References createcommand().
-
00419 {
-00420 createcommand(cmd,f,flags,minparams);
-00421 }
+00421 {
+00422 createcommand(cmd,f,flags,minparams,source);
+00423 }
@@ -303,16 +309,16 @@ This call is used to implement modes like +q and +a. The characteristics of thes
(4) The mode and its parameter are NOT stored in the channels modes structure
It is down to the module handling the mode to maintain state and determine what 'items' (e.g. users, or a banlist) have the mode set on them, and process the modes at the correct times, e.g. during access checks on channels, etc. When the extended mode is triggered the OnExtendedMode method will be triggered as above. Note that the target you are given will be a channel, if for example your mode is set 'on a user' (in for example +a) you must use Server::Find to locate the user the mode is operating on. Your mode handler may return 1 to handle the mode AND tell the core to display the mode change, e.g. '+aaa one two three' in the case of the mode for 'two', or it may return -1 to 'eat' the mode change, so the above example would become '+aa one three' after processing.
-Definition at line 563 of file modules.cpp.
+Definition at line 565 of file modules.cpp.
-References DoAddExtendedMode(), ModeMakeList(), and MT_CHANNEL.
+References DoAddExtendedMode(), ModeMakeList(), and MT_CHANNEL.
-
00564 {
-00565 bool res = DoAddExtendedMode(modechar,MT_CHANNEL,false,1,1);
-00566 if (res)
-00567 ModeMakeList(modechar);
-00568 return res;
-00569 }
+00566 {
+00567 bool res = DoAddExtendedMode(modechar,MT_CHANNEL,false,1,1);
+00568 if (res)
+00569 ModeMakeList(modechar);
+00570 return res;
+00571 }
@@ -373,28 +379,28 @@ Adds an extended mode letter which is parsed by a module.
This allows modules to add extra mode letters, e.g. +x for hostcloak. the "type" parameter is either MT_CHANNEL, MT_CLIENT, or MT_SERVER, to indicate wether the mode is a channel mode, a client mode, or a server mode. requires_oper is used with MT_CLIENT type modes only to indicate the mode can only be set or unset by an oper. If this is used for MT_CHANNEL type modes it is ignored. params_when_on is the number of modes to expect when the mode is turned on (for type MT_CHANNEL only), e.g. with mode +k, this would have a value of 1. the params_when_off value has a similar value to params_when_on, except it indicates the number of parameters to expect when the mode is disabled. Modes which act in a similar way to channel mode +l (e.g. require a parameter to enable, but not to disable) should use this parameter. The function returns false if the mode is unavailable, and will not attempt to allocate another character, as this will confuse users. This also means that as only one module can claim a specific mode character, the core does not need to keep track of which modules own which modes, which speeds up operation of the server. In this version, a mode can have at most one parameter, attempting to use more parameters will have undefined effects.
-Definition at line 543 of file modules.cpp.
-
-References DEBUG, DoAddExtendedMode(), MT_CLIENT, and MT_SERVER.
-
-
00544 {
-00545 if (type == MT_SERVER)
-00546 {
-00547 log(DEBUG,"*** API ERROR *** Modes of type MT_SERVER are reserved for future expansion");
-00548 return false;
-00549 }
-00550 if (((params_when_on>0) || (params_when_off>0)) && (type == MT_CLIENT))
-00551 {
-00552 log(DEBUG,"*** API ERROR *** Parameters on MT_CLIENT modes are not supported");
-00553 return false;
-00554 }
-00555 if ((params_when_on>1) || (params_when_off>1))
-00556 {
-00557 log(DEBUG,"*** API ERROR *** More than one parameter for an MT_CHANNEL mode is not yet supported");
-00558 return false;
-00559 }
-00560 return DoAddExtendedMode(modechar,type,requires_oper,params_when_on,params_when_off);
-00561 }
+Definition at line 545 of file modules.cpp.
+
+References DEBUG, DoAddExtendedMode(), MT_CLIENT, and MT_SERVER.
+
+
00546 {
+00547 if (type == MT_SERVER)
+00548 {
+00549 log(DEBUG,"*** API ERROR *** Modes of type MT_SERVER are reserved for future expansion");
+00550 return false;
+00551 }
+00552 if (((params_when_on>0) || (params_when_off>0)) && (type == MT_CLIENT))
+00553 {
+00554 log(DEBUG,"*** API ERROR *** Parameters on MT_CLIENT modes are not supported");
+00555 return false;
+00556 }
+00557 if ((params_when_on>1) || (params_when_off>1))
+00558 {
+00559 log(DEBUG,"*** API ERROR *** More than one parameter for an MT_CHANNEL mode is not yet supported");
+00560 return false;
+00561 }
+00562 return DoAddExtendedMode(modechar,type,requires_oper,params_when_on,params_when_off);
+00563 }
@@ -450,11 +456,11 @@ Calls the handler for a command, either implemented by the core or by another mo
You can use this function to trigger other commands in the ircd, such as PRIVMSG, JOIN, KICK etc, or even as a method of callback. By defining command names that are untypeable for users on irc (e.g. those which contain a or
) you may use them as callback identifiers. The first parameter to this method is the name of the command handler you wish to call, e.g. PRIVMSG. This will be a command handler previously registered by the core or wih AddCommand(). The second parameter is an array of parameters, and the third parameter is a count of parameters in the array. If you do not pass enough parameters to meet the minimum needed by the handler, the functiom will silently ignore it. The final parameter is the user executing the command handler, used for privilage checks, etc.
-Definition at line 408 of file modules.cpp.
+Definition at line 410 of file modules.cpp.
-
00409 {
-00410 call_handler(commandname.c_str(),parameters,pcnt,user);
-00411 }
+00411 {
+00412 call_handler(commandname.c_str(),parameters,pcnt,user);
+00413 }
@@ -497,13 +503,13 @@ Change GECOS (fullname) of a user.
You should always call this method to change a user's GECOS rather than writing directly to the fullname member of userrec, as any change applied via this method will be propogated to any linked servers.
-Definition at line 496 of file modules.cpp.
+Definition at line 498 of file modules.cpp.
References ChangeName().
-
00497 {
-00498 ChangeName(user,gecos.c_str());
-00499 }
+00499 {
+00500 ChangeName(user,gecos.c_str());
+00501 }
@@ -546,13 +552,13 @@ Change displayed hostname of a user.
You should always call this method to change a user's host rather than writing directly to the dhost member of userrec, as any change applied via this method will be propogated to any linked servers.
-Definition at line 491 of file modules.cpp.
+Definition at line 493 of file modules.cpp.
References ChangeDisplayedHost().
-
00492 {
-00493 ChangeDisplayedHost(user,host.c_str());
-00494 }
+00494 {
+00495 ChangeDisplayedHost(user,host.c_str());
+00496 }
@@ -595,11 +601,11 @@ Forces a user nickchange.
This command works similarly to SVSNICK, and can be used to implement Q-lines etc. If you specify an invalid nickname, the nick change will be dropped and the target user will receive the error numeric for it.
-Definition at line 392 of file modules.cpp.
+Definition at line 394 of file modules.cpp.
-
00393 {
-00394 force_nickchange(user,nickname.c_str());
-00395 }
+00395 {
+00396 force_nickchange(user,nickname.c_str());
+00397 }
@@ -642,13 +648,13 @@ Attempts to look up a user's privilages on a channel.
This function will return a string containing either @, , +, or an empty string, representing the user's privilages upon the channel you specify.
-Definition at line 516 of file modules.cpp.
+Definition at line 518 of file modules.cpp.
References cmode().
-
00517 {
-00518 return cmode(User,Chan);
-00519 }
+00519 {
+00520 return cmode(User,Chan);
+00521 }
@@ -691,13 +697,13 @@ Returns true if two users share a common channel.
This method is used internally by the NICK and QUIT commands, and the Server::SendCommon method.
-Definition at line 469 of file modules.cpp.
+Definition at line 471 of file modules.cpp.
References common_channels().
-
00470 {
-00471 return (common_channels(u1,u2) != 0);
-00472 }
+00472 {
+00473 return (common_channels(u1,u2) != 0);
+00474 }
@@ -731,11 +737,11 @@ Returns a count of the number of users on a channel.
This will NEVER be 0, as if the chanrec exists, it will have at least one user in the channel.
-Definition at line 571 of file modules.cpp.
+Definition at line 573 of file modules.cpp.
-
00572 {
-00573 return usercount(c);
-00574 }
+00574 {
+00575 return usercount(c);
+00576 }
@@ -769,11 +775,11 @@ Attempts to look up a channel and return a pointer to it.
This function will return NULL if the channel does not exist.
-Definition at line 511 of file modules.cpp.
+Definition at line 513 of file modules.cpp.
-
00512 {
-00513 return FindChan(channel.c_str());
-00514 }
+00514 {
+00515 return FindChan(channel.c_str());
+00516 }
@@ -807,11 +813,11 @@ Attempts to look up a nick and return a pointer to it.
This function will return NULL if the nick does not exist.
-Definition at line 506 of file modules.cpp.
+Definition at line 508 of file modules.cpp.
-
00507 {
-00508 return Find(nick);
-00509 }
+00509 {
+00510 return Find(nick);
+00511 }
@@ -844,11 +850,11 @@ Returns the information of the server as returned by the /ADMIN command.
See the Admin class for further information of the return value. The members Admin::Nick, Admin::Email and Admin::Name contain the information for the server where the module is loaded.
-Definition at line 536 of file modules.cpp.
+Definition at line 538 of file modules.cpp.
-
00537 {
-00538 return Admin(getadminname(),getadminemail(),getadminnick());
-00539 }
+00539 {
+00540 return Admin(getadminname(),getadminemail(),getadminnick());
+00541 }
@@ -881,11 +887,11 @@ Returns the network name, global to all linked servers.
-Definition at line 531 of file modules.cpp.
+Definition at line 533 of file modules.cpp.
-
00532 {
-00533 return getnetworkname();
-00534 }
+00534 {
+00535 return getnetworkname();
+00536 }
@@ -918,11 +924,11 @@ Returns the server name of the server where the module is loaded.
-Definition at line 526 of file modules.cpp.
+Definition at line 528 of file modules.cpp.
-
00527 {
-00528 return getservername();
-00529 }
+00529 {
+00530 return getservername();
+00531 }
@@ -932,7 +938,7 @@ Definition at line 526
- chanuserlist Server::GetUsers
+ chanuserlist Server::GetUsers
(
chanrec *
chan
@@ -956,28 +962,28 @@ Fetches the userlist of a channel.
This function must be here and not a member of userrec or chanrec due to include constraints.
-Definition at line 373 of file modules.cpp.
-
-References chanuserlist, clientlist, has_channel(), and isnick().
-
-
00374 {
-00375 chanuserlist userl;
-00376 userl.clear();
-00377 for (user_hash::const_iterator i = clientlist.begin(); i != clientlist.end(); i++)
-00378 {
-00379 if (i->second)
-00380 {
-00381 if (has_channel(i->second,chan))
-00382 {
-00383 if (isnick(i->second->nick))
-00384 {
-00385 userl.push_back(i->second);
-00386 }
-00387 }
-00388 }
-00389 }
-00390 return userl;
-00391 }
+Definition at line 375 of file modules.cpp.
+
+References chanuserlist, clientlist, has_channel(), and isnick().
+
+
00376 {
+00377 chanuserlist userl;
+00378 userl.clear();
+00379 for (user_hash::const_iterator i = clientlist.begin(); i != clientlist.end(); i++)
+00380 {
+00381 if (i->second)
+00382 {
+00383 if (has_channel(i->second,chan))
+00384 {
+00385 if (isnick(i->second->nick))
+00386 {
+00387 userl.push_back(i->second);
+00388 }
+00389 }
+00390 }
+00391 }
+00392 return userl;
+00393 }
@@ -1011,13 +1017,13 @@ Returns true if a nick is valid.
Nicks for unregistered connections will return false.
-Definition at line 501 of file modules.cpp.
+Definition at line 503 of file modules.cpp.
References isnick().
-
@@ -1060,13 +1066,13 @@ Checks if a user is on a channel.
This function will return true or false to indicate if user 'User' is on channel 'Chan'.
-Definition at line 521 of file modules.cpp.
+Definition at line 523 of file modules.cpp.
References has_channel().
-
00522 {
-00523 return has_channel(User,Chan);
-00524 }
+00524 {
+00525 return has_channel(User,Chan);
+00526 }
@@ -1100,13 +1106,13 @@ Returns true if the servername you give is ulined.
ULined servers have extra privilages. They are allowed to change nicknames on remote servers, change modes of clients which are on remote servers and set modes of channels where there are no channel operators for that channel on the ulined server, amongst other things. Ulined server data is also broadcast across the mesh at all times as opposed to selectively messaged in the case of normal servers, as many ulined server types (such as services) do not support meshed links and must operate in this manner.
-Definition at line 403 of file modules.cpp.
+Definition at line 405 of file modules.cpp.
-References is_uline().
+References is_uline().
-
00404 {
-00405 return is_uline(server.c_str());
-00406 }
+00406 {
+00407 return is_uline(server.c_str());
+00408 }
@@ -1155,11 +1161,11 @@ Forces a user to join a channel.
This is similar to svsjoin and can be used to implement redirection, etc. On success, the return value is a valid pointer to a chanrec* of the channel the user was joined to. On failure, the result is NULL.
-Definition at line 363 of file modules.cpp.
+Definition at line 365 of file modules.cpp.
-
00364 {
-00365 return add_channel(user,cname.c_str(),key.c_str(),true);
-00366 }
+00366 {
+00367 return add_channel(user,cname.c_str(),key.c_str(),true);
+00368 }
@@ -1202,11 +1208,11 @@ Writes a log string.
This method writes a line of text to the log. If the level given is lower than the level given in the configuration, this command has no effect.
-Definition at line 413 of file modules.cpp.
+Definition at line 415 of file modules.cpp.
-
00414 {
-00415 log(level,"%s",s.c_str());
-00416 }
+00416 {
+00417 log(level,"%s",s.c_str());
+00418 }
@@ -1249,14 +1255,14 @@ Matches text against a glob pattern.
Uses the ircd's internal matching function to match string against a globbing pattern, e.g. *!*@*.com Returns true if the literal successfully matches the pattern, false if otherwise.
-Definition at line 350 of file modules.cpp.
+Definition at line 352 of file modules.cpp.
-
00351 {
-00352 char literal[MAXBUF],pattern[MAXBUF];
-00353 strlcpy(literal,sliteral.c_str(),MAXBUF);
-00354 strlcpy(pattern,spattern.c_str(),MAXBUF);
-00355 return match(literal,pattern);
-00356 }
+00353 {
+00354 char literal[MAXBUF],pattern[MAXBUF];
+00355 strlcpy(literal,sliteral.c_str(),MAXBUF);
+00356 strlcpy(pattern,spattern.c_str(),MAXBUF);
+00357 return match(literal,pattern);
+00358 }
@@ -1305,11 +1311,11 @@ Forces a user to part a channel.
This is similar to svspart and can be used to implement redirection, etc. Although the return value of this function is a pointer to a channel record, the returned data is undefined and should not be read or written to. This behaviour may be changed in a future version.
-Definition at line 368 of file modules.cpp.
+Definition at line 370 of file modules.cpp.
-
00369 {
-00370 return del_channel(user,cname.c_str(),reason.c_str(),false);
-00371 }
+00371 {
+00372 return del_channel(user,cname.c_str(),reason.c_str(),false);
+00373 }
@@ -1354,14 +1360,14 @@ To the user, it will appear as if they typed /QUIT themselves, except for the fa
WARNING!
Once you call this function, userrec* user will immediately become INVALID. You MUST NOT write to, or read from this pointer after calling the QuitUser method UNDER ANY CIRCUMSTANCES! The best course of action after calling this method is to immediately bail from your handler.
-Definition at line 397 of file modules.cpp.
+Definition at line 399 of file modules.cpp.
References userrec::nick, and send_network_quit().
-
00398 {
-00399 send_network_quit(user->nick,reason.c_str());
-00400 kill_link(user,reason.c_str());
-00401 }
+00400 {
+00401 send_network_quit(user->nick,reason.c_str());
+00402 kill_link(user,reason.c_str());
+00403 }
@@ -1404,11 +1410,11 @@ Sends a line of text down a TCP/IP socket.
This method writes a line of text to an established socket, cutting it to 510 characters plus a carriage return and linefeed if required.
-Definition at line 428 of file modules.cpp.
+Definition at line 430 of file modules.cpp.
-
00429 {
-00430 Write(Socket,"%s",s.c_str());
-00431 }
+00431 {
+00432 Write(Socket,"%s",s.c_str());
+00433 }
@@ -1463,18 +1469,18 @@ Sends text from a user to a channel (mulicast).
This method writes a line of text to a channel, with the given user's nick/ident /host combination prepended, as used in PRIVMSG etc commands (see RFC 1459). If the IncludeSender flag is set, then the text is also sent back to the user from which it originated, as seen in MODE (see RFC 1459).
-Definition at line 457 of file modules.cpp.
-
-
00458 {
-00459 if (IncludeSender)
-00460 {
-00461 WriteChannel(Channel,User,"%s",s.c_str());
-00462 }
-00463 else
-00464 {
-00465 ChanExceptSender(Channel,User,"%s",s.c_str());
-00466 }
-00467 }
+Definition at line 459 of file modules.cpp.
+
+
00460 {
+00461 if (IncludeSender)
+00462 {
+00463 WriteChannel(Channel,User,"%s",s.c_str());
+00464 }
+00465 else
+00466 {
+00467 ChanExceptSender(Channel,User,"%s",s.c_str());
+00468 }
+00469 }
@@ -1523,18 +1529,18 @@ Sends text from a user to one or more channels (mulicast).
This method writes a line of text to all users which share a common channel with a given user, with the user's nick/ident/host combination prepended, as used in PRIVMSG etc commands (see RFC 1459). If the IncludeSender flag is set, then the text is also sent back to the user from which it originated, as seen in NICK (see RFC 1459). Otherwise, it is only sent to the other recipients, as seen in QUIT.
-Definition at line 474 of file modules.cpp.
-
-
00475 {
-00476 if (IncludeSender)
-00477 {
-00478 WriteCommon(User,"%s",text.c_str());
-00479 }
-00480 else
-00481 {
-00482 WriteCommonExcept(User,"%s",text.c_str());
-00483 }
-00484 }
+Definition at line 476 of file modules.cpp.
+
+
00477 {
+00478 if (IncludeSender)
+00479 {
+00480 WriteCommon(User,"%s",text.c_str());
+00481 }
+00482 else
+00483 {
+00484 WriteCommonExcept(User,"%s",text.c_str());
+00485 }
+00486 }
@@ -1583,11 +1589,11 @@ Sends text from a user to a socket.
This method writes a line of text to an established socket, with the given user's nick/ident /host combination prepended, as used in PRIVSG etc commands (see RFC 1459)
-Definition at line 438 of file modules.cpp.
+Definition at line 440 of file modules.cpp.
-
00439 {
-00440 WriteFrom(Socket,User,"%s",s.c_str());
-00441 }
+00441 {
+00442 WriteFrom(Socket,User,"%s",s.c_str());
+00443 }
@@ -1643,13 +1649,13 @@ modes[2] = user->nick;
Srv->SendMode(modes,3,user);
The modes will originate from the server where the command was issued, however responses (e.g. numerics) will be sent to the user you provide as the third parameter. You must be sure to get the number of parameters correct in the pcnt parameter otherwise you could leave your server in an unstable state!
-Definition at line 423 of file modules.cpp.
+Definition at line 425 of file modules.cpp.
-References server_mode().
+References server_mode().
-
00424 {
-00425 server_mode(parameters,pcnt,user);
-00426 }
+00426 {
+00427 server_mode(parameters,pcnt,user);
+00428 }
@@ -1683,11 +1689,11 @@ Sends text to all opers.
This method sends a server notice to all opers with the usermode +s.
-Definition at line 345 of file modules.cpp.
+Definition at line 347 of file modules.cpp.
-
00346 {
-00347 WriteOpers("%s",s.c_str());
-00348 }
+00348 {
+00349 WriteOpers("%s",s.c_str());
+00350 }
@@ -1730,11 +1736,11 @@ Sends text from the server to a socket.
This method writes a line of text to an established socket, with the servername prepended as used by numerics (see RFC 1459)
-Definition at line 433 of file modules.cpp.
+Definition at line 435 of file modules.cpp.
-
00434 {
-00435 WriteServ(Socket,"%s",s.c_str());
-00436 }
+00436 {
+00437 WriteServ(Socket,"%s",s.c_str());
+00438 }
@@ -1787,22 +1793,22 @@ The format will become:
:localserver TEXT
Which is useful for numerics and server notices to single users, etc.
-Definition at line 443 of file modules.cpp.
+Definition at line 445 of file modules.cpp.
References connection::fd.
-
00444 {
-00445 if (!Source)
-00446 {
-00447 // if source is NULL, then the message originates from the local server
-00448 Write(Dest->fd,":%s %s",this->GetServerName().c_str(),s.c_str());
-00449 }
-00450 else
-00451 {
-00452 // otherwise it comes from the user specified
-00453 WriteTo(Source,Dest,"%s",s.c_str());
-00454 }
-00455 }
+00446 {
+00447 if (!Source)
+00448 {
+00449 // if source is NULL, then the message originates from the local server
+00450 Write(Dest->fd,":%s %s",this->GetServerName().c_str(),s.c_str());
+00451 }
+00452 else
+00453 {
+00454 // otherwise it comes from the user specified
+00455 WriteTo(Source,Dest,"%s",s.c_str());
+00456 }
+00457 }
@@ -1853,11 +1859,11 @@ These can be RFC specified modes such as +i, or module provided modes, including
Serv->SendToModeMask("xi", WM_OR, "m00");
Then the text 'm00' will be sent to all users with EITHER mode x or i. Conversely if you used WM_AND, the user must have both modes set to receive the message.
-Definition at line 358 of file modules.cpp.
+Definition at line 360 of file modules.cpp.
-
00359 {
-00360 WriteMode(modes.c_str(),flags,"%s",text.c_str());
-00361 }
+00361 {
+00362 WriteMode(modes.c_str(),flags,"%s",text.c_str());
+00363 }
@@ -1900,17 +1906,17 @@ Sends a WALLOPS message.
This method writes a WALLOPS message to all users with the +w flag, originating from the specified user.
-Definition at line 486 of file modules.cpp.
+Definition at line 488 of file modules.cpp.
-
00487 {
-00488 WriteWallOps(User,false,"%s",text.c_str());
-00489 }
+00489 {
+00490 WriteWallOps(User,false,"%s",text.c_str());
+00491 }
The documentation for this class was generated from the following files:
-
Generated on Mon Apr 4 18:12:54 2005 for InspIRCd by
+
Generated on Thu Apr 7 20:14:26 2005 for InspIRCd by
1.3.3
diff --git a/docs/module-doc/classVersion-members.html b/docs/module-doc/classVersion-members.html
index 9b517dc80..7d5e8ee8f 100644
--- a/docs/module-doc/classVersion-members.html
+++ b/docs/module-doc/classVersion-members.html
@@ -9,12 +9,13 @@
age classbase
Build Version
classbase() classbase [inline]
+ Flags Version
Major Version
Minor Version
Revision Version
- Version(int major, int minor, int revision, int build) Version
+ Version(int major, int minor, int revision, int build, int flags) Version
~classbase() classbase [inline]
-
Generated on Mon Apr 4 18:12:54 2005 for InspIRCd by
+
Generated on Thu Apr 7 20:14:27 2005 for InspIRCd by
1.3.3
diff --git a/docs/module-doc/classVersion.html b/docs/module-doc/classVersion.html
index 165a74c82..46528e46a 100644
--- a/docs/module-doc/classVersion.html
+++ b/docs/module-doc/classVersion.html
@@ -15,7 +15,7 @@ Inherits classbase.
List of all members.
Public Member Functions
- Version (int major, int minor, int revision, int build)
+ Version (int major, int minor, int revision, int build, int flags)
Public Attributes
const int Major
@@ -26,6 +26,8 @@ Inherits classbase.
const int Build
+const int Flags
+
Detailed Description
Holds a module's Version information The four members (set by the constructor only) indicate details as to the version number of a module.
@@ -34,7 +36,7 @@ A class of type Version is returned by the GetVersion method of the 102 of file modules.h.
Constructor & Destructor Documentation
+Definition at line 109 of file modules.h.
Constructor & Destructor Documentation
@@ -62,7 +64,13 @@ Definition at line 102 of
int
- build
+ build,
+
+
+
+
+ int
+ flags
@@ -84,9 +92,9 @@ Definition at line 102 of
-Definition at line 298 of file modules.cpp.
+Definition at line 300 of file modules.cpp.
-
@@ -112,7 +120,31 @@ Definition at line 298
-Definition at line 105 of file modules.h.
+Definition at line 112 of file modules.h.
+
+
+
+
+
+
+
+
+ const int Version::Flags
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -136,7 +168,7 @@ Definition at line 105 of
-Definition at line 105 of file modules.h.
+Definition at line 112 of file modules.h.
@@ -160,7 +192,7 @@ Definition at line 105 of
-Definition at line 105 of file modules.h.
+Definition at line 112 of file modules.h.
@@ -184,12 +216,12 @@ Definition at line 105 of
-Definition at line 105 of file modules.h.
+Definition at line 112 of file modules.h.
The documentation for this class was generated from the following files:
-
Generated on Mon Apr 4 18:12:54 2005 for InspIRCd by
+
Generated on Thu Apr 7 20:14:27 2005 for InspIRCd by
1.3.3
diff --git a/docs/module-doc/classXLine-members.html b/docs/module-doc/classXLine-members.html
index 6adda8c2a..4f68e11f3 100644
--- a/docs/module-doc/classXLine-members.html
+++ b/docs/module-doc/classXLine-members.html
@@ -14,7 +14,7 @@
set_time XLine
source XLine
~classbase() classbase [inline]
-
Generated on Mon Apr 4 18:12:54 2005 for InspIRCd by
+
Generated on Thu Apr 7 20:14:27 2005 for InspIRCd by
1.3.3
diff --git a/docs/module-doc/classXLine.html b/docs/module-doc/classXLine.html
index 29339e3bc..da64d6a00 100644
--- a/docs/module-doc/classXLine.html
+++ b/docs/module-doc/classXLine.html
@@ -171,7 +171,7 @@ Definition at line 48 of fi
The documentation for this class was generated from the following file:
-
Generated on Mon Apr 4 18:12:54 2005 for InspIRCd by
+
Generated on Thu Apr 7 20:14:27 2005 for InspIRCd by
1.3.3
diff --git a/docs/module-doc/classZLine-members.html b/docs/module-doc/classZLine-members.html
index e255f32c5..9637edfe7 100644
--- a/docs/module-doc/classZLine-members.html
+++ b/docs/module-doc/classZLine-members.html
@@ -16,7 +16,7 @@
set_time XLine
source XLine
~classbase() classbase [inline]
-
Generated on Mon Apr 4 18:12:54 2005 for InspIRCd by
+
Generated on Thu Apr 7 20:14:27 2005 for InspIRCd by
1.3.3
diff --git a/docs/module-doc/classZLine.html b/docs/module-doc/classZLine.html
index 310335b58..7400fcd87 100644
--- a/docs/module-doc/classZLine.html
+++ b/docs/module-doc/classZLine.html
@@ -82,7 +82,7 @@ Definition at line 103 of f
The documentation for this class was generated from the following file:
-
Generated on Mon Apr 4 18:12:54 2005 for InspIRCd by
+
Generated on Thu Apr 7 20:14:27 2005 for InspIRCd by
1.3.3
diff --git a/docs/module-doc/classchanrec-members.html b/docs/module-doc/classchanrec-members.html
index e7a73c026..c114639dc 100644
--- a/docs/module-doc/classchanrec-members.html
+++ b/docs/module-doc/classchanrec-members.html
@@ -33,7 +33,7 @@
topicset chanrec
~chanrec() chanrec [inline, virtual]
~classbase() classbase [inline]
-
Generated on Mon Apr 4 18:12:50 2005 for InspIRCd by
+
Generated on Thu Apr 7 20:14:23 2005 for InspIRCd by
1.3.3
diff --git a/docs/module-doc/classchanrec.html b/docs/module-doc/classchanrec.html
index 500221ee4..f3090de19 100644
--- a/docs/module-doc/classchanrec.html
+++ b/docs/module-doc/classchanrec.html
@@ -116,19 +116,19 @@ Creates a channel record and initialises it with default values.
-Definition at line 112 of file channels.cpp.
+Definition at line 113 of file channels.cpp.
References c_private, created, custom_modes, inviteonly, key, limit, moderated, name, noexternal, secret, setby, topic, topiclock, and topicset.
-
00113 {
-00114 strcpy(name,"");
-00115 strcpy(custom_modes,"");
-00116 strcpy(topic,"");
-00117 strcpy(setby,"");
-00118 strcpy(key,"");
-00119 created = topicset = limit = 0;
-00120 topiclock = noexternal = inviteonly = moderated = secret = c_private = false;
-00121 }
+00114 {
+00115 strcpy(name,"");
+00116 strcpy(custom_modes,"");
+00117 strcpy(topic,"");
+00118 strcpy(setby,"");
+00119 strcpy(key,"");
+00120 created = topicset = limit = 0;
+00121 topiclock = noexternal = inviteonly = moderated = secret = c_private = false;
+00122 }
@@ -196,23 +196,23 @@ Returns the parameter for a custom mode on a channel.
For example if "+L #foo" is set, and you pass this method 'L', it will return '#foo'. If the mode is not set on the channel, or the mode has no parameters associated with it, it will return an empty string.
-Definition at line 185 of file channels.cpp.
-
-References custom_mode_params.
-
-
00186 {
-00187 if (custom_mode_params.size())
-00188 {
-00189 for (vector<ModeParameter>::iterator i = custom_mode_params.begin(); i < custom_mode_params.end(); i++)
-00190 {
-00191 if ((i->mode == mode) && (!strcasecmp(this->name,i->channel)))
-00192 {
-00193 return std::string(i->parameter);
-00194 }
-00195 }
-00196 }
-00197 return std::string("");
-00198 }
+Definition at line 186 of file channels.cpp.
+
+References custom_mode_params.
+
+
00187 {
+00188 if (custom_mode_params.size())
+00189 {
+00190 for (vector<ModeParameter>::iterator i = custom_mode_params.begin(); i < custom_mode_params.end(); i++)
+00191 {
+00192 if ((i->mode == mode) && (!strcasecmp(this->name,i->channel)))
+00193 {
+00194 return std::string(i->parameter);
+00195 }
+00196 }
+00197 }
+00198 return std::string("");
+00199 }
@@ -246,14 +246,14 @@ Returns true if a custom mode is set on a channel.
-Definition at line 179 of file channels.cpp.
+Definition at line 180 of file channels.cpp.
References DEBUG.
-
00180 {
-00181 log(DEBUG,"Checking ISCustomModeSet: %c %s",mode,this->custom_modes);
-00182 return (strchr(this->custom_modes,mode) != 0);
-00183 }
+00181 {
+00182 log(DEBUG,"Checking ISCustomModeSet: %c %s",mode,this->custom_modes);
+00183 return (strchr(this->custom_modes,mode) != 0);
+00184 }
@@ -296,32 +296,32 @@ Sets or unsets a custom mode in the channels info.
-Definition at line 123 of file channels.cpp.
-
-References custom_modes, DEBUG, and SetCustomModeParam().
-
-
00124 {
-00125 if (mode_on) {
-00126 char m[3];
-00127 m[0] = mode;
-00128 m[1] = '\0';
-00129 if (!strchr(this->custom_modes,mode))
-00130 {
-00131 strlcat(custom_modes,m,MAXMODES);
-00132 }
-00133 log(DEBUG,"Custom mode %c set",mode);
-00134 }
-00135 else {
-00136
-00137 std::string a = this->custom_modes;
-00138 int pos = a.find(mode);
-00139 a.erase(pos,1);
-00140 strncpy(this->custom_modes,a.c_str(),MAXMODES);
-00141
-00142 log(DEBUG,"Custom mode %c removed: modelist='%s'",mode,this->custom_modes);
-00143 this->SetCustomModeParam(mode,"",false);
-00144 }
-00145 }
+Definition at line 124 of file channels.cpp.
+
+References custom_modes, DEBUG, and SetCustomModeParam().
+
+
00125 {
+00126 if (mode_on) {
+00127 char m[3];
+00128 m[0] = mode;
+00129 m[1] = '\0';
+00130 if (!strchr(this->custom_modes,mode))
+00131 {
+00132 strlcat(custom_modes,m,MAXMODES);
+00133 }
+00134 log(DEBUG,"Custom mode %c set",mode);
+00135 }
+00136 else {
+00137
+00138 std::string a = this->custom_modes;
+00139 int pos = a.find(mode);
+00140 a.erase(pos,1);
+00141 strncpy(this->custom_modes,a.c_str(),MAXMODES);
+00142
+00143 log(DEBUG,"Custom mode %c removed: modelist='%s'",mode,this->custom_modes);
+00144 this->SetCustomModeParam(mode,"",false);
+00145 }
+00146 }
@@ -370,41 +370,41 @@ Sets or unsets the parameters for a custom mode in a channels info.
-Definition at line 148 of file channels.cpp.
-
-References ModeParameter::channel, custom_mode_params, DEBUG, ModeParameter::mode, and ModeParameter::parameter.
-
-Referenced by SetCustomMode().
-
-
00149 {
-00150
-00151 log(DEBUG,"SetCustomModeParam called");
-00152 ModeParameter M;
-00153 M.mode = mode;
-00154 strlcpy(M.channel,this->name,CHANMAX);
-00155 strlcpy(M.parameter,parameter,MAXBUF);
-00156 if (mode_on)
-00157 {
-00158 log(DEBUG,"Custom mode parameter %c %s added",mode,parameter);
-00159 custom_mode_params.push_back(M);
-00160 }
-00161 else
-00162 {
-00163 if (custom_mode_params.size())
-00164 {
-00165 for (vector<ModeParameter>::iterator i = custom_mode_params.begin(); i < custom_mode_params.end(); i++)
-00166 {
-00167 if ((i->mode == mode) && (!strcasecmp(this->name,i->channel)))
-00168 {
-00169 log(DEBUG,"Custom mode parameter %c %s removed",mode,parameter);
-00170 custom_mode_params.erase(i);
-00171 return;
-00172 }
-00173 }
-00174 }
-00175 log(DEBUG,"*** BUG *** Attempt to remove non-existent mode parameter!");
-00176 }
-00177 }
+Definition at line 149 of file channels.cpp.
+
+References ModeParameter::channel, custom_mode_params, DEBUG, ModeParameter::mode, and ModeParameter::parameter.
+
+Referenced by SetCustomMode().
+
+
00150 {
+00151
+00152 log(DEBUG,"SetCustomModeParam called");
+00153 ModeParameter M;
+00154 M.mode = mode;
+00155 strlcpy(M.channel,this->name,CHANMAX);
+00156 strlcpy(M.parameter,parameter,MAXBUF);
+00157 if (mode_on)
+00158 {
+00159 log(DEBUG,"Custom mode parameter %c %s added",mode,parameter);
+00160 custom_mode_params.push_back(M);
+00161 }
+00162 else
+00163 {
+00164 if (custom_mode_params.size())
+00165 {
+00166 for (vector<ModeParameter>::iterator i = custom_mode_params.begin(); i < custom_mode_params.end(); i++)
+00167 {
+00168 if ((i->mode == mode) && (!strcasecmp(this->name,i->channel)))
+00169 {
+00170 log(DEBUG,"Custom mode parameter %c %s removed",mode,parameter);
+00171 custom_mode_params.erase(i);
+00172 return;
+00173 }
+00174 }
+00175 }
+00176 log(DEBUG,"*** BUG *** Attempt to remove non-existent mode parameter!");
+00177 }
+00178 }
@@ -460,7 +460,7 @@ This value cannot be set at the same time as 155 of file channels.h.
-Referenced by chanrec().
+Referenced by chanrec().
@@ -488,7 +488,7 @@ Creation time.
Definition at line 111 of file channels.h.
-Referenced by chanrec().
+Referenced by chanrec().
@@ -516,7 +516,7 @@ Plugins may use this field in any way they see fit.
Definition at line 103 of file channels.h.
-Referenced by chanrec(), and SetCustomMode().
+Referenced by chanrec(), and SetCustomMode().
@@ -544,7 +544,7 @@ Nonzero if the mode +i is set.
Definition at line 141 of file channels.h.
-Referenced by chanrec().
+Referenced by chanrec().
@@ -572,7 +572,7 @@ If this value is an empty string, there is no channel key in place.
Definition at line 129 of file channels.h.
-Referenced by chanrec().
+Referenced by chanrec().
@@ -600,7 +600,7 @@ If this value is zero, there is no limit in place.
Definition at line 124 of file channels.h.
-Referenced by chanrec().
+Referenced by chanrec().
@@ -628,7 +628,7 @@ Nonzero if the mode +m is set.
Definition at line 145 of file channels.h.
-Referenced by chanrec().
+Referenced by chanrec().
@@ -656,7 +656,7 @@ The channels name.
Definition at line 99 of file channels.h.
-Referenced by chanrec().
+Referenced by chanrec().
@@ -684,7 +684,7 @@ Nonzero if the mode +n is set.
Definition at line 137 of file channels.h.
-Referenced by chanrec().
+Referenced by chanrec().
@@ -712,7 +712,7 @@ This value cannot be set at the same time as 150 of file channels.h.
-Referenced by chanrec().
+Referenced by chanrec().
@@ -740,7 +740,7 @@ If this member is an empty string, no topic was ever set.
Definition at line 119 of file channels.h.
-Referenced by chanrec().
+Referenced by chanrec().
@@ -768,7 +768,7 @@ If this is an empty string, no channel topic is set.
Definition at line 108 of file channels.h.
-Referenced by chanrec().
+Referenced by chanrec().
@@ -796,7 +796,7 @@ Nonzero if the mode +t is set.
Definition at line 133 of file channels.h.
-Referenced by chanrec().
+Referenced by chanrec().
@@ -824,12 +824,12 @@ If no topic was ever set, this will be equal to 115 of file channels.h.
-Referenced by chanrec().
+Referenced by chanrec().
The documentation for this class was generated from the following files:
-
Generated on Mon Apr 4 18:12:50 2005 for InspIRCd by
+
Generated on Thu Apr 7 20:14:23 2005 for InspIRCd by
1.3.3
diff --git a/docs/module-doc/classclassbase-members.html b/docs/module-doc/classclassbase-members.html
index b592d0499..f9dae7a73 100644
--- a/docs/module-doc/classclassbase-members.html
+++ b/docs/module-doc/classclassbase-members.html
@@ -9,7 +9,7 @@
age classbase
classbase() classbase [inline]
~classbase() classbase [inline]
-
Generated on Mon Apr 4 18:12:50 2005 for InspIRCd by
+
Generated on Thu Apr 7 20:14:23 2005 for InspIRCd by
1.3.3
diff --git a/docs/module-doc/classclassbase.html b/docs/module-doc/classclassbase.html
index 00af10405..37ec77e2a 100644
--- a/docs/module-doc/classclassbase.html
+++ b/docs/module-doc/classclassbase.html
@@ -132,7 +132,7 @@ Referenced by classbase().
The documentation for this class was generated from the following file:
-
Generated on Mon Apr 4 18:12:50 2005 for InspIRCd by
+
Generated on Thu Apr 7 20:14:23 2005 for InspIRCd by