From 668df37516e3ee3555aa7085f10d54bda3b4e426 Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 16 Apr 2005 18:58:08 +0000 Subject: Added: OnMeshToken MeshSendAll(std::string text); MeshSendCommon(userrec* user, std::string text); MeshSendAllAlive(std::string text); MeshSendUnicast(std::string destination, std::string text); MeshSendAllExcept(std::string target, std::string text); MeshCheckChan(chanrec *c,std::string servername); MeshCheckCommon(userrec* u,std::string servername); git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1112 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 | 2 +- docs/module-doc/channels_8cpp.html | 4 +- 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 | 2 +- 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 | 2 +- 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 | 96 +- 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 | 2 +- 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 | 2 +- docs/module-doc/classModule-members.html | 3 +- docs/module-doc/classModule.html | 80 +- 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 | 9 +- docs/module-doc/classServer.html | 973 ++++++++++------ docs/module-doc/classVersion-members.html | 2 +- docs/module-doc/classVersion.html | 2 +- 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 | 12 +- docs/module-doc/classclassbase-members.html | 2 +- docs/module-doc/classclassbase.html | 2 +- docs/module-doc/classcommand__t-members.html | 2 +- docs/module-doc/classcommand__t.html | 2 +- docs/module-doc/classconnection-members.html | 2 +- docs/module-doc/classconnection.html | 6 +- docs/module-doc/classes.html | 2 +- docs/module-doc/classircd__connector-members.html | 2 +- docs/module-doc/classircd__connector.html | 2 +- docs/module-doc/classserverrec-members.html | 2 +- docs/module-doc/classserverrec.html | 2 +- docs/module-doc/classucrec-members.html | 2 +- docs/module-doc/classucrec.html | 4 +- docs/module-doc/classuserrec-members.html | 2 +- docs/module-doc/classuserrec.html | 8 +- docs/module-doc/commands_8h-source.html | 2 +- docs/module-doc/commands_8h.html | 6 +- docs/module-doc/connection_8h-source.html | 2 +- docs/module-doc/connection_8h.html | 2 +- docs/module-doc/ctables_8h-source.html | 2 +- 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 | 22 +- docs/module-doc/functions_func.html | 16 +- docs/module-doc/functions_vars.html | 8 +- docs/module-doc/globals.html | 2 +- docs/module-doc/globals_defs.html | 2 +- docs/module-doc/globals_func.html | 2 +- docs/module-doc/globals_type.html | 2 +- docs/module-doc/globals_vars.html | 2 +- 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 | 2 +- docs/module-doc/mode_8h.html | 2 +- docs/module-doc/modules_8cpp-source.html | 1169 ++++++++++---------- docs/module-doc/modules_8cpp.html | 10 +- docs/module-doc/modules_8h-source.html | 306 ++--- docs/module-doc/modules_8h.html | 38 +- 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 | 2 +- docs/module-doc/servers_8cpp.html | 2 +- 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 | 2 +- docs/module-doc/structStrHashComp-members.html | 2 +- docs/module-doc/structStrHashComp.html | 2 +- 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 | 2 +- ..._1_1nspace_1_1hash_3_01string_01_4-members.html | 2 +- ...ctnspace_1_1nspace_1_1hash_3_01string_01_4.html | 2 +- docs/module-doc/users_8cpp-source.html | 2 +- docs/module-doc/users_8cpp.html | 2 +- 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 | 22 +- 120 files changed, 1921 insertions(+), 1415 deletions(-) (limited to 'docs/module-doc') diff --git a/docs/module-doc/annotated.html b/docs/module-doc/annotated.html index 3d751f551..e069b5b0d 100644 --- a/docs/module-doc/annotated.html +++ b/docs/module-doc/annotated.html @@ -43,7 +43,7 @@ XLineXLine is the base class for ban lines such as G lines and K lines ZLineZLine class -
Generated on Sat Apr 16 14:49:50 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:15 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/base_8h-source.html b/docs/module-doc/base_8h-source.html index 44fb24b09..6f01f69c9 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 -
Generated on Sat Apr 16 14:49:47 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:12 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/base_8h.html b/docs/module-doc/base_8h.html index a7aa122e9..39144e858 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. -
Generated on Sat Apr 16 14:49:48 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:14 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/channels_8cpp-source.html b/docs/module-doc/channels_8cpp-source.html index 82435fb5e..afc7c3751 100644 --- a/docs/module-doc/channels_8cpp-source.html +++ b/docs/module-doc/channels_8cpp-source.html @@ -204,7 +204,7 @@ 00197 } 00198 return std::string(""); 00199 } -
Generated on Sat Apr 16 14:49:47 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:12 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/channels_8cpp.html b/docs/module-doc/channels_8cpp.html index f472b0354..8f56213c3 100644 --- a/docs/module-doc/channels_8cpp.html +++ b/docs/module-doc/channels_8cpp.html @@ -631,7 +631,7 @@ Definition at line 103

-Definition at line 914 of file modules.cpp. +Definition at line 959 of file modules.cpp.

@@ -1068,7 +1068,7 @@ Definition at line 84 Definition at line 83 of file channels.cpp. -


Generated on Sat Apr 16 14:49:48 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:14 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/channels_8h-source.html b/docs/module-doc/channels_8h-source.html index b2dd693fb..32531048c 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 -
Generated on Sat Apr 16 14:49:47 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:12 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/channels_8h.html b/docs/module-doc/channels_8h.html index d9fe47f19..508baaa99 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. -
Generated on Sat Apr 16 14:49:48 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:14 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classAdmin-members.html b/docs/module-doc/classAdmin-members.html index 10cb68a77..bae94ed42 100644 --- a/docs/module-doc/classAdmin-members.html +++ b/docs/module-doc/classAdmin-members.html @@ -13,7 +13,7 @@ NameAdmin NickAdmin ~classbase()classbase [inline] -
Generated on Sat Apr 16 14:49:50 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:16 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classAdmin.html b/docs/module-doc/classAdmin.html index 902d3a97c..5b83607d3 100644 --- a/docs/module-doc/classAdmin.html +++ b/docs/module-doc/classAdmin.html @@ -157,7 +157,7 @@ Definition at line 126 of
The documentation for this class was generated from the following files: -
Generated on Sat Apr 16 14:49:50 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:16 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classBanItem-members.html b/docs/module-doc/classBanItem-members.html index cc6c65d86..785c404d0 100644 --- a/docs/module-doc/classBanItem-members.html +++ b/docs/module-doc/classBanItem-members.html @@ -14,7 +14,7 @@ set_timeHostItem ~classbase()classbase [inline] ~HostItem()HostItem [inline, virtual] -
Generated on Sat Apr 16 14:49:50 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:16 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classBanItem.html b/docs/module-doc/classBanItem.html index 17be3002a..bb5735fd4 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.


The documentation for this class was generated from the following file: -
Generated on Sat Apr 16 14:49:50 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:16 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classConfigReader-members.html b/docs/module-doc/classConfigReader-members.html index 8db92e605..b3ca1da2d 100644 --- a/docs/module-doc/classConfigReader-members.html +++ b/docs/module-doc/classConfigReader-members.html @@ -24,7 +24,7 @@ Verify()ConfigReader ~classbase()classbase [inline] ~ConfigReader()ConfigReader -
Generated on Sat Apr 16 14:49:51 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:16 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classConfigReader.html b/docs/module-doc/classConfigReader.html index 28ac3dcec..d6b6882f7 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 891 of file modules.h.


Constructor & Destructor Documentation

+Definition at line 944 of file modules.h.

Constructor & Destructor Documentation

@@ -97,17 +97,17 @@ Default constructor.

This constructor initialises the ConfigReader class to read the inspircd.conf file as specified when running ./configure.

-Definition at line 717 of file modules.cpp. +Definition at line 762 of file modules.cpp.

-References cache, CONF_FILE_NOT_FOUND, error, errorlog, and readerror. +References cache, CONF_FILE_NOT_FOUND, error, errorlog, and readerror.

-

00718 {
-00719         this->cache = new std::stringstream(std::stringstream::in | std::stringstream::out);
-00720         this->errorlog = new std::stringstream(std::stringstream::in | std::stringstream::out);
-00721         this->readerror = LoadConf(CONFIG_FILE,this->cache,this->errorlog);
-00722         if (!this->readerror)
-00723                 this->error = CONF_FILE_NOT_FOUND;
-00724 }
+
00763 {
+00764         this->cache = new std::stringstream(std::stringstream::in | std::stringstream::out);
+00765         this->errorlog = new std::stringstream(std::stringstream::in | std::stringstream::out);
+00766         this->readerror = LoadConf(CONFIG_FILE,this->cache,this->errorlog);
+00767         if (!this->readerror)
+00768                 this->error = CONF_FILE_NOT_FOUND;
+00769 }
 
@@ -141,17 +141,17 @@ Overloaded constructor.

This constructor initialises the ConfigReader class to read a user-specified config file

-Definition at line 736 of file modules.cpp. +Definition at line 781 of file modules.cpp.

-References cache, CONF_FILE_NOT_FOUND, error, errorlog, and readerror. +References cache, CONF_FILE_NOT_FOUND, error, errorlog, and readerror.

-

00737 {
-00738         this->cache = new std::stringstream(std::stringstream::in | std::stringstream::out);
-00739         this->errorlog = new std::stringstream(std::stringstream::in | std::stringstream::out);
-00740         this->readerror = LoadConf(filename.c_str(),this->cache,this->errorlog);
-00741         if (!this->readerror)
-00742                 this->error = CONF_FILE_NOT_FOUND;
-00743 };
+
00782 {
+00783         this->cache = new std::stringstream(std::stringstream::in | std::stringstream::out);
+00784         this->errorlog = new std::stringstream(std::stringstream::in | std::stringstream::out);
+00785         this->readerror = LoadConf(filename.c_str(),this->cache,this->errorlog);
+00786         if (!this->readerror)
+00787                 this->error = CONF_FILE_NOT_FOUND;
+00788 };
 
@@ -184,16 +184,16 @@ Default destructor.

This method destroys the ConfigReader class.

-Definition at line 727 of file modules.cpp. +Definition at line 772 of file modules.cpp.

-References cache, and errorlog. +References cache, and errorlog.

-

00728 {
-00729         if (this->cache)
-00730                 delete this->cache;
-00731         if (this->errorlog)
-00732                 delete this->errorlog;
-00733 }
+
00773 {
+00774         if (this->cache)
+00775                 delete this->cache;
+00776         if (this->errorlog)
+00777                 delete this->errorlog;
+00778 }
 
@@ -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 814 of file modules.cpp. -

-References errorlog, connection::fd, and userrec::nick. -

-

00815 {
-00816         if (bail)
-00817         {
-00818                 printf("There were errors in your configuration:\n%s",errorlog->str().c_str());
-00819                 exit(0);
-00820         }
-00821         else
-00822         {
-00823                 char dataline[1024];
-00824                 if (user)
-00825                 {
-00826                         WriteServ(user->fd,"NOTICE %s :There were errors in the configuration file:",user->nick);
-00827                         while (!errorlog->eof())
-00828                         {
-00829                                 errorlog->getline(dataline,1024);
-00830                                 WriteServ(user->fd,"NOTICE %s :%s",user->nick,dataline);
-00831                         }
-00832                 }
-00833                 else
-00834                 {
-00835                         WriteOpers("There were errors in the configuration file:",user->nick);
-00836                         while (!errorlog->eof())
-00837                         {
-00838                                 errorlog->getline(dataline,1024);
-00839                                 WriteOpers(dataline);
-00840                         }
-00841                 }
-00842                 return;
-00843         }
-00844 }
+Definition at line 859 of file modules.cpp.
+

+References errorlog, connection::fd, and userrec::nick. +

+

00860 {
+00861         if (bail)
+00862         {
+00863                 printf("There were errors in your configuration:\n%s",errorlog->str().c_str());
+00864                 exit(0);
+00865         }
+00866         else
+00867         {
+00868                 char dataline[1024];
+00869                 if (user)
+00870                 {
+00871                         WriteServ(user->fd,"NOTICE %s :There were errors in the configuration file:",user->nick);
+00872                         while (!errorlog->eof())
+00873                         {
+00874                                 errorlog->getline(dataline,1024);
+00875                                 WriteServ(user->fd,"NOTICE %s :%s",user->nick,dataline);
+00876                         }
+00877                 }
+00878                 else
+00879                 {
+00880                         WriteOpers("There were errors in the configuration file:",user->nick);
+00881                         while (!errorlog->eof())
+00882                         {
+00883                                 errorlog->getline(dataline,1024);
+00884                                 WriteOpers(dataline);
+00885                         }
+00886                 }
+00887                 return;
+00888         }
+00889 }
 
@@ -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 847 of file modules.cpp. +Definition at line 892 of file modules.cpp.

-References cache. +References cache.

-

00848 {
-00849         return EnumConf(cache,tag.c_str());
-00850 }
+
00893 {
+00894         return EnumConf(cache,tag.c_str());
+00895 }
 
@@ -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 852 of file modules.cpp. +Definition at line 897 of file modules.cpp.

-References cache. +References cache.

-

00853 {
-00854         return EnumValues(cache, tag.c_str(), index);
-00855 }
+
00898 {
+00899         return EnumValues(cache, tag.c_str(), index);
+00900 }
 
@@ -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 807 of file modules.cpp. +Definition at line 852 of file modules.cpp.

-References error. +References error.

-

00808 {
-00809         long olderr = this->error;
-00810         this->error = 0;
-00811         return olderr;
-00812 }
+
00853 {
+00854         long olderr = this->error;
+00855         this->error = 0;
+00856         return olderr;
+00857 }
 
@@ -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 761 of file modules.cpp. -

-References cache, CONF_VALUE_NOT_FOUND, and error. -

-

00762 {
-00763         char val[MAXBUF];
-00764         char t[MAXBUF];
-00765         char n[MAXBUF];
-00766         strlcpy(t,tag.c_str(),MAXBUF);
-00767         strlcpy(n,name.c_str(),MAXBUF);
-00768         int res = ReadConf(cache,t,n,index,val);
-00769         if (!res)
-00770         {
-00771                 this->error = CONF_VALUE_NOT_FOUND;
-00772                 return false;
-00773         }
-00774         std::string s = val;
-00775         return ((s == "yes") || (s == "YES") || (s == "true") || (s == "TRUE") || (s == "1"));
-00776 }
+Definition at line 806 of file modules.cpp.
+

+References cache, CONF_VALUE_NOT_FOUND, and error. +

+

00807 {
+00808         char val[MAXBUF];
+00809         char t[MAXBUF];
+00810         char n[MAXBUF];
+00811         strlcpy(t,tag.c_str(),MAXBUF);
+00812         strlcpy(n,name.c_str(),MAXBUF);
+00813         int res = ReadConf(cache,t,n,index,val);
+00814         if (!res)
+00815         {
+00816                 this->error = CONF_VALUE_NOT_FOUND;
+00817                 return false;
+00818         }
+00819         std::string s = val;
+00820         return ((s == "yes") || (s == "YES") || (s == "true") || (s == "TRUE") || (s == "1"));
+00821 }
 
@@ -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 778 of file modules.cpp. -

-References cache, CONF_NOT_A_NUMBER, CONF_NOT_UNSIGNED, CONF_VALUE_NOT_FOUND, and error. -

-

00779 {
-00780         char val[MAXBUF];
-00781         char t[MAXBUF];
-00782         char n[MAXBUF];
-00783         strlcpy(t,tag.c_str(),MAXBUF);
-00784         strlcpy(n,name.c_str(),MAXBUF);
-00785         int res = ReadConf(cache,t,n,index,val);
-00786         if (!res)
-00787         {
-00788                 this->error = CONF_VALUE_NOT_FOUND;
-00789                 return 0;
-00790         }
-00791         for (int i = 0; i < strlen(val); i++)
-00792         {
-00793                 if (!isdigit(val[i]))
-00794                 {
-00795                         this->error = CONF_NOT_A_NUMBER;
-00796                         return 0;
-00797                 }
-00798         }
-00799         if ((needs_unsigned) && (atoi(val)<0))
-00800         {
-00801                 this->error = CONF_NOT_UNSIGNED;
-00802                 return 0;
-00803         }
-00804         return atoi(val);
-00805 }
+Definition at line 823 of file modules.cpp.
+

+References cache, CONF_NOT_A_NUMBER, CONF_NOT_UNSIGNED, CONF_VALUE_NOT_FOUND, and error. +

+

00824 {
+00825         char val[MAXBUF];
+00826         char t[MAXBUF];
+00827         char n[MAXBUF];
+00828         strlcpy(t,tag.c_str(),MAXBUF);
+00829         strlcpy(n,name.c_str(),MAXBUF);
+00830         int res = ReadConf(cache,t,n,index,val);
+00831         if (!res)
+00832         {
+00833                 this->error = CONF_VALUE_NOT_FOUND;
+00834                 return 0;
+00835         }
+00836         for (int i = 0; i < strlen(val); i++)
+00837         {
+00838                 if (!isdigit(val[i]))
+00839                 {
+00840                         this->error = CONF_NOT_A_NUMBER;
+00841                         return 0;
+00842                 }
+00843         }
+00844         if ((needs_unsigned) && (atoi(val)<0))
+00845         {
+00846                 this->error = CONF_NOT_UNSIGNED;
+00847                 return 0;
+00848         }
+00849         return atoi(val);
+00850 }
 
@@ -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 745 of file modules.cpp. -

-References cache, CONF_VALUE_NOT_FOUND, and error. -

-

00746 {
-00747         char val[MAXBUF];
-00748         char t[MAXBUF];
-00749         char n[MAXBUF];
-00750         strlcpy(t,tag.c_str(),MAXBUF);
-00751         strlcpy(n,name.c_str(),MAXBUF);
-00752         int res = ReadConf(cache,t,n,index,val);
-00753         if (!res)
-00754         {
-00755                 this->error = CONF_VALUE_NOT_FOUND;
-00756                 return "";
-00757         }
-00758         return std::string(val);
-00759 }
+Definition at line 790 of file modules.cpp.
+

+References cache, CONF_VALUE_NOT_FOUND, and error. +

+

00791 {
+00792         char val[MAXBUF];
+00793         char t[MAXBUF];
+00794         char n[MAXBUF];
+00795         strlcpy(t,tag.c_str(),MAXBUF);
+00796         strlcpy(n,name.c_str(),MAXBUF);
+00797         int res = ReadConf(cache,t,n,index,val);
+00798         if (!res)
+00799         {
+00800                 this->error = CONF_VALUE_NOT_FOUND;
+00801                 return "";
+00802         }
+00803         return std::string(val);
+00804 }
 
@@ -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 857 of file modules.cpp. +Definition at line 902 of file modules.cpp.

-References readerror. +References readerror.

-

00858 {
-00859         return this->readerror;
-00860 }
+
00903 {
+00904         return this->readerror;
+00905 }
 
@@ -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 899 of file modules.h. +Definition at line 952 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 904 of file modules.h. +Definition at line 957 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 900 of file modules.h. +Definition at line 953 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 903 of file modules.h. +Definition at line 956 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 Sat Apr 16 14:49:51 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:16 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classConnectClass-members.html b/docs/module-doc/classConnectClass-members.html index 10dc64b44..bbbf32b4a 100644 --- a/docs/module-doc/classConnectClass-members.html +++ b/docs/module-doc/classConnectClass-members.html @@ -16,7 +16,7 @@ registration_timeoutConnectClass typeConnectClass ~classbase()classbase [inline] -
Generated on Sat Apr 16 14:49:51 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:16 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classConnectClass.html b/docs/module-doc/classConnectClass.html index 1520a0c7a..0040ce39c 100644 --- a/docs/module-doc/classConnectClass.html +++ b/docs/module-doc/classConnectClass.html @@ -253,7 +253,7 @@ Definition at line 50 of fi
The documentation for this class was generated from the following file: -
Generated on Sat Apr 16 14:49:51 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:16 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classDNS-members.html b/docs/module-doc/classDNS-members.html index 659abf04a..a17427054 100644 --- a/docs/module-doc/classDNS-members.html +++ b/docs/module-doc/classDNS-members.html @@ -34,7 +34,7 @@ SetNS(std::string dnsserver)DNS tDNS [private] ~DNS()DNS -
Generated on Sat Apr 16 14:49:51 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:17 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classDNS.html b/docs/module-doc/classDNS.html index d9be7251a..63e9c2789 100644 --- a/docs/module-doc/classDNS.html +++ b/docs/module-doc/classDNS.html @@ -916,7 +916,7 @@ Definition at line 40 of file
The documentation for this class was generated from the following file: -
Generated on Sat Apr 16 14:49:51 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:17 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classELine-members.html b/docs/module-doc/classELine-members.html index 7c30aee96..ed98f22ed 100644 --- a/docs/module-doc/classELine-members.html +++ b/docs/module-doc/classELine-members.html @@ -15,7 +15,7 @@ set_timeXLine sourceXLine ~classbase()classbase [inline] -
Generated on Sat Apr 16 14:49:51 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:17 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classELine.html b/docs/module-doc/classELine.html index 12f14a57d..559c61372 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 Sat Apr 16 14:49:51 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:17 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classExemptItem-members.html b/docs/module-doc/classExemptItem-members.html index 2a8ada9dd..e59d1b28a 100644 --- a/docs/module-doc/classExemptItem-members.html +++ b/docs/module-doc/classExemptItem-members.html @@ -14,7 +14,7 @@ set_timeHostItem ~classbase()classbase [inline] ~HostItem()HostItem [inline, virtual] -
Generated on Sat Apr 16 14:49:51 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:17 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classExemptItem.html b/docs/module-doc/classExemptItem.html index 0f10812e5..0c3574ea9 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 Sat Apr 16 14:49:51 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:17 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classExtMode-members.html b/docs/module-doc/classExtMode-members.html index bb2178e84..e10f3d1de 100644 --- a/docs/module-doc/classExtMode-members.html +++ b/docs/module-doc/classExtMode-members.html @@ -16,7 +16,7 @@ params_when_onExtMode typeExtMode ~classbase()classbase [inline] -
Generated on Sat Apr 16 14:49:51 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:17 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classExtMode.html b/docs/module-doc/classExtMode.html index a4fd30c5d..5ef8c14e8 100644 --- a/docs/module-doc/classExtMode.html +++ b/docs/module-doc/classExtMode.html @@ -247,7 +247,7 @@ Referenced by ExtMode()
The documentation for this class was generated from the following file: -
Generated on Sat Apr 16 14:49:51 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:17 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classExtensible-members.html b/docs/module-doc/classExtensible-members.html index bf00c40e5..73741464a 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 Sat Apr 16 14:49:51 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:17 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classExtensible.html b/docs/module-doc/classExtensible.html index 3dbe5bbff..4bfd3bcbc 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 Sat Apr 16 14:49:51 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:17 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classFileReader-members.html b/docs/module-doc/classFileReader-members.html index 8e7cba5d9..bc5d70b15 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 Sat Apr 16 14:49:51 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:17 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classFileReader.html b/docs/module-doc/classFileReader.html index d772f80fc..27989604a 100644 --- a/docs/module-doc/classFileReader.html +++ b/docs/module-doc/classFileReader.html @@ -47,7 +47,7 @@ This class contains methods for read-only manipulation of a text file in memory.

-Definition at line 980 of file modules.h.


Constructor & Destructor Documentation

+Definition at line 1033 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 870 of file modules.cpp. +Definition at line 915 of file modules.cpp.

-

00871 {
-00872 }
+
00916 {
+00917 }
 
@@ -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 863 of file modules.cpp. +Definition at line 908 of file modules.cpp.

-References fc, and file_cache. +References fc, and file_cache.

-

00864 {
-00865         file_cache c;
-00866         readfile(c,filename.c_str());
-00867         this->fc = c;
-00868 }
+
00909 {
+00910         file_cache c;
+00911         readfile(c,filename.c_str());
+00912         this->fc = c;
+00913 }
 
@@ -155,10 +155,10 @@ Default destructor.

This deletes the memory allocated to the file.

-Definition at line 882 of file modules.cpp. +Definition at line 927 of file modules.cpp.

-

00883 {
-00884 }
+
00928 {
+00929 }
 
@@ -192,20 +192,20 @@ Returns true if the file exists This function will return false if the file coul

-Definition at line 886 of file modules.cpp. +Definition at line 931 of file modules.cpp.

-References fc. +References fc.

-

00887 {
-00888         if (fc.size() == 0)
-00889         {
-00890                 return(false);
-00891         }
-00892         else
-00893         {
-00894                 return(true);
-00895         }
-00896 }
+
00932 {
+00933         if (fc.size() == 0)
+00934         {
+00935                 return(false);
+00936         }
+00937         else
+00938         {
+00939                 return(true);
+00940         }
+00941 }
 
@@ -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 905 of file modules.cpp. +Definition at line 950 of file modules.cpp.

-References fc. +References fc.

-

00906 {
-00907         return fc.size();
-00908 }
+
00951 {
+00952         return fc.size();
+00953 }
 
@@ -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 898 of file modules.cpp. +Definition at line 943 of file modules.cpp.

-References fc. +References fc.

-

00899 {
-00900         if ((x<0) || (x>fc.size()))
-00901                 return "";
-00902         return fc[x];
-00903 }
+
00944 {
+00945         if ((x<0) || (x>fc.size()))
+00946                 return "";
+00947         return fc[x];
+00948 }
 
@@ -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 874 of file modules.cpp. +Definition at line 919 of file modules.cpp.

-References fc, and file_cache. +References fc, and file_cache.

-

00875 {
-00876         file_cache c;
-00877         readfile(c,filename.c_str());
-00878         this->fc = c;
-00879 }
+
00920 {
+00921         file_cache c;
+00922         readfile(c,filename.c_str());
+00923         this->fc = c;
+00924 }
 
@@ -354,14 +354,14 @@ References fc, and

-Definition at line 982 of file modules.h. +Definition at line 1035 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 Sat Apr 16 14:49:51 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:17 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classGLine-members.html b/docs/module-doc/classGLine-members.html index c8a117f41..f5454e24f 100644 --- a/docs/module-doc/classGLine-members.html +++ b/docs/module-doc/classGLine-members.html @@ -15,7 +15,7 @@ set_timeXLine sourceXLine ~classbase()classbase [inline] -
Generated on Sat Apr 16 14:49:51 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:17 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classGLine.html b/docs/module-doc/classGLine.html index 8c79aea2f..e52436cf3 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 Sat Apr 16 14:49:51 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:17 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classHostItem-members.html b/docs/module-doc/classHostItem-members.html index 055611096..cb6435314 100644 --- a/docs/module-doc/classHostItem-members.html +++ b/docs/module-doc/classHostItem-members.html @@ -14,7 +14,7 @@ set_timeHostItem ~classbase()classbase [inline] ~HostItem()HostItem [inline, virtual] -
Generated on Sat Apr 16 14:49:52 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:17 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classHostItem.html b/docs/module-doc/classHostItem.html index ca403b601..48949e5a1 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 Sat Apr 16 14:49:52 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:17 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classInviteItem-members.html b/docs/module-doc/classInviteItem-members.html index 514f27e73..1f7752662 100644 --- a/docs/module-doc/classInviteItem-members.html +++ b/docs/module-doc/classInviteItem-members.html @@ -14,7 +14,7 @@ set_timeHostItem ~classbase()classbase [inline] ~HostItem()HostItem [inline, virtual] -
Generated on Sat Apr 16 14:49:52 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:17 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classInviteItem.html b/docs/module-doc/classInviteItem.html index 42c6d67bd..64c783345 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 Sat Apr 16 14:49:52 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:17 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classInvited-members.html b/docs/module-doc/classInvited-members.html index 5a95d91a7..bf1e4b403 100644 --- a/docs/module-doc/classInvited-members.html +++ b/docs/module-doc/classInvited-members.html @@ -10,7 +10,7 @@ channelInvited classbase()classbase [inline] ~classbase()classbase [inline] -
Generated on Sat Apr 16 14:49:52 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:17 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classInvited.html b/docs/module-doc/classInvited.html index bbdbe0224..1eb4499ae 100644 --- a/docs/module-doc/classInvited.html +++ b/docs/module-doc/classInvited.html @@ -52,7 +52,7 @@ Referenced by userrec::Invite
The documentation for this class was generated from the following file:
-
Generated on Sat Apr 16 14:49:52 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:17 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classKLine-members.html b/docs/module-doc/classKLine-members.html index 86d8ac0fe..8c6e38b4d 100644 --- a/docs/module-doc/classKLine-members.html +++ b/docs/module-doc/classKLine-members.html @@ -15,7 +15,7 @@ set_timeXLine sourceXLine ~classbase()classbase [inline] -
Generated on Sat Apr 16 14:49:52 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:17 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classKLine.html b/docs/module-doc/classKLine.html index 5a1632f46..c7fa38491 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 Sat Apr 16 14:49:52 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:17 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classModeParameter-members.html b/docs/module-doc/classModeParameter-members.html index ec38c9f90..e82f15415 100644 --- a/docs/module-doc/classModeParameter-members.html +++ b/docs/module-doc/classModeParameter-members.html @@ -12,7 +12,7 @@ modeModeParameter parameterModeParameter ~classbase()classbase [inline] -
Generated on Sat Apr 16 14:49:52 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:18 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classModeParameter.html b/docs/module-doc/classModeParameter.html index f4a00bc3e..4f2a502ec 100644 --- a/docs/module-doc/classModeParameter.html +++ b/docs/module-doc/classModeParameter.html @@ -110,7 +110,7 @@ Referenced by chanrec::Set
The documentation for this class was generated from the following file:
-
Generated on Sat Apr 16 14:49:52 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:18 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classModule-members.html b/docs/module-doc/classModule-members.html index 06176e236..f0f9eee41 100644 --- a/docs/module-doc/classModule-members.html +++ b/docs/module-doc/classModule-members.html @@ -26,6 +26,7 @@ OnKill(userrec *source, userrec *dest, std::string reason)Module [virtual] OnLoadModule(Module *mod, std::string name)Module [virtual] OnLocalTopicChange(userrec *user, chanrec *chan, std::string topic)Module [virtual] + OnMeshToken(char token, string_list params, serverrec *source, serverrec *reply, std::string tcp_host, std::string ipaddr, int port)Module [virtual] OnOper(userrec *user)Module [virtual] OnPacketReceive(std::string &data, std::string serv)Module [virtual] OnPacketTransmit(std::string &data, std::string serv)Module [virtual] @@ -52,7 +53,7 @@ OnWhois(userrec *source, userrec *dest)Module [virtual] ~classbase()classbase [inline] ~Module()Module [virtual] -
Generated on Sat Apr 16 14:49:53 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:20 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classModule.html b/docs/module-doc/classModule.html index 3cfb840d7..03900e9e5 100644 --- a/docs/module-doc/classModule.html +++ b/docs/module-doc/classModule.html @@ -144,6 +144,9 @@ Inherits classbase. virtual int OnLocalTopicChange (userrec *user, chanrec *chan, std::string topic)  Called whenever a topic is changed by a local user.

+virtual int OnMeshToken (char token, string_list params, serverrec *source, serverrec *reply, std::string tcp_host, std::string ipaddr, int port) + + Called whenever an unknown token is received in a server to server link.



Detailed Description

Base class for all InspIRCd modules This class is the base class for InspIRCd modules. @@ -1007,6 +1010,81 @@ Definition at line 348
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
int Module::OnMeshToken char  token,
string_list  params,
serverrec source,
serverrec reply,
std::string  tcp_host,
std::string  ipaddr,
int  port
[virtual]
+
+ + + + + +
+   + + +

+Called whenever an unknown token is received in a server to server link. +

+The token value is the unknown token -- please check that no other modules are using the token that you use. Returning 1 supresses the 'unknown token type' error which is usually sent to all opers with +s. The params list is a list of parameters, and if any parameters start with a colon (:) it is treated as the whole of the last parameter, identical to how RFC messages are handled. source is the sender of the message, and reply is what should be replied to for a unicast message. Note that there are not many messages in the mesh protocol which require unicast messaging. tcp_host is the server name as a string, ipaddr is its ip address in dotted decimal notation and port is the port number it is using. +

+Definition at line 349 of file modules.cpp. +

+

00349 { return 0; };
+

@@ -2137,7 +2215,7 @@ Definition at line 321


The documentation for this class was generated from the following files: -
Generated on Sat Apr 16 14:49:53 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:20 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classModuleFactory-members.html b/docs/module-doc/classModuleFactory-members.html index a8e20ebf6..62dd3c51b 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 Sat Apr 16 14:49:53 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:20 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classModuleFactory.html b/docs/module-doc/classModuleFactory.html index f205aa9e9..a2333877d 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 1035 of file modules.h.


Constructor & Destructor Documentation

+Definition at line 1088 of file modules.h.

Constructor & Destructor Documentation

@@ -58,9 +58,9 @@ Definition at line 1035 o

-Definition at line 1038 of file modules.h. +Definition at line 1091 of file modules.h.

-

01038 { }
+
01091 { }
 
@@ -91,9 +91,9 @@ Definition at line 1038 o

-Definition at line 1039 of file modules.h. +Definition at line 1092 of file modules.h.

-

01039 { }
+
01092 { }
 
@@ -130,7 +130,7 @@ Your inherited class of ModuleFactory must return a pointer to your modules.h -
Generated on Sat Apr 16 14:49:53 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:20 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classQLine-members.html b/docs/module-doc/classQLine-members.html index dd6ae1dcc..5bcfb78c9 100644 --- a/docs/module-doc/classQLine-members.html +++ b/docs/module-doc/classQLine-members.html @@ -16,7 +16,7 @@ set_timeXLine sourceXLine ~classbase()classbase [inline] -
Generated on Sat Apr 16 14:49:53 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:20 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classQLine.html b/docs/module-doc/classQLine.html index b59853587..e2869917b 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 Sat Apr 16 14:49:53 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:20 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classServer-members.html b/docs/module-doc/classServer-members.html index c8fc60cb0..5516dc396 100644 --- a/docs/module-doc/classServer-members.html +++ b/docs/module-doc/classServer-members.html @@ -42,6 +42,13 @@ JoinUserToChannel(userrec *user, std::string cname, std::string key)Server [virtual] Log(int level, std::string s)Server [virtual] MatchText(std::string sliteral, std::string spattern)Server [virtual] + MeshCheckChan(chanrec *c, std::string servername)Server [virtual] + MeshCheckCommon(userrec *u, std::string servername)Server [virtual] + MeshSendAll(std::string text)Server [virtual] + MeshSendAllAlive(std::string text)Server [virtual] + MeshSendAllExcept(std::string target, std::string text)Server [virtual] + MeshSendCommon(userrec *user, std::string text)Server [virtual] + MeshSendUnicast(std::string destination, std::string text)Server [virtual] PartUserFromChannel(userrec *user, std::string cname, std::string reason)Server [virtual] PseudoToUser(userrec *alive, userrec *zombie, std::string message)Server [virtual] QuitUser(userrec *user, std::string reason)Server [virtual] @@ -59,7 +66,7 @@ UserToPseudo(userrec *user, std::string message)Server [virtual] ~classbase()classbase [inline] ~Server()Server [virtual] -
Generated on Sat Apr 16 14:49:54 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:22 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classServer.html b/docs/module-doc/classServer.html index 1dc438870..2d9666e44 100644 --- a/docs/module-doc/classServer.html +++ b/docs/module-doc/classServer.html @@ -165,6 +165,27 @@ Inherits classbase. virtual bool IsValidMask (std::string mask)  Returns true if a nick!ident string is correctly formatted, false if otherwise.

+virtual void MeshSendAll (std::string text) + + Sends a line of text to all connected servers.


+virtual void MeshSendCommon (userrec *user, std::string text) + + This method sends a line of text to all servers who have users which share common channels with the user you provide.


+virtual void MeshSendAllAlive (std::string text) + + This function is equivalent to Server::MeshSendToAll except it will only route to servers which are directly routable.


+virtual void MeshSendUnicast (std::string destination, std::string text) + + This function sends a line of text directly to a server.


+virtual void MeshSendAllExcept (std::string target, std::string text) + + This function sends to all servers EXCEPT the one you specify.


+virtual bool MeshCheckChan (chanrec *c, std::string servername) + + This function is used to check if any users on channel c are on server servername.


+virtual bool MeshCheckCommon (userrec *u, std::string servername) + + This function is used to check if user u has any channels in common with users on servername.



Detailed Description

Allows server output and query functions This class contains methods which allow a module to query the state of the irc server, and produce output to users and other servers. @@ -173,7 +194,7 @@ All modules should instantiate at least one copy of this class, and use its memb

-Definition at line 493 of file modules.h.


Constructor & Destructor Documentation

+Definition at line 505 of file modules.h.

Constructor & Destructor Documentation

@@ -203,10 +224,10 @@ Default constructor.

Creates a Server object.

-Definition at line 354 of file modules.cpp. +Definition at line 355 of file modules.cpp.

-

00355 {
-00356 }
+
00356 {
+00357 }
 
@@ -239,10 +260,10 @@ Default destructor.

Destroys a Server object.

-Definition at line 358 of file modules.cpp. +Definition at line 359 of file modules.cpp.

-

00359 {
-00360 }
+
00360 {
+00361 }
 
@@ -306,13 +327,13 @@ This allows modules to add extra commands into the command table. You must place 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'. 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 435 of file modules.cpp. +Definition at line 436 of file modules.cpp.

References createcommand().

-

00436 {
-00437         createcommand(cmd,f,flags,minparams,source);
-00438 }
+
00437 {
+00438         createcommand(cmd,f,flags,minparams,source);
+00439 }
 
@@ -367,13 +388,13 @@ Adds a E-line The E-line is enforced as soon as it is added.

The duration must be in seconds, however you can use the Server::CalcDuration method to convert durations into the 1w2d3h3m6s format used by /GLINE etc. The source is an arbitary string used to indicate who or what sent the data, usually this is the nickname of a person, or a server name.

-Definition at line 653 of file modules.cpp. +Definition at line 654 of file modules.cpp.

References add_eline(), and duration().

-

00654 {
-00655         add_eline(duration, source.c_str(), reason.c_str(), hostmask.c_str());
-00656 }
+
00655 {
+00656         add_eline(duration, source.c_str(), reason.c_str(), hostmask.c_str());
+00657 }
 
@@ -412,16 +433,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 580 of file modules.cpp. +Definition at line 581 of file modules.cpp.

References DoAddExtendedMode(), ModeMakeList(), and MT_CHANNEL.

-

00581 {
-00582         bool res = DoAddExtendedMode(modechar,MT_CHANNEL,false,1,1);
-00583         if (res)
-00584                 ModeMakeList(modechar);
-00585         return res;
-00586 }
+
00582 {
+00583         bool res = DoAddExtendedMode(modechar,MT_CHANNEL,false,1,1);
+00584         if (res)
+00585                 ModeMakeList(modechar);
+00586         return res;
+00587 }
 
@@ -482,28 +503,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 560 of file modules.cpp. +Definition at line 561 of file modules.cpp.

References DEBUG, DoAddExtendedMode(), MT_CLIENT, and MT_SERVER.

-

00561 {
-00562         if (type == MT_SERVER)
-00563         {
-00564                 log(DEBUG,"*** API ERROR *** Modes of type MT_SERVER are reserved for future expansion");
-00565                 return false;
-00566         }
-00567         if (((params_when_on>0) || (params_when_off>0)) && (type == MT_CLIENT))
-00568         {
-00569                 log(DEBUG,"*** API ERROR *** Parameters on MT_CLIENT modes are not supported");
-00570                 return false;
-00571         }
-00572         if ((params_when_on>1) || (params_when_off>1))
-00573         {
-00574                 log(DEBUG,"*** API ERROR *** More than one parameter for an MT_CHANNEL mode is not yet supported");
-00575                 return false;
-00576         }
-00577         return DoAddExtendedMode(modechar,type,requires_oper,params_when_on,params_when_off);
-00578 }
+
00562 {
+00563         if (type == MT_SERVER)
+00564         {
+00565                 log(DEBUG,"*** API ERROR *** Modes of type MT_SERVER are reserved for future expansion");
+00566                 return false;
+00567         }
+00568         if (((params_when_on>0) || (params_when_off>0)) && (type == MT_CLIENT))
+00569         {
+00570                 log(DEBUG,"*** API ERROR *** Parameters on MT_CLIENT modes are not supported");
+00571                 return false;
+00572         }
+00573         if ((params_when_on>1) || (params_when_off>1))
+00574         {
+00575                 log(DEBUG,"*** API ERROR *** More than one parameter for an MT_CHANNEL mode is not yet supported");
+00576                 return false;
+00577         }
+00578         return DoAddExtendedMode(modechar,type,requires_oper,params_when_on,params_when_off);
+00579 }
 
@@ -558,13 +579,13 @@ Adds a G-line The G-line is propogated to all of the servers in the mesh and enf

The duration must be in seconds, however you can use the Server::CalcDuration method to convert durations into the 1w2d3h3m6s format used by /GLINE etc. The source is an arbitary string used to indicate who or what sent the data, usually this is the nickname of a person, or a server name.

-Definition at line 633 of file modules.cpp. +Definition at line 634 of file modules.cpp.

References add_gline(), and duration().

-

00634 {
-00635         add_gline(duration, source.c_str(), reason.c_str(), hostmask.c_str());
-00636 }
+
00635 {
+00636         add_gline(duration, source.c_str(), reason.c_str(), hostmask.c_str());
+00637 }
 
@@ -619,13 +640,13 @@ Adds a K-line The K-line is enforced as soon as it is added.

The duration must be in seconds, however you can use the Server::CalcDuration method to convert durations into the 1w2d3h3m6s format used by /GLINE etc. The source is an arbitary string used to indicate who or what sent the data, usually this is the nickname of a person, or a server name.

-Definition at line 648 of file modules.cpp. +Definition at line 649 of file modules.cpp.

References add_kline(), and duration().

-

00649 {
-00650         add_kline(duration, source.c_str(), reason.c_str(), hostmask.c_str());
-00651 }
+
00650 {
+00651         add_kline(duration, source.c_str(), reason.c_str(), hostmask.c_str());
+00652 }
 
@@ -680,13 +701,13 @@ Adds a Q-line The Q-line is propogated to all of the servers in the mesh and enf

The duration must be in seconds, however you can use the Server::CalcDuration method to convert durations into the 1w2d3h3m6s format used by /GLINE etc. The source is an arbitary string used to indicate who or what sent the data, usually this is the nickname of a person, or a server name.

-Definition at line 638 of file modules.cpp. +Definition at line 639 of file modules.cpp.

References add_qline(), and duration().

-

00639 {
-00640         add_qline(duration, source.c_str(), reason.c_str(), nickname.c_str());
-00641 }
+
00640 {
+00641         add_qline(duration, source.c_str(), reason.c_str(), nickname.c_str());
+00642 }
 
@@ -741,13 +762,13 @@ Adds a Z-line The Z-line is propogated to all of the servers in the mesh and enf

The duration must be in seconds, however you can use the Server::CalcDuration method to convert durations into the 1w2d3h3m6s format used by /GLINE etc. The source is an arbitary string used to indicate who or what sent the data, usually this is the nickname of a person, or a server name.

-Definition at line 643 of file modules.cpp. +Definition at line 644 of file modules.cpp.

References add_zline(), and duration().

-

00644 {
-00645         add_zline(duration, source.c_str(), reason.c_str(), ipaddr.c_str());
-00646 }
+
00645 {
+00646         add_zline(duration, source.c_str(), reason.c_str(), ipaddr.c_str());
+00647 }
 
@@ -781,13 +802,13 @@ Calculates a duration This method will take a string containing a formatted dura

"1w2d") and return its value as a total number of seconds. This is the same function used internally by /GLINE etc to set the ban times.

-Definition at line 683 of file modules.cpp. +Definition at line 684 of file modules.cpp.

References duration().

-

00684 {
-00685         return duration(delta.c_str());
-00686 }
+
00685 {
+00686         return duration(delta.c_str());
+00687 }
 
@@ -843,11 +864,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 425 of file modules.cpp. +Definition at line 426 of file modules.cpp.

-

00426 {
-00427         call_handler(commandname.c_str(),parameters,pcnt,user);
-00428 }
+
00427 {
+00428         call_handler(commandname.c_str(),parameters,pcnt,user);
+00429 }
 
@@ -890,13 +911,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 513 of file modules.cpp. +Definition at line 514 of file modules.cpp.

References ChangeName().

-

00514 {
-00515         ChangeName(user,gecos.c_str());
-00516 }
+
00515 {
+00516         ChangeName(user,gecos.c_str());
+00517 }
 
@@ -939,13 +960,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 508 of file modules.cpp. +Definition at line 509 of file modules.cpp.

References ChangeDisplayedHost().

-

00509 {
-00510         ChangeDisplayedHost(user,host.c_str());
-00511 }
+
00510 {
+00511         ChangeDisplayedHost(user,host.c_str());
+00512 }
 
@@ -988,11 +1009,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 409 of file modules.cpp. +Definition at line 410 of file modules.cpp.

-

00410 {
-00411         force_nickchange(user,nickname.c_str());
-00412 }
+
00411 {
+00412         force_nickchange(user,nickname.c_str());
+00413 }
 
@@ -1035,13 +1056,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 533 of file modules.cpp. +Definition at line 534 of file modules.cpp.

References cmode().

-

00534 {
-00535         return cmode(User,Chan);
-00536 }
+
00535 {
+00536         return cmode(User,Chan);
+00537 }
 
@@ -1084,13 +1105,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 486 of file modules.cpp. +Definition at line 487 of file modules.cpp.

References common_channels().

-

00487 {
-00488         return (common_channels(u1,u2) != 0);
-00489 }
+
00488 {
+00489         return (common_channels(u1,u2) != 0);
+00490 }
 
@@ -1124,11 +1145,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 588 of file modules.cpp. +Definition at line 589 of file modules.cpp.

-

00589 {
-00590         return usercount(c);
-00591 }
+
00590 {
+00591         return usercount(c);
+00592 }
 
@@ -1162,13 +1183,13 @@ Deletes a local E-Line.

-Definition at line 678 of file modules.cpp. +Definition at line 679 of file modules.cpp.

References del_eline().

-

00679 {
-00680         del_eline(hostmask.c_str());
-00681 }
+
00680 {
+00681         del_eline(hostmask.c_str());
+00682 }
 
@@ -1202,13 +1223,13 @@ Deletes a G-Line from all servers on the mesh.

-Definition at line 658 of file modules.cpp. +Definition at line 659 of file modules.cpp.

References del_gline().

-

00659 {
-00660         del_gline(hostmask.c_str());
-00661 }
+
00660 {
+00661         del_gline(hostmask.c_str());
+00662 }
 
@@ -1242,13 +1263,13 @@ Deletes a local K-Line.

-Definition at line 673 of file modules.cpp. +Definition at line 674 of file modules.cpp.

References del_kline().

-

00674 {
-00675         del_kline(hostmask.c_str());
-00676 }
+
00675 {
+00676         del_kline(hostmask.c_str());
+00677 }
 
@@ -1282,13 +1303,13 @@ Deletes a Q-Line from all servers on the mesh.

-Definition at line 663 of file modules.cpp. +Definition at line 664 of file modules.cpp.

References del_qline().

-

00664 {
-00665         del_qline(nickname.c_str());
-00666 }
+
00665 {
+00666         del_qline(nickname.c_str());
+00667 }
 
@@ -1322,13 +1343,13 @@ Deletes a Z-Line from all servers on the mesh.

-Definition at line 668 of file modules.cpp. +Definition at line 669 of file modules.cpp.

References del_zline().

-

00669 {
-00670         del_zline(ipaddr.c_str());
-00671 }
+
00670 {
+00671         del_zline(ipaddr.c_str());
+00672 }
 
@@ -1362,11 +1383,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 528 of file modules.cpp. +Definition at line 529 of file modules.cpp.

-

00529 {
-00530         return FindChan(channel.c_str());
-00531 }
+
00530 {
+00531         return FindChan(channel.c_str());
+00532 }
 
@@ -1400,11 +1421,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 523 of file modules.cpp. +Definition at line 524 of file modules.cpp.

-

00524 {
-00525         return Find(nick);
-00526 }
+
00525 {
+00526         return Find(nick);
+00527 }
 
@@ -1437,11 +1458,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 553 of file modules.cpp. +Definition at line 554 of file modules.cpp.

-

00554 {
-00555         return Admin(getadminname(),getadminemail(),getadminnick());
-00556 }
+
00555 {
+00556         return Admin(getadminname(),getadminemail(),getadminnick());
+00557 }
 
@@ -1474,11 +1495,11 @@ Returns the network name, global to all linked servers.

-Definition at line 548 of file modules.cpp. +Definition at line 549 of file modules.cpp.

-

00549 {
-00550         return getnetworkname();
-00551 }
+
00550 {
+00551         return getnetworkname();
+00552 }
 
@@ -1511,11 +1532,11 @@ Returns the server name of the server where the module is loaded.

-Definition at line 543 of file modules.cpp. +Definition at line 544 of file modules.cpp.

-

00544 {
-00545         return getservername();
-00546 }
+
00545 {
+00546         return getservername();
+00547 }
 
@@ -1549,28 +1570,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 390 of file modules.cpp. +Definition at line 391 of file modules.cpp.

References chanuserlist, clientlist, has_channel(), and isnick().

-

00391 {
-00392         chanuserlist userl;
-00393         userl.clear();
-00394         for (user_hash::const_iterator i = clientlist.begin(); i != clientlist.end(); i++)
-00395         {
-00396                 if (i->second)
-00397                 {
-00398                         if (has_channel(i->second,chan))
-00399                         {
-00400                                 if (isnick(i->second->nick))
-00401                                 {
-00402                                         userl.push_back(i->second);
-00403                                 }
-00404                         }
-00405                 }
-00406         }
-00407         return userl;
-00408 }
+
00392 {
+00393         chanuserlist userl;
+00394         userl.clear();
+00395         for (user_hash::const_iterator i = clientlist.begin(); i != clientlist.end(); i++)
+00396         {
+00397                 if (i->second)
+00398                 {
+00399                         if (has_channel(i->second,chan))
+00400                         {
+00401                                 if (isnick(i->second->nick))
+00402                                 {
+00403                                         userl.push_back(i->second);
+00404                                 }
+00405                         }
+00406                 }
+00407         }
+00408         return userl;
+00409 }
 
@@ -1604,13 +1625,13 @@ Returns true if a nick is valid.

Nicks for unregistered connections will return false.

-Definition at line 518 of file modules.cpp. +Definition at line 519 of file modules.cpp.

References isnick().

-

00519 {
-00520         return (isnick(nick.c_str()) != 0);
-00521 }
+
00520 {
+00521         return (isnick(nick.c_str()) != 0);
+00522 }
 
@@ -1653,13 +1674,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 538 of file modules.cpp. +Definition at line 539 of file modules.cpp.

References has_channel().

-

00539 {
-00540         return has_channel(User,Chan);
-00541 }
+
00540 {
+00541         return has_channel(User,Chan);
+00542 }
 
@@ -1693,13 +1714,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 420 of file modules.cpp. +Definition at line 421 of file modules.cpp.

References is_uline().

-

00421 {
-00422         return is_uline(server.c_str());
-00423 }
+
00422 {
+00423         return is_uline(server.c_str());
+00424 }
 
@@ -1733,35 +1754,35 @@ Returns true if a nick!ident string is correctly formatted, false if otherwise.

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

-

00689 {
-00690         const char* dest = mask.c_str();
-00691         if (strchr(dest,'!')==0)
-00692                 return false;
-00693         if (strchr(dest,'@')==0)
-00694                 return false;
-00695         for (int i = 0; i < strlen(dest); i++)
-00696                 if (dest[i] < 32)
-00697                         return false;
-00698         for (int i = 0; i < strlen(dest); i++)
-00699                 if (dest[i] > 126)
-00700                         return false;
-00701         int c = 0;
-00702         for (int i = 0; i < strlen(dest); i++)
-00703                 if (dest[i] == '!')
-00704                         c++;
-00705         if (c>1)
-00706                 return false;
-00707         c = 0;
-00708         for (int i = 0; i < strlen(dest); i++)
-00709                 if (dest[i] == '@')
-00710                         c++;
-00711         if (c>1)
-00712                 return false;
-00713 
-00714         return true;
-00715 }
+Definition at line 689 of file modules.cpp.
+

+

00690 {
+00691         const char* dest = mask.c_str();
+00692         if (strchr(dest,'!')==0)
+00693                 return false;
+00694         if (strchr(dest,'@')==0)
+00695                 return false;
+00696         for (int i = 0; i < strlen(dest); i++)
+00697                 if (dest[i] < 32)
+00698                         return false;
+00699         for (int i = 0; i < strlen(dest); i++)
+00700                 if (dest[i] > 126)
+00701                         return false;
+00702         int c = 0;
+00703         for (int i = 0; i < strlen(dest); i++)
+00704                 if (dest[i] == '!')
+00705                         c++;
+00706         if (c>1)
+00707                 return false;
+00708         c = 0;
+00709         for (int i = 0; i < strlen(dest); i++)
+00710                 if (dest[i] == '@')
+00711                         c++;
+00712         if (c>1)
+00713                 return false;
+00714 
+00715         return true;
+00716 }
 
@@ -1810,11 +1831,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 380 of file modules.cpp. +Definition at line 381 of file modules.cpp.

-

00381 {
-00382         return add_channel(user,cname.c_str(),key.c_str(),true);
-00383 }
+
00382 {
+00383         return add_channel(user,cname.c_str(),key.c_str(),true);
+00384 }
 
@@ -1857,11 +1878,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 430 of file modules.cpp. +Definition at line 431 of file modules.cpp.

-

00431 {
-00432         log(level,"%s",s.c_str());
-00433 }
+
00432 {
+00433         log(level,"%s",s.c_str());
+00434 }
 
@@ -1904,14 +1925,334 @@ 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 367 of file modules.cpp. +Definition at line 368 of file modules.cpp. +

+

00369 {
+00370         char literal[MAXBUF],pattern[MAXBUF];
+00371         strlcpy(literal,sliteral.c_str(),MAXBUF);
+00372         strlcpy(pattern,spattern.c_str(),MAXBUF);
+00373         return match(literal,pattern);
+00374 }
+
+ + +

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
bool Server::MeshCheckChan chanrec c,
std::string  servername
[virtual]
+
+ + + + + +
+   + + +

+This function is used to check if any users on channel c are on server servername. +

+This is used internally by PRIVMSG etc. You should not need to use it. +

+Definition at line 744 of file modules.cpp. +

+

00745 {
+00746         if (c)
+00747         {
+00748                 return ChanAnyOnThisServer(c,(char*)servername.c_str());
+00749         }
+00750         else return false;
+00751 }
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
bool Server::MeshCheckCommon userrec u,
std::string  servername
[virtual]
+
+ + + + + +
+   + + +

+This function is used to check if user u has any channels in common with users on servername. +

+This is used internally by Server::MeshSendCommon. You should very rarely need to use it. +

+Definition at line 753 of file modules.cpp. +

+

00754 {
+00755         if (u)
+00756         {
+00757                 return CommonOnThisServer(u,(char*)servername.c_str());
+00758         }
+00759         else return false;
+00760 }
+
+

+ + + + +
+ + + + + + + + + + +
void Server::MeshSendAll std::string  text  )  [virtual]
+
+ + + + + +
+   + + +

+Sends a line of text to all connected servers. +

+If a server is not directly reachable, the core deals with routing the message, and will also deal with failures transparently. +

+Definition at line 718 of file modules.cpp. +

+

00719 {
+00720         NetSendToAll((char*)text.c_str());
+00721 }
+
+

+ + + + +
+ + + + + + + + + + +
void Server::MeshSendAllAlive std::string  text  )  [virtual]
+
+ + + + + +
+   + + +

+This function is equivalent to Server::MeshSendToAll except it will only route to servers which are directly routable. +

+ +

+Definition at line 729 of file modules.cpp. +

+

00730 {
+00731         NetSendToAllAlive((char*)text.c_str());
+00732 }
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
void Server::MeshSendAllExcept std::string  target,
std::string  text
[virtual]
+
+ + + + + +
+   + + +

+This function sends to all servers EXCEPT the one you specify. +

+You should usually use this function to send messages, specifying the SENDER of your message as 'target'. This will prevent message loops. +

+Definition at line 739 of file modules.cpp. +

+

00740 {
+00741         NetSendToAllExcept(target.c_str(),(char*)text.c_str());
+00742 }
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
void Server::MeshSendCommon userrec user,
std::string  text
[virtual]
+
+ + + + + +
+   + + +

+This method sends a line of text to all servers who have users which share common channels with the user you provide. +

+For example, if user A is on server A, and they are on channels #one and #two, and user B is on server B, and also on channel #one, but user C is on server C and on neither #one or #two, this function will cause the text to only be sent to server B. However, if server B is only reachable via C, it will route it to C (you do not have to worry about this routing, it is done transparently, but its good to know how things work!) +

+Definition at line 723 of file modules.cpp. +

+

00724 {
+00725         if (user)
+00726                 NetSendToCommon(user,(char*)text.c_str());
+00727 }
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
void Server::MeshSendUnicast std::string  destination,
std::string  text
[virtual]
+
+ + + +
+   + + +

+This function sends a line of text directly to a server. +

+If the server is not directly routable at this time, the server attempts to route text through the mesh. +

+Definition at line 734 of file modules.cpp.

-

00368 {
-00369         char literal[MAXBUF],pattern[MAXBUF];
-00370         strlcpy(literal,sliteral.c_str(),MAXBUF);
-00371         strlcpy(pattern,spattern.c_str(),MAXBUF);
-00372         return match(literal,pattern);
-00373 }
+
00735 {
+00736         NetSendToOne((char*)destination.c_str(),(char*)text.c_str());
+00737 }
 
@@ -1960,11 +2301,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 385 of file modules.cpp. +Definition at line 386 of file modules.cpp.

-

00386 {
-00387         return del_channel(user,cname.c_str(),reason.c_str(),false);
-00388 }
+
00387 {
+00388         return del_channel(user,cname.c_str(),reason.c_str(),false);
+00389 }
 
@@ -2013,38 +2354,38 @@ This user takes one user, and switches their file descriptor with another user,

The user in 'alive' is booted off the server with the given message. The user referred to by 'zombie' should have previously been locked with Server::ZombifyUser, otherwise stale sockets and file descriptor leaks can occur. After this call, the pointer to alive will be invalid, and the pointer to zombie will be equivalent in effect to the old pointer to alive.

-Definition at line 603 of file modules.cpp. +Definition at line 604 of file modules.cpp.

References ucrec::channel, userrec::chans, chanrec::created, connection::fd, FD_MAGIC_NUMBER, connection::host, userrec::ident, chanrec::name, userrec::nick, chanrec::setby, chanrec::topic, and chanrec::topicset.

-

00604 {
-00605         zombie->fd = alive->fd;
-00606         alive->fd = FD_MAGIC_NUMBER;
-00607         Write(zombie->fd,":%s!%s@%s NICK %s",alive->nick,alive->ident,alive->host,zombie->nick);
-00608         kill_link(alive,message.c_str());
-00609         for (int i = 0; i != MAXCHANS; i++)
-00610         {
-00611                 if (zombie->chans[i].channel != NULL)
-00612                 {
-00613                         if (zombie->chans[i].channel->name)
-00614                         {
-00615                                 chanrec* Ptr = zombie->chans[i].channel;
-00616                                 WriteFrom(zombie->fd,zombie,"JOIN %s",Ptr->name);
-00617                                 if (Ptr->topicset)
-00618                                 {
-00619                                         WriteServ(zombie->fd,"332 %s %s :%s", zombie->nick, Ptr->name, Ptr->topic);
-00620                                         WriteServ(zombie->fd,"333 %s %s %s %d", zombie->nick, Ptr->name, Ptr->setby, Ptr->topicset);
-00621                                 }
-00622                                 userlist(zombie,Ptr);
-00623                                 WriteServ(zombie->fd,"366 %s %s :End of /NAMES list.", zombie->nick, Ptr->name);
-00624                                 WriteServ(zombie->fd,"324 %s %s +%s",zombie->nick, Ptr->name,chanmodes(Ptr));
-00625                                 WriteServ(zombie->fd,"329 %s %s %d", zombie->nick, Ptr->name, Ptr->created);
-00626 
-00627                         }
-00628                 }
-00629         }
-00630 
-00631 }
+
00605 {
+00606         zombie->fd = alive->fd;
+00607         alive->fd = FD_MAGIC_NUMBER;
+00608         Write(zombie->fd,":%s!%s@%s NICK %s",alive->nick,alive->ident,alive->host,zombie->nick);
+00609         kill_link(alive,message.c_str());
+00610         for (int i = 0; i != MAXCHANS; i++)
+00611         {
+00612                 if (zombie->chans[i].channel != NULL)
+00613                 {
+00614                         if (zombie->chans[i].channel->name)
+00615                         {
+00616                                 chanrec* Ptr = zombie->chans[i].channel;
+00617                                 WriteFrom(zombie->fd,zombie,"JOIN %s",Ptr->name);
+00618                                 if (Ptr->topicset)
+00619                                 {
+00620                                         WriteServ(zombie->fd,"332 %s %s :%s", zombie->nick, Ptr->name, Ptr->topic);
+00621                                         WriteServ(zombie->fd,"333 %s %s %s %d", zombie->nick, Ptr->name, Ptr->setby, Ptr->topicset);
+00622                                 }
+00623                                 userlist(zombie,Ptr);
+00624                                 WriteServ(zombie->fd,"366 %s %s :End of /NAMES list.", zombie->nick, Ptr->name);
+00625                                 WriteServ(zombie->fd,"324 %s %s +%s",zombie->nick, Ptr->name,chanmodes(Ptr));
+00626                                 WriteServ(zombie->fd,"329 %s %s %d", zombie->nick, Ptr->name, Ptr->created);
+00627 
+00628                         }
+00629                 }
+00630         }
+00631 
+00632 }
 
@@ -2089,14 +2430,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 414 of file modules.cpp. +Definition at line 415 of file modules.cpp.

References userrec::nick, and send_network_quit().

-

00415 {
-00416         send_network_quit(user->nick,reason.c_str());
-00417         kill_link(user,reason.c_str());
-00418 }
+
00416 {
+00417         send_network_quit(user->nick,reason.c_str());
+00418         kill_link(user,reason.c_str());
+00419 }
 
@@ -2139,11 +2480,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 445 of file modules.cpp. +Definition at line 446 of file modules.cpp.

-

00446 {
-00447         Write(Socket,"%s",s.c_str());
-00448 }
+
00447 {
+00448         Write(Socket,"%s",s.c_str());
+00449 }
 
@@ -2198,18 +2539,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 474 of file modules.cpp. -

-

00475 {
-00476         if (IncludeSender)
-00477         {
-00478                 WriteChannel(Channel,User,"%s",s.c_str());
-00479         }
-00480         else
-00481         {
-00482                 ChanExceptSender(Channel,User,"%s",s.c_str());
-00483         }
-00484 }
+Definition at line 475 of file modules.cpp.
+

+

00476 {
+00477         if (IncludeSender)
+00478         {
+00479                 WriteChannel(Channel,User,"%s",s.c_str());
+00480         }
+00481         else
+00482         {
+00483                 ChanExceptSender(Channel,User,"%s",s.c_str());
+00484         }
+00485 }
 
@@ -2258,18 +2599,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 491 of file modules.cpp. -

-

00492 {
-00493         if (IncludeSender)
-00494         {
-00495                 WriteCommon(User,"%s",text.c_str());
-00496         }
-00497         else
-00498         {
-00499                 WriteCommonExcept(User,"%s",text.c_str());
-00500         }
-00501 }
+Definition at line 492 of file modules.cpp.
+

+

00493 {
+00494         if (IncludeSender)
+00495         {
+00496                 WriteCommon(User,"%s",text.c_str());
+00497         }
+00498         else
+00499         {
+00500                 WriteCommonExcept(User,"%s",text.c_str());
+00501         }
+00502 }
 
@@ -2318,11 +2659,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 455 of file modules.cpp. +Definition at line 456 of file modules.cpp.

-

00456 {
-00457         WriteFrom(Socket,User,"%s",s.c_str());
-00458 }
+
00457 {
+00458         WriteFrom(Socket,User,"%s",s.c_str());
+00459 }
 
@@ -2378,13 +2719,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 440 of file modules.cpp. +Definition at line 441 of file modules.cpp.

References server_mode().

-

00441 {
-00442         server_mode(parameters,pcnt,user);
-00443 }
+
00442 {
+00443         server_mode(parameters,pcnt,user);
+00444 }
 
@@ -2418,11 +2759,11 @@ Sends text to all opers.

This method sends a server notice to all opers with the usermode +s.

-Definition at line 362 of file modules.cpp. +Definition at line 363 of file modules.cpp.

-

00363 {
-00364         WriteOpers("%s",s.c_str());
-00365 }
+
00364 {
+00365         WriteOpers("%s",s.c_str());
+00366 }
 
@@ -2465,11 +2806,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 450 of file modules.cpp. +Definition at line 451 of file modules.cpp.

-

00451 {
-00452         WriteServ(Socket,"%s",s.c_str());
-00453 }
+
00452 {
+00453         WriteServ(Socket,"%s",s.c_str());
+00454 }
 
@@ -2522,22 +2863,22 @@ The format will become:

:localserver TEXT

Which is useful for numerics and server notices to single users, etc.

-Definition at line 460 of file modules.cpp. +Definition at line 461 of file modules.cpp.

References connection::fd.

-

00461 {
-00462         if (!Source)
-00463         {
-00464                 // if source is NULL, then the message originates from the local server
-00465                 Write(Dest->fd,":%s %s",this->GetServerName().c_str(),s.c_str());
-00466         }
-00467         else
-00468         {
-00469                 // otherwise it comes from the user specified
-00470                 WriteTo(Source,Dest,"%s",s.c_str());
-00471         }
-00472 }
+
00462 {
+00463         if (!Source)
+00464         {
+00465                 // if source is NULL, then the message originates from the local server
+00466                 Write(Dest->fd,":%s %s",this->GetServerName().c_str(),s.c_str());
+00467         }
+00468         else
+00469         {
+00470                 // otherwise it comes from the user specified
+00471                 WriteTo(Source,Dest,"%s",s.c_str());
+00472         }
+00473 }
 
@@ -2588,11 +2929,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 375 of file modules.cpp. +Definition at line 376 of file modules.cpp.

-

00376 {
-00377         WriteMode(modes.c_str(),flags,"%s",text.c_str());
-00378 }
+
00377 {
+00378         WriteMode(modes.c_str(),flags,"%s",text.c_str());
+00379 }
 
@@ -2635,11 +2976,11 @@ 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 503 of file modules.cpp. +Definition at line 504 of file modules.cpp.

-

00504 {
-00505         WriteWallOps(User,false,"%s",text.c_str());
-00506 }
+
00505 {
+00506         WriteWallOps(User,false,"%s",text.c_str());
+00507 }
 
@@ -2682,23 +3023,23 @@ Remove a user's connection to the irc server, but leave their client in existenc

When you call this function, the user's file descriptor will be replaced with the value of FD_MAGIC_NUMBER and their old file descriptor will be closed. This idle client will remain until it is restored with a valid file descriptor, or is removed from IRC by an operator After this call, the pointer to user will be invalid.

-Definition at line 594 of file modules.cpp. +Definition at line 595 of file modules.cpp.

References connection::fd, FD_MAGIC_NUMBER, connection::host, and userrec::ident.

-

00595 {
-00596         unsigned int old_fd = user->fd;
-00597         user->fd = FD_MAGIC_NUMBER;
-00598         Write(old_fd,"ERROR :Closing link (%s@%s) [%s]",user->ident,user->host,message.c_str());
-00599         close(old_fd);
-00600         shutdown (old_fd,2);
-00601 }
+
00596 {
+00597         unsigned int old_fd = user->fd;
+00598         user->fd = FD_MAGIC_NUMBER;
+00599         Write(old_fd,"ERROR :Closing link (%s@%s) [%s]",user->ident,user->host,message.c_str());
+00600         close(old_fd);
+00601         shutdown (old_fd,2);
+00602 }
 

The documentation for this class was generated from the following files: -
Generated on Sat Apr 16 14:49:54 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:22 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classVersion-members.html b/docs/module-doc/classVersion-members.html index 515ba58db..3059bc8b3 100644 --- a/docs/module-doc/classVersion-members.html +++ b/docs/module-doc/classVersion-members.html @@ -15,7 +15,7 @@ RevisionVersion Version(int major, int minor, int revision, int build, int flags)Version ~classbase()classbase [inline] -
Generated on Sat Apr 16 14:49:54 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:23 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classVersion.html b/docs/module-doc/classVersion.html index 1382d8cea..322f7dd77 100644 --- a/docs/module-doc/classVersion.html +++ b/docs/module-doc/classVersion.html @@ -221,7 +221,7 @@ Definition at line 114 of
The documentation for this class was generated from the following files: -
Generated on Sat Apr 16 14:49:54 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:23 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classXLine-members.html b/docs/module-doc/classXLine-members.html index b72af4552..68834e87a 100644 --- a/docs/module-doc/classXLine-members.html +++ b/docs/module-doc/classXLine-members.html @@ -14,7 +14,7 @@ set_timeXLine sourceXLine ~classbase()classbase [inline] -
Generated on Sat Apr 16 14:49:54 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:23 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classXLine.html b/docs/module-doc/classXLine.html index d8873dcbb..2f33e4b07 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 Sat Apr 16 14:49:54 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:23 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classZLine-members.html b/docs/module-doc/classZLine-members.html index 1a72fab51..ed386e80b 100644 --- a/docs/module-doc/classZLine-members.html +++ b/docs/module-doc/classZLine-members.html @@ -16,7 +16,7 @@ set_timeXLine sourceXLine ~classbase()classbase [inline] -
Generated on Sat Apr 16 14:49:55 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:23 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classZLine.html b/docs/module-doc/classZLine.html index 3bfd3274e..f5e498471 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 Sat Apr 16 14:49:54 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:23 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classchanrec-members.html b/docs/module-doc/classchanrec-members.html index 206d03026..303718a7d 100644 --- a/docs/module-doc/classchanrec-members.html +++ b/docs/module-doc/classchanrec-members.html @@ -33,7 +33,7 @@ topicsetchanrec ~chanrec()chanrec [inline, virtual] ~classbase()classbase [inline] -
Generated on Sat Apr 16 14:49:50 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:16 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classchanrec.html b/docs/module-doc/classchanrec.html index 7172c300c..aadc1dc5b 100644 --- a/docs/module-doc/classchanrec.html +++ b/docs/module-doc/classchanrec.html @@ -488,7 +488,7 @@ Creation time.

Definition at line 111 of file channels.h.

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

@@ -656,7 +656,7 @@ The channels name.

Definition at line 99 of file channels.h.

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

@@ -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(), and Server::PseudoToUser(). +Referenced by chanrec(), and Server::PseudoToUser().

@@ -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(), and Server::PseudoToUser(). +Referenced by chanrec(), and Server::PseudoToUser().

@@ -824,12 +824,12 @@ If no topic was ever set, this will be equal to 115 of file channels.h.

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


The documentation for this class was generated from the following files: -
Generated on Sat Apr 16 14:49:50 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:16 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classclassbase-members.html b/docs/module-doc/classclassbase-members.html index 2257b3c34..7a77a9757 100644 --- a/docs/module-doc/classclassbase-members.html +++ b/docs/module-doc/classclassbase-members.html @@ -9,7 +9,7 @@ ageclassbase classbase()classbase [inline] ~classbase()classbase [inline] -
Generated on Sat Apr 16 14:49:50 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:16 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classclassbase.html b/docs/module-doc/classclassbase.html index f22ff3198..94f5a5d01 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 Sat Apr 16 14:49:50 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:16 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classcommand__t-members.html b/docs/module-doc/classcommand__t-members.html index 05612d4a5..5a0072a7b 100644 --- a/docs/module-doc/classcommand__t-members.html +++ b/docs/module-doc/classcommand__t-members.html @@ -19,7 +19,7 @@ total_bytescommand_t use_countcommand_t ~classbase()classbase [inline] -
Generated on Sat Apr 16 14:49:50 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:16 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classcommand__t.html b/docs/module-doc/classcommand__t.html index 50dc4529e..39633f8b5 100644 --- a/docs/module-doc/classcommand__t.html +++ b/docs/module-doc/classcommand__t.html @@ -227,7 +227,7 @@ Definition at line 43 of
The documentation for this class was generated from the following file: -
Generated on Sat Apr 16 14:49:50 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:16 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classconnection-members.html b/docs/module-doc/classconnection-members.html index d67ab5360..fa5455dae 100644 --- a/docs/module-doc/classconnection-members.html +++ b/docs/module-doc/classconnection-members.html @@ -41,7 +41,7 @@ stateconnection TerminateLink(char *targethost)connection ~classbase()classbase [inline] -
Generated on Sat Apr 16 14:49:51 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:17 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classconnection.html b/docs/module-doc/classconnection.html index e81788950..a99784723 100644 --- a/docs/module-doc/classconnection.html +++ b/docs/module-doc/classconnection.html @@ -675,7 +675,7 @@ File descriptor of the connection.

Definition at line 171 of file connection.h.

-Referenced by ConfigReader::DumpErrors(), Server::PseudoToUser(), Server::SendTo(), serverrec::serverrec(), userrec::userrec(), and Server::UserToPseudo(). +Referenced by ConfigReader::DumpErrors(), Server::PseudoToUser(), Server::SendTo(), serverrec::serverrec(), userrec::userrec(), and Server::UserToPseudo().

@@ -731,7 +731,7 @@ Not used if this is a serverrec

Definition at line 175 of file connection.h.

-Referenced by userrec::GetFullRealHost(), Server::PseudoToUser(), userrec::userrec(), and Server::UserToPseudo(). +Referenced by userrec::GetFullRealHost(), Server::PseudoToUser(), userrec::userrec(), and Server::UserToPseudo().

@@ -1038,7 +1038,7 @@ Definition at line 217


The documentation for this class was generated from the following file: -
Generated on Sat Apr 16 14:49:51 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:17 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classes.html b/docs/module-doc/classes.html index 79e3af170..f73155516 100644 --- a/docs/module-doc/classes.html +++ b/docs/module-doc/classes.html @@ -24,7 +24,7 @@
  Z  
ConnectClass   FileReader   KLine   Server   ZLine   connection   
  G  
  M  
-serverrec   
Generated on Sat Apr 16 14:49:50 2005 for InspIRCd by +serverrec   
Generated on Sat Apr 16 18:57:15 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classircd__connector-members.html b/docs/module-doc/classircd__connector-members.html index 0ccfcd866..7635c1f50 100644 --- a/docs/module-doc/classircd__connector-members.html +++ b/docs/module-doc/classircd__connector-members.html @@ -35,7 +35,7 @@ Shrink(std::string key)Extensible stateircd_connector [private] ~classbase()classbase [inline] -
Generated on Sat Apr 16 14:49:52 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:17 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classircd__connector.html b/docs/module-doc/classircd__connector.html index 11b892fc2..ceb0c24e0 100644 --- a/docs/module-doc/classircd__connector.html +++ b/docs/module-doc/classircd__connector.html @@ -792,7 +792,7 @@ Definition at line 75
The documentation for this class was generated from the following file: -
Generated on Sat Apr 16 14:49:52 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:17 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classserverrec-members.html b/docs/module-doc/classserverrec-members.html index c6bcf0413..da732c3c7 100644 --- a/docs/module-doc/classserverrec-members.html +++ b/docs/module-doc/classserverrec-members.html @@ -55,7 +55,7 @@ versionserverrec ~classbase()classbase [inline] ~serverrec()serverrec -
Generated on Sat Apr 16 14:49:54 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:22 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classserverrec.html b/docs/module-doc/classserverrec.html index ebe08baa8..d2827abf2 100644 --- a/docs/module-doc/classserverrec.html +++ b/docs/module-doc/classserverrec.html @@ -519,7 +519,7 @@ Referenced by serverrec()
The documentation for this class was generated from the following files:
-
Generated on Sat Apr 16 14:49:54 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:22 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classucrec-members.html b/docs/module-doc/classucrec-members.html index ce28f4f5e..eee03d2a5 100644 --- a/docs/module-doc/classucrec-members.html +++ b/docs/module-doc/classucrec-members.html @@ -13,7 +13,7 @@ ucrec()ucrec [inline] ~classbase()classbase [inline] ~ucrec()ucrec [inline, virtual] -
Generated on Sat Apr 16 14:49:54 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:23 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classucrec.html b/docs/module-doc/classucrec.html index 68b0e2344..493503cd1 100644 --- a/docs/module-doc/classucrec.html +++ b/docs/module-doc/classucrec.html @@ -127,7 +127,7 @@ If the record is not in use, this value will be NULL.

Definition at line 213 of file channels.h.

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

@@ -160,7 +160,7 @@ Referenced by userrec::userre


The documentation for this class was generated from the following file: -
Generated on Sat Apr 16 14:49:54 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:23 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classuserrec-members.html b/docs/module-doc/classuserrec-members.html index 1dec0504a..0dd5b8583 100644 --- a/docs/module-doc/classuserrec-members.html +++ b/docs/module-doc/classuserrec-members.html @@ -64,7 +64,7 @@ userrec()userrec ~classbase()classbase [inline] ~userrec()userrec [inline, virtual] -
Generated on Sat Apr 16 14:49:54 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:23 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classuserrec.html b/docs/module-doc/classuserrec.html index 1862b20b3..d733c6e4e 100644 --- a/docs/module-doc/classuserrec.html +++ b/docs/module-doc/classuserrec.html @@ -553,7 +553,7 @@ Referenced by userrec().

Definition at line 127 of file users.h.

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

@@ -693,7 +693,7 @@ The users ident reply.

Definition at line 110 of file users.h.

-Referenced by GetFullHost(), GetFullRealHost(), Server::PseudoToUser(), userrec(), and Server::UserToPseudo(). +Referenced by GetFullHost(), GetFullRealHost(), Server::PseudoToUser(), userrec(), and Server::UserToPseudo().

@@ -777,7 +777,7 @@ An invalid nickname indicates an unregistered connection prior to the NICK comma

Definition at line 106 of file users.h.

-Referenced by ConfigReader::DumpErrors(), GetFullHost(), GetFullRealHost(), Server::PseudoToUser(), Server::QuitUser(), and userrec(). +Referenced by ConfigReader::DumpErrors(), GetFullHost(), GetFullRealHost(), Server::PseudoToUser(), Server::QuitUser(), and userrec().

@@ -920,7 +920,7 @@ Referenced by userrec().


The documentation for this class was generated from the following files: -
Generated on Sat Apr 16 14:49:54 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:23 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/commands_8h-source.html b/docs/module-doc/commands_8h-source.html index 672ad1c3f..d5b5ecff3 100644 --- a/docs/module-doc/commands_8h-source.html +++ b/docs/module-doc/commands_8h-source.html @@ -118,7 +118,7 @@ 00121 long duration(const char* str); 00122 00123 #endif -

Generated on Sat Apr 16 14:49:47 2005 for InspIRCd by +

Generated on Sat Apr 16 18:57:13 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/commands_8h.html b/docs/module-doc/commands_8h.html index 6f8144320..8b1ef1ddb 100644 --- a/docs/module-doc/commands_8h.html +++ b/docs/module-doc/commands_8h.html @@ -207,7 +207,7 @@ Other useful functions.

-Referenced by Server::AddELine(), Server::AddGLine(), Server::AddKLine(), Server::AddQLine(), Server::AddZLine(), and Server::CalcDuration(). +Referenced by Server::AddELine(), Server::AddGLine(), Server::AddKLine(), Server::AddQLine(), Server::AddZLine(), and Server::CalcDuration().

@@ -3722,7 +3722,7 @@ Functions for u:lined servers.

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

@@ -3793,7 +3793,7 @@ Referenced by Server::IsUli -


Generated on Sat Apr 16 14:49:49 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:14 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/connection_8h-source.html b/docs/module-doc/connection_8h-source.html index f4bb8aad2..ecf5b87c2 100644 --- a/docs/module-doc/connection_8h-source.html +++ b/docs/module-doc/connection_8h-source.html @@ -164,7 +164,7 @@ 00293 00294 #endif 00295 -

Generated on Sat Apr 16 14:49:47 2005 for InspIRCd by +

Generated on Sat Apr 16 18:57:13 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/connection_8h.html b/docs/module-doc/connection_8h.html index 385114b19..a88618793 100644 --- a/docs/module-doc/connection_8h.html +++ b/docs/module-doc/connection_8h.html @@ -188,7 +188,7 @@ Definition at line 39 Definition at line 36 of file connection.h. -
Generated on Sat Apr 16 14:49:49 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:14 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/ctables_8h-source.html b/docs/module-doc/ctables_8h-source.html index 1ad31e9bc..b6766405d 100644 --- a/docs/module-doc/ctables_8h-source.html +++ b/docs/module-doc/ctables_8h-source.html @@ -42,7 +42,7 @@ 00051 00052 #endif 00053 -

Generated on Sat Apr 16 14:49:47 2005 for InspIRCd by +

Generated on Sat Apr 16 18:57:13 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/ctables_8h.html b/docs/module-doc/ctables_8h.html index a916fe9a3..8aafcb5c6 100644 --- a/docs/module-doc/ctables_8h.html +++ b/docs/module-doc/ctables_8h.html @@ -17,7 +17,7 @@  A structure that defines a command. More...

-
Generated on Sat Apr 16 14:49:49 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:14 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/dns_8h-source.html b/docs/module-doc/dns_8h-source.html index ce31c0d4d..05c92b218 100644 --- a/docs/module-doc/dns_8h-source.html +++ b/docs/module-doc/dns_8h-source.html @@ -70,7 +70,7 @@ 00093 }; 00094 00095 #endif -

Generated on Sat Apr 16 14:49:47 2005 for InspIRCd by +

Generated on Sat Apr 16 18:57:13 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/dns_8h.html b/docs/module-doc/dns_8h.html index bfd2fd7a4..7d83d390d 100644 --- a/docs/module-doc/dns_8h.html +++ b/docs/module-doc/dns_8h.html @@ -20,7 +20,7 @@ struct  dns_ip4list -
Generated on Sat Apr 16 14:49:49 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:14 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/files.html b/docs/module-doc/files.html index ee8794706..bc10cfacd 100644 --- a/docs/module-doc/files.html +++ b/docs/module-doc/files.html @@ -23,7 +23,7 @@ users.h [code] xline.h [code] -
Generated on Sat Apr 16 14:49:47 2005 for InspIRCd by +
Generated on Sat Apr 16 18:57:12 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/functions.html b/docs/module-doc/functions.html index 617a7e57c..5db86cf84 100644 --- a/docs/module-doc/functions.html +++ b/docs/module-doc/functions.html @@ -197,8 +197,15 @@ Here is a list of all class members with links to the classes they belong to:

Major : Version
  • MakeOutboundConnection() : ircd_connector
  • MatchText() -: Server
  • MeshCookie() -: connection
  • min_params +: Server
  • MeshCheckChan() +: Server
  • MeshCheckCommon() +: Server
  • MeshCookie() +: connection
  • MeshSendAll() +: Server
  • MeshSendAllAlive() +: Server
  • MeshSendAllExcept() +: Server
  • MeshSendCommon() +: Server
  • MeshSendUnicast() +: Server
  • min_params : command_t
  • Minor : Version
  • mode : ModeParameter
  • modechar @@ -210,9 +217,9 @@ Here is a list of all class members with links to the classes they belong to:

    - n -

    -
    Generated on Sat Apr 16 14:49:50 2005 for InspIRCd by +
    Generated on Sat Apr 16 18:57:15 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/functions_func.html b/docs/module-doc/functions_func.html index 99cf6324e..21be9c6ea 100644 --- a/docs/module-doc/functions_func.html +++ b/docs/module-doc/functions_func.html @@ -139,8 +139,15 @@
  • - o - @@ -161,7 +168,8 @@ : Module
  • OnKill() : Module
  • OnLoadModule() : Module
  • OnLocalTopicChange() -: Module
  • OnOper() +: Module
  • OnMeshToken() +: Module
  • OnOper() : Module
  • OnPacketReceive() : Module
  • OnPacketTransmit() : Module
  • OnPreCommand() @@ -262,7 +270,7 @@ : serverrec
  • ~ucrec() : ucrec
  • ~userrec() : userrec -
    Generated on Sat Apr 16 14:49:50 2005 for InspIRCd by +
    Generated on Sat Apr 16 18:57:16 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/functions_vars.html b/docs/module-doc/functions_vars.html index d2e3aea02..26549e3b1 100644 --- a/docs/module-doc/functions_vars.html +++ b/docs/module-doc/functions_vars.html @@ -111,9 +111,9 @@

    - n -

  • -
    Generated on Sat Apr 16 14:49:50 2005 for InspIRCd by +
    Generated on Sat Apr 16 18:57:16 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/globals.html b/docs/module-doc/globals.html index ac7100ceb..96031510c 100644 --- a/docs/module-doc/globals.html +++ b/docs/module-doc/globals.html @@ -334,7 +334,7 @@ Here is a list of all file members with links to the files they belong to:

    zline_make_global() : xline.h
  • zline_set_creation_time() : xline.h -
    Generated on Sat Apr 16 14:49:55 2005 for InspIRCd by +
    Generated on Sat Apr 16 18:57:24 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/globals_defs.html b/docs/module-doc/globals_defs.html index f521a6c70..ddb40056b 100644 --- a/docs/module-doc/globals_defs.html +++ b/docs/module-doc/globals_defs.html @@ -92,7 +92,7 @@ : modules.h
  • VF_STATIC : modules.h
  • VF_VENDOR : modules.h -
    Generated on Sat Apr 16 14:49:55 2005 for InspIRCd by +
    Generated on Sat Apr 16 18:57:24 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/globals_func.html b/docs/module-doc/globals_func.html index 0e78ba126..654fe807c 100644 --- a/docs/module-doc/globals_func.html +++ b/docs/module-doc/globals_func.html @@ -211,7 +211,7 @@
  • zline_make_global() : xline.h
  • zline_set_creation_time() : xline.h -
    Generated on Sat Apr 16 14:49:55 2005 for InspIRCd by +
    Generated on Sat Apr 16 18:57:24 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/globals_type.html b/docs/module-doc/globals_type.html index 318af66d8..5901fd0b1 100644 --- a/docs/module-doc/globals_type.html +++ b/docs/module-doc/globals_type.html @@ -26,7 +26,7 @@ : modules.h
  • user_hash : modules.cpp
  • VoidPointer : base.h -
    Generated on Sat Apr 16 14:49:55 2005 for InspIRCd by +
    Generated on Sat Apr 16 18:57:24 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/globals_vars.html b/docs/module-doc/globals_vars.html index 6810544b4..a279bb7b1 100644 --- a/docs/module-doc/globals_vars.html +++ b/docs/module-doc/globals_vars.html @@ -105,7 +105,7 @@ : modules.cpp
  • WHOWAS_MAX : modules.cpp, channels.cpp
  • WHOWAS_STALE : modules.cpp, channels.cpp -
    Generated on Sat Apr 16 14:49:55 2005 for InspIRCd by +
    Generated on Sat Apr 16 18:57:24 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/hierarchy.html b/docs/module-doc/hierarchy.html index 9c991e955..45473fbb9 100644 --- a/docs/module-doc/hierarchy.html +++ b/docs/module-doc/hierarchy.html @@ -53,7 +53,7 @@
  • nspace::hash< string >
  • StrHashComp -
    Generated on Sat Apr 16 14:49:50 2005 for InspIRCd by +
    Generated on Sat Apr 16 18:57:15 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/main.html b/docs/module-doc/main.html index 89687ec96..0b4e93ba3 100644 --- a/docs/module-doc/main.html +++ b/docs/module-doc/main.html @@ -7,7 +7,7 @@

    InspIRCd Documentation

    -


    Generated on Sat Apr 16 14:49:47 2005 for InspIRCd by +
    Generated on Sat Apr 16 18:57:12 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/message_8h-source.html b/docs/module-doc/message_8h-source.html index 52640fcc9..292887f35 100644 --- a/docs/module-doc/message_8h-source.html +++ b/docs/module-doc/message_8h-source.html @@ -57,7 +57,7 @@ 00050 void send_network_quit(const char* nick, const char* reason); 00051 00052 #endif -

  • Generated on Sat Apr 16 14:49:47 2005 for InspIRCd by +

    Generated on Sat Apr 16 18:57:13 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/message_8h.html b/docs/module-doc/message_8h.html index 44100454f..7b52b9ca5 100644 --- a/docs/module-doc/message_8h.html +++ b/docs/module-doc/message_8h.html @@ -155,7 +155,7 @@

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

    @@ -195,7 +195,7 @@ Referenced by Server::Chang

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

    @@ -331,7 +331,7 @@ Referenced by Server::Chang

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

    @@ -371,7 +371,7 @@ Referenced by Server::ChanM

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

    @@ -449,7 +449,7 @@ Referenced by Server::Commo

    -Referenced by Server::GetUsers(), and Server::IsOnChannel(). +Referenced by Server::GetUsers(), and Server::IsOnChannel().

    @@ -547,7 +547,7 @@ Referenced by Server::GetUs

    -Referenced by Server::GetUsers(), and Server::IsNick(). +Referenced by Server::GetUsers(), and Server::IsNick().

    @@ -674,7 +674,7 @@ Referenced by Server::GetUs

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

    @@ -735,7 +735,7 @@ Referenced by Server::QuitU -


    Generated on Sat Apr 16 14:49:49 2005 for InspIRCd by +
    Generated on Sat Apr 16 18:57:14 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/mode_8h-source.html b/docs/module-doc/mode_8h-source.html index 1693f757d..8a9eb8d8e 100644 --- a/docs/module-doc/mode_8h-source.html +++ b/docs/module-doc/mode_8h-source.html @@ -53,7 +53,7 @@ 00046 00047 00048 #endif -

    Generated on Sat Apr 16 14:49:47 2005 for InspIRCd by +

    Generated on Sat Apr 16 18:57:13 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/mode_8h.html b/docs/module-doc/mode_8h.html index d5a0c07c0..fa9e1fad1 100644 --- a/docs/module-doc/mode_8h.html +++ b/docs/module-doc/mode_8h.html @@ -788,7 +788,7 @@ -
    Generated on Sat Apr 16 14:49:49 2005 for InspIRCd by +
    Generated on Sat Apr 16 18:57:15 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/modules_8cpp-source.html b/docs/module-doc/modules_8cpp-source.html index 5d45f4d06..35bab1de2 100644 --- a/docs/module-doc/modules_8cpp-source.html +++ b/docs/module-doc/modules_8cpp-source.html @@ -353,575 +353,620 @@ 00346 int Module::OnChangeLocalUserHost(userrec* user, std::string newhost) { return 0; }; 00347 int Module::OnChangeLocalUserGECOS(userrec* user, std::string newhost) { return 0; }; 00348 int Module::OnLocalTopicChange(userrec* user, chanrec* chan, std::string topic) { return 0; }; -00349 -00350 // server is a wrapper class that provides methods to all of the C-style -00351 // exports in the core -00352 // -00353 -00354 Server::Server() -00355 { -00356 } -00357 -00358 Server::~Server() -00359 { -00360 } -00361 -00362 void Server::SendOpers(std::string s) -00363 { -00364 WriteOpers("%s",s.c_str()); -00365 } -00366 -00367 bool Server::MatchText(std::string sliteral, std::string spattern) -00368 { -00369 char literal[MAXBUF],pattern[MAXBUF]; -00370 strlcpy(literal,sliteral.c_str(),MAXBUF); -00371 strlcpy(pattern,spattern.c_str(),MAXBUF); -00372 return match(literal,pattern); -00373 } -00374 -00375 void Server::SendToModeMask(std::string modes, int flags, std::string text) -00376 { -00377 WriteMode(modes.c_str(),flags,"%s",text.c_str()); -00378 } -00379 -00380 chanrec* Server::JoinUserToChannel(userrec* user, std::string cname, std::string key) -00381 { -00382 return add_channel(user,cname.c_str(),key.c_str(),true); -00383 } -00384 -00385 chanrec* Server::PartUserFromChannel(userrec* user, std::string cname, std::string reason) -00386 { -00387 return del_channel(user,cname.c_str(),reason.c_str(),false); -00388 } -00389 -00390 chanuserlist Server::GetUsers(chanrec* chan) -00391 { -00392 chanuserlist userl; -00393 userl.clear(); -00394 for (user_hash::const_iterator i = clientlist.begin(); i != clientlist.end(); i++) -00395 { -00396 if (i->second) -00397 { -00398 if (has_channel(i->second,chan)) -00399 { -00400 if (isnick(i->second->nick)) -00401 { -00402 userl.push_back(i->second); -00403 } -00404 } -00405 } -00406 } -00407 return userl; -00408 } -00409 void Server::ChangeUserNick(userrec* user, std::string nickname) -00410 { -00411 force_nickchange(user,nickname.c_str()); -00412 } -00413 -00414 void Server::QuitUser(userrec* user, std::string reason) -00415 { -00416 send_network_quit(user->nick,reason.c_str()); -00417 kill_link(user,reason.c_str()); -00418 } -00419 -00420 bool Server::IsUlined(std::string server) -00421 { -00422 return is_uline(server.c_str()); -00423 } -00424 -00425 void Server::CallCommandHandler(std::string commandname, char** parameters, int pcnt, userrec* user) -00426 { -00427 call_handler(commandname.c_str(),parameters,pcnt,user); -00428 } -00429 -00430 void Server::Log(int level, std::string s) -00431 { -00432 log(level,"%s",s.c_str()); -00433 } -00434 -00435 void Server::AddCommand(char* cmd, handlerfunc f, char flags, int minparams, char* source) -00436 { -00437 createcommand(cmd,f,flags,minparams,source); -00438 } -00439 -00440 void Server::SendMode(char **parameters, int pcnt, userrec *user) -00441 { -00442 server_mode(parameters,pcnt,user); -00443 } -00444 -00445 void Server::Send(int Socket, std::string s) -00446 { -00447 Write(Socket,"%s",s.c_str()); -00448 } -00449 -00450 void Server::SendServ(int Socket, std::string s) -00451 { -00452 WriteServ(Socket,"%s",s.c_str()); -00453 } -00454 -00455 void Server::SendFrom(int Socket, userrec* User, std::string s) -00456 { -00457 WriteFrom(Socket,User,"%s",s.c_str()); -00458 } -00459 -00460 void Server::SendTo(userrec* Source, userrec* Dest, std::string s) -00461 { -00462 if (!Source) -00463 { -00464 // if source is NULL, then the message originates from the local server -00465 Write(Dest->fd,":%s %s",this->GetServerName().c_str(),s.c_str()); -00466 } -00467 else -00468 { -00469 // otherwise it comes from the user specified -00470 WriteTo(Source,Dest,"%s",s.c_str()); -00471 } -00472 } -00473 -00474 void Server::SendChannel(userrec* User, chanrec* Channel, std::string s,bool IncludeSender) -00475 { -00476 if (IncludeSender) -00477 { -00478 WriteChannel(Channel,User,"%s",s.c_str()); -00479 } -00480 else -00481 { -00482 ChanExceptSender(Channel,User,"%s",s.c_str()); -00483 } -00484 } -00485 -00486 bool Server::CommonChannels(userrec* u1, userrec* u2) -00487 { -00488 return (common_channels(u1,u2) != 0); -00489 } -00490 -00491 void Server::SendCommon(userrec* User, std::string text,bool IncludeSender) -00492 { -00493 if (IncludeSender) -00494 { -00495 WriteCommon(User,"%s",text.c_str()); -00496 } -00497 else -00498 { -00499 WriteCommonExcept(User,"%s",text.c_str()); -00500 } -00501 } -00502 -00503 void Server::SendWallops(userrec* User, std::string text) -00504 { -00505 WriteWallOps(User,false,"%s",text.c_str()); -00506 } -00507 -00508 void Server::ChangeHost(userrec* user, std::string host) -00509 { -00510 ChangeDisplayedHost(user,host.c_str()); -00511 } -00512 -00513 void Server::ChangeGECOS(userrec* user, std::string gecos) -00514 { -00515 ChangeName(user,gecos.c_str()); -00516 } -00517 -00518 bool Server::IsNick(std::string nick) -00519 { -00520 return (isnick(nick.c_str()) != 0); -00521 } -00522 -00523 userrec* Server::FindNick(std::string nick) -00524 { -00525 return Find(nick); -00526 } -00527 -00528 chanrec* Server::FindChannel(std::string channel) -00529 { -00530 return FindChan(channel.c_str()); -00531 } -00532 -00533 std::string Server::ChanMode(userrec* User, chanrec* Chan) -00534 { -00535 return cmode(User,Chan); -00536 } -00537 -00538 bool Server::IsOnChannel(userrec* User, chanrec* Chan) -00539 { -00540 return has_channel(User,Chan); -00541 } -00542 -00543 std::string Server::GetServerName() -00544 { -00545 return getservername(); -00546 } -00547 -00548 std::string Server::GetNetworkName() -00549 { -00550 return getnetworkname(); -00551 } -00552 -00553 Admin Server::GetAdmin() -00554 { -00555 return Admin(getadminname(),getadminemail(),getadminnick()); -00556 } -00557 +00349 int Module::OnMeshToken(char token,string_list params,serverrec* source,serverrec* reply, std::string tcp_host,std::string ipaddr,int port) { return 0; }; +00350 +00351 // server is a wrapper class that provides methods to all of the C-style +00352 // exports in the core +00353 // +00354 +00355 Server::Server() +00356 { +00357 } +00358 +00359 Server::~Server() +00360 { +00361 } +00362 +00363 void Server::SendOpers(std::string s) +00364 { +00365 WriteOpers("%s",s.c_str()); +00366 } +00367 +00368 bool Server::MatchText(std::string sliteral, std::string spattern) +00369 { +00370 char literal[MAXBUF],pattern[MAXBUF]; +00371 strlcpy(literal,sliteral.c_str(),MAXBUF); +00372 strlcpy(pattern,spattern.c_str(),MAXBUF); +00373 return match(literal,pattern); +00374 } +00375 +00376 void Server::SendToModeMask(std::string modes, int flags, std::string text) +00377 { +00378 WriteMode(modes.c_str(),flags,"%s",text.c_str()); +00379 } +00380 +00381 chanrec* Server::JoinUserToChannel(userrec* user, std::string cname, std::string key) +00382 { +00383 return add_channel(user,cname.c_str(),key.c_str(),true); +00384 } +00385 +00386 chanrec* Server::PartUserFromChannel(userrec* user, std::string cname, std::string reason) +00387 { +00388 return del_channel(user,cname.c_str(),reason.c_str(),false); +00389 } +00390 +00391 chanuserlist Server::GetUsers(chanrec* chan) +00392 { +00393 chanuserlist userl; +00394 userl.clear(); +00395 for (user_hash::const_iterator i = clientlist.begin(); i != clientlist.end(); i++) +00396 { +00397 if (i->second) +00398 { +00399 if (has_channel(i->second,chan)) +00400 { +00401 if (isnick(i->second->nick)) +00402 { +00403 userl.push_back(i->second); +00404 } +00405 } +00406 } +00407 } +00408 return userl; +00409 } +00410 void Server::ChangeUserNick(userrec* user, std::string nickname) +00411 { +00412 force_nickchange(user,nickname.c_str()); +00413 } +00414 +00415 void Server::QuitUser(userrec* user, std::string reason) +00416 { +00417 send_network_quit(user->nick,reason.c_str()); +00418 kill_link(user,reason.c_str()); +00419 } +00420 +00421 bool Server::IsUlined(std::string server) +00422 { +00423 return is_uline(server.c_str()); +00424 } +00425 +00426 void Server::CallCommandHandler(std::string commandname, char** parameters, int pcnt, userrec* user) +00427 { +00428 call_handler(commandname.c_str(),parameters,pcnt,user); +00429 } +00430 +00431 void Server::Log(int level, std::string s) +00432 { +00433 log(level,"%s",s.c_str()); +00434 } +00435 +00436 void Server::AddCommand(char* cmd, handlerfunc f, char flags, int minparams, char* source) +00437 { +00438 createcommand(cmd,f,flags,minparams,source); +00439 } +00440 +00441 void Server::SendMode(char **parameters, int pcnt, userrec *user) +00442 { +00443 server_mode(parameters,pcnt,user); +00444 } +00445 +00446 void Server::Send(int Socket, std::string s) +00447 { +00448 Write(Socket,"%s",s.c_str()); +00449 } +00450 +00451 void Server::SendServ(int Socket, std::string s) +00452 { +00453 WriteServ(Socket,"%s",s.c_str()); +00454 } +00455 +00456 void Server::SendFrom(int Socket, userrec* User, std::string s) +00457 { +00458 WriteFrom(Socket,User,"%s",s.c_str()); +00459 } +00460 +00461 void Server::SendTo(userrec* Source, userrec* Dest, std::string s) +00462 { +00463 if (!Source) +00464 { +00465 // if source is NULL, then the message originates from the local server +00466 Write(Dest->fd,":%s %s",this->GetServerName().c_str(),s.c_str()); +00467 } +00468 else +00469 { +00470 // otherwise it comes from the user specified +00471 WriteTo(Source,Dest,"%s",s.c_str()); +00472 } +00473 } +00474 +00475 void Server::SendChannel(userrec* User, chanrec* Channel, std::string s,bool IncludeSender) +00476 { +00477 if (IncludeSender) +00478 { +00479 WriteChannel(Channel,User,"%s",s.c_str()); +00480 } +00481 else +00482 { +00483 ChanExceptSender(Channel,User,"%s",s.c_str()); +00484 } +00485 } +00486 +00487 bool Server::CommonChannels(userrec* u1, userrec* u2) +00488 { +00489 return (common_channels(u1,u2) != 0); +00490 } +00491 +00492 void Server::SendCommon(userrec* User, std::string text,bool IncludeSender) +00493 { +00494 if (IncludeSender) +00495 { +00496 WriteCommon(User,"%s",text.c_str()); +00497 } +00498 else +00499 { +00500 WriteCommonExcept(User,"%s",text.c_str()); +00501 } +00502 } +00503 +00504 void Server::SendWallops(userrec* User, std::string text) +00505 { +00506 WriteWallOps(User,false,"%s",text.c_str()); +00507 } +00508 +00509 void Server::ChangeHost(userrec* user, std::string host) +00510 { +00511 ChangeDisplayedHost(user,host.c_str()); +00512 } +00513 +00514 void Server::ChangeGECOS(userrec* user, std::string gecos) +00515 { +00516 ChangeName(user,gecos.c_str()); +00517 } +00518 +00519 bool Server::IsNick(std::string nick) +00520 { +00521 return (isnick(nick.c_str()) != 0); +00522 } +00523 +00524 userrec* Server::FindNick(std::string nick) +00525 { +00526 return Find(nick); +00527 } +00528 +00529 chanrec* Server::FindChannel(std::string channel) +00530 { +00531 return FindChan(channel.c_str()); +00532 } +00533 +00534 std::string Server::ChanMode(userrec* User, chanrec* Chan) +00535 { +00536 return cmode(User,Chan); +00537 } +00538 +00539 bool Server::IsOnChannel(userrec* User, chanrec* Chan) +00540 { +00541 return has_channel(User,Chan); +00542 } +00543 +00544 std::string Server::GetServerName() +00545 { +00546 return getservername(); +00547 } +00548 +00549 std::string Server::GetNetworkName() +00550 { +00551 return getnetworkname(); +00552 } +00553 +00554 Admin Server::GetAdmin() +00555 { +00556 return Admin(getadminname(),getadminemail(),getadminnick()); +00557 } 00558 00559 -00560 bool Server::AddExtendedMode(char modechar, int type, bool requires_oper, int params_when_on, int params_when_off) -00561 { -00562 if (type == MT_SERVER) -00563 { -00564 log(DEBUG,"*** API ERROR *** Modes of type MT_SERVER are reserved for future expansion"); -00565 return false; -00566 } -00567 if (((params_when_on>0) || (params_when_off>0)) && (type == MT_CLIENT)) -00568 { -00569 log(DEBUG,"*** API ERROR *** Parameters on MT_CLIENT modes are not supported"); -00570 return false; -00571 } -00572 if ((params_when_on>1) || (params_when_off>1)) -00573 { -00574 log(DEBUG,"*** API ERROR *** More than one parameter for an MT_CHANNEL mode is not yet supported"); -00575 return false; -00576 } -00577 return DoAddExtendedMode(modechar,type,requires_oper,params_when_on,params_when_off); -00578 } -00579 -00580 bool Server::AddExtendedListMode(char modechar) -00581 { -00582 bool res = DoAddExtendedMode(modechar,MT_CHANNEL,false,1,1); -00583 if (res) -00584 ModeMakeList(modechar); -00585 return res; -00586 } -00587 -00588 int Server::CountUsers(chanrec* c) -00589 { -00590 return usercount(c); -00591 } -00592 +00560 +00561 bool Server::AddExtendedMode(char modechar, int type, bool requires_oper, int params_when_on, int params_when_off) +00562 { +00563 if (type == MT_SERVER) +00564 { +00565 log(DEBUG,"*** API ERROR *** Modes of type MT_SERVER are reserved for future expansion"); +00566 return false; +00567 } +00568 if (((params_when_on>0) || (params_when_off>0)) && (type == MT_CLIENT)) +00569 { +00570 log(DEBUG,"*** API ERROR *** Parameters on MT_CLIENT modes are not supported"); +00571 return false; +00572 } +00573 if ((params_when_on>1) || (params_when_off>1)) +00574 { +00575 log(DEBUG,"*** API ERROR *** More than one parameter for an MT_CHANNEL mode is not yet supported"); +00576 return false; +00577 } +00578 return DoAddExtendedMode(modechar,type,requires_oper,params_when_on,params_when_off); +00579 } +00580 +00581 bool Server::AddExtendedListMode(char modechar) +00582 { +00583 bool res = DoAddExtendedMode(modechar,MT_CHANNEL,false,1,1); +00584 if (res) +00585 ModeMakeList(modechar); +00586 return res; +00587 } +00588 +00589 int Server::CountUsers(chanrec* c) +00590 { +00591 return usercount(c); +00592 } 00593 -00594 bool Server::UserToPseudo(userrec* user,std::string message) -00595 { -00596 unsigned int old_fd = user->fd; -00597 user->fd = FD_MAGIC_NUMBER; -00598 Write(old_fd,"ERROR :Closing link (%s@%s) [%s]",user->ident,user->host,message.c_str()); -00599 close(old_fd); -00600 shutdown (old_fd,2); -00601 } -00602 -00603 bool Server::PseudoToUser(userrec* alive,userrec* zombie,std::string message) -00604 { -00605 zombie->fd = alive->fd; -00606 alive->fd = FD_MAGIC_NUMBER; -00607 Write(zombie->fd,":%s!%s@%s NICK %s",alive->nick,alive->ident,alive->host,zombie->nick); -00608 kill_link(alive,message.c_str()); -00609 for (int i = 0; i != MAXCHANS; i++) -00610 { -00611 if (zombie->chans[i].channel != NULL) -00612 { -00613 if (zombie->chans[i].channel->name) -00614 { -00615 chanrec* Ptr = zombie->chans[i].channel; -00616 WriteFrom(zombie->fd,zombie,"JOIN %s",Ptr->name); -00617 if (Ptr->topicset) -00618 { -00619 WriteServ(zombie->fd,"332 %s %s :%s", zombie->nick, Ptr->name, Ptr->topic); -00620 WriteServ(zombie->fd,"333 %s %s %s %d", zombie->nick, Ptr->name, Ptr->setby, Ptr->topicset); -00621 } -00622 userlist(zombie,Ptr); -00623 WriteServ(zombie->fd,"366 %s %s :End of /NAMES list.", zombie->nick, Ptr->name); -00624 WriteServ(zombie->fd,"324 %s %s +%s",zombie->nick, Ptr->name,chanmodes(Ptr)); -00625 WriteServ(zombie->fd,"329 %s %s %d", zombie->nick, Ptr->name, Ptr->created); -00626 -00627 } -00628 } -00629 } -00630 -00631 } -00632 -00633 void Server::AddGLine(long duration, std::string source, std::string reason, std::string hostmask) -00634 { -00635 add_gline(duration, source.c_str(), reason.c_str(), hostmask.c_str()); -00636 } -00637 -00638 void Server::AddQLine(long duration, std::string source, std::string reason, std::string nickname) -00639 { -00640 add_qline(duration, source.c_str(), reason.c_str(), nickname.c_str()); -00641 } -00642 -00643 void Server::AddZLine(long duration, std::string source, std::string reason, std::string ipaddr) -00644 { -00645 add_zline(duration, source.c_str(), reason.c_str(), ipaddr.c_str()); -00646 } -00647 -00648 void Server::AddKLine(long duration, std::string source, std::string reason, std::string hostmask) -00649 { -00650 add_kline(duration, source.c_str(), reason.c_str(), hostmask.c_str()); -00651 } -00652 -00653 void Server::AddELine(long duration, std::string source, std::string reason, std::string hostmask) -00654 { -00655 add_eline(duration, source.c_str(), reason.c_str(), hostmask.c_str()); -00656 } -00657 -00658 bool Server::DelGLine(std::string hostmask) -00659 { -00660 del_gline(hostmask.c_str()); -00661 } -00662 -00663 bool Server::DelQLine(std::string nickname) -00664 { -00665 del_qline(nickname.c_str()); -00666 } -00667 -00668 bool Server::DelZLine(std::string ipaddr) -00669 { -00670 del_zline(ipaddr.c_str()); -00671 } -00672 -00673 bool Server::DelKLine(std::string hostmask) -00674 { -00675 del_kline(hostmask.c_str()); -00676 } -00677 -00678 bool Server::DelELine(std::string hostmask) -00679 { -00680 del_eline(hostmask.c_str()); -00681 } -00682 -00683 long Server::CalcDuration(std::string delta) -00684 { -00685 return duration(delta.c_str()); -00686 } -00687 -00688 bool Server::IsValidMask(std::string mask) -00689 { -00690 const char* dest = mask.c_str(); -00691 if (strchr(dest,'!')==0) -00692 return false; -00693 if (strchr(dest,'@')==0) -00694 return false; -00695 for (int i = 0; i < strlen(dest); i++) -00696 if (dest[i] < 32) -00697 return false; -00698 for (int i = 0; i < strlen(dest); i++) -00699 if (dest[i] > 126) -00700 return false; -00701 int c = 0; -00702 for (int i = 0; i < strlen(dest); i++) -00703 if (dest[i] == '!') -00704 c++; -00705 if (c>1) -00706 return false; -00707 c = 0; -00708 for (int i = 0; i < strlen(dest); i++) -00709 if (dest[i] == '@') -00710 c++; -00711 if (c>1) -00712 return false; -00713 -00714 return true; -00715 } -00716 -00717 ConfigReader::ConfigReader() -00718 { -00719 this->cache = new std::stringstream(std::stringstream::in | std::stringstream::out); -00720 this->errorlog = new std::stringstream(std::stringstream::in | std::stringstream::out); -00721 this->readerror = LoadConf(CONFIG_FILE,this->cache,this->errorlog); -00722 if (!this->readerror) -00723 this->error = CONF_FILE_NOT_FOUND; -00724 } -00725 -00726 -00727 ConfigReader::~ConfigReader() -00728 { -00729 if (this->cache) -00730 delete this->cache; -00731 if (this->errorlog) -00732 delete this->errorlog; -00733 } -00734 -00735 -00736 ConfigReader::ConfigReader(std::string filename) -00737 { -00738 this->cache = new std::stringstream(std::stringstream::in | std::stringstream::out); -00739 this->errorlog = new std::stringstream(std::stringstream::in | std::stringstream::out); -00740 this->readerror = LoadConf(filename.c_str(),this->cache,this->errorlog); -00741 if (!this->readerror) -00742 this->error = CONF_FILE_NOT_FOUND; -00743 }; -00744 -00745 std::string ConfigReader::ReadValue(std::string tag, std::string name, int index) -00746 { -00747 char val[MAXBUF]; -00748 char t[MAXBUF]; -00749 char n[MAXBUF]; -00750 strlcpy(t,tag.c_str(),MAXBUF); -00751 strlcpy(n,name.c_str(),MAXBUF); -00752 int res = ReadConf(cache,t,n,index,val); -00753 if (!res) -00754 { -00755 this->error = CONF_VALUE_NOT_FOUND; -00756 return ""; -00757 } -00758 return std::string(val); -00759 } -00760 -00761 bool ConfigReader::ReadFlag(std::string tag, std::string name, int index) -00762 { -00763 char val[MAXBUF]; -00764 char t[MAXBUF]; -00765 char n[MAXBUF]; -00766 strlcpy(t,tag.c_str(),MAXBUF); -00767 strlcpy(n,name.c_str(),MAXBUF); -00768 int res = ReadConf(cache,t,n,index,val); -00769 if (!res) -00770 { -00771 this->error = CONF_VALUE_NOT_FOUND; -00772 return false; -00773 } -00774 std::string s = val; -00775 return ((s == "yes") || (s == "YES") || (s == "true") || (s == "TRUE") || (s == "1")); -00776 } -00777 -00778 long ConfigReader::ReadInteger(std::string tag, std::string name, int index, bool needs_unsigned) -00779 { -00780 char val[MAXBUF]; -00781 char t[MAXBUF]; -00782 char n[MAXBUF]; -00783 strlcpy(t,tag.c_str(),MAXBUF); -00784 strlcpy(n,name.c_str(),MAXBUF); -00785 int res = ReadConf(cache,t,n,index,val); -00786 if (!res) -00787 { -00788 this->error = CONF_VALUE_NOT_FOUND; -00789 return 0; -00790 } -00791 for (int i = 0; i < strlen(val); i++) -00792 { -00793 if (!isdigit(val[i])) -00794 { -00795 this->error = CONF_NOT_A_NUMBER; -00796 return 0; -00797 } -00798 } -00799 if ((needs_unsigned) && (atoi(val)<0)) -00800 { -00801 this->error = CONF_NOT_UNSIGNED; -00802 return 0; -00803 } -00804 return atoi(val); -00805 } -00806 -00807 long ConfigReader::GetError() -00808 { -00809 long olderr = this->error; -00810 this->error = 0; -00811 return olderr; -00812 } -00813 -00814 void ConfigReader::DumpErrors(bool bail, userrec* user) -00815 { -00816 if (bail) -00817 { -00818 printf("There were errors in your configuration:\n%s",errorlog->str().c_str()); -00819 exit(0); -00820 } -00821 else -00822 { -00823 char dataline[1024]; -00824 if (user) -00825 { -00826 WriteServ(user->fd,"NOTICE %s :There were errors in the configuration file:",user->nick); -00827 while (!errorlog->eof()) -00828 { -00829 errorlog->getline(dataline,1024); -00830 WriteServ(user->fd,"NOTICE %s :%s",user->nick,dataline); -00831 } -00832 } -00833 else -00834 { -00835 WriteOpers("There were errors in the configuration file:",user->nick); -00836 while (!errorlog->eof()) -00837 { -00838 errorlog->getline(dataline,1024); -00839 WriteOpers(dataline); -00840 } -00841 } -00842 return; +00594 +00595 bool Server::UserToPseudo(userrec* user,std::string message) +00596 { +00597 unsigned int old_fd = user->fd; +00598 user->fd = FD_MAGIC_NUMBER; +00599 Write(old_fd,"ERROR :Closing link (%s@%s) [%s]",user->ident,user->host,message.c_str()); +00600 close(old_fd); +00601 shutdown (old_fd,2); +00602 } +00603 +00604 bool Server::PseudoToUser(userrec* alive,userrec* zombie,std::string message) +00605 { +00606 zombie->fd = alive->fd; +00607 alive->fd = FD_MAGIC_NUMBER; +00608 Write(zombie->fd,":%s!%s@%s NICK %s",alive->nick,alive->ident,alive->host,zombie->nick); +00609 kill_link(alive,message.c_str()); +00610 for (int i = 0; i != MAXCHANS; i++) +00611 { +00612 if (zombie->chans[i].channel != NULL) +00613 { +00614 if (zombie->chans[i].channel->name) +00615 { +00616 chanrec* Ptr = zombie->chans[i].channel; +00617 WriteFrom(zombie->fd,zombie,"JOIN %s",Ptr->name); +00618 if (Ptr->topicset) +00619 { +00620 WriteServ(zombie->fd,"332 %s %s :%s", zombie->nick, Ptr->name, Ptr->topic); +00621 WriteServ(zombie->fd,"333 %s %s %s %d", zombie->nick, Ptr->name, Ptr->setby, Ptr->topicset); +00622 } +00623 userlist(zombie,Ptr); +00624 WriteServ(zombie->fd,"366 %s %s :End of /NAMES list.", zombie->nick, Ptr->name); +00625 WriteServ(zombie->fd,"324 %s %s +%s",zombie->nick, Ptr->name,chanmodes(Ptr)); +00626 WriteServ(zombie->fd,"329 %s %s %d", zombie->nick, Ptr->name, Ptr->created); +00627 +00628 } +00629 } +00630 } +00631 +00632 } +00633 +00634 void Server::AddGLine(long duration, std::string source, std::string reason, std::string hostmask) +00635 { +00636 add_gline(duration, source.c_str(), reason.c_str(), hostmask.c_str()); +00637 } +00638 +00639 void Server::AddQLine(long duration, std::string source, std::string reason, std::string nickname) +00640 { +00641 add_qline(duration, source.c_str(), reason.c_str(), nickname.c_str()); +00642 } +00643 +00644 void Server::AddZLine(long duration, std::string source, std::string reason, std::string ipaddr) +00645 { +00646 add_zline(duration, source.c_str(), reason.c_str(), ipaddr.c_str()); +00647 } +00648 +00649 void Server::AddKLine(long duration, std::string source, std::string reason, std::string hostmask) +00650 { +00651 add_kline(duration, source.c_str(), reason.c_str(), hostmask.c_str()); +00652 } +00653 +00654 void Server::AddELine(long duration, std::string source, std::string reason, std::string hostmask) +00655 { +00656 add_eline(duration, source.c_str(), reason.c_str(), hostmask.c_str()); +00657 } +00658 +00659 bool Server::DelGLine(std::string hostmask) +00660 { +00661 del_gline(hostmask.c_str()); +00662 } +00663 +00664 bool Server::DelQLine(std::string nickname) +00665 { +00666 del_qline(nickname.c_str()); +00667 } +00668 +00669 bool Server::DelZLine(std::string ipaddr) +00670 { +00671 del_zline(ipaddr.c_str()); +00672 } +00673 +00674 bool Server::DelKLine(std::string hostmask) +00675 { +00676 del_kline(hostmask.c_str()); +00677 } +00678 +00679 bool Server::DelELine(std::string hostmask) +00680 { +00681 del_eline(hostmask.c_str()); +00682 } +00683 +00684 long Server::CalcDuration(std::string delta) +00685 { +00686 return duration(delta.c_str()); +00687 } +00688 +00689 bool Server::IsValidMask(std::string mask) +00690 { +00691 const char* dest = mask.c_str(); +00692 if (strchr(dest,'!')==0) +00693 return false; +00694 if (strchr(dest,'@')==0) +00695 return false; +00696 for (int i = 0; i < strlen(dest); i++) +00697 if (dest[i] < 32) +00698 return false; +00699 for (int i = 0; i < strlen(dest); i++) +00700 if (dest[i] > 126) +00701 return false; +00702 int c = 0; +00703 for (int i = 0; i < strlen(dest); i++) +00704 if (dest[i] == '!') +00705 c++; +00706 if (c>1) +00707 return false; +00708 c = 0; +00709 for (int i = 0; i < strlen(dest); i++) +00710 if (dest[i] == '@') +00711 c++; +00712 if (c>1) +00713 return false; +00714 +00715 return true; +00716 } +00717 +00718 void Server::MeshSendAll(std::string text) +00719 { +00720 NetSendToAll((char*)text.c_str()); +00721 } +00722 +00723 void Server::MeshSendCommon(userrec* user, std::string text) +00724 { +00725 if (user) +00726 NetSendToCommon(user,(char*)text.c_str()); +00727 } +00728 +00729 void Server::MeshSendAllAlive(std::string text) +00730 { +00731 NetSendToAllAlive((char*)text.c_str()); +00732 } +00733 +00734 void Server::MeshSendUnicast(std::string destination, std::string text) +00735 { +00736 NetSendToOne((char*)destination.c_str(),(char*)text.c_str()); +00737 } +00738 +00739 void Server::MeshSendAllExcept(std::string target, std::string text) +00740 { +00741 NetSendToAllExcept(target.c_str(),(char*)text.c_str()); +00742 } +00743 +00744 bool Server::MeshCheckChan(chanrec *c,std::string servername) +00745 { +00746 if (c) +00747 { +00748 return ChanAnyOnThisServer(c,(char*)servername.c_str()); +00749 } +00750 else return false; +00751 } +00752 +00753 bool Server::MeshCheckCommon(userrec* u,std::string servername) +00754 { +00755 if (u) +00756 { +00757 return CommonOnThisServer(u,(char*)servername.c_str()); +00758 } +00759 else return false; +00760 } +00761 +00762 ConfigReader::ConfigReader() +00763 { +00764 this->cache = new std::stringstream(std::stringstream::in | std::stringstream::out); +00765 this->errorlog = new std::stringstream(std::stringstream::in | std::stringstream::out); +00766 this->readerror = LoadConf(CONFIG_FILE,this->cache,this->errorlog); +00767 if (!this->readerror) +00768 this->error = CONF_FILE_NOT_FOUND; +00769 } +00770 +00771 +00772 ConfigReader::~ConfigReader() +00773 { +00774 if (this->cache) +00775 delete this->cache; +00776 if (this->errorlog) +00777 delete this->errorlog; +00778 } +00779 +00780 +00781 ConfigReader::ConfigReader(std::string filename) +00782 { +00783 this->cache = new std::stringstream(std::stringstream::in | std::stringstream::out); +00784 this->errorlog = new std::stringstream(std::stringstream::in | std::stringstream::out); +00785 this->readerror = LoadConf(filename.c_str(),this->cache,this->errorlog); +00786 if (!this->readerror) +00787 this->error = CONF_FILE_NOT_FOUND; +00788 }; +00789 +00790 std::string ConfigReader::ReadValue(std::string tag, std::string name, int index) +00791 { +00792 char val[MAXBUF]; +00793 char t[MAXBUF]; +00794 char n[MAXBUF]; +00795 strlcpy(t,tag.c_str(),MAXBUF); +00796 strlcpy(n,name.c_str(),MAXBUF); +00797 int res = ReadConf(cache,t,n,index,val); +00798 if (!res) +00799 { +00800 this->error = CONF_VALUE_NOT_FOUND; +00801 return ""; +00802 } +00803 return std::string(val); +00804 } +00805 +00806 bool ConfigReader::ReadFlag(std::string tag, std::string name, int index) +00807 { +00808 char val[MAXBUF]; +00809 char t[MAXBUF]; +00810 char n[MAXBUF]; +00811 strlcpy(t,tag.c_str(),MAXBUF); +00812 strlcpy(n,name.c_str(),MAXBUF); +00813 int res = ReadConf(cache,t,n,index,val); +00814 if (!res) +00815 { +00816 this->error = CONF_VALUE_NOT_FOUND; +00817 return false; +00818 } +00819 std::string s = val; +00820 return ((s == "yes") || (s == "YES") || (s == "true") || (s == "TRUE") || (s == "1")); +00821 } +00822 +00823 long ConfigReader::ReadInteger(std::string tag, std::string name, int index, bool needs_unsigned) +00824 { +00825 char val[MAXBUF]; +00826 char t[MAXBUF]; +00827 char n[MAXBUF]; +00828 strlcpy(t,tag.c_str(),MAXBUF); +00829 strlcpy(n,name.c_str(),MAXBUF); +00830 int res = ReadConf(cache,t,n,index,val); +00831 if (!res) +00832 { +00833 this->error = CONF_VALUE_NOT_FOUND; +00834 return 0; +00835 } +00836 for (int i = 0; i < strlen(val); i++) +00837 { +00838 if (!isdigit(val[i])) +00839 { +00840 this->error = CONF_NOT_A_NUMBER; +00841 return 0; +00842 } 00843 } -00844 } -00845 -00846 -00847 int ConfigReader::Enumerate(std::string tag) -00848 { -00849 return EnumConf(cache,tag.c_str()); +00844 if ((needs_unsigned) && (atoi(val)<0)) +00845 { +00846 this->error = CONF_NOT_UNSIGNED; +00847 return 0; +00848 } +00849 return atoi(val); 00850 } 00851 -00852 int ConfigReader::EnumerateValues(std::string tag, int index) +00852 long ConfigReader::GetError() 00853 { -00854 return EnumValues(cache, tag.c_str(), index); -00855 } -00856 -00857 bool ConfigReader::Verify() -00858 { -00859 return this->readerror; -00860 } -00861 -00862 -00863 FileReader::FileReader(std::string filename) -00864 { -00865 file_cache c; -00866 readfile(c,filename.c_str()); -00867 this->fc = c; -00868 } -00869 -00870 FileReader::FileReader() -00871 { -00872 } -00873 -00874 void FileReader::LoadFile(std::string filename) -00875 { -00876 file_cache c; -00877 readfile(c,filename.c_str()); -00878 this->fc = c; -00879 } -00880 -00881 -00882 FileReader::~FileReader() -00883 { -00884 } -00885 -00886 bool FileReader::Exists() -00887 { -00888 if (fc.size() == 0) -00889 { -00890 return(false); -00891 } -00892 else -00893 { -00894 return(true); -00895 } -00896 } -00897 -00898 std::string FileReader::GetLine(int x) -00899 { -00900 if ((x<0) || (x>fc.size())) -00901 return ""; -00902 return fc[x]; -00903 } -00904 -00905 int FileReader::FileSize() -00906 { -00907 return fc.size(); -00908 } -00909 -00910 -00911 std::vector<Module*> modules(255); -00912 std::vector<ircd_module*> factory(255); -00913 -00914 int MODCOUNT = -1; -00915 -00916 -

    Generated on Sat Apr 16 14:49:48 2005 for InspIRCd by +00854 long olderr = this->error; +00855 this->error = 0; +00856 return olderr; +00857 } +00858 +00859 void ConfigReader::DumpErrors(bool bail, userrec* user) +00860 { +00861 if (bail) +00862 { +00863 printf("There were errors in your configuration:\n%s",errorlog->str().c_str()); +00864 exit(0); +00865 } +00866 else +00867 { +00868 char dataline[1024]; +00869 if (user) +00870 { +00871 WriteServ(user->fd,"NOTICE %s :There were errors in the configuration file:",user->nick); +00872 while (!errorlog->eof()) +00873 { +00874 errorlog->getline(dataline,1024); +00875 WriteServ(user->fd,"NOTICE %s :%s",user->nick,dataline); +00876 } +00877 } +00878 else +00879 { +00880 WriteOpers("There were errors in the configuration file:",user->nick); +00881 while (!errorlog->eof()) +00882 { +00883 errorlog->getline(dataline,1024); +00884 WriteOpers(dataline); +00885 } +00886 } +00887 return; +00888 } +00889 } +00890 +00891 +00892 int ConfigReader::Enumerate(std::string tag) +00893 { +00894 return EnumConf(cache,tag.c_str()); +00895 } +00896 +00897 int ConfigReader::EnumerateValues(std::string tag, int index) +00898 { +00899 return EnumValues(cache, tag.c_str(), index); +00900 } +00901 +00902 bool ConfigReader::Verify() +00903 { +00904 return this->readerror; +00905 } +00906 +00907 +00908 FileReader::FileReader(std::string filename) +00909 { +00910 file_cache c; +00911 readfile(c,filename.c_str()); +00912 this->fc = c; +00913 } +00914 +00915 FileReader::FileReader() +00916 { +00917 } +00918 +00919 void FileReader::LoadFile(std::string filename) +00920 { +00921 file_cache c; +00922 readfile(c,filename.c_str()); +00923 this->fc = c; +00924 } +00925 +00926 +00927 FileReader::~FileReader() +00928 { +00929 } +00930 +00931 bool FileReader::Exists() +00932 { +00933 if (fc.size() == 0) +00934 { +00935 return(false); +00936 } +00937 else +00938 { +00939 return(true); +00940 } +00941 } +00942 +00943 std::string FileReader::GetLine(int x) +00944 { +00945 if ((x<0) || (x>fc.size())) +00946 return ""; +00947 return fc[x]; +00948 } +00949 +00950 int FileReader::FileSize() +00951 { +00952 return fc.size(); +00953 } +00954 +00955 +00956 std::vector<Module*> modules(255); +00957 std::vector<ircd_module*> factory(255); +00958 +00959 int MODCOUNT = -1; +00960 +00961 +

    Generated on Sat Apr 16 18:57:13 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/modules_8cpp.html b/docs/module-doc/modules_8cpp.html index 1b0b96201..134732757 100644 --- a/docs/module-doc/modules_8cpp.html +++ b/docs/module-doc/modules_8cpp.html @@ -416,7 +416,7 @@ Definition at line 275

    References EMode, and ModeDefined().

    -Referenced by Server::AddExtendedListMode(), and Server::AddExtendedMode(). +Referenced by Server::AddExtendedListMode(), and Server::AddExtendedMode().

    00276 {
     00277         if (ModeDefined(modechar,type)) {
    @@ -764,7 +764,7 @@ Definition at line 285
     

    References EMode, ExtModeListIter, and MT_CHANNEL.

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

    00286 {
     00287         for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++)
    @@ -977,7 +977,7 @@ Definition at line 180
     

    Definition at line 179 of file modules.cpp.

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

    @@ -1387,7 +1387,7 @@ Definition at line 106

    -Definition at line 914 of file modules.cpp. +Definition at line 959 of file modules.cpp.

    @@ -1894,7 +1894,7 @@ Definition at line 87 o Definition at line 86 of file modules.cpp. -


    Generated on Sat Apr 16 14:49:49 2005 for InspIRCd by +
    Generated on Sat Apr 16 18:57:15 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/modules_8h-source.html b/docs/module-doc/modules_8h-source.html index a5761ed50..2eeba8d6d 100644 --- a/docs/module-doc/modules_8h-source.html +++ b/docs/module-doc/modules_8h-source.html @@ -210,157 +210,175 @@ 00479 virtual int OnChangeLocalUserGECOS(userrec* user, std::string newhost); 00480 00484 virtual int OnLocalTopicChange(userrec* user, chanrec* chan, std::string topic); -00485 }; -00486 -00487 -00493 class Server : public classbase -00494 { -00495 public: -00499 Server(); -00503 virtual ~Server(); -00504 -00508 virtual void SendOpers(std::string s); -00513 virtual void Log(int level, std::string s); -00518 virtual void Send(int Socket, std::string s); -00523 virtual void SendServ(int Socket, std::string s); -00528 virtual void SendFrom(int Socket, userrec* User, std::string s); -00543 virtual void SendTo(userrec* Source, userrec* Dest, std::string s); -00550 virtual void SendChannel(userrec* User, chanrec* Channel, std::string s,bool IncludeSender); -00555 virtual bool CommonChannels(userrec* u1, userrec* u2); -00563 virtual void SendCommon(userrec* User, std::string text,bool IncludeSender); -00568 virtual void SendWallops(userrec* User, std::string text); -00569 -00573 virtual bool IsNick(std::string nick); -00577 virtual int CountUsers(chanrec* c); -00581 virtual userrec* FindNick(std::string nick); -00585 virtual chanrec* FindChannel(std::string channel); -00590 virtual std::string ChanMode(userrec* User, chanrec* Chan); -00594 virtual bool IsOnChannel(userrec* User, chanrec* Chan); -00597 virtual std::string GetServerName(); -00600 virtual std::string GetNetworkName(); -00606 virtual Admin GetAdmin(); -00625 virtual bool AddExtendedMode(char modechar, int type, bool requires_oper, int params_when_on, int params_when_off); -00626 -00648 virtual bool AddExtendedListMode(char modechar); -00649 -00667 virtual void AddCommand(char* cmd, handlerfunc f, char flags, int minparams, char* source); -00668 -00690 virtual void SendMode(char **parameters, int pcnt, userrec *user); -00691 -00704 virtual void SendToModeMask(std::string modes, int flags, std::string text); -00705 -00711 virtual chanrec* JoinUserToChannel(userrec* user, std::string cname, std::string key); -00712 -00718 virtual chanrec* PartUserFromChannel(userrec* user, std::string cname, std::string reason); -00719 -00725 virtual void ChangeUserNick(userrec* user, std::string nickname); -00726 -00737 virtual void QuitUser(userrec* user, std::string reason); +00485 +00496 virtual int OnMeshToken(char token,string_list params,serverrec* source,serverrec* reply, std::string tcp_host,std::string ipaddr,int port); +00497 }; +00498 +00499 +00505 class Server : public classbase +00506 { +00507 public: +00511 Server(); +00515 virtual ~Server(); +00516 +00520 virtual void SendOpers(std::string s); +00525 virtual void Log(int level, std::string s); +00530 virtual void Send(int Socket, std::string s); +00535 virtual void SendServ(int Socket, std::string s); +00540 virtual void SendFrom(int Socket, userrec* User, std::string s); +00555 virtual void SendTo(userrec* Source, userrec* Dest, std::string s); +00562 virtual void SendChannel(userrec* User, chanrec* Channel, std::string s,bool IncludeSender); +00567 virtual bool CommonChannels(userrec* u1, userrec* u2); +00575 virtual void SendCommon(userrec* User, std::string text,bool IncludeSender); +00580 virtual void SendWallops(userrec* User, std::string text); +00581 +00585 virtual bool IsNick(std::string nick); +00589 virtual int CountUsers(chanrec* c); +00593 virtual userrec* FindNick(std::string nick); +00597 virtual chanrec* FindChannel(std::string channel); +00602 virtual std::string ChanMode(userrec* User, chanrec* Chan); +00606 virtual bool IsOnChannel(userrec* User, chanrec* Chan); +00609 virtual std::string GetServerName(); +00612 virtual std::string GetNetworkName(); +00618 virtual Admin GetAdmin(); +00637 virtual bool AddExtendedMode(char modechar, int type, bool requires_oper, int params_when_on, int params_when_off); +00638 +00660 virtual bool AddExtendedListMode(char modechar); +00661 +00679 virtual void AddCommand(char* cmd, handlerfunc f, char flags, int minparams, char* source); +00680 +00702 virtual void SendMode(char **parameters, int pcnt, userrec *user); +00703 +00716 virtual void SendToModeMask(std::string modes, int flags, std::string text); +00717 +00723 virtual chanrec* JoinUserToChannel(userrec* user, std::string cname, std::string key); +00724 +00730 virtual chanrec* PartUserFromChannel(userrec* user, std::string cname, std::string reason); +00731 +00737 virtual void ChangeUserNick(userrec* user, std::string nickname); 00738 -00743 virtual bool MatchText(std::string sliteral, std::string spattern); -00744 -00756 virtual void CallCommandHandler(std::string commandname, char** parameters, int pcnt, userrec* user); -00757 -00763 virtual void ChangeHost(userrec* user, std::string host); -00764 -00770 virtual void ChangeGECOS(userrec* user, std::string gecos); -00771 -00780 virtual bool IsUlined(std::string server); -00781 -00785 virtual chanuserlist GetUsers(chanrec* chan); -00786 -00793 virtual bool UserToPseudo(userrec* user,std::string message); -00794 -00801 virtual bool PseudoToUser(userrec* alive,userrec* zombie,std::string message); -00802 -00810 virtual void AddGLine(long duration, std::string source, std::string reason, std::string hostmask); -00811 -00819 virtual void AddQLine(long duration, std::string source, std::string reason, std::string nickname); -00820 -00828 virtual void AddZLine(long duration, std::string source, std::string reason, std::string ipaddr); -00829 -00837 virtual void AddKLine(long duration, std::string source, std::string reason, std::string hostmask); -00838 -00846 virtual void AddELine(long duration, std::string source, std::string reason, std::string hostmask); -00847 -00850 virtual bool DelGLine(std::string hostmask); -00851 -00854 virtual bool DelQLine(std::string nickname); -00855 -00858 virtual bool DelZLine(std::string ipaddr); +00749 virtual void QuitUser(userrec* user, std::string reason); +00750 +00755 virtual bool MatchText(std::string sliteral, std::string spattern); +00756 +00768 virtual void CallCommandHandler(std::string commandname, char** parameters, int pcnt, userrec* user); +00769 +00775 virtual void ChangeHost(userrec* user, std::string host); +00776 +00782 virtual void ChangeGECOS(userrec* user, std::string gecos); +00783 +00792 virtual bool IsUlined(std::string server); +00793 +00797 virtual chanuserlist GetUsers(chanrec* chan); +00798 +00805 virtual bool UserToPseudo(userrec* user,std::string message); +00806 +00813 virtual bool PseudoToUser(userrec* alive,userrec* zombie,std::string message); +00814 +00822 virtual void AddGLine(long duration, std::string source, std::string reason, std::string hostmask); +00823 +00831 virtual void AddQLine(long duration, std::string source, std::string reason, std::string nickname); +00832 +00840 virtual void AddZLine(long duration, std::string source, std::string reason, std::string ipaddr); +00841 +00849 virtual void AddKLine(long duration, std::string source, std::string reason, std::string hostmask); +00850 +00858 virtual void AddELine(long duration, std::string source, std::string reason, std::string hostmask); 00859 -00862 virtual bool DelKLine(std::string hostmask); +00862 virtual bool DelGLine(std::string hostmask); 00863 -00866 virtual bool DelELine(std::string hostmask); +00866 virtual bool DelQLine(std::string nickname); 00867 -00873 virtual long CalcDuration(std::string duration); -00874 -00877 virtual bool IsValidMask(std::string mask); -00878 }; +00870 virtual bool DelZLine(std::string ipaddr); +00871 +00874 virtual bool DelKLine(std::string hostmask); +00875 +00878 virtual bool DelELine(std::string hostmask); 00879 -00880 #define CONF_NOT_A_NUMBER 0x000010 -00881 #define CONF_NOT_UNSIGNED 0x000080 -00882 #define CONF_VALUE_NOT_FOUND 0x000100 -00883 #define CONF_FILE_NOT_FOUND 0x000200 -00884 -00891 class ConfigReader : public classbase -00892 { -00893 protected: -00899 std::stringstream *cache; -00900 std::stringstream *errorlog; -00903 bool readerror; -00904 long error; -00905 -00906 public: -00911 ConfigReader(); // default constructor reads ircd.conf -00915 ConfigReader(std::string filename); // read a module-specific config -00919 ~ConfigReader(); -00924 std::string ReadValue(std::string tag, std::string name, int index); -00930 bool ReadFlag(std::string tag, std::string name, int index); -00939 long ReadInteger(std::string tag, std::string name, int index, bool needs_unsigned); -00944 long GetError(); -00951 int Enumerate(std::string tag); -00956 bool Verify(); -00963 void DumpErrors(bool bail,userrec* user); -00964 -00970 int EnumerateValues(std::string tag, int index); -00971 }; -00972 -00973 -00974 -00980 class FileReader : public classbase -00981 { -00982 file_cache fc; -00983 public: -00988 FileReader(); -00989 -00995 FileReader(std::string filename); -00996 -01000 ~FileReader(); -01001 -01007 void LoadFile(std::string filename); -01008 -01012 bool Exists(); -01013 -01018 std::string GetLine(int x); -01019 -01025 int FileSize(); -01026 }; +00885 virtual long CalcDuration(std::string duration); +00886 +00889 virtual bool IsValidMask(std::string mask); +00890 +00895 virtual void MeshSendAll(std::string text); +00896 +00903 virtual void MeshSendCommon(userrec* user, std::string text); +00904 +00907 virtual void MeshSendAllAlive(std::string text); +00908 +00912 virtual void MeshSendUnicast(std::string destination, std::string text); +00913 +00918 virtual void MeshSendAllExcept(std::string target, std::string text); +00919 +00923 virtual bool MeshCheckChan(chanrec *c,std::string servername); +00924 +00928 virtual bool MeshCheckCommon(userrec* u,std::string servername); +00929 }; +00930 +00931 +00932 #define CONF_NOT_A_NUMBER 0x000010 +00933 #define CONF_NOT_UNSIGNED 0x000080 +00934 #define CONF_VALUE_NOT_FOUND 0x000100 +00935 #define CONF_FILE_NOT_FOUND 0x000200 +00936 +00937 +00944 class ConfigReader : public classbase +00945 { +00946 protected: +00952 std::stringstream *cache; +00953 std::stringstream *errorlog; +00956 bool readerror; +00957 long error; +00958 +00959 public: +00964 ConfigReader(); // default constructor reads ircd.conf +00968 ConfigReader(std::string filename); // read a module-specific config +00972 ~ConfigReader(); +00977 std::string ReadValue(std::string tag, std::string name, int index); +00983 bool ReadFlag(std::string tag, std::string name, int index); +00992 long ReadInteger(std::string tag, std::string name, int index, bool needs_unsigned); +00997 long GetError(); +01004 int Enumerate(std::string tag); +01009 bool Verify(); +01016 void DumpErrors(bool bail,userrec* user); +01017 +01023 int EnumerateValues(std::string tag, int index); +01024 }; +01025 +01026 01027 -01028 -01035 class ModuleFactory : public classbase -01036 { -01037 public: -01038 ModuleFactory() { } -01039 virtual ~ModuleFactory() { } -01044 virtual Module * CreateModule() = 0; -01045 }; -01046 -01047 -01048 typedef DLLFactory<ModuleFactory> ircd_module; +01033 class FileReader : public classbase +01034 { +01035 file_cache fc; +01036 public: +01041 FileReader(); +01042 +01048 FileReader(std::string filename); 01049 -01050 #endif -

    Generated on Sat Apr 16 14:49:48 2005 for InspIRCd by +01053 ~FileReader(); +01054 +01060 void LoadFile(std::string filename); +01061 +01065 bool Exists(); +01066 +01071 std::string GetLine(int x); +01072 +01078 int FileSize(); +01079 }; +01080 +01081 +01088 class ModuleFactory : public classbase +01089 { +01090 public: +01091 ModuleFactory() { } +01092 virtual ~ModuleFactory() { } +01097 virtual Module * CreateModule() = 0; +01098 }; +01099 +01100 +01101 typedef DLLFactory<ModuleFactory> ircd_module; +01102 +01103 #endif +

    Generated on Sat Apr 16 18:57:13 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/modules_8h.html b/docs/module-doc/modules_8h.html index e321b6bbf..7e9f36f86 100644 --- a/docs/module-doc/modules_8h.html +++ b/docs/module-doc/modules_8h.html @@ -429,9 +429,9 @@ Definition at line 38 of

    -Definition at line 883 of file modules.h. +Definition at line 935 of file modules.h.

    -Referenced by ConfigReader::ConfigReader(). +Referenced by ConfigReader::ConfigReader().

    @@ -455,9 +455,9 @@ Referenced by ConfigReader:

    -Definition at line 880 of file modules.h. +Definition at line 932 of file modules.h.

    -Referenced by ConfigReader::ReadInteger(). +Referenced by ConfigReader::ReadInteger().

    @@ -481,9 +481,9 @@ Referenced by ConfigReader:

    -Definition at line 881 of file modules.h. +Definition at line 933 of file modules.h.

    -Referenced by ConfigReader::ReadInteger(). +Referenced by ConfigReader::ReadInteger().

    @@ -507,9 +507,9 @@ Referenced by ConfigReader:

    -Definition at line 882 of file modules.h. +Definition at line 934 of file modules.h.

    -Referenced by ConfigReader::ReadFlag(), ConfigReader::ReadInteger(), and ConfigReader::ReadValue(). +Referenced by ConfigReader::ReadFlag(), ConfigReader::ReadInteger(), and ConfigReader::ReadValue().

    @@ -535,7 +535,7 @@ Referenced by ConfigReader:

    Definition at line 23 of file modules.h.

    -Referenced by Server::AddExtendedMode(), userrec::HasPermission(), chanrec::IsCustomModeSet(), ModeDefined(), ModeDefinedOper(), ModeIsListMode(), userrec::RemoveInvite(), chanrec::SetCustomMode(), and chanrec::SetCustomModeParam(). +Referenced by Server::AddExtendedMode(), userrec::HasPermission(), chanrec::IsCustomModeSet(), ModeDefined(), ModeDefinedOper(), ModeIsListMode(), userrec::RemoveInvite(), chanrec::SetCustomMode(), and chanrec::SetCustomModeParam().

    @@ -585,7 +585,7 @@ Definition at line 25 of

    Definition at line 99 of file modules.h.

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

    @@ -673,7 +673,7 @@ Definition at line 87 of

    Definition at line 31 of file modules.h.

    -Referenced by Server::AddExtendedListMode(), and ModeMakeList(). +Referenced by Server::AddExtendedListMode(), and ModeMakeList().

    @@ -699,7 +699,7 @@ Referenced by Server::AddEx

    Definition at line 32 of file modules.h.

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

    @@ -725,7 +725,7 @@ Referenced by Server::AddEx

    Definition at line 33 of file modules.h.

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

    @@ -924,7 +924,7 @@ Holds a list of users in a channel.

    Definition at line 72 of file modules.h.

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

    @@ -952,7 +952,7 @@ Low level definition of a FileReader Definition at line 67 of file modules.h.

    -Referenced by FileReader::FileReader(), and FileReader::LoadFile(). +Referenced by FileReader::FileReader(), and FileReader::LoadFile().

    @@ -976,7 +976,7 @@ Referenced by FileReader::F

    -Definition at line 1048 of file modules.h. +Definition at line 1101 of file modules.h.

    @@ -1061,7 +1061,7 @@ Referenced by Module::OnCha

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

    @@ -1107,10 +1107,10 @@ Referenced by Server::AddCo

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


    Generated on Sat Apr 16 14:49:49 2005 for InspIRCd by +
    Generated on Sat Apr 16 18:57:15 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/namespacenspace.html b/docs/module-doc/namespacenspace.html index 3841d2e0c..e8863f355 100644 --- a/docs/module-doc/namespacenspace.html +++ b/docs/module-doc/namespacenspace.html @@ -15,7 +15,7 @@ struct  nspace.hash< string > -
    Generated on Sat Apr 16 14:49:55 2005 for InspIRCd by +
    Generated on Sat Apr 16 18:57:23 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/namespaces.html b/docs/module-doc/namespaces.html index e63ad3ba2..85c2adf01 100644 --- a/docs/module-doc/namespaces.html +++ b/docs/module-doc/namespaces.html @@ -9,7 +9,7 @@ nspace std -
    Generated on Sat Apr 16 14:49:55 2005 for InspIRCd by +
    Generated on Sat Apr 16 18:57:23 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/namespacestd.html b/docs/module-doc/namespacestd.html index 06cafe1cf..698ca2e87 100644 --- a/docs/module-doc/namespacestd.html +++ b/docs/module-doc/namespacestd.html @@ -10,7 +10,7 @@
    -
    Generated on Sat Apr 16 14:49:55 2005 for InspIRCd by +
    Generated on Sat Apr 16 18:57:24 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/servers_8cpp-source.html b/docs/module-doc/servers_8cpp-source.html index 7d60f2b51..8bdeadc4f 100644 --- a/docs/module-doc/servers_8cpp-source.html +++ b/docs/module-doc/servers_8cpp-source.html @@ -63,7 +63,7 @@ 00056 strlcpy(nickserv,"",NICKMAX); 00057 } 00058 -

    Generated on Sat Apr 16 14:49:48 2005 for InspIRCd by +

    Generated on Sat Apr 16 18:57:14 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/servers_8cpp.html b/docs/module-doc/servers_8cpp.html index e2186434d..374fc499a 100644 --- a/docs/module-doc/servers_8cpp.html +++ b/docs/module-doc/servers_8cpp.html @@ -44,7 +44,7 @@ Definition at line 24 of file servers.cpp. -
    Generated on Sat Apr 16 14:49:49 2005 for InspIRCd by +
    Generated on Sat Apr 16 18:57:15 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/servers_8h-source.html b/docs/module-doc/servers_8h-source.html index 0d92cf7c9..8e892c687 100644 --- a/docs/module-doc/servers_8h-source.html +++ b/docs/module-doc/servers_8h-source.html @@ -61,7 +61,7 @@ 00082 00083 #endif 00084 -

    Generated on Sat Apr 16 14:49:48 2005 for InspIRCd by +

    Generated on Sat Apr 16 18:57:14 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/servers_8h.html b/docs/module-doc/servers_8h.html index 852e9e24c..e310b8721 100644 --- a/docs/module-doc/servers_8h.html +++ b/docs/module-doc/servers_8h.html @@ -72,7 +72,7 @@ Definition at line 25 of Definition at line 26 of file servers.h. -
    Generated on Sat Apr 16 14:49:49 2005 for InspIRCd by +
    Generated on Sat Apr 16 18:57:15 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/structInAddr__HashComp-members.html b/docs/module-doc/structInAddr__HashComp-members.html index b99f256cb..016370330 100644 --- a/docs/module-doc/structInAddr__HashComp-members.html +++ b/docs/module-doc/structInAddr__HashComp-members.html @@ -7,7 +7,7 @@

    InAddr_HashComp Member List

    This is the complete list of members for InAddr_HashComp, including all inherited members. -
    operator()(const in_addr &s1, const in_addr &s2) constInAddr_HashComp [inline]

    Generated on Sat Apr 16 14:49:52 2005 for InspIRCd by +
    Generated on Sat Apr 16 18:57:17 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/structInAddr__HashComp.html b/docs/module-doc/structInAddr__HashComp.html index 18a829dd1..6f6972a52 100644 --- a/docs/module-doc/structInAddr__HashComp.html +++ b/docs/module-doc/structInAddr__HashComp.html @@ -65,7 +65,7 @@ Definition at line 159
    The documentation for this struct was generated from the following file: -
    Generated on Sat Apr 16 14:49:52 2005 for InspIRCd by +
    Generated on Sat Apr 16 18:57:17 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/structStrHashComp-members.html b/docs/module-doc/structStrHashComp-members.html index f998d1f62..825af5e31 100644 --- a/docs/module-doc/structStrHashComp-members.html +++ b/docs/module-doc/structStrHashComp-members.html @@ -7,7 +7,7 @@

    StrHashComp Member List

    This is the complete list of members for StrHashComp, including all inherited members. -
    operator()(const string &s1, const string &s2) constStrHashComp [inline]

    Generated on Sat Apr 16 14:49:54 2005 for InspIRCd by +
    Generated on Sat Apr 16 18:57:22 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/structStrHashComp.html b/docs/module-doc/structStrHashComp.html index f08f2bf22..cc045dca5 100644 --- a/docs/module-doc/structStrHashComp.html +++ b/docs/module-doc/structStrHashComp.html @@ -62,7 +62,7 @@ Definition at line 146
    The documentation for this struct was generated from the following file: -
    Generated on Sat Apr 16 14:49:54 2005 for InspIRCd by +
    Generated on Sat Apr 16 18:57:22 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/structdns__ip4list-members.html b/docs/module-doc/structdns__ip4list-members.html index 52fad7d36..dfcb58734 100644 --- a/docs/module-doc/structdns__ip4list-members.html +++ b/docs/module-doc/structdns__ip4list-members.html @@ -8,7 +8,7 @@

    dns_ip4list Member List

    This is the complete list of members for dns_ip4list, including all inherited members. -
    ipdns_ip4list
    nextdns_ip4list

    Generated on Sat Apr 16 14:49:51 2005 for InspIRCd by +
    Generated on Sat Apr 16 18:57:17 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/structdns__ip4list.html b/docs/module-doc/structdns__ip4list.html index 2f2c6fe43..6184b5df9 100644 --- a/docs/module-doc/structdns__ip4list.html +++ b/docs/module-doc/structdns__ip4list.html @@ -66,7 +66,7 @@ Definition at line 28 of file
    The documentation for this struct was generated from the following file: -
    Generated on Sat Apr 16 14:49:51 2005 for InspIRCd by +
    Generated on Sat Apr 16 18:57:17 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01in__addr_01_4-members.html b/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01in__addr_01_4-members.html index 8421607cd..61ef62f88 100644 --- a/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01in__addr_01_4-members.html +++ b/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01in__addr_01_4-members.html @@ -7,7 +7,7 @@

    nspace::hash< in_addr > Member List

    This is the complete list of members for nspace::hash< in_addr >, including all inherited members. -
    operator()(const struct in_addr &a) constnspace::hash< in_addr > [inline]

    Generated on Sat Apr 16 14:49:55 2005 for InspIRCd by +
    Generated on Sat Apr 16 18:57:24 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01in__addr_01_4.html b/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01in__addr_01_4.html index a83da37b6..d4fc6f57b 100644 --- a/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01in__addr_01_4.html +++ b/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01in__addr_01_4.html @@ -55,7 +55,7 @@ Definition at line 119
    The documentation for this struct was generated from the following file: -
    Generated on Sat Apr 16 14:49:55 2005 for InspIRCd by +
    Generated on Sat Apr 16 18:57:24 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01string_01_4-members.html b/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01string_01_4-members.html index 28fb7417f..84cf7f7c3 100644 --- a/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01string_01_4-members.html +++ b/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01string_01_4-members.html @@ -7,7 +7,7 @@

    nspace::hash< string > Member List

    This is the complete list of members for nspace::hash< string >, including all inherited members. -
    operator()(const string &s) constnspace::hash< string > [inline]

    Generated on Sat Apr 16 14:49:55 2005 for InspIRCd by +
    Generated on Sat Apr 16 18:57:24 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01string_01_4.html b/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01string_01_4.html index 12ec8e39a..3f485ac23 100644 --- a/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01string_01_4.html +++ b/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01string_01_4.html @@ -57,7 +57,7 @@ Definition at line 132
    The documentation for this struct was generated from the following file: -
    Generated on Sat Apr 16 14:49:55 2005 for InspIRCd by +
    Generated on Sat Apr 16 18:57:24 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/users_8cpp-source.html b/docs/module-doc/users_8cpp-source.html index 2d72fe95b..7e1dfb83a 100644 --- a/docs/module-doc/users_8cpp-source.html +++ b/docs/module-doc/users_8cpp-source.html @@ -171,7 +171,7 @@ 00164 } 00165 00166 -

    Generated on Sat Apr 16 14:49:48 2005 for InspIRCd by +

    Generated on Sat Apr 16 18:57:14 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/users_8cpp.html b/docs/module-doc/users_8cpp.html index 1d1abff7d..1024d3c3e 100644 --- a/docs/module-doc/users_8cpp.html +++ b/docs/module-doc/users_8cpp.html @@ -70,7 +70,7 @@ Definition at line 24 of Definition at line 26 of file users.cpp. -
    Generated on Sat Apr 16 14:49:49 2005 for InspIRCd by +
    Generated on Sat Apr 16 18:57:15 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/users_8h-source.html b/docs/module-doc/users_8h-source.html index d59424d02..807fc9410 100644 --- a/docs/module-doc/users_8h-source.html +++ b/docs/module-doc/users_8h-source.html @@ -126,7 +126,7 @@ 00208 00209 00210 #endif -

    Generated on Sat Apr 16 14:49:48 2005 for InspIRCd by +

    Generated on Sat Apr 16 18:57:14 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/users_8h.html b/docs/module-doc/users_8h.html index fe1bee70d..7ce45b897 100644 --- a/docs/module-doc/users_8h.html +++ b/docs/module-doc/users_8h.html @@ -243,7 +243,7 @@ Holds a complete list of all channels to which a user has been invited and has n Definition at line 79 of file users.h. -
    Generated on Sat Apr 16 14:49:50 2005 for InspIRCd by +
    Generated on Sat Apr 16 18:57:15 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/xline_8h-source.html b/docs/module-doc/xline_8h-source.html index 64a845ce5..7fa86c79b 100644 --- a/docs/module-doc/xline_8h-source.html +++ b/docs/module-doc/xline_8h-source.html @@ -123,7 +123,7 @@ 00157 void sync_xlines(serverrec* serv, char* tcp_host); 00158 00159 #endif -

    Generated on Sat Apr 16 14:49:48 2005 for InspIRCd by +

    Generated on Sat Apr 16 18:57:14 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/xline_8h.html b/docs/module-doc/xline_8h.html index 6a5900879..797024445 100644 --- a/docs/module-doc/xline_8h.html +++ b/docs/module-doc/xline_8h.html @@ -145,7 +145,7 @@

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

    @@ -197,7 +197,7 @@ Referenced by Server::AddEL

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

    @@ -249,7 +249,7 @@ Referenced by Server::AddGL

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

    @@ -301,7 +301,7 @@ Referenced by Server::AddKL

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

    @@ -353,7 +353,7 @@ Referenced by Server::AddQL

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

    @@ -412,7 +412,7 @@ Referenced by Server::AddZL

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

    @@ -443,7 +443,7 @@ Referenced by Server::DelEL

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

    @@ -474,7 +474,7 @@ Referenced by Server::DelGL

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

    @@ -505,7 +505,7 @@ Referenced by Server::DelKL

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

    @@ -536,7 +536,7 @@ Referenced by Server::DelQL

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

    @@ -1095,7 +1095,7 @@ Referenced by Server::DelZL -


    Generated on Sat Apr 16 14:49:50 2005 for InspIRCd by +
    Generated on Sat Apr 16 18:57:15 2005 for InspIRCd by doxygen 1.3.3
    -- cgit v1.2.3